Getting NoClassDefFoundError in Crystal Report Deloyment
Hi Friends,
I deployed all my crystal reports Stuff in Production Server(WebSphere Cluster Configuration), When i generate the crystal report its giving the below error
[b]
[5/18/07 11:42:49:700 SGT] 0000005e SystemOut O [2007-05-18 11:42:49,699] com.crystaldecisions.reports.common.a3 if ? - Adding com.crystaldecisions.reports.reportdefinition.y@5f179316 as a dependent to com.crystaldecisions.reports.reportdefinition.cd@4b9ba20
[5/18/07 11:42:49:701 SGT] 0000005e SystemOut O [2007-05-18 11:42:49,700] com.crystaldecisions.reports.reportengineinterface.JPEReportSource a ? - Exception occured while processing getPage request: java.lang.NoClassDefFoundError[/b]
Also Crystal Report is not giving the Full Stack Trace . Only one Line Error is printing in the LOG File
Even I have checked all the Crystal Jars are included properly in my EAR. still it is giving the same problem.(NoClassDefFoundError)
But the same EAR is working well in UAT server , which is not a Cluster Server.(It's a Stand Alone server)
Thanks in advance ...
Regards
Venkatesh Velu
The same type of questions found in this forum , thats y i posted here .. apology me to post this here ,
[b]Solution :[/b]
Atlast we found the solutions for this problem , this problem is coming due to the Display server in our HP-UX server.(This problem is not due to Cluster environment)
In our Server Display Server running , but my application dont have permission to use the graphical things from the server, thats y NoclassDefFoundError is coming even though if we use all jars recommended by Crystal Report Team ,
We executed
[b]xhost +[/b]
command to grant the permission to access all .
[b]Problem Symptoms:[/b]
Very First time , tho following error will come if we acces the rpt file ,
[i]Error
Can't connect to X11 window server using '10.1.1.20:0.0' as the value of the DISPLAY variable. [/i]
next time we will get NoClassDefFounError , So if u get the same symptoms ,
1) check the display server is running or not .. ==> ( ps -ef | egrep X11)
2) if not , check the display environment varaible has been set it in .profile file (echo $DISPLAY, which will return the DISPLAY env variable value)
How to set the DISPLAY varaible in .profile file
[b]DISPLAY =:0.0
export DISPLAY[/b]
3) grant the permission by executing xhost + command
Thanks
Venkat
The same type of questions found in this forum , thats y i posted here .. apology me to post this here ,
[b]Solution :[/b]
Atlast we found the solutions for this problem , this problem is coming due to the Display server in our HP-UX server.(This problem is not due to Cluster environment)
In our Server Display Server running , but my application dont have permission to use the graphical things from the server, thats y NoclassDefFoundError is coming even though if we use all jars recommended by Crystal Report Team ,
We executed
[b]xhost +[/b]
command to grant the permission to access all .
Problem Symptoms:
Very First time , tho following error will come if we acces the rpt file ,
]Error
Can't connect to X11 window server using '10.1.1.20:0.0' as the value of the DISPLAY variable.
next time we will get NoClassDefFounError , So if u get the same symptoms ,
1) check the display server is running or not .. ==> ( ps -ef | egrep X11)
2) if not , check the display environment varaible has been set it in .profile file (echo $DISPLAY, which will return the DISPLAY env variable value)
How to set the DISPLAY varaible in .profile file
DISPLAY =:0.0
export DISPLAY
3) grant the permission by executing xhost + command
Thanks
Venkat