KM Document Upload Error - java.lang.NoClassDefFoundError

Hi
While Uploading the document in KM Content we are getting the Java Exception Error
Class java.lang.NoClassDefFoundError
com/sapportals/wcm/repository/manager/cm/SystemRIDFactory
Exception:
java.lang.ClassCastException
        at com.sapportals.wcm.control.generic.WcmErrorControl.readInputData(WcmErrorControl.java:553)
        at com.sapportals.wdf.stack.Control.triggerInput(Control.java:473)
        at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:172)
        at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
        at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
        at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
        at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
        at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:75)
        at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
        at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
        at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
        at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
        at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
        at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
        at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
        at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
        at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
        at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
        at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
Note: This is not a permanent error, after 15-30mins we are able to upload the Documents. We are not able to analyse it.
with regards,
Mohamed Thahir

hi,
I can suggest you check the Generator URL setting. Or May be there is connectivity prob with content server . so check both of them.
Regards
RS

Similar Messages

  • Error: java.lang.NoClassDefFoundError.... what do I do?

    I'm kinda new to this.... Everything works fine on my Desktop machine (XP Pro), but I've tried twice now to install the SDK (1.5.0_05) on my laptop (XP Home) and here's the problem.
    When I create a simple classs (see example below) and compile it, everying goes ok and I get the FileName.class result. But when I try to run it ("C:\Documents and Settings\ .... \java directory > java FileName") I get the following error statement.
    Exception in thread "main" java.lang.NoClassDefFoundError: FileName
    What do I do to fix this?

    Hello,
    I have the same problem but I'm using Jbuilder. I allways get this error:
    java.lang.NoClassDefFoundError:
    Test Exception in thread "main"
    I don't even have a class called Test but whichever project I run gives this error. Even simple hello world programs. This question has been asked before but I couldn't find any real answers. Someone mentioned class paths but I don't know how to test this.
    Is anyone familiar with Jbuilder project options? I have JRE and JSE installed. Thanks.

  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError:

    Dears
    I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         ... 58 more
    Any body has faced a similar issue. Please let me know your views
    Best regards
    Mohamed Chargui

    The JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
    Jdeveloper 11.1.1.6 support is JSF 1.2.
    Upgrade to JDeveloper 11.1.2.0.0.
    With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>1.0.0.0_2-0-2</implementation-version>
    *<exact-match>true</exact-match>*
    </library-ref>
    Edited by: dvohra16 on Feb 28, 2013 6:43 AM

  • Error: java.lang.NoClassDefFoundError in Jdeveloper 9.0.5.2.(Build 1618)

    Error: java.lang.NoClassDefFoundError org.apache.struts.taglib.BaseHandlerTag
    Hi,
    We are using Jdeveloper10g version 9.0.5.2(Build 1618) as our IDE. We have a struts based controller architecture in our project. So we frequently use struts tags in our jsp pages. The application is working fine but sometimes when i do some changes in one of or a number of the jsp files in Jdeveloper , after recompiling i get the above error in number of jsps though i haven't touched those jsps at all.
    I found a work around for this problem by just shutting down the Jdeveloper and again starting it.
    It gives such kind of errors for only stuts based tag containing jsps.
    Do anybody has any solution for this persistent problem.
    My whole team is facing this problem.
    With Warm Regards,
    Datta.

    No anyone knows?

  • Error: java.lang.NoClassDefFoundError in execution

    Hi, I compile my code right but when I'm executing the code I get the following error:
    java.lang.NoClassDefFoundError: jahuwaldt/tools/NeuralNets/NeuronFactory
    This is my code:
    import jahuwaldt.tools.NeuralNets.*;
    public class Gene
    public FeedForwardNet OOLFFNet;
    public Gene(int newNumInput,int newNumOutput,int newNumHidden,int newNeuronHLayer)
      OOLFFNet = new FeedForwardNet(NumInput,NumOutput,NumHidden,NeuronHLayer, new BasicNeuronFactory() );This line that fails is the last one.
    In the directory of jahuwaldt/tools/NeuralNets I got the file NeuronFactory.class. So I don't know why the code compiles right but when it is in execution mode gives the error non class found, when the class is in the directory. Any help?. Thanks in advance

    Hi, thanks again. I'm stuck with this I have test several options but I still get the same error. These are some options that I have tried.
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\*.class; sim.app.OOL.OOLWithUI
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\NeuronFactory.class; sim.app.OOL.OOLWithUIWhere is the problem?, I think that they are the same that the example from the java help.
    java -classpath C:\java\MyClasses\myclasses.jar utility.myapp.Cool
    Thanks again.

  • Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHa

    I am using JDeveoper10.1.2 with JHeadStart
    I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
    Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
    Please help what could be the cause.

    I have another way to solve this problem!
    When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
    or
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
    If line (1) marked, change the prefix="html" to prefix="html1"
    If line (2) marked, find the lines like <bean:message key="link.something_here"/>
    and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
    I successfully using this way but only if one error happend at a time or two errors from two kinds of error
    This way is not as good as the previous way mentioned in previous post.

  • Error: java.lang.NoClassDefFoundError when Automatic Import Service loads

    Hi
    The netware server running NW 6.5sp4a has been reloaded due to hardware
    failure.
    All the data was restored to all volumes.
    When I run zfdstart I get the following error:
    error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
    Help !!!
    Thanks
    Minesh

    [email protected] wrote:
    > error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
    hmm... would say that the zeninstall wasn't correctly done... try
    reinstalling importing..
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Error 'java.lang.NoClassDefFoundError: rn exception in thread 'main'

    I have been trying to install Full ABAP Edition-trial version of SAP Netweaver 04s on Windows XP professional SP2. I am getting the error 'java.lang.NoClassDefFoundError: run exception in thread 'main' while trying to execute 'setup.exe' in the image folder.
    i have installed 'j2sdk-1_4_2_09' on the system. still i am getting the same error. can somebody help me.
    I reinstalled the operationg system still the problem persisits.
    Thanks!

    I solved this problem by reinstalling the operating system.
    after this, I tried to start SAP MMC, it gave another error user id and password not valid.
    To avoid this problem make sure that password for administrator of the Operation system (PC or Laptop) should match the password for SAP MMC.

  • Error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory

    error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory
    could please let me know why i am getting this error. I have coherence.jar and tangosol.jar in classpath.
    Edited by: tally_15 on Jun 23, 2010 6:12 AM

    Hi,
    Is it a new setup? Is CacheFactory the only class you can't access or you can't access any Coherence class?
    Thanks,
    Wei

  • Error "java.lang.NoClassDefFoundError: sun/security/provider/Sun" in 10.1.2

    Hi,
    I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine.
    I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix page with data I get the following error:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: sun/security/provider/Sun     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:280)     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java(Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java(Inlined Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code))     at java.lang.Thread.run(Thread.java:568)
    Can anybody tell/help why I am getting this error?
    Thanks
    Syed

    I believe this counts to be a bug in adf. I met with such errors as well in migration 1012 from NT to AIX platform, and after decompiling adf jar code and tak a look at it, the following code block indicates that In class- oracle.jbo.client.Configuration
    , it is hard coded to get secure provider- sun/security/provider/Sun, as listed below...
    import sun.security.provider.Sun;
    static void checkSecurityProviders()
    Provider aprovider[] = Security.getProviders();
    boolean flag = false;
    for(int i = 0; i < aprovider.length; i++)
    if(!aprovider.getName().equals("SUN"))
    continue;
    flag = true;
    break;
    if(!flag)
    try
    Sun sun = new Sun();
    Security.addProvider(sun);
    catch(Exception exception)
    exception.printStackTrace();
    Adam

  • Servlet error: java.lang.NoClassDefFoundError

    We have created OC4J instance on application server.
    Deployed single application (ear) consisting of one ejb module and one web module.
    We have deployed the application using OEM, it is installed successfully.
    When we try to access the action class following error is displayed,
    Servlet error:
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
    This problem does not occur always.
    We have been able to successfully deploy the same ear file on some ocassion.
    OS used: Linux Advanced server 2.1
    Application server: 10g (9.0.4)

    Hi, here is my CLASSPATH setting,
    CLASSPATH=d:\ptc\Windchill\codebase;d:\ptc\Windchill\codebase\WEB-INF\lib\ie.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\JGL.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xerces.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\saxon.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xalan.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\mail.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\activation.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\soap.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\jnilib
    the wt.content package is packed into the wt.jar, and the wt.jar is in the d:\ptc\Windchill\codebase directory.

  • [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError:

    the Message Queue & the client have been running for days. Today my Connection ExceptionListener caught a Exception with the following message:
    [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError: com/etang/dispatch/DispatchItem
    I must say the class is definitely available( when I restart the client, it is OK), anyone has got the same problem?
    I've updated the package containing the "lost" class fie while the client is running. Would this contribute to the exception?
    MQ3.5 SP1 Platform Edition

    I use j2sdk1.4.2_07 for last 8 months. Now I got a error while interpreting the class file like Exception in thread "main" java.lang.NoClassDefFoundError: check.
    I am sure definitely I have the class in the current directory.
    I reinstall the j2sdk1.4.2_07 again I got the same error.
    Reply me if anybody solve the error like this.

  • When get into ESR ,,error - java.lang.NoClassDefFoundError

    Hi expert!!
    I got the error ( java.lang.NoClassDefFoundError) when getting into ESR..
    for the detail , occured after clicking logon buttom.
    the error  occured when getting into ESR only. no problem with  ID, RWB, SR, SLD, NWA.
    i used JDK 1.6 with my laptop, but once got the above error,
    i tried to change JDK 1.6.0_24  to 1.5.0_22, but same happened.
    restore achives and generate new signature  didn't help this error.
    all of host on exchange proflie used FQDN.
      the following is for components info regarding PI 7.1
    =========================================================================================
      sap.com SAP-XIAFC    1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_BUILDT  1000.7.11.0.0.20081028231700 SAP AG
      sap.com SAP_XIAF      1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIESR    1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIGUI     1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_XITOOL 1000.7.11.0.0.20081209013800 SAP AG
    thanks
    bangbang

    Hi,
    Please clarify:
         Are you getting this error in a freshly installed system or in the system which was working fine earlier?
         Have you done any patching or upgaradationd recently?
    Please refer to the sap notes below which may help to resolve your issue:
    #1515991
    #1452561
    Regards,
    Naveen.

  • XML error "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"

    Hi Experts,
    We are developing a WebDynpro for java application in NWDI for XML File Uploading, we have followed the below given process for that
    1) Created one XSD as per the client table structure.
    2) Developed one java webserver for the XSD file using jwsdp1.6
    3) Copied that generated folder in WebDynpro application
    4) Included all the required JAX-B jars as External jar files
    5) Finally Compiles the application
    When running the application it is throwing the below exception
    500 Internal Server Error   Web Dynpro Container/SAP J2EE Engine/6.40     
    Failed to process request. Please contact your system administrator.
    Error Summary 
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause    
    The initial exception that caused the request to fail, was:
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
    at com.ae.energy.scm.wdp.InternalXMLFileUpload.<init>(InternalXMLFileUpload.java:403)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    We checked entire application to ensure all the required files included, Could you please give us the cause for this exception and please explain us the solution to resolve it.
    We are very thankful for all the people who can give their support in resolving this issue.
    Thanks in advance,
    Sandeep Bonam

    Hi Sandeep,
    If you are following DC developemnt for your project, then adding the required JAR files as External Jars will not suffice.
    As at deployment, these "External Jars" are not considered.
    You will need to create and External Library project, for incorporating the required jars.
    For creation and use of External Library Project kindly follow Valery's blog:
    /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    Hope it Helps.
    Regards,
    Alka.

  • Weblogic 10.0 error java.lang.NoClassDefFoundError:

    Hi,
    I am using weblogic 10.0 and trying to upload the EAR which is build using Weblogic Workshop 8.1 SP4. i am gettign the following error:
    ####<Feb 13, 2010 2:36:48 AM IST> <Error> <Deployer> <STPLT1005> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1266008808529> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1266008804528' for task '0'. Error is: 'java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean'
    java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    Hello,
    I have not seen this particular error before, but if you can re-build the EJB using Workshop 10.0 I bet it will fix your problem. The old Workshop is running an old version of appc which the 10.0 version of WLS is probably not expecting.
    Kevin

Maybe you are looking for