From: | "markds75" <markds75(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: PostgreSQL (XADataSource) as Tomcat Resource |
Date: | 2006-04-05 21:55:04 |
Message-ID: | 1144274104.592002.247140@v46g2000cwv.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
The only error is the exception (the Tomcat thrown exception is at the
bottom):
Caused by: <1|true|4.0.0EA4> kodo.util.InternalException: There was an
error when invoking the static getInstance method on the named factory
class "class kodo.jdbc.kernel.JDBCBrokerFactory". See the nested
exception for details.
at kodo.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:96)
at
kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:43)
... 61 more
Caused by:
com.solarmetric.apache.commons.lang.exception.NestableRuntimeException:
There was an error duing JNDI lookup of the name
"java:comp/env/jdbc/whisper_db".
at
com.solarmetric.conf.Configurations.lookup(Configurations.java:647)
at
kodo.conf.KodoConfigurationImpl.lookupConnectionFactory(KodoConfigurationImpl.java:1277)
at
kodo.conf.KodoConfigurationImpl.getConnectionFactory(KodoConfigurationImpl.java:1259)
at
kodo.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:886)
at
kodo.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:609)
at
kodo.jdbc.meta.MappingDefaultsImpl.setConfiguration(MappingDefaultsImpl.java:825)
at
com.solarmetric.conf.Configurations.configureInstance(Configurations.java:292)
at
com.solarmetric.conf.Configurations.configureInstance(Configurations.java:243)
at
com.solarmetric.conf.PluginValue.instantiate(PluginValue.java:115)
at
com.solarmetric.conf.PluginValue.instantiate(PluginValue.java:105)
at
kodo.jdbc.conf.JDBCConfigurationImpl.getMappingDefaultsInstance(JDBCConfigurationImpl.java:728)
at
kodo.jdbc.meta.MappingRepository.<init>(MappingRepository.java:29)
at
kodo.jdbc.conf.JDBCConfigurationImpl.getMetaDataRepository(JDBCConfigurationImpl.java:749)
at
kodo.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:683)
at
kodo.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:631)
at
kodo.jdbc.kernel.JDBCBrokerFactory.getInstance(JDBCBrokerFactory.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at kodo.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:89)
... 62 more
Caused by: javax.naming.NamingException: Cannot create resource
instance
at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:132)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:139)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:780)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:139)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:780)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:139)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:780)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at
org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at
com.solarmetric.conf.Configurations.lookup(Configurations.java:643)
... 82 more
From | Date | Subject | |
---|---|---|---|
Next Message | markds75 | 2006-04-06 01:26:06 | Re: PostgreSQL (XADataSource) as Tomcat Resource |
Previous Message | Guy Rouillier | 2006-04-05 21:43:40 | Re: PostgreSQL (XADataSource) as Tomcat Resource |