LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-03-2011, 08:28 AM   #1
continuum1
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
Question Deploy Apache Continuum on Tomcat6


Hi,

I have ubuntu 10.04LTS server.
Open jdk and tomcat6 installed from synaptic package manager.
I run different war files on tomcat6.
I downloaded apache-continuum-1.3.7.war.
I followed the instructions on apache continuum web site.
http://continuum.apache.org/docs/1.3...on/tomcat.html

1)I wrote /etc/init.d/tomcat6 this commands:
CONTINUUM_HOME=/var/lib/tomcat6
JAVA_OPTS="-Dappserver.home=$CONTINUUM_HOME -Dappserver.base=$CONTINUUM_HOME"
2)I put jar files to /var/lib/tomcat6/webapps/apache-continuum-1.3.7/WEB-INF/lib and /var/lib/tomcat6/common/lib also
3)I installed postfix as a smtp server
4)I created context.xml file /var/lib/tomcat6/webapps/apache-continuum-1.3.7/META-INF/context.xml

<Context path="/apache-continuum-1.3.7"
docBase="/var/lib/tomcat6/webapps/apache-continuum-1.3.7.war">

<Resource name="jdbc/users"
auth="Container"
type="javax.sql.DataSource"
username="sa"
password=""
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:database/users;create=true" />

<Resource name="jdbc/continuum"
auth="Container"
type="javax.sql.DataSource"
username="sa"
password=""
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:database/continuum;create=true" />

<Resource name="mail/Session"
auth="Container"
type="javax.mail.Session"
mail.smtp.host="localhost"/>
</Context>

5) But I can't run continuum. I have these error in my log file. (catalina.out)
It creates continuum.log also.

May 3, 2011 5:24:05 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 3, 2011 5:24:05 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/apache-continuum-1.3.7] startup failed due to previous errors
May 3, 2011 5:24:05 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: A web application appears to have started a thread named [Store url-failures-cache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
May 3, 2011 5:24:05 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
May 3, 2011 5:24:05 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [XML bean definition resources currently being loaded]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

continuum.log:

2011-05-03 05:24:04,998 [http-8080-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workingDirectoryService#chrootJail': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationService' defined in URL [jar:file:/var/lib/tomcat6/webapps/apache-continuum-1.3.7/WEB-INF/lib/continuum-commons-1.3.7.jar!/META-INF/spring-context.xml]: Invocation of init method failed; nested exception is javax.jdo.JDODataStoreException: Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Cannot create JDBC driver of class '' for connect URL 'null'
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
 
Old 09-01-2011, 03:54 PM   #2
pilonm
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Hello continuum1,

I have exactly the same problem than the one you got in May.

I'm wandering if you finally solved your problem and if you can share the solution with me....

Thanks,

Michel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache-php deploy issus Dinsceg Linux - Server 1 07-02-2010 04:00 AM
apache continuum does not run on linux JimOrJoe Linux - Software 2 08-20-2008 10:44 PM
LXer: Write and Deploy Portlets with Apache Pluto LXer Syndicated Linux News 0 06-19-2007 03:31 AM
LXer: Create and Deploy Blog and Wiki Modules with Apache Geronimo LXer Syndicated Linux News 0 08-24-2006 07:54 AM
Has anyone got Continuum to work on Lin? Choey Linux - Games 15 02-19-2006 02:46 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration