You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Matt Young <so...@youngdev.net> on 2006/07/26 04:33:17 UTC

Roller not accessable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

iD8DBQFExtRtOLPtyzxdcQYRAhvSAKCnFlsVbgd2vDA2rX3FfbIHfssgvACfSmmw
FATsGXU6/4u9aETP/THPhjs=
=pfyn
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Allen Gilliland <al...@sun.com>.
Matt,

I'm not sure about your comment that you changed the "type" attribute of 
the resource element to java.sql.DataSource, that is actually not 
correct, it should be javax.sql.DataSource.

The part about "/roller" is fine.  The path attribute of the context 
element defines the virtual location for the application within your 
servlet container, so by setting the path to /roller it means that's the 
location you will use to access Roller.  i.e. if you server is at 
http://myserver.com/ then the application should be running at 
http://myserver.com/roller/

-- Allen


Matt Young wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> 
> iD8DBQFExtRtOLPtyzxdcQYRAhvSAKCnFlsVbgd2vDA2rX3FfbIHfssgvACfSmmw
> FATsGXU6/4u9aETP/THPhjs=
> =pfyn
> -----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Anil Gangolli <an...@busybuddha.org>.
comments below.

----- Original Message ----- 
From: "Matt Young" <so...@youngdev.net>
To: <ro...@incubator.apache.org>
Sent: Wednesday, July 26, 2006 9:40 AM
Subject: Re: Roller not accessable


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Here it is:  Altho I don't think it will be very useful:
> Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextDestroyed()
> Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
> Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
>
>
> Cheers,
> Matt Young
> solid@youngdev.net
> GPG Public Key: http://youngdev.net/?page=gpg
>


If you got this far, you really should have additional material in the 
roller.log, so check that again.

If not,  you can get more information fromTomcat by increasing Tomcat's 
logging:
(1) In your conf/logging.properties, find the line setting the level
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = 
(whatever it is)
and change it to be
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = ALL
(2) At the bottom of the same file, add the line
org.apache.catalina.core.StandardContext.level=FINEST

After restarting, there should be more material in the catalina and 
localhost logs, and we can figure out what filter it is having trouble with.



An alternate tack I would suggest is to do a fresh installation following 
the instructions on a standard distribution of Tomcat 5.5.17 rather than the 
gentoo distribution.  You can just extract the Tomcat 5.5.17 core tarball 
you get from tomcat.apache.org and use it.  I had no problems following 
stock installation instructions with Tomcat 5.5.17.  Once you get it 
running, you can look for differences in the two distributions.  I'm a bit 
concerned after you found missing jars in the gentoo distribution, I'm 
really not sure how much it differs from what we expect, and I'm not sure 
how much help we'll be with it.


--a.


> Allen Gilliland wrote:
>> ahh, then i think it's localhost.  sorry, i don't use tomcat 5.5 myself 
>> :/
>>
>> -- allen
>>
>>
>> Matt Young wrote:
>> there is no tomcat.log file.  I have catalina, localhost,admin, manager
>> and hostmanager and of course roller which is empty.
>>
>> 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
>
> iD4DBQFEx5sOOLPtyzxdcQYRAkcTAJY7jA5KHFltu8a9QCwKyCAo3gO1AJoCPfvi
> Xb9wFRoY1DHAt1yE96hWwg==
> =gk1y
> -----END PGP SIGNATURE-----
> 


RE: Roller not accessable

Posted by Er...@sanofipasteur.com.
Hi, i would just like to understand WHY you don't use the standard tomcat5.5 distribution?
You will end by adding most of the jar of a standard distribution, so why don't you just start from it???

Eric 

-----Message d'origine-----
De : Matt Young [mailto:solid@youngdev.net] 
Envoyé : mercredi 26 juillet 2006 18:41
À : roller-user@incubator.apache.org
Objet : Re: Roller not accessable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here it is:  Altho I don't think it will be very useful:
Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed() Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed() Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized() Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()


Cheers,
Matt Young
solid@youngdev.net
GPG Public Key: http://youngdev.net/?page=gpg

Allen Gilliland wrote:
> ahh, then i think it's localhost.  sorry, i don't use tomcat 5.5 
> myself :/
> 
> -- allen
> 
> 
> Matt Young wrote:
> there is no tomcat.log file.  I have catalina, localhost,admin, 
> manager and hostmanager and of course roller which is empty.
> 
> 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

iD4DBQFEx5sOOLPtyzxdcQYRAkcTAJY7jA5KHFltu8a9QCwKyCAo3gO1AJoCPfvi
Xb9wFRoY1DHAt1yE96hWwg==
=gk1y
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire (des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle) est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration et son integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of the addressee(s) and may contain confidential information including trade secrets which are privileged, confidential, exempt from disclosure under applicable law and/or subject to copyright. If you are not an intended recipient, any use, disclosure, distribution, reproduction, review or copying (either whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration and their integrity cannot be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. Thank you."
**********************************************************************


Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here it is:  Altho I don't think it will be very useful:
Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 10:12:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 10:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 10:12:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 10:12:23 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 12:33:29 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 12:33:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 26, 2006 12:35:36 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 26, 2006 12:35:43 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()


Cheers,
Matt Young
solid@youngdev.net
GPG Public Key: http://youngdev.net/?page=gpg

Allen Gilliland wrote:
> ahh, then i think it's localhost.  sorry, i don't use tomcat 5.5 myself :/
> 
> -- allen
> 
> 
> Matt Young wrote:
> there is no tomcat.log file.  I have catalina, localhost,admin, manager
> and hostmanager and of course roller which is empty.
> 
> 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

iD4DBQFEx5sOOLPtyzxdcQYRAkcTAJY7jA5KHFltu8a9QCwKyCAo3gO1AJoCPfvi
Xb9wFRoY1DHAt1yE96hWwg==
=gk1y
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Allen Gilliland <al...@sun.com>.
ahh, then i think it's localhost.  sorry, i don't use tomcat 5.5 myself :/

-- allen


Matt Young wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> there is no tomcat.log file.  I have catalina, localhost,admin, manager
> and hostmanager and of course roller which is empty.
> 
> Cheers,
> Matt Young
> solid@youngdev.net
> GPG Public Key: http://youngdev.net/?page=gpg
> 
> Allen Gilliland wrote:
>> 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:
>> 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" <so...@youngdev.net>
>>>>> To: <ro...@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" <so...@youngdev.net>
>>>>>>>> To: <ro...@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"
>>>>>>>>>>> <so...@youngdev.net>
>>>>>>>>>>> To: <ro...@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
> 
> iD8DBQFEx5ncOLPtyzxdcQYRAgVIAJ9rvg0uSeZ8NAcTRDBY/5sYEJtyzgCeJX2V
> GImMl6J5F7Ead0QuvhEfzbM=
> =68vL
> -----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

there is no tomcat.log file.  I have catalina, localhost,admin, manager
and hostmanager and of course roller which is empty.

Cheers,
Matt Young
solid@youngdev.net
GPG Public Key: http://youngdev.net/?page=gpg

Allen Gilliland wrote:
> 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:
> 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" <so...@youngdev.net>
>>>> To: <ro...@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" <so...@youngdev.net>
>>>>>>> To: <ro...@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"
>>>>>>>>>> <so...@youngdev.net>
>>>>>>>>>> To: <ro...@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

iD8DBQFEx5ncOLPtyzxdcQYRAgVIAJ9rvg0uSeZ8NAcTRDBY/5sYEJtyzgCeJX2V
GImMl6J5F7Ead0QuvhEfzbM=
=68vL
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Allen Gilliland <al...@sun.com>.
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" <so...@youngdev.net>
>> To: <ro...@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" <so...@youngdev.net>
>>>>> To: <ro...@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" <so...@youngdev.net>
>>>>>>>> To: <ro...@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-----

Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----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" <so...@youngdev.net>
> To: <ro...@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" <so...@youngdev.net>
>>>> To: <ro...@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" <so...@youngdev.net>
>>>>>>> To: <ro...@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-----

Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No.  Mine is a development version of the Gentoo Tomcat package


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" <so...@youngdev.net>
> To: <ro...@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" <so...@youngdev.net>
>>>> To: <ro...@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" <so...@youngdev.net>
>>>>>>> To: <ro...@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

iD8DBQFEx4x7OLPtyzxdcQYRAp16AKCPEYbI4TuP4Cc2+mtdAovUVTplIwCfYsuq
aJ10owkOQLkM/rG8u2TTmuU=
=5C3d
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Anil Gangolli <an...@busybuddha.org>.
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" <so...@youngdev.net>
To: <ro...@incubator.apache.org>
Sent: Wednesday, July 26, 2006 7:59 AM
Subject: Re: Roller not accessable


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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" <so...@youngdev.net>
>> To: <ro...@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" <so...@youngdev.net>
>>>>> To: <ro...@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
>
> iD8DBQFEx4NNOLPtyzxdcQYRAlhUAKCebkTVMZOrwervi7iqU+yWdhLrGQCfcAtL
> rbGReTxUgdjf3rkMifNVONY=
> =2Q9i
> -----END PGP SIGNATURE-----
> 


Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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" <so...@youngdev.net>
> To: <ro...@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" <so...@youngdev.net>
>>>> To: <ro...@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

iD8DBQFEx4NNOLPtyzxdcQYRAlhUAKCebkTVMZOrwervi7iqU+yWdhLrGQCfcAtL
rbGReTxUgdjf3rkMifNVONY=
=2Q9i
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Anil Gangolli <an...@busybuddha.org>.
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" <so...@youngdev.net>
To: <ro...@incubator.apache.org>
Sent: Wednesday, July 26, 2006 7:02 AM
Subject: Re: Roller not accessable


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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" <so...@youngdev.net>
>> To: <ro...@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
>
> iD8DBQFEx3X0OLPtyzxdcQYRAgBkAJ452p2nFPgAYfqEAiUlGa3TMDUk0QCgkzY2
> HCiGTR8FPS/TO8A43yqsfog=
> =yDkI
> -----END PGP SIGNATURE-----
> 


Re: Roller not accessable

Posted by Matt Young <so...@youngdev.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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" <so...@youngdev.net>
> To: <ro...@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

iD8DBQFEx3X0OLPtyzxdcQYRAgBkAJ452p2nFPgAYfqEAiUlGa3TMDUk0QCgkzY2
HCiGTR8FPS/TO8A43yqsfog=
=yDkI
-----END PGP SIGNATURE-----

Re: Roller not accessable

Posted by Anil Gangolli <an...@busybuddha.org>.
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" <so...@youngdev.net>
To: <ro...@incubator.apache.org>
Sent: Tuesday, July 25, 2006 7:33 PM
Subject: Roller not accessable


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> iD8DBQFExtRtOLPtyzxdcQYRAhvSAKCnFlsVbgd2vDA2rX3FfbIHfssgvACfSmmw
> FATsGXU6/4u9aETP/THPhjs=
> =pfyn
> -----END PGP SIGNATURE-----
>