"Kevin A. Burton" wrote:
>
> You probably aren't giving it a config file to point at.
>
> This is where the NPE is coming from... will be fixed in next release.
>
> Kevin
>
> Hugh Brien wrote:
> >
> > > I am getting the Null.Pointer.Exception also. I have successfully build
I'm successfully using b2 on NT and after MANY :) tries, I've found that
a problem in the configuration of the file cache: if you use a drive
letter (C: ecc), you get an exception. So, use something like
cache.directory=\temp\JetSpeedDocumentCache
Look also at cache memory config (I'm using store.memory = 100000).
Beside this, I'm using the latest version of Tomcat with JDK1.3 RC1
without any problem.
I think it's important to checkout the latest version from cvs server
and then recompile it. Doing this, I've found some libraries that
weren't noted in the install doc. My classpath looks like:
.;d:\javalib\village\village.jar;d:\javalib\ecs\ecs-1.2.jar;d:\javalib\jaf\activation.jar;d:\javalib\javamail-1.1.1\mail.jar;d:\javalib\JetSpeed-1.0b2\lib\xerces.jar;d:\javalib\JetSpeed-1.0b2\lib\castor-0.7.4.jar;d:\javalib\JetSpeed-1.0b2\lib\Cocoon-1.6.jar;d:\javalib\JetSpeed-1.0b2\lib\turbine-2.0-01-29-2000.jar;d:\javalib\JetSpeed-1.0b2\bin\JetSpeed.jar;g:\jdk1.3\lib\tools.jar
The last is only for compiling (contains the javac classes). Use the
libraries included with jatspeed where possible.
Next, I've copied the content dir under tomcat\webpages and edited
web.xml file in WEB-INF in the same place; it looks like:
---
<?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>
d:\javalib\JetSpeed-1.0b2\src\config\JetSpeedResources.properties
</param-value>
</init-param>
</servlet>
</web-app>
---
Note the initialization parameter.
Startup your Tomcat server and you can view the page at the address
http://mywebserver/servlet/Portal.
Under Apache/JServ, the configuration is a bit more complex but it
works.
I think JetSpeed will be a great product!
Diego
--
--------------------------------------------------------------
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]