ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Instance Monitor on WebClient gives no class found error

Post new topic  Reply to topic
 Instance Monitor on WebClient gives no class found error « View previous topic :: View next topic » 
Author Message
vennela
PostPosted: Mon Nov 04, 2002 11:28 am    Post subject: Instance Monitor on WebClient gives no class found error Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Mon Nov 04, 2002 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vennela
PostPosted: Mon Nov 04, 2002 11:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Mon Nov 04, 2002 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vennela
PostPosted: Mon Nov 04, 2002 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
robsdman
PostPosted: Sun Nov 17, 2002 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Nov 18, 2002 7:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

John and robsdman:

Thanks. Your solution works.

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Instance Monitor on WebClient gives no class found error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.