hp746
asked on
Class not found exception with BOF classes on Weblogic 8.1
HI,
I had deployed a WDK 5.2.5 application on Weblogic 8.1 application server. When I type in the URL for the application, I get a class not found exception. This happens only with the type based and service based business objects.
Could you please tell me if I am missing some jar files that need to be included?
I have the dfc.jar and the dfcbase.jar included in the classpath. Are there some other ones that I need to include?
I had deployed a WDK 5.2.5 application on Weblogic 8.1 application server. When I type in the URL for the application, I get a class not found exception. This happens only with the type based and service based business objects.
Could you please tell me if I am missing some jar files that need to be included?
I have the dfc.jar and the dfcbase.jar included in the classpath. Are there some other ones that I need to include?
ASKER
Hi,
Here is the stack trace,
java.lang.NoClassDefFoundE rror: com/pbsg/pathfinder/bof/ty pe/IPfDocu ment
at java.lang.Class.getDeclare dMethods0( Native Method)
at java.lang.Class.privateGet DeclaredMe thods(Clas s.java:164 7)
at java.lang.Class.privateGet PublicMeth ods(Class. java:1770)
at java.lang.Class.privateGet PublicMeth ods(Class. java:1786)
at java.lang.Class.getMethods (Class.jav a:824)
at com.documentum.web.form.Fo rmProcesso r.findMeth od(FormPro cessor.jav a:1298)
at com.documentum.web.form.Fo rmProcesso r.invokeMe thod(FormP rocessor.j ava:1209)
at com.documentum.web.form.Fo rmProcesso r.fireActi onEvent(Fo rmProcesso r.java:777 )
at com.documentum.web.form.Re callOperat ion.execut e(RecallOp eration.ja va:98)
at com.documentum.web.form.Fo rmProcesso r.openForm (FormProce ssor.java: 136)
at com.documentum.web.form.We bformTag.d oStartTag( WebformTag .java:124)
at jsp_servlet._pathfinder._p ages._main .__pf_main _body_laun cher._jspS ervice(__p f_main_bod y_launcher .java:200)
at weblogic.servlet.jsp.JspBa se.service (JspBase.j ava:33)
at weblogic.servlet.internal. ServletStu bImpl$Serv letInvocat ionAction. run(Servle tStubImpl. java:996)
at weblogic.servlet.internal. ServletStu bImpl.invo keServlet( ServletStu bImpl.java :419)
at weblogic.servlet.internal. TailFilter .doFilter( TailFilter .java:28)
at weblogic.servlet.internal. FilterChai nImpl.doFi lter(Filte rChainImpl .java:27)
at com.pbsg.pathfinder.metric s.MetricFi lter.doFil ter(Metric Filter.jav a:45)
at weblogic.servlet.internal. FilterChai nImpl.doFi lter(Filte rChainImpl .java:27)
at weblogic.servlet.internal. WebAppServ letContext $ServletIn vocationAc tion.run(W ebAppServl etContext. java:6458)
at weblogic.security.acl.inte rnal.Authe nticatedSu bject.doAs (Authentic atedSubjec t.java:321 )
at weblogic.security.service. SecurityMa nager.runA s(Security Manager.ja va:118)
at weblogic.servlet.internal. WebAppServ letContext .invokeSer vlet(WebAp pServletCo ntext.java :3661)
at weblogic.servlet.internal. ServletReq uestImpl.e xecute(Ser vletReques tImpl.java :2630)
at weblogic.kernel.ExecuteThr ead.execut e(ExecuteT hread.java :219)
at weblogic.kernel.ExecuteThr ead.run(Ex ecuteThrea d.java:178 )
Here is the stack trace,
java.lang.NoClassDefFoundE
at java.lang.Class.getDeclare
at java.lang.Class.privateGet
at java.lang.Class.privateGet
at java.lang.Class.privateGet
at java.lang.Class.getMethods
at com.documentum.web.form.Fo
at com.documentum.web.form.Fo
at com.documentum.web.form.Fo
at com.documentum.web.form.Re
at com.documentum.web.form.Fo
at com.documentum.web.form.We
at jsp_servlet._pathfinder._p
at weblogic.servlet.jsp.JspBa
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at com.pbsg.pathfinder.metric
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.security.acl.inte
at weblogic.security.service.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.kernel.ExecuteThr
at weblogic.kernel.ExecuteThr
>>com/pbsg/pathfinder/bof/ type/IPfDo cument
Is the class you're missing. I don't recognise that - what software is it?
Is the class you're missing. I don't recognise that - what software is it?
ASKER
EMC Documentum.
Make sure that class is in one of the jars you mentioned and if so, that they really *are* in the classpath (of the server if necessary in addition to your webapp)
> I have the dfc.jar and the dfcbase.jar included in the classpath
they shouldn't be in your classpath, they should be deployed as part of webapp (in WEB-INF/lib)
you can check the contents of a jar using the jar command
jav tvf <jar file name>
they shouldn't be in your classpath, they should be deployed as part of webapp (in WEB-INF/lib)
you can check the contents of a jar using the jar command
jav tvf <jar file name>
ASKER
I have them in the WEB-INF/lib folder also. I got the same exception and so had put them in the classpath.
Is there any other reason for this exception other than not including the jar files?
I had also checked the dbor.properties file and all the business objects are registered.
Is there any other reason for this exception other than not including the jar files?
I had also checked the dbor.properties file and all the business objects are registered.
Please post the listing of the jars
jar tf <thejar>
jar tf <thejar>
> Is there any other reason for this exception other than not including the jar files?
It means the classloader cannot find the specified class. Meaning the jar file is not available to it.
Perhaps also checj the class name and package that they are spelt correctly
eg. is it IPF not IPf
> Please post the listing of the jars
> jar tf <thejar>
Thats already been suggested, stop repeatedly copying other experts comments :)
It means the classloader cannot find the specified class. Meaning the jar file is not available to it.
Perhaps also checj the class name and package that they are spelt correctly
eg. is it IPF not IPf
> Please post the listing of the jars
> jar tf <thejar>
Thats already been suggested, stop repeatedly copying other experts comments :)
ASKER
I had checked for the spellings and they all match.
IPfDocument is a custom interface class which extends IDfBusinessObject provided by the DFC 5.2.5. It is present in dfc.jar which I mentioned earlier. There are a hierarchy of objects provided by documentum and so I am guessing the problem lies in the import of those jars.
Do you happen to specifically know what I am missing other than dfc.jar and dfcbase.jar?
IPfDocument is a custom interface class which extends IDfBusinessObject provided by the DFC 5.2.5. It is present in dfc.jar which I mentioned earlier. There are a hierarchy of objects provided by documentum and so I am guessing the problem lies in the import of those jars.
Do you happen to specifically know what I am missing other than dfc.jar and dfcbase.jar?
You also need to check
jar tf <thewar>
for those jars
jar tf <thewar>
for those jars
> Do you happen to specifically know what I am missing other than dfc.jar and dfcbase.jar?
u are missing the class mentioned, if it is in that jar then the jar is not being seen by the classloader.
u are missing the class mentioned, if it is in that jar then the jar is not being seen by the classloader.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Almost certainly. Please post the exception stack trace