Hi,
I am using Documentum 6.6 and java method server is not able to detect the default directory which is causing the OS Error in job execution (failed to launch).
Log shows: class not found exception
<html><head><title>JBossWeb/2.0.0.GA_CP - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: java.lang.ClassNotFoundException: com.aoi.kmged.KMGEDMigration
com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA_CP logs.</u></p><HR size="1" noshade="noshade"><h3>JBossWeb/2.0.0.GA_CP</h3></body></html>
I have compiled the job with Java 1.5_04 Version. CS Java version is 1.5_012.
I place the file in /logiciel/documentum53/mpa/dba/java_methods directory. Placed the jar files and additional thirdparty jar files also in the CLASSPATH environment variable.
I used following commands to stop and start services of Method Server.
stopMethodServer.sh stop
startMethodServer.sh start
used following commands too : nohup ./startMethodServer.sh > /dev/null &
Earlier I used following commands in path /logiciel/documentum53/mpa/dfc/jboss4.3.0/server/DctmServer_MethodServer/ (CS migrated to 6.6):
dm_jboss <docbase> stop
dm_jboss <docbase> start
Since the destination directory is /logiciel/documentum53/mpa/dba/java_methods and jar is also in CLASSPATH as well as in destination directory it should not throw the error.
I tried to execute the method also by DO_METHOD API Command. But it looks like the Java Method Server fails to detect the default directory.
Could you please provide your input on this.
Thanks,
Arindam