Return-Path: Delivered-To: apmail-incubator-roller-user-archive@www.apache.org Received: (qmail 2564 invoked from network); 26 Jul 2006 05:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 05:34:46 -0000 Received: (qmail 40348 invoked by uid 500); 26 Jul 2006 05:34:45 -0000 Delivered-To: apmail-incubator-roller-user-archive@incubator.apache.org Received: (qmail 40326 invoked by uid 500); 26 Jul 2006 05:34:45 -0000 Mailing-List: contact roller-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: roller-user@incubator.apache.org Delivered-To: mailing list roller-user@incubator.apache.org Received: (qmail 40315 invoked by uid 99); 26 Jul 2006 05:34:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 22:34:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 22:34:43 -0700 Received: from d1-sfbay-01.sun.com ([192.18.39.111]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6Q5YM8f005516 for ; Tue, 25 Jul 2006 22:34:23 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-01.sun.com by d1-sfbay-01.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J2Z00K01UTPQN00@d1-sfbay-01.sun.com> (original mail from allen.gilliland@sun.com) for roller-user@incubator.apache.org; Tue, 25 Jul 2006 22:34:21 -0700 (PDT) Received: from [192.168.0.4] ([71.198.76.63]) by d1-sfbay-01.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J2Z00JR3WT4CC30@d1-sfbay-01.sun.com> for roller-user@incubator.apache.org; Tue, 25 Jul 2006 22:34:21 -0700 (PDT) Date: Tue, 25 Jul 2006 22:34:19 -0700 From: Allen Gilliland Subject: Re: Roller not accessable In-reply-to: <44C6D46D.7030207@youngdev.net> Sender: Allen.T.Gilliland@sun.com To: roller-user@incubator.apache.org Message-id: <44C6FEDB.70103@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <44C6D46D.7030207@youngdev.net> User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: > > driverClassName="org.postgresql.Driver" > url="jdbc:postgresql://localhost:5432/roller?autoReconnect=true" > username="" > password="" > maxActive="20" > maxIdle="3" > removeAbandoned="true" > maxWait="3000" /> > > > > > 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-----