continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wim Deblauwe" <wim.debla...@gmail.com>
Subject Re: 1.1alpha 1 not deploying on tomcat 6.0.10
Date Tue, 24 Apr 2007 09:37:16 GMT
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.

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.

regards,

Wim

2007/4/24, Stephane Nicoll <stephane.nicoll@gmail.com>:
>
> 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 <wim.deblauwe@gmail.com> 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.<init>(FileOutputStream.java:177)
> >         at java.io.FileOutputStream.<init>(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.<init>(
> > DefaultPlexusContainer.java:222)
> >         at org.codehaus.plexus.DefaultPlexusContainer.<init>(
> > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message