Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 5880 invoked from network); 14 Dec 2006 15:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 15:51:53 -0000 Received: (qmail 19197 invoked by uid 500); 14 Dec 2006 15:51:34 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 19149 invoked by uid 500); 14 Dec 2006 15:51:34 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 19042 invoked by uid 99); 14 Dec 2006 15:51:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 07:51:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.193.206.9] (HELO webmail9.amenworld.com) (62.193.206.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 Dec 2006 07:51:20 -0800 Received: (qmail 18179 invoked from network); 14 Dec 2006 15:51:04 -0000 Received: from 100.52.68-86.rev.gaoland.net (HELO ?127.0.0.1?) (86.68.52.100) by 0 with SMTP; 14 Dec 2006 15:51:04 -0000 Message-ID: <458172D8.70601@venisse.net> Date: Thu, 14 Dec 2006 16:50:48 +0100 From: Emmanuel Venisse User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: continuum-dev@maven.apache.org Subject: Re: Tomcat failure References: <475BA4DF-ECC7-4A9F-8108-58AB92F709FF@ncsa.uiuc.edu> <457DC7DB.50601@gmail.com> <4FAA553E-A1C5-4FD8-8427-1873DA76E81A@ncsa.uiuc.edu> <457F1E46.8010606@gmail.com> <48F2AF49-21B2-4106-8FFD-9A321E98D905@ncsa.uiuc.edu> <76CEB963-D778-4287-A0EE-F90A51609B61@ncsa.uiuc.edu> In-Reply-To: <76CEB963-D778-4287-A0EE-F90A51609B61@ncsa.uiuc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Look at this file : http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/Catalina/localhost/continuum.xml We use it for our web-ui test and it works fine. Emmanuel Stephen Pietrowicz a �crit : > Has anyone had a chance to look at this, to see if there's something > obviously wrong? If it looks ok, I'll start looking anywhere else you > might suggest. I'm really at a loss at this point. > > > On Dec 12, 2006, at 4:06 PM, Stephen Pietrowicz wrote: > >> That didn't work. Here is my addition to server.xml: >> >> > type="javax.sql.DataSource"> >> >> >> maxWait >> 5000 >> >> >> maxActive >> 4 >> >> >> password >> >> >> >> url >> jdbc:derby:target/database/continuum >> >> >> driverClassName >> org.apache.derby.jdbc.EmbeddedDriver >> >> >> maxIdle >> 2 >> >> >> username >> continuum >> >> >> >> >> >> >> maxWait >> 5000 >> >> >> maxActive >> 4 >> >> >> password >> >> >> >> url >> jdbc:derby:target/database/users >> >> >> driverClassName >> org.apache.derby.jdbc.EmbeddedDriver >> >> >> maxIdle >> 2 >> >> >> username >> continuum-users >> >> >> >> >> >> and here's my continuum.xml: >> >> >> > docBase="/home/srp/tomcat/apache-tomcat-5.5.20/webapps/continuum-webapp-1.1-SNAPSHOT.war" >> workDir="/home/srp/temp_work"> >> > "org.apache.derby.jdbc.EmbeddedDriver" global="jdbc/continuum"/> >> > "org.apache.derby.jdbc.EmbeddedDriver" global="jdbc/users"/> >> >> >> On Dec 12, 2006, at 3:25 PM, Rahul Thakur wrote: >> >>> >>> As a workaround - can you try moving the config from >>> continuum.xml to server.xml under global resoures (just like >>> mentioned on that thread). Pretty sure I have seen similar errors >>> with JNDI resource look ups in tomcat, but can't remember the >>> solution off hand. >>> >>> Cheers, >>> Rahul >>> >>> >>> Stephen Pietrowicz wrote: >>>> I hadn't seen that thread. Thanks for the pointer to it. >>>> >>>> I do get same message that the originator of that thread gets: >>>> >>>> >>>> ------- >>>> 2006-12-12 14:20:31,590 [http-8080-Processor23] INFO >>>> PlexusContainer - Loading on start [role]: >>>> [org.apache.maven.continuum.Continuum] >>>> 2006-12-12 14:20:34,287 [http-8080-Processor23] ERROR >>>> 1-SNAPSHOT] - 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(AbstractPersistenceManagerFactory.java:175) >>>> >>>> >>>> >>>> [ rest of stack trace deleted] >>>> -------- >>>> >>>> but still haven't figured out the solution, even after adding the >>>> continuum.xml file to the tomcat conf directory. >>>> >>>> I'm not a Tomcat expert, so I think there are several other things I >>>> need to do, but I can't tell what. >>>> >>>> Here's what I did: >>>> >>>> This morning I downloaded the bin of Tomcat-5.5.20, along with the >>>> admin tools, and extracted everything. I added an account with >>>> "manager and admin" to the tomcat-users.xml, and then I started >>>> Tomcat with bin/startup.sh >>>> >>>> For continuum, I did this: >>>> >>>> mvn clean install >>>> >>>> Back in Tomcat I went to the manager, and went down to the Deploy >>>> section of the page and "uploaded" the war file from the >>>> continuum-webapp directory to Tomcat. >>>> >>>> Under applications on that page, it now shows >>>> "/continuum-webapp-1.1-SNAPSHOT". >>>> >>>> I click the start link on that line, and it gives me the message: >>>> >>>> "FAIL - Application at context path /continuum-webapp-1.1-SNAPSHOT >>>> could not be started". >>>> >>>> and got the same error message in catalina.out as listed above. >>>> >>>> The continuum.xml file I have is: >>>> >>>> >>>> >>> >>>> docBase="${catalina.base}/webapps/continuum-webapp-1.1-SNAPSHOT"> >>>> >>>> >>> type="javax.sql.DataSource" >>>> username="sa" >>>> password="" >>>> driverClassName="org.apache.derby.jdbc.EmbeddedDriver" >>>> url="jdbc:derby:target/database/users;create=true" >>>> /> >>>> >>> type="javax.sql.DataSource" >>>> username="sa" >>>> password="" >>>> driverClassName="org.apache.derby.jdbc.EmbeddedDriver" >>>> url="jdbc:derby:target/database/continuum;create=true" >>>> /> >>>> >>>> >>>> >>>> I'm missing something here, and I don't know what it is. >>>> >>>> >>>> >>>> On Dec 11, 2006, at 3:04 PM, Rahul Thakur wrote: >>>> >>>>> Hi, >>>>> >>>>> Are you seeing any other startup errors in the Tomcat logs/console? >>>>> >>>>> BTW, have you seen this thread? >>>>> http://www.nabble.com/RE:-Deploy-trunk-on-tomcat-t2625572.html >>>>> >>>>> Cheers, >>>>> >>>>> Rahul >>>>> >>>>> >>>>> Stephen Pietrowicz wrote: >>>>>> Hi, >>>>>> >>>>>> I've checked out the latest version of Continuum from the source >>>>>> tree, built it and tried to deploy it on Tomcat/5.5.17. >>>>>> >>>>>> I received the message: >>>>>> >>>>>> FAIL - Application at context path /continuum-webapp-1.1-SNAPSHOT >>>>>> could not be started >>>>>> >>>>>> Is there a workaround for this? I'm interested in 1.1 because of >>>>>> the current Jira in 1.0.3 that prevents the "blame" from being >>>>>> displayed on SVN checkouts. If there's a work-around for that in >>>>>> 1.0.3, I'd be able to use that. >>>>>> >>>>>> Steve >>>>>> >>>> >>>> > > > >