Re: [enhydra] How to load user create class
Slobodan Vujasinovic <[email protected]> Wed, 14 Sep 2005 16:27:18 +0200
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Organization | PROZONE |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1126708285-2290-92 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 [email protected] 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 [email protected] mailing list. >To unsubscribe: mailto:[email protected] >For general help: mailto:[email protected]?subject=help >ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > ------------=_1126708285-2290-92 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1126708285-2290-92--