-
1. Re: Cannot locate PostgresDS
thegiantsquid Sep 9, 2003 2:38 PM (in response to thegiantsquid)Also, the startup log yields this:
14:28:49,009 INFO [PostgresDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=PostgresDS to JNDI name 'java:/PostgresDS' -
2. Re: Cannot locate PostgresDS
thegiantsquid Sep 9, 2003 2:54 PM (in response to thegiantsquid)And....
if I yank server\default\jnpserver.jar out of the runtime classpath, i get:
java.lang.NoClassDefFoundError: org/jnp/server/NamingServer
at org.jboss.naming.java.javaURLContextFactory.(javaURLContextFactory.java:37)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:50)
at com.sun.naming.internal.ResourceManager.getFactory(ResourceManager.java:371)
at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:570)
at javax.naming.spi.NamingManager.getURLContext(NamingManager.java:528)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:275)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.ieminc.met.dao.MetReadingFinder.getMetReadingsBetween(MetReadingFinder.java:53)
at com.ieminc.met.client.JDBCClient.main(JDBCClient.java:38) -
3. Re: Cannot locate PostgresDS
thegiantsquid Sep 9, 2003 4:08 PM (in response to thegiantsquid)Welp, apparently, I cannot remotely lookup DataSources, as I can only use the "java:/" prefix when I'm in the same VM, which I suppose, means I need to deploy this app as a stateless SessionBean.
Thanks, I guess, to whomever read this. -
4. Re: Cannot locate PostgresDS
juha Sep 10, 2003 2:14 AM (in response to thegiantsquid)That's correct, and you're welcome ;-)
-- Juha