Sangeetha, you are right…the NoClassDefFoundError is the problem. Now the question is: Why isn’t this class being found on your server ? If the JDK and Tomcat were installed as per the instructions and the Workflow.war file was copied to the Tomcat webapps directory, then getting Tomcat to access Workflow is usually easy (and painless).
Here’s a few questions/suggestions:
-
The BrokerCallback class is in the client60.jar. This jar file should be in <tomcat>\webapps\Workflow\WEB-INF\lib directory. Tomcat should deploy the jar files from Workflow.war into this directory when it starts up. Is the jar file there ?
-
Is there a classpath specified as a system environment variable ? If so then what is it set to ? Note: our server does NOT set a classpath system environment variable.
-
Did you follow the full install instructions for the JDK & Tomcat ? Did you set your JAVA_HOME environment variable ? Did you add
%JAVA_HOME%\bin to your system path environment variable ?
-
Make sure there is a temp directory under <tomcat>. If it’s not there create it.
-
Make sure you run the Workflow configurator and setup the database info. Verify that you can access the userid/password you specified by using a tool like Free Toad.
-
On the Workflow login page (at http://catodv28:8080/Workflow/wfservlet) are you specifying the “Server:” info as follows ?
<workflow_server_hostname>:5001
-
Are you running Workflow server as a service or from the command (batch) file ? The command file (srvmgr.bat) is in <webMethods>\WorkflowServer\bin directory
-
If all of the above look ok, then do the following:
a) shutdown Tomcat
b) delete the <tomcat>\webapps\Workflow directory,
c) Delete the <tomcat>\work\Standalone\localhost\Workflow
d) Copy the Workflow.war file from <webMethods>\WorkflowServer to <tomcat>\webapps (make sure you replace the war file that is there)
e) start Tomcat
f) Try logging in again (make sure you specify “Server:” on the login page)
Let me know how it goes.
FYI: we are using Tomcat 4.0.4. here
Regards,
Wayne
#webMethods#MWS-CAF-Task-Engine#webMethods-BPMS