X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C960E11F66CA for ; Wed, 5 Apr 2006 18:55:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56580-08 for ; Wed, 5 Apr 2006 18:55:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 3734C11F66EE for ; Wed, 5 Apr 2006 18:55:14 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 86BE830F1A; Wed, 5 Apr 2006 23:55:13 +0200 (MET DST) From: "markds75" X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: PostgreSQL (XADataSource) as Tomcat Resource Date: 5 Apr 2006 14:55:04 -0700 Organization: http://groups.google.com Lines: 84 Message-ID: <1144274104.592002.247140@v46g2000cwv.googlegroups.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v46g2000cwv.googlegroups.com; posting-host=24.23.198.24; posting-account=MyrknA0AAAAtT2BDpTzgZwMWFQOMyHll To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200604/52 X-Sequence-Number: 14986 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.(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