Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 63426 invoked from network); 24 Apr 2007 23:11:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 23:11:42 -0000 Received: (qmail 74933 invoked by uid 500); 24 Apr 2007 23:11:48 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 74910 invoked by uid 500); 24 Apr 2007 23:11:47 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 74899 invoked by uid 99); 24 Apr 2007 23:11:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 16:11:47 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 210.54.141.241 is neither permitted nor denied by domain of rahul.thakur.xdev@gmail.com) Received: from [210.54.141.241] (HELO fep05.xtra.co.nz) (210.54.141.241) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 16:11:39 -0700 Received: from nonec03d6244ff ([222.155.216.109]) by fep05.xtra.co.nz with ESMTP id <20070424231110.ZCQL24836.fep05.xtra.co.nz@nonec03d6244ff> for ; Wed, 25 Apr 2007 11:11:10 +1200 Message-ID: <002001c786c5$da434730$4001a8c0@nonec03d6244ff> From: "Rahul Thakur" To: References: <541f12ca0704240228y77eecafdja9b11f818c7f6fbe@mail.gmail.com> <541f12ca0704240246j6269243l123e3cecfe7fa6ea@mail.gmail.com> <462DD588.8090609@venisse.net> Subject: Re: 1.1alpha 1 not deploying on tomcat 6.0.10 Date: Wed, 25 Apr 2007 11:11:07 +1200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org Hi Wim, This is how I set up the WAR on Tomcat 6.0.10. 1) Added a context.xml under continuum webapp's /META-INF directory. 2) Set up for JNDI resources in context.xml (reproduced below). --------- snip ------- ------ /snip -------- 3) Copied JARs for HSQL DB, JavaMail and Activation. PS: From Evenisse's email, tried specifying 'appserver.base' property in catalina.bat script. There is still a directory being created with label "${appserver.base}" under CATALINA_HOME/bin , and I find only 'continuum.log' created in the logs directory that I specified with 'appserver.base' property. HTH, Rahul ----- Original Message ----- From: "Wim Deblauwe" To: Sent: Tuesday, April 24, 2007 10:13 PM Subject: Re: 1.1alpha 1 not deploying on tomcat 6.0.10 Thanks, that works. However, I still get this error: INFO: Deploying web application archive continuum-webapp-1.1-alpha-1.war 2007-04-24 12:14:48,595 [main] INFO PlexusContainer - Loading on start [role,roleHint]: [org.apache.maven.continuum.Continuum ,default] 24-apr-2007 12:14:50 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 24-apr-2007 12:14:50 org.apache.catalina.core.StandardContext start SEVERE: Context [/continuum-webapp-1.1-alpha-1] startup failed due to previous errors regards, Wim 2007/4/24, Emmanuel Venisse : > > 1- create a directory "appserver_base_directory" with a log > subdirectory > 2- set CATALINA_OPTS=-Dappserver.base=appserver_base_directory > 3- start tomcat > > Emmanuel > > Stephane Nicoll a �crit : > > On 4/24/07, Wim Deblauwe wrote: > >> and where do I put that? > >> > >> I tried to execute > >> "startup -Dappserver.base=C:/apache-tomcat-6.0.10", > >> but > >> that does not seem to work. > > > > Use the tomcat manager to set system property. > > > >> > >> Maybe you can add some info to the wiki ( > >> http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat), > >> there > >> is some talk about that directory being created on that page. > > > > Don't have time right now, sorry. > > > > Regards, > > St�phane > > > >> > >> regards, > >> > >> Wim > >> > >> 2007/4/24, Stephane Nicoll : > >> > > >> > Hi, > >> > > >> > Add -Dappserver.base=/some/path to redirect the logging and other > >> > application-specific stuff. This is done automatically for the > >> > standalone version. You have to do it yourself for the webapp > version. > >> > > >> > HTH, > >> > St�phane > >> > > >> > On 4/24/07, Wim Deblauwe wrote: > >> > > Hi, > >> > > > >> > > I just downloaded the 1.1alpha1 and put the war in the webapps > >> > > dir > of > >> > > tomcat. Then started tomcat, but it fails with this message: > >> > > > >> > > INFO: Deploying web application archive > >> continuum-webapp-1.1-alpha-1.war > >> > > log4j:ERROR setFile(null,true) call failed. > >> > > java.io.FileNotFoundException: \logs\continuum.log (The system > cannot > >> > find > >> > > the path specified) > >> > > at java.io.FileOutputStream.openAppend(Native Method) > >> > > at > >> > > java.io.FileOutputStream.(FileOutputStream.java > :177) > >> > > at > >> > > java.io.FileOutputStream.(FileOutputStream.java > :102) > >> > > at > >> org.apache.log4j.FileAppender.setFile(FileAppender.java:272) > >> > > at org.apache.log4j.FileAppender.activateOptions( > >> > FileAppender.java > >> > > :151) > >> > > at > org.apache.log4j.DailyRollingFileAppender.activateOptions( > >> > > DailyRollingFileAppender.java:206) > >> > > at org.apache.log4j.config.PropertySetter.activate( > >> > > PropertySetter.java:247) > >> > > at > >> > > org.apache.log4j.config.PropertySetter.setProperties( > >> > > PropertySetter.java:123) > >> > > at > >> > > org.apache.log4j.config.PropertySetter.setProperties( > >> > > PropertySetter.java:87) > >> > > at org.apache.log4j.PropertyConfigurator.parseAppender( > >> > > PropertyConfigurator.java:645) > >> > > at org.apache.log4j.PropertyConfigurator.parseCategory( > >> > > PropertyConfigurator.java:603) > >> > > at > >> org.apache.log4j.PropertyConfigurator.configureRootCategory( > >> > > PropertyConfigurator.java:500) > >> > > at org.apache.log4j.PropertyConfigurator.doConfigure( > >> > > PropertyConfigurator.java:406) > >> > > at org.apache.log4j.PropertyConfigurator.configure( > >> > > PropertyConfigurator.java:340) > >> > > at > >> org.codehaus.plexus.logging.log4j.Log4JLoggerManager.start( > >> > > Log4JLoggerManager.java:299) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute( > >> > >> > > StartPhase.java:33) > >> > > at > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start( > >> > > AbstractLifecycleHandler.java:128) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle > >> > >> > > (AbstractComponentManager.java:142) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance > >> > >> > > (AbstractComponentManager.java:132) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent > >> > >> > > (ClassicSingletonComponentManager.java:90) > >> > > at > >> > > org.codehaus.plexus.DefaultComponentLookupManager.lookup > ( > >> > > DefaultComponentLookupManager.java:147) > >> > > at > >> org.codehaus.plexus.DefaultComponentLookupManager.lookupMap( > >> > > DefaultComponentLookupManager.java:199) > >> > > at > >> > > org.codehaus.plexus.DefaultPlexusContainer.lookupMap( > >> > > DefaultPlexusContainer.java:309) > >> > > at > >> > > org.codehaus.plexus.DefaultPlexusContainer.lookupMap( > >> > > DefaultPlexusContainer.java:303) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.container.initialization.InitializeLoggerManagerPhase.initializeCoreComponent > >> > >> > > (InitializeLoggerManagerPhase.java:47) > >> > > at > >> > > > >> > > >> > org.codehaus.plexus.container.initialization.AbstractCoreComponentInitializationPhase.execute > >> > >> > > (AbstractCoreComponentInitializationPhase.java:37) > >> > > at > >> org.codehaus.plexus.DefaultPlexusContainer.initializePhases( > >> > > DefaultPlexusContainer.java:886) > >> > > at > >> > > org.codehaus.plexus.DefaultPlexusContainer.initialize( > >> > > DefaultPlexusContainer.java:834) > >> > > at > >> > > org.codehaus.plexus.DefaultPlexusContainer.construct( > >> > > DefaultPlexusContainer.java:811) > >> > > at org.codehaus.plexus.DefaultPlexusContainer.( > >> > > DefaultPlexusContainer.java:222) > >> > > at org.codehaus.plexus.DefaultPlexusContainer.( > >> > > DefaultPlexusContainer.java:260) > >> > > at > >> > > > org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized( > >> > > PlexusLifecycleListener.java:76) > >> > > at > >> > > org.apache.catalina.core.StandardContext.listenerStart( > >> > > StandardContext.java:3827) > >> > > at org.apache.catalina.core.StandardContext.start( > >> > > StandardContext.java:4336) > >> > > at > >> > > org.apache.catalina.core.ContainerBase.addChildInternal( > >> > > ContainerBase.java:761) > >> > > at org.apache.catalina.core.ContainerBase.addChild( > >> > > ContainerBase.java:741) > >> > > at org.apache.catalina.core.StandardHost.addChild( > >> > StandardHost.java > >> > > :525) > >> > > at org.apache.catalina.startup.HostConfig.deployWAR( > >> > HostConfig.java > >> > > :825) > >> > > at org.apache.catalina.startup.HostConfig.deployWARs( > >> > HostConfig.java > >> > > :714) > >> > > at org.apache.catalina.startup.HostConfig.deployApps( > >> > HostConfig.java > >> > > :490) > >> > > at > >> org.apache.catalina.startup.HostConfig.start(HostConfig.java > >> > > :1138) > >> > > at > >> > > org.apache.catalina.startup.HostConfig.lifecycleEvent( > >> > > HostConfig.java:311) > >> > > at > >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( > >> > > LifecycleSupport.java:120) > >> > > at org.apache.catalina.core.ContainerBase.start( > >> > ContainerBase.java > >> > > :1023) > >> > > at > >> org.apache.catalina.core.StandardHost.start(StandardHost.java > >> > > :719) > >> > > at org.apache.catalina.core.ContainerBase.start( > >> > ContainerBase.java > >> > > :1015) > >> > > at org.apache.catalina.core.StandardEngine.start( > >> > StandardEngine.java > >> > > :443) > >> > > at org.apache.catalina.core.StandardService.start( > >> > > StandardService.java:448) > >> > > at org.apache.catalina.core.StandardServer.start( > >> > StandardServer.java > >> > > :710) > >> > > at > >> org.apache.catalina.startup.Catalina.start(Catalina.java:552) > >> > > 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:597) > >> > > at org.apache.catalina.startup.Bootstrap.start( > Bootstrap.java > >> > :288) > >> > > at org.apache.catalina.startup.Bootstrap.main( > Bootstrap.java > >> > :413) > >> > > log4j:ERROR Either File or DatePattern options are not set for > >> appender > >> > > [rolling]. > >> > > 2007-04-24 11:21:32,472 [main] > INFO PlexusContainer - > >> > > Loading on start [role,roleHint]: > >> [org.apache.maven.continuum.Continuum > >> > > ,default] > >> > > 24-apr-2007 11:21:33 org.apache.catalina.core.StandardContext > >> > > start > >> > > SEVERE: Error listenerStart > >> > > 24-apr-2007 11:21:33 org.apache.catalina.core.StandardContext > >> > > start > >> > > SEVERE: Context [/continuum-webapp-1.1-alpha-1] startup failed > >> > > due > to > >> > > previous errors > >> > > > >> > > On top of that, my bin directory of tomcat now contains a > >> > > directory > >> > called > >> > > "${appserver.base}" and that one contains a "logs" directory. > >> > > > >> > > I'm using JDK 1.6.0_01 > >> > > > >> > > regards, > >> > > > >> > > Wim > >> > > > >> > > -- > >> > > Vigilog - an open source log file viewer: > >> http://vigilog.sourceforge.net > >> > > Blog: http://www.jroller.com/page/Fester > >> > > > >> > > >> > >> > >> > >> -- > >> Vigilog - an open source log file viewer: > http://vigilog.sourceforge.net > >> Blog: http://www.jroller.com/page/Fester > >> > > > > > > > > -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester