@Entity annotation bring oracle.classloader.util.AnnotatedNoClassDefFoundEr

Hi,
I try to deploy an app with spring3+JPA2(hibernate3.5) on a 10.1.3.3 OC4J server.
As soon as i ass a class with @javax.persistence.Entity annotation deployment fail with:
oracle.classloader.util.AnnotatedNoClassDefFoundError : missing class WEB-INF.classes.my.package.MyClass (wrong name my.package.MyClass)
where my.package.MyClass is the class with @Entity.
How can i deploy such an application?
Is there a way to shutdown oracle annotation parsing on OC4J?
Thanks

I have a same trouble.
How do you solved this problem...
please help me..
Message was edited by:
kim57uak

Similar Messages

  • Error oracle.classloader.util.AnnotatedNoClassDefFoundError when using fop?

    Hallo,
    i want to use fop in my project.
    Doing this i've got:
    XML-25017 ...
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: org.apache.fop.apps.Driver
    Dependent class: oracle.xml.xsql.serializerse.XSQLFOPSerializer
    Loader: adf.oracle.domain:10.1.3.1
    Code-Source: /opt/jdev101310/lib/xsqlserializers.jar
    Configuration: /home/asmus/jdevhome101310/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml
    The missing class is available from the following locations:
    /opt/jdev101310/fop-0.20.5/fop.jar
    I don't know to which place i must put the fop.jar that the system is finding it. I test some things but nothing works.
    Any help is appreciated.

    Hi Reiasmus,
    Have you added the fop.jar as a library to your project (JPR) - double-click the jpr, choose libraries....
    I've forgotten to to this in the past myself...
    John

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError

    I am trying to access my webservice from my application module and when i run it standalone it is running fine, but when i create data control out of it and use it from my jsp page it is throwing me this error.
    Any suggestion how to get rid of this.
    JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap

    I solved the problem by deleting the soft link myglobalclasses in the Workspace directory to myclasses directory .
    However not sure why this problem occurred

  • Oracle.classloader.util.AnnotatedClassNotFoundException

    I have an application built that runs great with the embedded OC4J in JDeveloper but when I deploy it to a stand alone OC4J the server startup cannot see any of my EJBs. I get the following error for every EJB class:
    2007-06-22 10:12:05.144 WARNING oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.emulex.interop.ejb.InteropSessionFacadeLocal
    Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: oracle.persistence:1.0
    Code-Source: /C:/OracleAS/toplink/jlib/toplink-essentials.jar
    Configuration: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
    This load was initiated at InteropApplication.root:0.0.1 using the loadClass() method.
    I have researched this error, found several references to this exception, but I still cannot find a real solution to my issue. What puzzles me is that it works fine embedded in JDeveloper, but not in stand alone server deployed from JDeveloper. The versions I am using for both are 10.1.3.2.
    Thanks for your help,
    Mike

    Hi Steve,
    I have emailed my ear file to you. Just for information for this posting, here are my persistence.xml and application.xml entries:
    <b>persistence.xml</b>
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
        <persistence-unit name="Model"/>
    </persistence>
    <b>application.xml</b>
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
        <display-name>InteropApplication</display-name>
            <module>
                <web>
                    <web-uri>ViewArchive.war</web-uri>
                    <context-root>Interop</context-root>
                </web>
            </module>
    </application>

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError Web Service Proxy

    I have seen this issue being posted a couple of times, but I have not seen any solution yet...
    I created a dynamic web service proxy using JDeveloper's dynamic proxy generation feature. I got it to work in both j2se and j2ee. However, when I tried to migrate the code to jdev on a different machine, I got this error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: com.raytheon.winsight.proxy.StructureListType
    Dependent class: java.lang.reflect.Array
    Loader: jre.bootstrap
    Code-Source: unknown
    Configuration: jre bootstrap
    And the weird thing is that it works when I run it as a j2se executable, but does not work when I try to run it in a servlet. Does anyone have any idea? Thanks!

    I believe so. I am running it in my jdev environment with its own jdk/jre.
    Another thing I have noticed is that in the jdev environment that is not working for me, every time I attempt to launch the ws proxy, I get the following error:
    "2007-05-31 09:43:01.406 WARNING Warning: cannot load wsm config file: com/raytheon/winsight/proxy/runtime/WSEnumSvcSoap_Stub.xml
    2007-05-31 09:43:02.516 WARNING Warning: cannot load wsm config file: com/raytheon/winsight/proxy/runtime/WSDataSvcSoap_Stub.xml"
    I looked into my original jdev project that is working in the j2ee environment, and could not locate those two xml files...

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing Class

    I have j2ee web service consumer, when I run it in embeded oc4j env, I get -
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.krisco.webservice.node.SimpleUINode
         Dependent class: java.lang.reflect.Array
         Loader: jre.bootstrap
         Code-Source: unknown
         Configuration: jre bootstrap
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12]
    This only happens when the called method returns an array of complex type.
    Amazingly, it works fine with a j2se consumer with the same service (in the same jdev project!)
    I don't understand, what I am missing here. Any help is appreciated.
    Thanks in advance.

    Eric,
    I have already tried what you are suggesting, to the extent that I seperate the Proxy and j2eeConsumer into separate projects and made sure that WEB-INF/lib contains the Proxy.jar.
    It fails only when the operation (method) returns an array of complex-type. It works fine with operations returning complex-types. The problem seems to be with de-serialization.
    I think it is a bug in the IDE generated code. The entire J2EE consumer worked earlier, I think that after installing a few IDE-patches the trouble started.
    Thanks,
    Kris.

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError issue

    I am trying to run iexpense homepage through my pc. For that I have moved the entiire AP folder from JAVA_TOP to myclasses and MDS folder from APPL_TOP/Ap
    to myprojects folder. After running through different problems which I have fixed I am stuck now. Getting following message. I just dont know what is wrong as everything seems correct to me. Any help will be greatly appreciated.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg=
         Missing class: oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility
         Dependent class: oracle.apps.ap.oie.framework.webui.OIEPageCO
         Loader: current-workspace-app.web.APPS_HTML:0.0.0
         Code-Source: /C:/OAF/jdevhome/jdev/myclasses/
         Configuration: <classpath> in C:\OAF\jdevhome\jdev\myhtml\OA_HTML
    The missing class is not available from any code-source or loader in the system.
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at OAErrorPage.jspService(_OAErrorPage.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
         at OA.jspService(_OA.java:115)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility
         Dependent class: oracle.apps.ap.oie.framework.webui.OIEPageCO
         Loader: current-workspace-app.web.APPS_HTML:0.0.0
         Code-Source: /C:/OAF/jdevhome/jdev/myclasses/
         Configuration: <classpath> in C:\OAF\jdevhome\jdev\myhtml\OA_HTML
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    please check that the class file is there in myClasses folder in client
    oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility.
    Between, why do you want to run the files from client.. why can't you test it from the application only.
    Thanks,
    Gaurav

  • Oracle.classloader.util.AnnotatedLinkageError Exception

    I am having the following error when we deployed the application on Oracle Application Server 10.1.3 on AIX.
    It works Ok on my local OC4J and I can run off my JDeveloper also. Please help me. I am in big trouble. Thanks a lot.
    Exception:
    oracle.classloader.util.AnnotatedLinkageError: (_usermangement/_SecUserProfile_jspx) jsr inlining encountered too many jsrs in method 1 (_jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) at pc=65535
    Invalid class: usermangement.SecUserProfile_jspx
    Loader: MYAPP.web.MYAPPVIEW.jsp1866886982:0.0.0
    Code-Source: /asw/oracle/OracleAS_1/j2ee/emarsdev/application-deployments/MYAPP/MYAPPVIEW/persistence/_pages/
    Configuration: *.jsp in /asw/oracle/OracleAS_1/j2ee/emarsdev/application-deployments/MYAPP/MYAPPVIEW/persistence/_pages
    Dependent class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: /asw/oracle/OracleAS_1/j2ee/home/lib/ojsp.jar
    Configuration: <code-source> in META-INF/boot.xml in /asw/oracle/OracleAS_1/j2ee/home/oc4j.jar

    Can you try out creating a client for your EJB by right clicking the EJB in the application navigator and choosing the option to create a sample client.
    Then see if running that client works better and compare the code that was generated to yours.

  • Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:

    Hi - I get following error while Invoking EJB; could someone please guide here?
    I'm running OAS 10.1.3
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.profitlogic.businessrulemgr.facade.BusinessRuleMgrFacadeHome
         Dependent class: oracle.oc4j.rmi.ServerRmiMethodCache
         Loader: oc4j:10.1.3
         Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar
    This load was initiated at c4p.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         2. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar (from <ejb> in C:\product\10.1.3\OracleAS_1\j2ee\home\applications\BusinessRuleMgr)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         3. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/lib/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/p4pgui/)
         This code-source is available in loader price.web.p4pgui:0.0.0.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.profitlogic.businessrulemgr.facade.BusinessRuleMgrFacadeHome
         Dependent class: oracle.oc4j.rmi.ServerRmiMethodCache
         Loader: oc4j:10.1.3
         Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar
    This load was initiated at c4p.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         2. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar (from <ejb> in C:\product\10.1.3\OracleAS_1\j2ee\home\applications\BusinessRuleMgr)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         3. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/lib/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/p4pgui/)
         This code-source is available in loader price.web.p4pgui:0.0.0.

    The JDeveloper 11 preview does not currently support deployment to OAS 10.1.3.
    Regards,
    Ric

  • Verify that this class has been marked with the @Entity annotation

    Hi,
    We have a App level shared lib which does all the JPA related query for an app. And each app can utilize the share lib to get the JPA related query to be done.
    For scoping the JPA between App . We have created EMF for each app.
    When one app run and does any JPA related action it works fine , but when we try to run second app we are seeing the following error when trying to do JPA specific action .
    the @Entity annotation.
    [2012-05-23T04:08:16.839-07:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.spaces] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] [[
    java.lang.IllegalArgumentException: Unknown entity bean class: class oracle.webcenter.spaces.internal.repository.WcSpaceHeader, please verify that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)
    at oracle.webcenter.spaces.internal.repository.SpaceRepositoryUtils.refreshSpaceRows(SpaceRepositoryUtils.java:1791)
    Where WcSpaceHeader is an Entity.
    For creating emf per App this is the code
    private static EntityManagerFactory getEntityManagerFactory()
    String appName=Utility.getApplicationName();
    EntityManagerFactory emf=sEntityMgrFactory.get(appName);
    if(emf==null)
    emf=Persistence.createEntityManagerFactory("SpacesReposPUnit");
    sEntityMgrFactory.put(appName,emf);
    SpacesConstants.LOGGER.info("Caching" +
    "EMF for " +appName);  
    return emf;
    My persistence.xml
    <?xml version="1.0" encoding="US-ASCII" ?>
    <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="SpacesReposPUnit" transaction-type="RESOURCE_LOCAL">
    <provider>
    org.eclipse.persistence.jpa.PersistenceProvider
    </provider>
    <class>oracle.webcenter.spaces.internal.repository.WcSpaceHeader</class>
    <class>oracle.webcenter.spaces.internal.repository.WcSpaceUsrDetail</class>
    <class>oracle.webcenter.framework.service.jpa.WcCommonXlationEntity</class>
    <class>oracle.webcenter.spaces.internal.repository.WCNavigationActivity</class>
    <properties>
    <property name="eclipselink.session.customizer"
    value="oracle.webcenter.spaces.internal.repository.SpacesEclipselinkSessionCustomizer"/>
    </properties>
    </persistence-unit>
    </persistence>
    One more problem i am seeing in this is that . When i create an EM from EMF (which is diff for diff app) and doing some query i am getting a class cast Exception.
    (self-tuning)'] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] [[
    java.lang.IllegalArgumentException: Unknown entity bean class: class oracle.webcenter.spaces.internal.repository.WcSpaceHeader, please verify that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)

    This is a class loader issue, somehow you have deployed the same classes in two places, so have two different versions of the classes.
    How, exactly have you deployed things, where are your domain classes?
    The issues is most likely that,
    Persistence.createEntityManagerFactory("SpacesReposPUnit");
    will always return the same factory once it has been deployed.
    If you pass a properties map to createEntityManagerFactory and set the property "eclipselink.session-name" to a unique value, then you should get a new factory.

  • ADF / Jdeveloper DVT - java.lang.NoClassDefFoundError: oracle/dss/util/tran

    Hi there,
    I have deployed an application to a weblogic server and one of my pages contains a DVT graph. The application works fine until I attempt to navigate to this page, and incur the following error:
    Deploying from JDdev 1.1.14 to WLS 10.3.4
    java.lang.NoClassDefFoundError: oracle/dss/util/transform/total/TotalData
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.ClassLoader.defineClass1(Native Method)
    ... etc.
    I have reviewed the following article which contains the exact issue:
    http://cn.forums.oracle.com/forums/thread.jspa?threadID=1129729&tstart=59
    however, do not know if what I have done is correct.
    I right click on the view controller > Deployments > Edit > Web Inf / Lib and have ensured that ADF Faces Runtime 11 and ADF DVT Faces Runtime are ticked (these weren't initially). ADF DVT Faces Databinding Runtime was already ticked by default.
    I have also attempted this through the EAR via Application > Application Properties, but when I include these in the EAR I receive a deployment error.
    Any help with directions or more specific instructions would be much appreciated.
    S
    Also -
    THe deployment in this instance completes sucessfully, and takes a little longer to deploy, so I do know that something is happenning. However, I still experience the same issue. Is there something that I need to do on the remote server?

    Can I also add, that when I check the WAR file in my deployments folder, I can see the appropriate java classes.
    They are not however included in the EAR.
    Do they need to be in the EAR as well?
    Again, to reiterate, when I try doing this, the deployment fails.
    Simo

  • Using Java oracle.spatial.util.SampleShapefileToJGeomFeature : ESRI SHP

    Hi,
    I am trying to import an ESRI shapefile using the Java class oracle.spatial.util. I have to add a remark, that I have set the classpath with the command
    set classpath=.;%ORACLE_HOME%\jdbc\lib\ojdbc14.jar
    I am using Oracle 11g and I don't have this file in the LIB library, only
    ojdbc5.jar
    ojdbc5dms.jar
    ojdbc5dms_g.jar
    ojdbc5_g.jar
    ojdbc6.jar
    ojdbc6dms.jar
    ojdbc6dms_g.jar
    ojdbc6_g.jar
    set classpath=.;%ORACLE_HOME%\md\jlib\sdoapi.jar (file exists)
    set classpath=.;%ORACLE_HOME%\md\jlib\sdoutl.jar (file exists)
    set classpath=.;%ORACLE_HOME%\lib\xmlparserv2.jar (file exists)
    java oracle.spatial.util.SampleShapefileToJGeomFeature -h nt-topobase -p 1521 -s ORCL -u rlv -d admin -t dkn -f KO_shp - 5000000 -g geom
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/spatial/util/S
    ampleShapefileToJGeomFeature
    Caused by: java.lang.ClassNotFoundException: oracle.spatial.util.SampleShapefile
    ToJGeomFeature
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    I am not sure, why I am getting those errors.

    hi,
    I dont know how to use the SampleShapefileToJGeomFeature Java Class. I have tried 2 syntax
    oracle@oraclesig:/$ java -cp $clpath oracle.spatial.util.SampleShapefileToJGeomFeature -h http://localhost -p 1521 -s SIG -u my_user -d my_pass_word -t my_shape -f /home/oracle/perso/topo/my_shape -r 4326 -g geom
    Parameters:
    <Filename>: File name of an input Shapefile (without extension)
    <Table name>: Table name for the result
    \[SRID\]: Valid Oracle SRID for coordinate system; use 0 if unknown
    <ID Column name>: Column name for unique numeric ID; if required
    oracle@oraclesig:/$ java -cp $clpath oracle.spatial.util.SampleShapefileToJGeomFeature /home/oracle/perso/topo/ma_couche ma_couche 2154 id_com
    Connecting to DB...
    java.sql.SQLException: Exception d'E/S: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at oracle.spatial.util.SampleShapefileToJGeomFeature.main(SampleShapefileToJGeomFeature.java:110)
    Dropping old table...
    Exception in thread "main" java.lang.NullPointerException
    at oracle.spatial.util.SampleShapefileToJGeomFeature.prepareTableForData(SampleShapefileToJGeomFeature.java:252)
    at oracle.spatial.util.SampleShapefileToJGeomFeature.main(SampleShapefileToJGeomFeature.java:129)
    Can you help me for the syntaxe oh the commande?
    Thanks! Regards.
    Ben.
    Edited by: user12240435 on Dec 15, 2009 12:59 AM

  • Java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug

    <2013-2-21 下午05时14分42秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1361438073387' for task '1'. Error is: 'java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug'
    java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         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:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         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:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <2013-2-21 下午05时14分42秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'BpmComReceiveDocTaskflow [Version=V2.0]'.>
    <2013-2-21 下午05时14分42秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         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:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         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:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [05:14:42 PM] #### Deployment incomplete. ####
    [05:14:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application BpmComReceiveDocTaskflow due to error deploying to IntegratedWebLogicServer.
    [Application BpmComReceiveDocTaskflow stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: 989450 on 2013-2-21 上午1:34
    I don't know how to solve this problem , Can anyboy help me? Thanks
    Edited by: 989450 on 2013-2-21 下午4:51

    Please check if wcps-util.jar is present in your Framework jars. That should solve the problem.
    This jar you can find in your deployed jars wcps-util-app-lib folder at the following path
    in your local machine system folder for JDev : DefaultDomain\servers\DefaultServer\tmp\_WL_user

  • How to create a response file to install oracle netowrk Utili 9.2.01.0

    I would like to install the Oracle 9i [ Oracle network utility 9.2.0.1.0 ] only but all docs� that I have found go over the basic creation and do not go over how I can choose just this option in the response file. I was wondering if there is a way to make the response file like install-sheild setup.iss file for a silent install. If you have any suggestions let me know. I will look if there is a way to automate the creation of the response file.
    Thank you
    Eddy

    Hi Eddy,
    Apologies for the delay in resonding to you.
    This forum is for questions relating only to the OTN documentation pages at: http://otn.oracle.com/documentation/index.html
    Perhaps you should try the Downloads forum at: Downloads Issues
    Regards,
    Les

  • Oracle.ldap.util - Add User to Group

    Hi,
    I am using the Subscriber to create a new User in the OID.
    ( User usr = subscriber.createUser(.....) )
    Also I am getting a reference to the main group of the application.
    Group appPublic = subscriber.getGroup(getCtx(), Util.IDTYPE_SIMPLE,"APP_PUBLIC" ,null);
    Now I need to make the User "usr"member of the Group appPublic.
    Can anyone help me find out how to do this?
    I have read the User a Group API Reference but I can't find how to do this.
    Any help would be really appreciated.

    I have solved this problem using the metalink Note:277775.1
    ------- cut here -------
    import oracle.ldap.util.*;
    import oracle.ldap.util.jndi.*;
    import javax.naming.NamingException;
    import javax.naming.directory.*;
    import java.io.*;
    import java.util.*;
    public class AddUserToGroup
    final static String ldapServerName = "mlc2.acme.org";
    final static String ldapServerPort = "3060";
    final static String rootdn = "cn=orcladmin";
    final static String rootpass = "welcome1";
    final static String user_name = "cn=john.doe,cn=users,dc=acme,dc=org";
    final static String group_name = "cn=mynewgroup,dc=acme,dc=org";
    public static void main(String argv[]) throws NamingException
    // Create the connectin to the ldap server
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx(ldapServerName,
    ldapServerPort,
    rootdn,
    rootpass);
    // Add the user to the group
    try {
    Group mygroup = new Group(Util.IDTYPE_DN,group_name);;
    mygroup.addUniquemember(ctx, user_name);
    catch (UtilException e) {
    e.printStackTrace();
    ------- end cut --------

Maybe you are looking for

  • Change fpla-rfpln for each item in the user_exit_move_field_to_fpla

    Hi, I used VA41 transaction to create a sale order (auart = u201CXXXXu201D) and i would like assign in the u201Cuser_exit_move_field_to_fplau201D a calendar number (fpla-rfpln) in my sale document, for each items line. But the program is passed on th

  • Image copy to folder with name based on image creation date

    Hi all, I am new to Mac OS X and automator so I would like to know the following, Is it possible to have an automated action that triggers when I attach my camera to USB, and who copies all images to a folder which is named according to the date when

  • Costing for material for which no accounting document generated

    Dear Gurus, I want to have the cost of raw water used in manufacturing product X to flow in the cost of product X. But the raw water should not be posted to FI. The cost of raw water should come in the standard cost estimate as also in the process or

  • How to make searchfield as mandatory in formelement

    We need to make the searchfield label as mandatory  in a formelement. GIven below is the code we have used. but not working. new sap.ui.layout.form.FormElement({fields: [oSearch = new sap.ui.commons.SearchField("sf_srvcRecipient",{                val

  • My Adobe Creative Cloud program is damaged.

    My Adobe Creative Cloud program is damaged. It is saying a new copy needs to be installed. About half way through the download process it cuts out. I have tried this multiple times. Any advise?