Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[URGENT] Report & java classes problem !!

Status
Not open for further replies.

APDev

Programmer
May 21, 2003
2
FR
Hi,

Im' using Actuate 6, and i would like to use my java classes. I don't have problem when i execute the report on the Actuate e.Reporting software but, when i execute it in the actuate Server, i'm getting this error :

///////////
The last operation ExecuteSynchronousReport on item /I2/spc1_I2_java.rox;1 was unsuccessful.
Details of this operation and possible reasons for its failure are listed below.

Operation: ExecuteSynchronousReport
The client sub-operation was ProcessFileServlet (executeSynchronousReport)
The server sub-operation was XML API ( )

Item: /I2/spc1_I2_java.rox;1
Error Code:
Message: A FAILED status message was returned by the server.
Status No: 1 :
Basic Error: 104
Module: NewReportApp::Report::DataSource::DataRow%New
Line: 5

Caught Java Exception -- java.lang.NoClassDefFoundError: com/Code
////////////

I copy my jar file in the Actuate6/jar, and checked paths, classpath, JRE Java SDK and all appear to be fine. I try on Win2000 & NT and i have the same error.


Any idea ?
Thanks.

--
APDev.
 
I encountered a problem like this. It sounds like it might be a classpath issue.

Is "/yourpath/yourfile.jar" actually in the classpath on the server?
Is "com/Code.class" in the jar you think it's in?
%jar -tf yourfile.jar

In the "NewReportApp::Report::DataSource::DataRow%New" method, do you have:
Set javaClassHandle = CreateJavaClassHandle("com.Code")
Is there any other stuff in the function call above?

I hope this sparks some insightful thoughts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top