Author |
Message
|
vennela |
Posted: Mon Nov 04, 2002 11:28 am Post subject: Instance Monitor on WebClient gives no class found error |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I have a MQWF 3.3.2.2
I have also applied the latest CSD for the web client.
When I tried to view the instance monitor using the Web Client it gives an error "No Class definition found".... an error usually thrown when the classpath is not set properly. Everything else seems to work fine like creating an instance, check out/in work items etc.
Standard fat client works fine. I can view the instance monitor.
I have looked at the workflow error logs and found nothing.
Where should I start looking for? Let me know if more info is needed.
Regards
Venny |
|
Back to top |
|
 |
jmac |
Posted: Mon Nov 04, 2002 11:31 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Venny:
What OS are we talking about here?
I think I had similar problems at one point with AIX and it had to do with a backlevel version of some C library... Let me know if you are using AIX and I will see if I can find my notes on what was the cause of the problem _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 04, 2002 11:35 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I am using AIX 4.3.3
MQWF Server and DB2 are on AIX 4.3.3
WebSphere is on a different box with HP 11.0
---
Regards
Venny |
|
Back to top |
|
 |
jmac |
Posted: Mon Nov 04, 2002 11:58 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Venny:
I found the original thread on the IBM newsgroup.... this was the answer I received from IBM at the time. NOTE that I was running V330 when I had this problem.
Quote: |
In order to dynamically create images on Unix systems (for example, the process monitor JPGs of the MQSeries Workflow WebClient), the Java AWT requires the DISPLAY variable to be set. Note that this is a Java implementation requirement, it does not come from MQSeries Workflow. If you check the "JAVA Servlet Programming" book by O'Reilly, chapter "Sending Multimedia Content", you will find the following footnote:
"For web servers running on Unix systems, the frame's native peer has to be created inside an X server. Thus, for optimal performance, make sure the DISPLAY environment variable (which specifies the X server to use) is set to a local X server. Also make sure the web server has been granted access to the X server, which may require the use of xhost or xauth."Headless" server machines without an X server running can use Xvfb (X virtual frame buffer) to handle the graphics chores; just make sure to point the DISPLAY at the Xvfb server."
Note: If you are using IBM WebSphere Application Server 3.5.2 or later on AIX, the version of the C/C++ Runtime must be at least 5.0.0.6 for component 'xlC.aix43.rte' and 5.0.0.0 for component 'xlC.rte'. You can check which version you have installed using the command lslpp -l or by running the smitty tool under the root user ID.
So your problem should be solved if you set the environment variable DISPLAY to valid X-Server instance, i.e. something like "export DISPLAY=MyHostname:0.0". This setting has do be made in the environment of the application server running the Web Client.
Markus Reichart
MQSeries Workflow Development |
Perhaps you should post your problem on the IBM site and hopefully one of the developers will answer.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 04, 2002 12:12 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I think I should post the problem in the IBM newsgroup. The solution you have posted is for WAS running on AIX. But I am running WAS on HP.
Thanks John
---
Venny |
|
Back to top |
|
 |
robsdman |
Posted: Sun Nov 17, 2002 7:33 pm Post subject: |
|
|
 Apprentice
Joined: 23 Aug 2002 Posts: 27
|
venny,
I have had the same exact problem running aix 4.3.3 and webclient.
I had my aix admin folk run the X11, "X" with virtual frame buffer setting, and export the DISPLAY variable for the environment that starts WAS. Also for what ever reason, we had to put the rt.jar of WAS in the CLASSPATH of the AppServer running the WebClient. I am not so sure about the rt.jar part, I just went along with it, cause without it. (We found that X11 class in the rt.jar.) Not sure if it's the best way, but it works.
Also make sure your export DISPLAY value matches how you have the X parms set for. |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 18, 2002 7:07 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
John and robsdman:
Thanks. Your solution works.
---
Venny |
|
Back to top |
|
 |
|