Author |
Message
|
devin |
Posted: Fri Nov 07, 2003 8:41 am Post subject: Instance monitor not working |
|
|
Voyager
Joined: 27 Oct 2003 Posts: 82
|
Hi All,
I have a brand new installation of MQWF 3.4 and webclient on Solaris 8.
WAS 4.0,DB2 7.2, MQ 5.2.
I logged on webclient and while running the sample processes, evrything is fine, am able to execute activities , but the instance monitor is not working.
It's giving out the following error.
Error: java.lang.NoClassDefFoundError
com.ibm.workflow.servlet.client.ClientException
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
at java.awt.Font.initializeFont(Font.java:259)
at java.awt.Font.(Font.java:293)
at com.ibm.workflow.servlet.client.ProcessMonitor.(Unknown Source)
at com.ibm.workflow.servlet.client.MonitorHandler.showMonitor(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.workflow.servlet.client.Util.invoke(Unknown Source)
at com.ibm.workflow.servlet.client.GenericCommandHandler.execute(Unknown Source)
at com.ibm.workflow.servlet.client.BuiltinHandler.execute(Unknown Source)
at com.ibm.workflow.servlet.client.ApplicationContextImpl.dispatch(Unknown Source)
at com.ibm.workflow.servlet.client.Main.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:154)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:138)
Thanks,
Devin |
|
Back to top |
|
 |
Prahasith |
Posted: Fri Nov 07, 2003 10:03 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
This is what I found on IBM site
For Solaris, if you are installing WAS 4.0x using XTerm, stop. You must do it native.
The DISPLAY must point to an X11 server, preferably (for performance reasons) the local host. The command is:
export DISPLAY=<my machine>:0.0
As an alternative, you can also run the virtual X server, for example:
/usr/X11R6/bin/Xvfb -aduti 2 :0 -screen 0 1600x1200x24
and then set DISPLAY=0:0 for the Web Client.
Set the DISPLAY variable either in the WebSphere Application Server startup script, in the profile of the user who starts the WebSphere Application Server, or in the shell where WebSphere Application Server gets started.
Last edited by Prahasith on Fri Nov 07, 2003 10:04 am; edited 1 time in total |
|
Back to top |
|
 |
vennela |
Posted: Fri Nov 07, 2003 10:04 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
devin |
Posted: Fri Nov 07, 2003 10:27 am Post subject: |
|
|
Voyager
Joined: 27 Oct 2003 Posts: 82
|
I will try it.
Thanks Prahasith & Vennela |
|
Back to top |
|
 |
devin |
Posted: Mon Nov 10, 2003 11:44 am Post subject: |
|
|
Voyager
Joined: 27 Oct 2003 Posts: 82
|
Vennela,
Can you please elaborate on how to set the DISPLAY variable in WAS.
We have MQWF 3.4, Solaris 8.
I have tried one of the options listed in the links,
And the problem is we dont an X11 server running in the network.
Is it a necessity to have the X11 server or is there a workaround for this?
And also the DISPLAY variable , shud be set to point to the WAS server.Is that right ?
Thanks
Devin |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 10, 2003 12:35 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I haven't used WAS4.0 in an year so I don't remember the wscp command. But using admin console
Nodes -> Hostname of the computer -> click on Application Servers
On the right hand side you will see General tab where there is an Environment section.
If you click on that you will get a name value pair of columns where you can set the environment variables.
In the name column enter DISPLAY
In the value column enter <hostname where WAS is running>:0.0
Quote: |
And the problem is we dont an X11 server running in the network.
Is it a necessity to have the X11 server or is there a workaround for this?
|
I am not sure about this part |
|
Back to top |
|
 |
Prahasith |
Posted: Mon Nov 10, 2003 1:05 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
Devin
you have to have an X11 Server on the box that runs the Web Client Web
Application. This is a requirement of the Java Development Kit if Java2D is
used for graphics creation. |
|
Back to top |
|
 |
devin |
Posted: Mon Nov 10, 2003 2:00 pm Post subject: |
|
|
Voyager
Joined: 27 Oct 2003 Posts: 82
|
Thanks again for the help. |
|
Back to top |
|
 |
|