Hugh P Brien wrote:
> 
> I am an FNG to the this project, but I need just a little help.  I have
> been programing for a while but I am new to Java servlet programing and
> open source development.
> 
> General Questions:
> Development Environment: Jetspeed on NT with Tomcat
> JDK 1.2.2.
> 
> I am working on WinNT 4.0 and I am having problems with run time
> exceptions. I believe it is my JetspeedResources  configuration file.
> How do I specify the file on NT that will work with the
> JetspeedResources file.   I have been digging thru the source for  a
> while without much success.
> 
> My JetspeedResources file
> How do I properly specify the file on NT:
> 
> portlet.default.url=file:f:/tomcat31/jetspeed/content/xml/defaultPortlets.xml
> or
> portlet.default.url=file:///tomcat31/jetspeed/content/xml/defaultPortlets.xml

So you need to set Tomcat (Jakarta right??? not the SUN JSDK 2.1) to
define JETSPEED_RESOURCES.  I will attach mine.

Also under NT I can't remember how to do drive based URL's.  Of course
you can hack it out and use a http:// URL that goes through Jakarta. 
The easiest way to do it would be to launch Netscape as it will
translate the correct file URL.  I think it has to be:  file://f:/ or
something.

Here is my web.xml... but it in <tomcat>/webpages/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>
            org.apache.jetspeed.Home
        </servlet-class>

        <init-param>
            <param-name>
                JETSPEED_RESOURCES
            </param-name>
            <param-value>
               
/projects/jetspeed/src/config/JetSpeedResources.properties
            </param-value>
        </init-param>

    <servlet-mapping>
        <servlet-name>
           jetspeed
        </servlet-name>
        <url-pattern>
            /jetspeed
        </url-pattern>
    </servlet-mapping>

    </servlet>
</web-app>   

-- 

Kevin A Burton
http://relativity.yi.org
Linux - You *will* be assimilated.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to