continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Deploy trunk on tomcat
Date Fri, 03 Nov 2006 20:24:10 GMT
A sample tomcat 5.X conf is there : 
http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/Catalina/localhost/continuum.xml

Emmanuel

Brian E. Fox a écrit :
> I have seen some recent messages that indicate the trunk should work on
> tomcat. I built the war and dropped it into tomcat but I'm getting some
> exceptions that are related (i'm guessing) to data sources not being
> setup. Any guidance would be appreciated.
>  
> 2006-11-02 13:34:35 StandardContext[/continuum]Exception sending context
> initialized event to listener instance of class
> org.codehaus.plexus.xwork.PlexusLifecycleListener
> org.jpox.exceptions.ConnectionFactoryNotFoundException: Connection
> Factory "java:comp/env/jdbc/continuum" not found
>  at
> org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPers
> istenceManagerFactory.java:175)
>  at
> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractP
> ersistenceManagerFactory.java:212)
>  at
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(Pers
> istenceManagerFactoryImpl.java:99)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
>  at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
>  at
> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.doConfigure(Abstr
> actConfigurableJdoFactory.java:108)
>  at
> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.configure(Abstrac
> tConfigurableJdoFactory.java:75)
>  at
> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.getPersistenceMan
> agerFactory(AbstractConfigurableJdoFactory.java:43)
>  at
> org.apache.maven.continuum.store.JdoContinuumStore.initialize(JdoContinu
> umStore.java:106)
> 
>  
> NestedThrowablesStackTrace:
> javax.naming.NameNotFoundException: Name jdbc is not bound in this
> Context
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
>  at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
>  at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
>  at javax.naming.InitialContext.lookup(InitialContext.java:347)
>  at
> org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPers
> istenceManagerFactory.java:171)
>  at
> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractP
> ersistenceManagerFactory.java:212)
>  at
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(Pers
> istenceManagerFactoryImpl.java:99)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
>  at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
>  at
> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.doConfigure(Abstr
> actConfigurableJdoFactory.java:108)
> 


Mime
View raw message