A follow-up to my last post.  It looks like I get an error when processing http://localhost:80/content/dynamic/index.xml
It is a valid URL.  Below is part of turbine.log
 
Thanks
 
Greg
 
 
 
[Sat May 20 16:55:42 CDT 2000] --  ERROR  -- CocoonPortlet: Could not use the following URL:  http://localhost:80/content/dynamic/index.xml /d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..localhost......80..content..dynamic..index....xml (The system cannot find the path specified)
 Exception:  java.io.FileNotFoundException: /d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..localhost......80..content..dynamic..index....xml (The system cannot find the path specified)
 Stack Trace follows:
 java.io.FileNotFoundException: /d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..localhost......80..content..dynamic..index....xml (The system cannot find the path specified)
 at java.io.FileOutputStream.open(Native Method)
----- Original Message -----
Sent: Saturday, May 20, 2000 4:16 PM
Subject: Re: Problems out of the gate ---Success!!!!! ...almost

Success!!!! ...almost.
 
Steve, Thanks!!!
 
The basics were a good place to start.  Tomcat was installed properly but I had CLASSPATH issues.  I'm having an issue that I believe I saw addressed in the mail list archives but I can't find it now that I need it.
 
Under the Example Cocoon portlet I get:
CocoonPortlet: Could not use the following URL: http://localhost:80/content/dynamic/index.xml
  /d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..localhost......80..content..dynamic..index....xml
  (The system cannot find the path specified)
 
My JetspeedResources.properties has the following entry:
cache.directory=/d:/temp/JetspeedDocumentCache
 
It appears to be valid, files do collect there.
 
Thanks again all for the help!!!
 
Greg
 
 
----- Original Message -----
From: Steve B.
Sent: Sunday, May 21, 2000 2:50 PM
Subject: Re: Problems out of the gate

Pardon the basics here:
Is Tomcat installed correctly? If you enter simply http://localhost/, do you get the Tomcat Home page? Can you run both Servlet examples and JSP examples using the links there?
 
I'm looking at your classpath. I'm guessing that in your Jetspeed/lib folder there are a bunch of Jar files. You need (or is it changed in JDK1.3) to add the individual .jar files to the classpath. For example, my classpath is:
 
D:\CLASSPATH;D:\classpath\tools.jar;D:\classpath\activation.jar;D:\classpath\ant.jar;D:\classpath\ecs.jar;
D:\classpath\jasper.jar;D:\classpath\jndi.jar;D:\classpath\mail.jar;D:\classpath\servlet.jar;
D:\classpath\Turbine.jar;D:\classpath\village.jar;D:\classpath\webserver.jar;D:\classpath\xml.jar;
D:\classpath\jetspeed.jar
 
note that the servlet.jar is from the Tomcat distribution and is not included in Jetspeed.
 
BTW - your web.xml is in the right place if you made no changes in Tomcat/conf/server.xml.
 
Steve B.
----- Original Message -----
From: Steve B.
Sent: Sunday, May 21, 2000 9:31 AM
Subject: Re: Problems out of the gate

 
Also, I do not know if it makes any difference, but in web.xml I use standard DOS paths, ie.
      d:\Jetspeed-1.1\src\config\TurbineResources.properties
 
Let me know if I can help as I am using basically the same setup (though I use JDK1.2)
 
Steve B.
----- Original Message -----
Sent: Saturday, May 20, 2000 6:46 AM
Subject: Problems out of the gate

First of all I'm very excited about the project!!!
 
<disclaimer>
I expect my problem is my lack of understanding of the Jetspeed and Tomcat architecture. 
</disclaimer>
 
I'm unable to get the Jetspeed servlet to respond, I've tried several configurations and still come up empty.  I try to run "http://localhost/servlet/jetspeed" and I get a "404".  I can run other servlets under Tomcat but I expect that I've missed steps for properly configuring Jetspeed. 
 
Below is my configuration and many thanks go to the kind soul that points out the error in my ways.  Thanks in advance.  --Greg
 
Configuration:
WIN98
TOMCAT v3.1 (release build); installed d:\jakarta-tomcat
JDK v1.3 ; installed d:\jdk1.3
Jetspeed v1.0 ; installed d:\jetspeed-1.1
 
My Class path:
CLASSPATH=D:\jdk1.3\bin;D:\jdk1.3\lib;d:\jakarta-tomcat\lib;D:\jdk1.3\lib\tools.
jar;d:\prac;d:\jakarta-tomcat\src;d:\Jetspeed-1.1\Jetspeed.jar;d:\Jetspeed-1.1\lib;
tomcat directory (relivant) structure:
D:\jakarta-tomcat\webapps\ROOT\
                                                 \content          --added per instructions
                                                 \META-INF
                                                 \WEB-INF       -- location of web.xml (below)
 
 
web.xml; located in d:\jakarta-tomcat\webapps\ROOT\WEB-INF\
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
 
<web-app>
 <servlet>
        <servlet-name>
            jetspeed
        </servlet-name>
        <servlet-class>
            Turbine
        </servlet-class>
        <init-param>
            <param-name>
                 properties
            </param-name>
            <param-value>
                d:/Jetspeed-1.1/src/config/TurbineResources.properties
            </param-value>
        </init-param>
    </servlet>
</web-app>
 

Reply via email to