Third-party Jars & NoClassDefFoundError on Panther Server

Manish Nilawar <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hello Everyone,
I am using JFreeCharts for generating  graphs. On my development 
machine,
I am running Project Builder/Jaguar/Java 1.4.1. I copied the required 
jars to
/Library/WebObjects/Extensions/  folder. It runs fine in development 
mode. When
I deploy the application on Panther Server/Java 1.4.1 and put the jars 
in the same
location i.e. /Library/WebObjects/Extensions/ , I get:

Error:
com.webobjects.foundation.NSForwardException [java.lang.InternalError] 
Can't connect to window server - not enough permissions.
Reason:
Can't connect to window server - not enough permissions.

The exception is not consistent. Sometimes I also get:

Error:
com.webobjects.foundation.NSForwardException 
[java.lang.NoClassDefFoundError] null

I understand the meaning of NoClassDefFoundError, but I can't figure 
out how to resolve it. Is there a different location on
server that I need to put my jar file in ? Or is there really a 
permissions problem as described in first exception message ?
I tried deploying the app on Jaguar Server/Java 1.4.1 with the jar 
files in exact same location, and they work absolutely fine.

I checked to see the JVM versions on dev and deploy machine and they 
match exactly.
Seems like a strange panther-only phenomenon to me. Any 
ideas/suggestions would be very helpful.
Thanks in advance ..

Manish Nilawar
Programmer Analyst
University of Nevada, Reno

_______________________________________________
WebObjects-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.