You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Philip Wang <wa...@yahoo.com> on 2008/07/25 06:08:32 UTC

The requested resource (/roller/roller-ui/setup.rol) is not available - tomcat6

I am working on ubuntu-Feisty (7.04), tomcat 6.0.16 and roller 4.0
After startup tomcat, http://localhost:8080/ is fine.
But http://localhost:8080/roller will give me the following error:
HTTP Status 404 - /roller/roller-ui/setup.rol
type: Status report
message: /roller/roller-ui/setup.rol
description: The requested resource (/roller/roller-ui/setup.rol) is not
available.
Any idea?
Thanks!

/usr/share/tomcat6/logs/roller.log is empty (used to show something, after I
deleted and recreate the file it became no reaction)

/usr/share/tomcat6/logs/catalina.out has the following message.
Jul 25, 2008 12:00:46 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../lib/amd64
Jul 25, 2008 12:00:46 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 25, 2008 12:00:46 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1194 ms
Jul 25, 2008 12:00:46 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 25, 2008 12:00:46 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 25, 2008 12:00:48 AM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for
this context. The duplicate definition has been ignored.
Jul 25, 2008 12:00:48 AM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for
this context. The duplicate definition has been ignored.
Jul 25, 2008 12:00:48 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 25, 2008 12:00:48 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 25, 2008 12:00:48 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/25  config=null
Jul 25, 2008 12:00:48 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2508 ms

my roller-custom.properties is under /usr/share/tomcat6/lib
installation.type=auto

database.configurationType=jdbc

database.jdbc.driverClass=com.mysql.jdbc.Driver

database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb

database.jdbc.username=my_id
database.jdbc.password=my_pass
log4j.rootCategory=ERROR, roller-startup
log4j.appender.roller-startup=org.apache.log4j.DailyRollingFileAppender
log4j.appender.roller-startup.File=roller-startup.log
log4j.appender.roller-startup.layout=org.apache.log4j.PatternLayout
log4j.appender.roller-startup.layout.ConversionPattern=%-5p %d{yyyy-MM-dd
HH:mm:ss,SSS} %C{1}:%M - %m%n
mail.configurationType=properties
mail.hostname=my_smtp_server
mail.username=my_id
mail.password=my_pass

I have softlinks of mysql-connector-java-3.1.14-bin.jar, activation.jar,
mail.jar in /usr/share/tomcat6/lib
-- 
View this message in context: http://www.nabble.com/The-requested-resource-%28-roller-roller-ui-setup.rol%29-is-not-available---tomcat6-tp18644857s12275p18644857.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: The requested resource (/roller/roller-ui/setup.rol) is not available - tomcat6

Posted by Philip Wang <wa...@yahoo.com>.
Hi, 

The problem is resolved. Here is what I did:
when I just install TOMCAT6, the http://localhost:8080/manager/html won´t
work. So I just manually copy roller to /usr/share/tomcat6/webapps. I found
out the reason manager won´t work is because of
/usr/share/tomcat6/conf/Catalina/localhost/manager.xml points to my
tomcat5.5 installation. After I change to the correct directory as the
following, it works now.
<Context path="/manager" docBase="/usr/share/tomcat6/webapps/manager"
        debug="0" privileged="true">
Now I use http://localhost:8080/manager/html to remove the previous roller
then re-deploy. Everything looks fine now.



Philip Wang wrote:
> 
> My JAVA_HOME is /usr/lib/jvm/java-1.5.0-sun-1.5.0.11
> 
> 

-- 
View this message in context: http://www.nabble.com/The-requested-resource-%28-roller-roller-ui-setup.rol%29-is-not-available---tomcat6-tp18644857s12275p18645261.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: The requested resource (/roller/roller-ui/setup.rol) is not available - tomcat6

Posted by Philip Wang <wa...@yahoo.com>.
My JAVA_HOME is /usr/lib/jvm/java-1.5.0-sun-1.5.0.11

-- 
View this message in context: http://www.nabble.com/The-requested-resource-%28-roller-roller-ui-setup.rol%29-is-not-available---tomcat6-tp18644857s12275p18644894.html
Sent from the Roller - User mailing list archive at Nabble.com.