From: markds75 <markds75@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL (XADataSource) as Tomcat Resource
Date: 5 Apr 2006 14:55:04 -0700
Message-ID: <1144274104.592002.247140@v46g2000cwv.googlegroups.com> (raw)
In-Reply-To: <CC1CF380F4D70844B01D45982E671B230137A843@mtxexch01.add0.masergy.com>
References: <CC1CF380F4D70844B01D45982E671B230137A843@mtxexch01.add0.masergy.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: markds75@gmail.com
Subject: Re: PostgreSQL (XADataSource) as Tomcat Resource
In-Reply-To: <1144274104.592002.247140@v46g2000cwv.googlegroups.com>
References: <CC1CF380F4D70844B01D45982E671B230137A843@mtxexch01.add0.masergy.com> <1144274104.592002.247140@v46g2000cwv.googlegroups.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox