|
Re: [enhydra] How to load user create class: msg#00010java.enhydra.general
On Wed, 14 Sep 2005 16:27:18 +0200 Slobodan Vujasinovic <slobodan@xxxxxxxxxxxxx> wrote: > Hi Phoebe, > > you should deploy your binary under "Shared Class Loader" > (to be picked up with the same class loader as DODS > binaries)! > > Therefore, you should place your binary "jar" or "class" > file in "<enhydra_root>/multiserver/shared" directory > (in "lib" or "classes" subdirectory). > > Regards, > Slobodan Vujasinovic > Enhydra Development Team > > > > pwhitefield@xxxxxxxxxxxx wrote: > > >Hi, > > > >I attempted to load a user defined class instead of the > standard enhydra class by doing the following > modification > > > ><env-entry> > > > <env-entry-name>DatabaseManager/DB/setnet_host/ConnectionAllocator</env-entry-name> > > > > <env-entry-value>com.lutris.appserver.server.sql.standard.StandardConnectionAllocator</env-entry-value> > > > > <env-entry-type>java.lang.String</env-entry-type> > ></env-entry> > > > >I changed the env-entry-value to my class and put the > class file everywhere as I can think of under enhydra. > When I bring up tomcat, enhydra complain about not able > to load the class. > >Any idea how to make this work..... > > > >thanks > > > >Phoebe > > > >Need to migrate off and a baby step at a time.... > > > > > > > > > >------------------------------------------------------------------------ > > > > > >-- > >You receive this message as a subscriber of the > enhydra@xxxxxxxxxxxxx mailing list. > >To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx > >For general help: > mailto:sympa@xxxxxxxxxxxxx?subject=help > >ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > > > No, it won't work. How I finally make it work - jar uf to put my class file into the stdconnection.jar. Now, it is working for me. thanks for the response..... -- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [enhydra] How to load user create class, Slobodan Vujasinovic |
|---|---|
| Next by Date: | [enhydra] Re: [director] Using Enhydra Director as HTTP cookie based load-balancer, João Paulo Ribeiro |
| Previous by Thread: | Re: [enhydra] How to load user create class, Slobodan Vujasinovic |
| Next by Thread: | [enhydra] Re: [director] Using Enhydra Director as HTTP cookie based load-balancer, João Paulo Ribeiro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |