Thanks, but still no luck :/
#specify the default set of portlets to use for the Home page
portlet.default.url=http://localhost:8080/content/xml/defaultPortlets.xml
#specify the default set of portlets the user can choose from
portlet.allportlets.url=http://localhost:8080/content/xml/portlets.xml
I have verified using my browser that these are valid url's. Is there any
way to know whether JetSpeed is finding the JetSpeedResources.properties
file at all? (JetSpeed is my first attempt at using Tomcat)
Steve B.
----- Original Message -----
From: Hugh Brien <[EMAIL PROTECTED]>
To: JetSpeed <[EMAIL PROTECTED]>
Sent: Wednesday, February 02, 2000 6:45 PM
Subject: Re: JetSpeed.... 1.0b2 on NT
> I have been running into the same problem but there is little in the way
of
> debug code to what the problem is. Check the paths in your
JETSPEED_RESOURCES
> file. I think the problem is there, however I tried using a full network
URL
> with no success. Let me know if you make any progress. Try some like
this:
> Change this :
> portlet.default.url=file:///tomcat/webpages/xml/defaultPortlets.xml
> to http://localhost/xml/default/defaultPortlets.xml
> and let me know if it works
> r,
> Hugh
>
> > I am getting the following. Is this the same as others are reporting?
> >
> > Error: 500
> > Internal Servlet Error:
> >
> > java.lang.NullPointerException
> > at
> >
org.apache.jetspeed.portal.PortletController.getPortlets(PortletController.j
> > ava, Compiled Code)
> > at
> >
org.apache.jetspeed.portal.DefaultPortletController.getContent(DefaultPortle
> > tController.java:72)
> > at org.apache.jetspeed.Home.service(Home.java:108)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
> > 26)
> > at
> >
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
> > Compiled Code)
> > at
> >
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
> > at
org.apache.tomcat.core.InvokerServlet.service(InvokerServlet.java:239)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
> > 26)
> > at
> >
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
> > Compiled Code)
> > at
> >
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
> > at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
> > at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
> > at
> >
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:144)
> > at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
> > at java.lang.Thread.run(Thread.java:479)
> >
> > >From what I've read here I'm thinking that my .properties file is not
> > correct, or it is not being found.
> >
> > Here is the contents of my .properties file:
> >
> > portlet.default.url=file:///tomcat/webpages/xml/defaultPortlets.xml
> > portlet.allportlets.url=file:///tomcat/webpages/xml/portlets.xml
> > portletcontrol.default=org.apache.jetspeed.portal.DefaultPortletControl
> >
portletcontrol.controller.default=org.apache.jetspeed.portal.DefaultPortletC
> > ontroller
> > org.apache.jetspeed.maxconnections=10
> > org.apache.jetspeed.javamail.debug=false
> > org.apache.jetspeed.admin.password=hackme
> > org.apache.jetspeed.form-action=post
> >
> > Also, what always confuses me (attributed to my ignorance) is statments
like
> > "I've copied the content dir under tomcat\webpages..." This means I
should
> > now have a tomcat\webpages\content directory, right? (In some
instructions I
> > have learned this meant "copy the contents of the content folder")
> >
> > To complete the picture, here is my C:\tomcat\webpages\WEB-INF\web.xml
file:
> > <?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>
> > Portal
> > </servlet-name>
> > <servlet-class>
> > org.apache.jetspeed.Home
> > </servlet-class>
> > <init-param>
> > <param-name>
> > JETSPEED_RESOURCES
> > </param-name>
> > <param-value>
> > C:\tomcat\webpages\WEB-INF\classes\JetSpeedResources.properties
> > </param-value>
> > </init-param>
> > </servlet>
> > </web-app>
> >
> > and my classpath is:
> > Using classpath: .\classes;.\webserver.jar;.\lib\servlet.jar;
> > .\lib\jasper.jar;.\webpages\WEB-INF\classes\jsp\beans
> > ;;.\lib\xml.jar;.\webpages\WEB-INF\classes\JetSpeed.jar;
> > \lib\tools.jar;c:\classes;c:\classes\servlet.jar;c:\classes\jndi.jar;
> > c:\classes\mail.jar;c:\classes\ecs-1.1.jar;c:\classes\village.jar;
> > c:\classes\jsdk.jar;c:\classes\activation.jar;
> > c:\classes\turbine-2.0.jar;c:\classes\mysql-uncomp.jar;
> > c:\classes\tools.jar;c:\classes\dt.jar;c:\classes\jetspeed.jar;
> > c:\classes\castor-0.7.4.jar
> >
> > BTW - Thanks, Diego. Your post got me this far.
> >
> > Steve B.
> >
> > <original-stuff deleted>
> >
> > --
> > --------------------------------------------------------------
> > 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]
>
> --
> Hugh P Brien
> Senior Commerce Engineer
> http://www.infomech.com
>
>
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]