Hello,
I am trying to install JetSpeed but cant get it to work.
This is what I am using:
--> Initial stuff
Solaris 7
Apache 1.3.9
Java 1.1
Apache JServ 1.1
--> Stuff added for JetSpeed test
JetSpeed 1.0b2
ecs-1.2
javamail-1.1.3
jaf-1.0.1
Apache & Jserv has been up and running for I while and now I wanted
to try JetSpeed. It looked very promising on the paper so I installed
it. But I keep getting a NullPointerException when I try to access it
with http://<mytest.machine>/servlet/org.apache.jetspeed.Home
-->
java.lang.NullPointerException
at java.io.FileInputStream.<init>(Compiled Code)
at org.apache.java.util.ExtendedProperties.<init>(Compiled Code)
at org.apache.jetspeed.util.JetSpeedResources.<init>(Compiled
Code)
at
org.apache.jetspeed.util.JetSpeedResources.getInstance(Compiled Code)
at
org.apache.jetspeed.portal.PortletController.getPortlets(Compiled Code)
at
org.apache.jetspeed.portal.DefaultPortletController.getContent(Compiled
Code)
at org.apache.jetspeed.Home.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled
Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
<--
My guess is that it failes to read the properties file.
I have placed it in my /usr/java/lib directory, together with the other
java *.properties files, and changed it to reflect where I placed the
contenet files ie:
-->
#specify the default set of portlets to use for the Home page
portlet.default.url=file:///webroot/www/content/xml/defaultPortlets.xml
#specify the default set of portlets the user can choose from
portlet.allportlets.url=file:///webroot/www/content/xml/portlets.xml
<--
Any clues on what I am doing wrong or how I proced to debug it?
/magnus
--
--------------------------------------------------------------
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]