continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom H. Stage" <...@aramatech.dk>
Subject Continuum and Tomcat 6
Date Fri, 29 Apr 2011 11:24:24 GMT
Hi all

 

First off, good work on Continuum.

 

My invoroment is:

 

Operating system: Windows 2008 R2 64bit

Java: Sun Microsystems JDV / JRE 1.6.0_24

Application server: Tomcat 6.0.32 as a service (This configuration is needed
by other applications running on this Tomcat).

Continuum version: 1.3.7

Database: MySQL 5.5.8

 

Tomcat service Java parameters:

-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 6.0

-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 6.0

-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat
6.0\endorsed

-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 6.0\temp

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

-Djava.util.logging.config.file=C:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf\logging.properties

-Dappserver.home==C:\Program Files\Apache Software Foundation\Tomcat 6.0

-Dappserver.base==C:\Program Files\Apache Software Foundation\Tomcat 6.0

-XX:MaxPermSize=256M

-Djava.awt.headless=true

 

Initial memory pool: 256MB

Maximum memory pool: 1024MB

 

Tomcat service is running as: Local System account

The above acount have full controll of the directory that Tomcat 6 is
installed to.

 

System enviroment:

CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 6.0

JAVA_HOME = C:\Program Files\Java\jdk1.6.0_24

 

 

 

What is not working:

Continuum cant create it own log files.

Continuum cant save its configuration, I get prompted to input it every time
I login.

 

I have other applications running on the Tomcat wich works fine, can create
folders, logfiles and so on.

 

When I deploy Continuum from the following continuum.xml I get the following
errors in the tomcat6-stdout.2011-04-29.log:

Continuum.xml location: C:\Program Files\Apache Software Foundation\Tomcat
6.0\conf\Catalina\localhost\ continuum.xml

Continuum.xml contains:

<Context path="/continuum"

         docBase="D:\Apache\Continuum Build
system\apache-continuum-1.3.7.war">

 

  <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"

username="continuum" password="continuum"
driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/users?autoReconnect=true"/>

 

  <Resource name="jdbc/continuum" auth="Container"
type="javax.sql.DataSource"

  username="continuum" password="continuum"
driverClassName="com.mysql.jdbc.Driver" 

  url="jdbc:mysql://localhost:3306/continuum?autoReconnect=true"/>

 

  <Resource name="mail/Session"

            auth="Container"

            type="javax.mail.Session"

            mail.smtp.host="localhost"/>

</Context>

 

The errors are:

 

2011-04-29 13:07:31 Commons Daemon procrun stdout initializedlog4j:ERROR
setFile(null,true) call failed.

java.io.FileNotFoundException: =C:\Program Files\Apache Software
Foundation\Tomcat 6.0\logs\continuum-audit.log (The filename, directory
name, or volume label syntax is incorrect)

                      at java.io.FileOutputStream.openAppend(Native Method)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at
org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

                      at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

                      at
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAp
pender.java:215)

                      at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

                      at
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java
:150)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator
.java:163)

                      at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigu
rator.java:425)

                      at
org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)

                      at
org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

                      at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.
java:470)

                      at
org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

                      at
org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)

                      at
org.apache.continuum.web.startup.ContinuumStartup.<init>(ContinuumStartup.ja
va:44)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

                      at java.lang.reflect.Constructor.newInstance(Unknown
Source)

                      at java.lang.Class.newInstance0(Unknown Source)

                      at java.lang.Class.newInstance(Unknown Source)

                      at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
4149)

                      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

                      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
99)

                      at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

                      at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601
)

                      at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

                      at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)

                      at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)

                      at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:142)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

                      at
org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

                      at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

                      at
org.apache.catalina.core.StandardService.start(StandardService.java:525)

                      at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

                      at
org.apache.catalina.startup.Catalina.start(Catalina.java:595)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)

                      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                      at java.lang.reflect.Method.invoke(Unknown Source)

                      at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

                      at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

log4j:ERROR Either File or DatePattern options are not set for appender
[continuumAuditlog].

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: =C:\Program Files\Apache Software
Foundation\Tomcat 6.0\logs\continuum-security-audit.log (The filename,
directory name, or volume label syntax is incorrect)

                      at java.io.FileOutputStream.openAppend(Native Method)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at
org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

                      at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

                      at
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAp
pender.java:215)

                      at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

                      at
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java
:150)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator
.java:163)

                      at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigu
rator.java:425)

                      at
org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)

                      at
org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

                      at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.
java:470)

                      at
org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

                      at
org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)

                      at
org.apache.continuum.web.startup.ContinuumStartup.<init>(ContinuumStartup.ja
va:44)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

                      at java.lang.reflect.Constructor.newInstance(Unknown
Source)

                      at java.lang.Class.newInstance0(Unknown Source)

                      at java.lang.Class.newInstance(Unknown Source)

                      at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
4149)

                      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

                      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
99)

                      at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

                      at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601
)

                      at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

                      at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)

                      at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)

                      at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:142)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

                      at
org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

                      at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

                      at
org.apache.catalina.core.StandardService.start(StandardService.java:525)

                      at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

                      at
org.apache.catalina.startup.Catalina.start(Catalina.java:595)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)

                      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                      at java.lang.reflect.Method.invoke(Unknown Source)

                      at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

                      at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

log4j:ERROR Either File or DatePattern options are not set for appender
[redbackAuditLog].

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: =C:\Program Files\Apache Software
Foundation\Tomcat 6.0\logs\continuum.log (The filename, directory name, or
volume label syntax is incorrect)

                      at java.io.FileOutputStream.openAppend(Native Method)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at java.io.FileOutputStream.<init>(Unknown Source)

                      at
org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

                      at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

                      at
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAp
pender.java:215)

                      at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

                      at
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java
:150)

                      at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator
.java:163)

                      at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigu
rator.java:425)

                      at
org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

                      at
org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

                      at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

                      at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.
java:470)

                      at
org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

                      at
org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)

                      at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)

                      at
org.apache.continuum.web.startup.ContinuumStartup.<init>(ContinuumStartup.ja
va:44)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

                      at java.lang.reflect.Constructor.newInstance(Unknown
Source)

                      at java.lang.Class.newInstance0(Unknown Source)

                      at java.lang.Class.newInstance(Unknown Source)

                      at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
4149)

                      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

                      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
99)

                      at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

                      at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)

                      at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601
)

                      at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

                      at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)

                      at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)

                      at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:142)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

                      at
org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

                      at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

                      at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

                      at
org.apache.catalina.core.StandardService.start(StandardService.java:525)

                      at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

                      at
org.apache.catalina.startup.Catalina.start(Catalina.java:595)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)

                      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                      at java.lang.reflect.Method.invoke(Unknown Source)

                      at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

                      at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

log4j:ERROR Either File or DatePattern options are not set for appender
[rolling].

AbandonedObjectPool is used
(org.apache.commons.dbcp.AbandonedObjectPool@571b6923)

   LogAbandoned: true

   RemoveAbandoned: true

   RemoveAbandonedTimeout: 60

 

 

I have looked at all the information I could google my way to, and never
found a solution, hint or configuration example that covers this behaivor.

 

 

Best regards

Tom Stage



 


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