roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Gilliland <allen.gillil...@sun.com>
Subject Re: Roller not accessable
Date Wed, 26 Jul 2006 16:39:05 GMT
That time the error was due to a filter startup error and you'll 
actually need to send the contents of the tomcat.log file for us to see 
why that happened.  I believe that's correct log file on tomcat 5.5.

-- Allen



Matt Young wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> OK I copied in the jar from the apache tomcat package.  here is the
> error still:
> Jul 26, 2006 12:35:38 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance
> in production environments was not found on the java.library.path:
> /opt/sun-jdk-1.5.0.07/jre/lib/i386/client:/opt/sun-jdk-1.5.0.07/jre/lib/i386:/opt/sun-jdk-1.5.0.07/jre/../lib/i386
> Jul 26, 2006 12:35:38 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jul 26, 2006 12:35:38 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 794 ms
> Jul 26, 2006 12:35:38 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jul 26, 2006 12:35:38 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5
> Jul 26, 2006 12:35:38 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Jul 26, 2006 12:35:42 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error filterStart
> Jul 26, 2006 12:35:42 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/roller] startup failed due to previous errors
> Jul 26, 2006 12:35:43 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jul 26, 2006 12:35:43 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Jul 26, 2006 12:35:43 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/24  config=null
> Jul 26, 2006 12:35:43 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Jul 26, 2006 12:35:43 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4966 ms
> 
> 
> Cheers,
> Matt Young
> solid@youngdev.net
> GPG Public Key: http://youngdev.net/?page=gpg
> 
> Anil Gangolli wrote:
>> Hmm.  How did you get your Tomcat 5.5.17 distro?
>>
>> It is part of the standard core binary distribution.
>>
>> http://tomcat.apache.org/download-55.cgi#5.5.17
>>
>>
>> --a.
>>
>>
>> ----- Original Message ----- From: "Matt Young" <solid@youngdev.net>
>> To: <roller-user@incubator.apache.org>
>> Sent: Wednesday, July 26, 2006 7:59 AM
>> Subject: Re: Roller not accessable
>>
>>
>> there is a naming-factory.jar & naming-resources.jar in my
>> /usr/share/tomcat-5.5/common/lib but there is not a
>> naming-factory-dbcp.jar.  Where do I get that jar?
>>
>>
>> Cheers,
>> Matt Young
>> solid@youngdev.net
>> GPG Public Key: http://youngdev.net/?page=gpg
>>
>> Anil Gangolli wrote:
>>>>> The class org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory should be
>>>>> found in naming-factory-dbcp.jar in Tomcat's common/lib.  Can you check
>>>>> that it is there?  This should be part of the normal Tomcat
>>>>> distribution.
>>>>>
>>>>> --a.
>>>>>
>>>>>
>>>>> ----- Original Message ----- From: "Matt Young" <solid@youngdev.net>
>>>>> To: <roller-user@incubator.apache.org>
>>>>> Sent: Wednesday, July 26, 2006 7:02 AM
>>>>> Subject: Re: Roller not accessable
>>>>>
>>>>>
>>>>> OK I put javax.sql.DataSource back in.  Here is the log output:
>>>>> Jul 26, 2006 10:12:19 AM org.apache.catalina.core.AprLifecycleListener
>>>>> lifecycleEvent
>>>>> INFO: The Apache Tomcat Native library which allows optimal performance
>>>>> in production environments was not found on the java.library.path:
>>>>> /opt/sun-jdk-1.5.0.07/jre/lib/i386/client:/opt/sun-jdk-1.5.0.07/jre/lib/i386:/opt/sun-jdk-1.5.0.07/jre/../lib/i386
>>>>>
>>>>>
>>>>> Jul 26, 2006 10:12:19 AM org.apache.coyote.http11.Http11BaseProtocol
>>>>> init
>>>>> INFO: Initializing Coyote HTTP/1.1 on http-8080
>>>>> Jul 26, 2006 10:12:19 AM org.apache.catalina.startup.Catalina load
>>>>> INFO: Initialization processed in 787 ms
>>>>> Jul 26, 2006 10:12:19 AM org.apache.catalina.core.StandardService start
>>>>> INFO: Starting service Catalina
>>>>> Jul 26, 2006 10:12:19 AM org.apache.catalina.core.StandardEngine start
>>>>> INFO: Starting Servlet Engine: Apache Tomcat/5.5
>>>>> Jul 26, 2006 10:12:19 AM org.apache.catalina.core.StandardHost start
>>>>> INFO: XML validation disabled
>>>>> Jul 26, 2006 10:12:20 AM org.apache.catalina.core.NamingContextListener
>>>>> addResource
>>>>> WARNING: Failed to register in JMX: javax.naming.NamingException: Could
>>>>> not create resource factory instance [Root exception is
>>>>> java.lang.ClassNotFoundException:
>>>>> org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]
>>>>> Jul 26, 2006 10:12:22 AM org.apache.catalina.core.StandardContext start
>>>>> SEVERE: Error filterStart
>>>>> Jul 26, 2006 10:12:22 AM org.apache.catalina.core.StandardContext start
>>>>> SEVERE: Context [/roller] startup failed due to previous errors
>>>>> Jul 26, 2006 10:12:23 AM org.apache.coyote.http11.Http11BaseProtocol
>>>>> start
>>>>> INFO: Starting Coyote HTTP/1.1 on http-8080
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Matt Young
>>>>> solid@youngdev.net
>>>>> GPG Public Key: http://youngdev.net/?page=gpg
>>>>>
>>>>> Anil Gangolli wrote:
>>>>>>>> I'd suggest putting the type back to "javax.sql.DataSource"
(which is
>>>>>>>> correct), restarting,
>>>>>>>> and attaching the error log again.  We can take a look.
>>>>>>>>
>>>>>>>> BTW, I have recently been running on 5.5.17 for my development
build.
>>>>>>>>
>>>>>>>>
>>>>>>>> ----- Original Message ----- From: "Matt Young" <solid@youngdev.net>
>>>>>>>> To: <roller-user@incubator.apache.org>
>>>>>>>> Sent: Tuesday, July 25, 2006 7:33 PM
>>>>>>>> Subject: Roller not accessable
>>>>>>>>
>>>>>>>>
>>>>>>>> in the roller.xml:
>>>>>>>>
>>>>>>>> I am trying to install roller on tomcat 5.5.17 I was getting
problems
>>>>>>>> with postgres driver not being found.  And I realized that
the driver
>>>>>>>> name was org.postgres.Driver instead of org.postgresql.Driver.
 I
>>>>>>>> fixed
>>>>>>>> that and then I was getting a filterStart error.  When I
looked at
>>>>>>>> the
>>>>>>>> resource type I noticed that the type is javax.sql.DataSource.
 I
>>>>>>>> changed that to java.sql.DataSource and now tomcat is starting
>>>>>>>> with no
>>>>>>>> errors.  However, I still can't navigate to the roller webapp.
 I am
>>>>>>>> looking at the docbase and the path for the roller.xml file
and I
>>>>>>>> find
>>>>>>>> it quizical that the path in the install doc points to a
directory
>>>>>>>> that
>>>>>>>> does not exist (/roller).
>>>>>>>>
>>>>>>>> below is my context file:
>>>>>>>> <Context path="/roller" docBase="/home/http/roller" debug="0">
>>>>>>>>  <Resource name="jdbc/rollerdb" auth="Container"
>>>>>>>> type="java.sql.DataSource"
>>>>>>>>    driverClassName="org.postgresql.Driver"
>>>>>>>>    url="jdbc:postgresql://localhost:5432/roller?autoReconnect=true"
>>>>>>>>    username="<removed>"
>>>>>>>>    password="<removed>"
>>>>>>>>    maxActive="20"
>>>>>>>>    maxIdle="3"
>>>>>>>>    removeAbandoned="true"
>>>>>>>>    maxWait="3000" />
>>>>>>>>  <!-- If you want e-mail features, un-comment the section
below -->
>>>>>>>>  <!--
>>>>>>>>  <Resource name="mail/Session" auth="Container"
>>>>>>>> type="javax.mail.Session"
>>>>>>>>     mail.smtp.host="localhost" />
>>>>>>>>  -->
>>>>>>>> </Context>
>>>>>>>>
>>>>>>>> and here is a directory listing of the docbase:
>>>>>>>> ls -l /home/http/roller/
>>>>>>>> total 117
>>>>>>>> -rw-r--r--  1 apache apache 31902 May 24 19:57 CHANGES.txt
>>>>>>>> -rw-r--r--  1 apache apache 14785 May 24 19:57 LICENSE.txt
>>>>>>>> -rw-r--r--  1 apache apache  1203 May 24 19:57 NOTICE.txt
>>>>>>>> -rw-r--r--  1 apache apache   908 May 24 19:57 README.txt
>>>>>>>> drwxr-xr-x  7 apache apache   640 Jul 25 00:21 WEB-INF
>>>>>>>> drwxr-xr-x  2 apache apache   224 Jul 22 03:16 bookmarks
>>>>>>>> drwxr-xr-x  5 apache apache   136 May 24 19:57 docs
>>>>>>>> -rw-r--r--  1 apache apache  1775 May 24 19:57 dstest.jsp
>>>>>>>> -rw-r--r--  1 apache apache     0 May 24 19:57 dummy.txt
>>>>>>>> drwxr-xr-x  3 apache apache   424 Jul 22 03:16 editor
>>>>>>>> -rw-r--r--  1 apache apache  1049 May 24 19:57 ekit.css
>>>>>>>> -rw-r--r--  1 apache apache   894 May 24 19:57 favicon.ico
>>>>>>>> drwxr-xr-x  7 apache apache  1256 Jul 22 03:16 images
>>>>>>>> -rw-r--r--  1 apache apache   923 May 24 19:57 index.jsp
>>>>>>>> -rw-r--r--  1 apache apache  2437 May 24 19:57 keepalive.jsp
>>>>>>>> -rw-r--r--  1 apache apache  1964 May 24 19:57 login-redirect.jsp
>>>>>>>> -rw-r--r--  1 apache apache  1375 May 24 19:57 login.jsp
>>>>>>>> -rw-r--r--  1 apache apache  3236 May 24 19:57 loginBody.jsp
>>>>>>>> -rw-r--r--  1 apache apache  1404 May 24 19:57 logout-redirect.jsp
>>>>>>>> -rw-r--r--  1 apache apache  1748 May 24 19:57 main-sidebar.jsp
>>>>>>>> -rw-r--r--  1 apache apache  4791 May 24 19:57 main.jsp
>>>>>>>> drwxr-xr-x  2 apache apache   256 Jul 22 03:16 planet
>>>>>>>> drwxr-xr-x  2 apache apache    48 May 24 19:57 resources
>>>>>>>> -rw-r--r--  1 apache apache   200 May 24 19:57 robots.txt
>>>>>>>> drwxr-xr-x  4 apache apache   104 Jul 22 04:29 roller_data
>>>>>>>> -rw-r--r--  1 apache apache  2895 May 24 19:57 taglibs.jsp
>>>>>>>> drwxr-xr-x  2 apache apache   104 Jul 22 03:16 tags
>>>>>>>> drwxr-xr-x  7 apache apache  1040 Jul 22 03:16 theme
>>>>>>>> drwxr-xr-x 18 apache apache   488 Jul 22 03:16 themes
>>>>>>>> drwxr-xr-x  2 apache apache  1112 Jul 22 03:16 weblog
>>>>>>>> drwxr-xr-x  2 apache apache   912 Jul 22 03:16 website
>>>>>>>>
>>>>>>>> why does the path in the context file point to a directory
that
>>>>>>>> does not
>>>>>>>> exist.  Am I missing something?  How does tomcat know what
>>>>>>>> subdirectory
>>>>>>>> the roller app lives in?
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Matt Young
>>>>>>>> solid@youngdev.net
>>>>>>>> GPG Public Key: http://youngdev.net/?page=gpg
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEx5fyOLPtyzxdcQYRAggmAKC/2sHtqq3UBW3a3fQc/LuS72a34QCgjV57
> X++TuVUZdQicnYpyAWEmv80=
> =5j7b
> -----END PGP SIGNATURE-----

Mime
View raw message