Locaton of eclipselink.jar in 11.1.1.3

In an older version of JDeveloper, I was listing the following on my classpath.
C:\oracle\product\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
However, in the 11.1.1.3 version of JDev, I'm not finding eclipselink.jar under modules\oracle.toplink_11.1.1. Has eclipselink.jar been moved or has it been superseded by another file?
Thanks in advance.

Did you mean to say 11.1.1.2.0? If you really meant 11.1.1.3, the general public doesn't have access to such a version, so perhaps you meant to ask in an internal Oracle forum.
John

Similar Messages

  • Coherence-eclipselink.jar available in TopLink11.1.1.0.1 not in 11.1.1.1.0

    Hi,
    I am following the link : [ http://www.oracle.com/technology/products/ias/toplink/doc/11110/grid/tlgug001.htm|http://www.oracle.com/technology/products/ias/toplink/doc/11110/grid/tlgug001.htm] for integrating coherence with Oracle Toplink.
    The jar files mentioned are available in TopLink11.1.1.0.1 but not in the later version.
    Has the implementation or the road map for coherence toplink integration changed?
    Thanks!
    Amor

    Just noticed. The toplink-grid.jar in release 11.1.1.1.0 is coherence integration with Toplink.

  • TopLink to EclipseLink migration - Missing class for indicator field value

    I am migrating Toplink 11g to EclipseLink 12.1.3.  I have EclipseLink.jar to the classpath. I have few mapping xml files. When executing the application, i am getting following error.
    Exception [EclipseLink-9005] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the project-xml file [META-INF/Business.xml].
    Internal Exception: Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: Missing class for indicator field value [toplink:object-type-mapping] of type [class java.lang.String].
    Descriptor: XMLDescriptor(org.eclipse.persistence.mappings.DatabaseMapping --> [DatabaseTable(attribute-mapping)]).
    How to resolve this.

    Ooooops, sorry, guys!
    I was using TopLink 10.1.3.0 JARs to run a project created via TopLink 10.1.3.1 Workbench. That was the reason for the exception.
    I ran across the REAL problem, however. The one that was occurring when I created the TopLink project via JDeveloper 10.1.3.1 and ran it via JDeveloper 10.1.3.1. That's why I decided to try with TopLink 10.1.3.1 Workbench instead of JDeveloper 10.1.3.1.
    I will report the problem in a clean separate post.

  • Jar file for oracle.iam.provisioning api

    When i am trying to get the Application Instance key using OIM API i am getting the following exception
    Exception in thread "main" oracle.iam.platform.utils.NoSuchServiceException: java.lang.ClassNotFoundException: oracle.iam.provisioning.vo.ApplicationInstanceDelegate
         at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:279)
         at oracle.iam.platform.OIMClient.getService(OIMClient.java:256)
         at oracle.iam.ui.custom.SampleClass.getUserManager(SampleClass.java:62)
         at oracle.iam.ui.custom.SampleClass.main(SampleClass.java:83)
    Caused by: java.lang.ClassNotFoundException: oracle.iam.provisioning.vo.ApplicationInstanceDelegate
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:273)
         ... 3 more
    Thanks in advance...

    Try below steps:
    Remove all the JARs from your BuildPath/Classpath
    Add below JARs:
    oimclient.jar
    iam-platform-utils.jar
    jrf-api.jar
    wlfulclient.jar
    eclipselink.jar
    spring.jar
    common-logging.jar

  • Eclipselink issue on weblogic 10.3

    We have two different application using eclipselink file bundled as part of application. Application works fine if either of application deployed on server. If we deploy both application on server, the application which first accessed works fine other application gives error "Predeployement of PersistenceUnit failed".
    Environment
    WebLogic 10.3
    JRE 1.6
    Application structure-
    App.ear
    - META-INF
    - application.xml
    - MANIFEST.MF
    - weblogic-application.xml
    - APP-INF
    - lib
    - eclipselink.jar
    - dependency-n.jar
    - app.war

    We have two different application using eclipselink file bundled as part of application. Application works fine if either of application deployed on server. If we deploy both application on server, the application which first accessed works fine other application gives error "Predeployement of PersistenceUnit failed".
    Environment
    WebLogic 10.3
    JRE 1.6
    Application structure-
    App.ear
    - META-INF
    - application.xml
    - MANIFEST.MF
    - weblogic-application.xml
    - APP-INF
    - lib
    - eclipselink.jar
    - dependency-n.jar
    - app.war

  • EclipseLink persistence provider issue with weblogic 10.3

    Hi All,
    I have been trying to deploy and run an EAR in weblogic but when I run the application I get the following warning: WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
    The following is my persistence.xml:
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
    <persistence-unit name="default" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>DataSourceName</jta-data-source>
    <class>oracle.communications.platform.entity.impl.CharacteristicSpecificationDAO</class>
    <properties>
    <property name="eclipselink.logging.level" value="FINEST" />
    <property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform" />
    <property name="eclipselink.target-server" value="WebLogic_10" />
    <property name="eclipselink.session-event-listener" value="oracle.communications.platform.persistence.impl.PomsSessionEventListener" />
    <property name="eclipselink.session.customizer" value="oracle.communications.platform.util.EclipseLinkSessionCustomizer" />
    <property name="poms.cache.coordination.implementation" value="jms" />
    <property name="poms.cache.coordination.ipaddress" value="10.178.139.64" />
    <property name="poms.cache.coordination.port" value="7101" />
    <property name="poms.cache.coordination.multicast.group.address" value="226.10.12.64" />
    <property name="poms.cache.coordination.multicast.port" value="3121" />
    <property name="poms.cache.coordination.topic.connection.factory.name" value="EclipseLinkTopicConnectionFactory" />
    <property name="poms.cache.coordination.topic.name" value="EclipseLinkTopic" />
    <property name="poms.cache.coordination.username" value="weblogic" />
    <property name="poms.cache.coordination.password" value="weblogic" />
    <property name="poms.cache.coordination.password.encrypted" value="false" />
    </properties>
    </persistence-unit>
    </persistence>
    I have written a session customizer that reads properties from the persistence.xml and initializes stuff. But because of the warning i mentioned earlier... I am getting null for all property entries.
    I moved the eclipselink jar entry up ahead of openjpa jar entry in weblogic.server.modules_10.3.1.0.xml and refcount.xml in /modules/features directory. I am still getting the same problem.
    I read in many posts for workarounds for this issue but didnt find anything which worked for me. I would be grateful if someone could provide me a hint as to how to make it work.
    Thanks in advance,
    Prashanth.

    Prashanth,
    Hi, there should be no issue running EclipseLink on WebLogic while you see this warning. If you are getting null properties it may be the result of another issue, could you post specific exceptions and the part of your client code that is having a problem.
    1) The warning below normally appears only when running your persistence unit with an "application managed" JTA datasource as opposed to a "globally defined server scoped datasource". Even then it can be ignored as there are still parts of WebLogic that depend on OpenJPA. Even though the warning states that properties are ignored - they are not and you should see your persistence unit loaded properly.
    I encountered this issue when running an "application managed" JTA - here is an extract of the log showing the warning and the full functioning of the pu later - the persistence unit and example code can be found on the weblogic tutorial examples link below
    "[EL Finer]: 2008.10.29 13:03:55.565--ClientSession(30346337)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client released
    WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
    [EL Info]: 2008.10.29 13:03:56.079--ServerSession(14772987)--EclipseLink, version: Eclipse Persistence Services - 1.1.0 (Build 20081023)
    [EL Info]: 2008.10.29 13:03:56.391--ServerSession(14772987)--file:/C:/view_w34r1a/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/-exampleLocal login successful
    15 Entities in storage: 15
    [EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 6 state: null parent: HashSet@15794734 references: HashSet@15794734)
    [EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 26 state: null parent: HashSet@8800655 references: HashSet@8800655)
    I raised the following minor issue with our WebLogic Server team in Oct for reference - however this warning did not affect proper functioning of EclipseLink JPA.
    https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=7520161
    You may reference the following tutorial on running EclipseLink JPA on WebLogic 10.3, it details all the steps necessary to get a JTA container managed persistence unit running via a stateless session bean and a servlet client. It also details and links to application managed datasource configuration details.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    2) eclipselink.jar location in WebLogic?
    The eclipselink.jar library should stay in the modules or patch_* directory depending on whether you are running a standalone WebLogic server or as part of a Fusion Middleware JDeveloper environment.
    See the following link that details deployment options for WebLogic and EclipseLink
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
    Note: I have not modified the load order of EclipseLink, OpenJPA or Kodo, I am running all including this version of OpenJPA in my modules directory. [org.apache.openjpa_1.0.0.0_1-1-1-SNAPSHOT.jar]
    3) I noticed that you are defining the target-database property in your persistence unti but you are running as JTA not RESOURCE_LOCAL. This property can be removed if your JTA datasource is defined as a Transactional server scoped datasource via the WebLogic console.
    thank you
    /michael
    http://www.eclipselink.org

  • Spatial -- Eclipselink -- Production JDeveloper cannot find JGeometry

    We've developed an application using the Eclipselink spatial extensions developed by Doug Clarke's team and we're in the process of porting our applications to the Production JDeveloper release, WebLogic, and Eclipselink. We're failing when we add the first
    @StructConverter(name = "JGeometry", converter = "org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter") to a bean.with the following error message when we create the first EntityManager.
    ]] Root cause of ServletException.
    java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
         at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
         Truncated. see log file for complete stacktrace sdoapi.jar is in the applications WEB-INF/lib/ folder but I assume that this is the same problem that we had using OC4J that was cured by copying sdoapi.jar into the %JDEV_HOME%\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\ folder.
    What is the analogous folder in the Production JDeveloper?
    Mark

    Michael:
    Still not working. There must be something in your configuration that is finding the sdoapi.jar that is not in mine.
    The following is what I have set up now and I'm still getting the classNotFound exception
    I copied the sdoapi.jar file to these locations
    C:\oracle\Middleware>dir/s sdoapi.jar
    Directory of C:\oracle\Middleware\jdeveloper\modules
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\modules
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\patch_wls1030\patch_jars
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytesStill didn't work so then I set SPATIAL_LIB and WEBLOGIC_HOME in my environment variables and rebooted
    C:\>set
    SPATIAL_LIB=C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\sdoapi.jar
    WEBLOGIC_HOME=C:\oracle\Middleware\
    ... in addition to all my other environment variables
    C:\>cd %WEBLOGIC_HOME%
    C:\oracle\Middleware>
    C:\oracle\Middleware>dir %SPATIAL_LIB%
    Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
                   0 Dir(s)  100,777,361,408 bytes freeand Finally I tried specifying SPATIAL_LIB and WEBLOGIC_HOME in the .product.properites files
    SPATIAL_LIB=C\:\\oracle\\Middleware\\jdeveloper\\modules\\oracle.toplink_11.1.1\\sdoapi.jar
    WEBLOGIC_HOME=C\:\\oracle\\Middleware\\I did this in the product.properties files found in %WEBLOGIC_HOME%\jdeveloper and %WEBLOGIC_HOME%\wlserver_10.3
    I did all of this incrementally stopping the WLS and shutting down JDeveloper between each trial.
    And I'm still getting
    Root cause of ServletException.
    java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
         at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         Truncated. see log file for complete stacktraceMy current work-around of modifying the eclipselink.jar to include the oracle.spatial.geometry package is simply not a keeper, so I'd really like to get to the bottom of this one.
    Thanks for your help. Mark
    Edited by: mmillman on Feb 4, 2009 3:18 PM

  • JWS offline + JPA/Eclipselink fails

    Hi,
    We're using JPA in our web start enabled application. We have the latest version of the Eclipselink jar (1.1.2).
    When starting the application in online mode, everything runs fine, but we can see that the jar file containing META-INF/persistence.xml is downloaded several times at every startup.
    When starting in offline mode, we run into a fatal error. It seems that eclipselink is always trying to get the persistence.xml file from the online resource.
    Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: com.sun.jnlp.JNLPClassLoader@8814e9
    Internal Exception: Exception [EclipseLink-30004] (Eclipse Persistence Services - 1.1.2.v20090612-r4475): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while processing persistence.xml from URL: http://10.0.0.1/app/test.jar
    Internal Exception: java.net.MalformedURLException
    The same problem is described in this post, but I cannot see a definite solution: http://forums.sun.com/thread.jspa?threadID=5123126
    Does anybody have an idea what can be done in this situation? Is it possible to somehow place the META-INF directory in classpath so that JWS does not try to get the resource online?
    Thanks.

    I think this is the same issue posted to yesterday in [t-5403895]. I eventually spent several hours tracking through the EclipseLink code to find out exactly what caused the problem. As you say, it's basically because EclipseLink is trying to load the resource from the web. This is because internally it resolves the reference to a URL starting with "http", and assumes it must be a server resource. In online JNLP mode, it downloads the file several times, in offline mode it fails. The "correct" action is to use the JNLP classloader to getResource() on META-INF/persistence.xml. Obviously, and perhaps understandably, EclipseLink (or TopLink Essentials as was) was not written or tested with Java Web Start offline mode in mind.
    I did finally make this work, but only by modifying two EclipseLink classes, which is not ideal. If you're willing to entertain that option, please post again and I'll provide details.

  • Error Running javafx app by jnlp at browser : CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Core-EjbClient.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=5185

    Some one can help me with this issue?
    i using netbeans 7.4 to generate and start my javafx application, the application works fine running on desktop but when i try run in chrome/firefox or ie browser i have the erros below.
    ps: all jar are signed and all permissions are granted.
    Thanks a lot!
    Davis
    Plug-in 10.45.2.18 do Java
    Usando a versão do JRE 1.7.0_45-b18 Java HotSpot(TM) Client VM
    Diretório home do usuário = C:\Users\Davis Gordon
    c:   limpar janela da console
    f:   concluir objetos da fila de finalização
    g:   coleta de lixo
    h:   exibir esta mensagem de ajuda
    l:   descartar lista de carregadores de classes
    m:   imprimir uso de memória
    o:   log do trigger
    q:   ocultar console
    r:   recarregar configuração da política
    s:   descartar propriedades do sistema e de implantação
    t:   descartar lista de threads
    v:   descartar pilha de threads
    x:   limpar cache do carregador de classes
    0-5: definir nível de rastreamento como <n>
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Core-EjbClient.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=5185
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-App-API.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=116706
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/App-Painel-Controle.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=141981
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/Tedros-Box.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=200921
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Core-Model.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=47516
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Core.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=108000
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-DataAccess-Model-API.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=13588
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-DataAccess-Server-API.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=32124
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Exception.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:13 BRST 2013,length=2624
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-Util.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:14 BRST 2013,length=15348
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/Tedros-FXComponents.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:14 BRST 2013,length=282972
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/commons-collections-3.2.1.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:14 BRST 2013,length=583672
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/eclipselink-jpa-modelgen_2.4.1.v20121003-ad44345.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:14 BRST 2013,length=12387
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/commons-lang3-3.1.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:14 BRST 2013,length=319222
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/javax.persistence_2.0.4.v201112161009.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:20 BRST 2013,length=128747
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/jfxrt.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:23 BRST 2013,length=15117378
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/openejb-client-4.5.2.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:23 BRST 2013,length=318492
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/javaee-api-6.0-5.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:20 BRST 2013,length=989597
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/org.eclipse.persistence.jpars.source_2.4.1.v20121003-ad44345.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:23 BRST 2013,length=65144
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/spring-beans-3.0.7.RELEASE.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:23 BRST 2013,length=563508
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/org.eclipse.persistence.jpars_2.4.1.v20121003-ad44345.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:23 BRST 2013,length=93694
    CacheEntry[file:/C:/Desenv/Projetos/workspace_beta02/Tedros-Box/dist/lib/eclipselink.jar]: updateAvailable=false,lastModified=Thu Dec 12 20:23:19 BRST 2013,length=8449501
    JNLP
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Tedros-Box.jnlp">
      <information>
        <title>Tedros-Box</title>
        <vendor>Davis Gordon</vendor>
        <description>null</description>
        <offline-allowed/>
      </information>
      <resources>
        <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="Tedros-Box.jar" size="200921" download="eager" />
        <jar href="lib/App-Painel-Controle.jar" size="141981" download="eager" />
        <jar href="lib/Tedros-App-API.jar" size="116706" download="eager" />
        <jar href="lib/Tedros-Core-EjbClient.jar" size="5185" download="eager" />
        <jar href="lib/Tedros-Core-Model.jar" size="47516" download="eager" />
        <jar href="lib/Tedros-Core.jar" size="108000" download="eager" />
        <jar href="lib/Tedros-DataAccess-Model-API.jar" size="13588" download="eager" />
        <jar href="lib/Tedros-DataAccess-Server-API.jar" size="32124" download="eager" />
        <jar href="lib/Tedros-Exception.jar" size="2624" download="eager" />
        <jar href="lib/Tedros-FXComponents.jar" size="282972" download="eager" />
        <jar href="lib/Tedros-Util.jar" size="15348" download="eager" />
        <jar href="lib/commons-collections-3.2.1.jar" size="583672" download="eager" />
        <jar href="lib/commons-lang3-3.1.jar" size="319222" download="eager" />
        <jar href="lib/eclipselink-jpa-modelgen_2.4.1.v20121003-ad44345.jar" size="12387" download="eager" />
        <jar href="lib/eclipselink.jar" size="8449501" download="eager" />
        <jar href="lib/javaee-api-6.0-5.jar" size="989597" download="eager" />
        <jar href="lib/javax.persistence_2.0.4.v201112161009.jar" size="128747" download="eager" />
        <jar href="lib/jfxrt.jar" size="15117378" download="eager" />
        <jar href="lib/openejb-client-4.5.2.jar" size="318492" download="eager" />
        <jar href="lib/org.eclipse.persistence.jpars.source_2.4.1.v20121003-ad44345.jar" size="65144" download="eager" />
        <jar href="lib/org.eclipse.persistence.jpars_2.4.1.v20121003-ad44345.jar" size="93694" download="eager" />
        <jar href="lib/spring-beans-3.0.7.RELEASE.jar" size="563508" download="eager" />
      </resources>
    <security>
      <all-permissions/>
    </security>
      <applet-desc  width="1280" height="760" main-class="com.javafx.main.NoJavaFXFallback"  name="Tedros-Box" >
        <param name="requiredFXVersion" value="2.2+"/>
      </applet-desc>
      <jfx:javafx-desc  width="1280" height="760" main-class="com.tedros.Tedros"  name="Tedros-Box" />
      <update check="always" policy="always"/>
    </jnlp>

    I could be wrong, but I don't think these aren't errors. These are just telling you where your jar files are coming from. In your case, they are coming from cached entries. You probably want to clear your cache. I do this by running javaws -uninstall and then javaws -clearcache

  • How to Enable Eclipselink Dynamic Weaving in Tomcat?

    I'd like to enable dynamic weaving in Tomcat 7 but all efforts thus far have been unsuccessful. I have been able to do so from a J2SE command-line app.
    JAVA_OPTS="-Xbootclasspath/a:<path to>/javax.persistence_2.0.4.v201112161009.jar -javaagent:<path to>/eclipselink.jar"
    With the persistence jar appended to the boot classpath, I get no errors nor does weaving occur. Google revealed others elsewhere with similar issues.
    I can statically weave if I must but at least for development, dynamic would be much preferred.
    Any suggestions?
    Thanks.

    My understanding from http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial was that Tomcat was not a Java EE 5 compatible server. This means that Tomcat isn't creating the EMF for the application, and so there is no way for the provider to register the ClassTransformer used for weaving with the application classloader before it has loaded the application entity classes. Placing the agent and persistence unit on the classpath of the server only registers the transformer with the server classloader, not the classloader that gets used to load the application.
    I don't know anyone to look to far into it or how far they got before deciding just to use static weaving. You might also be able to use Spring with in Tomcat as the JPA container and configure Tomcat to use its custom application classloader - which it can then be instrumented with a transformer for weaving as described here:
    http://static.springsource.org/spring/docs/3.0.0.M3/reference/html/ch14s06.html
    If you are interested, if it works with Spring using a custom classloader it should be possible, but I don't know Tomcat or Spring internals to be of much assistance. If you decide to look into it, see the EclipseLink PersistenceProvider class createContainerEntityManagerFactory method for what containers call to get the transformer to register with the classloader.
    Best Regards,
    Chris

  • Maven + EclipseLink + Static Weaving

    Hi all,
    as seen on HCP help, static weaving must be enabled for SDK 2.x in order to fully leverage EclipseLink persistence service.
    Since I am using maven, I added the following element to my pom.xml
    <plugin>
      <artifactId>maven-antrun-plugin</artifactId>
      <executions>
      <execution>
      <phase>process-classes</phase>
      <configuration>
      <tasks>
      <java classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeave"
      classpathref="maven.runtime.classpath" fork="true">
      <arg
      line="-loglevel FINE -persistenceinfo ./src/main/resources target/classes target/classes" />
      </java>
      </tasks>
      </configuration>
      <goals>
      <goal>run</goal>
      </goals>
      </execution>
      </executions>
      </plugin>
    The build completes ok, but at runtime I get any kind of fatal errors:
    Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException|
    Exception Description: Database platform class [com.sap.persistence.platform.database.HDBPlatform] not found.|nternal Exception:
    java.lang.ClassCastException: com.sap.persistence.platform.database.HDBPlatform cannot be cast to org.eclipse.persistence.internal.databaseaccess.Platform|
    at org.eclipse.persistence.exceptions.ValidationException.platformClassNotFound(ValidationException.java:1549)|
    Is there any major step I'm missing?
    Thanks, regards
    Vincenzo

    Hi Vincenzo,
    actually I don't believe that the issue is related at all to static weaving. I'd rather assume that the exception is caused by the combination of EclipseLink 2.5 with the old, proprietary HDBPlatform.
    EclipseLink 2.5 has built-in support for HANA and recognizes the database without the need for you to specify the platform explicitly in the persistence.xml file. In fact, EclipseLink 2.5 uses a different platform class (the HANAPlatform class that comes with the eclipselink.jar), so please remove the property "eclipselink.target-database" from the persistence.xml.
    Hope that helps.
    Best regards,
    Sabine

  • Eclipselink ClassCastException

    Hi,
    I already have checked for similar errors on this forums but no one seems to work. We are really stuck on this.
    We are developing JPA 1.0 / eclipselink 2.0 / struts web application project on WebLogic Integration 10g Release 3 (10.3.1.0) which I am pretty sure it is using WebLogic server 10.3.1.0, note that we don't need JPA 2.0 functionality. Unfortunatelly we are facing constant java.lang.ClassCastException errors when trying to access to an jpa entity. The strange thing is that on the first attempt all is working fine, but after modifing code or redeploying we get those ClassCastException errors (after restarting the server all is working fine again).
    We are using Application-Managed Entity Managers (we get our persistence context by using the createEntityManager method of javax.persistence.EntityManagerFactory). We are not using Container-Managed Entity Managers (@PersistenceContext
    EntityManager em), although we are interested in this solution too.
    ** The code **
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("fwk");
    EntityManager em = emf.createEntityManager();
    TUsuario usuario = new TUsuario();     
    try {
    //query
    usuario = (TUsuario) query.getSingleResult();
    catch{...}
    ** persistence.xml **
    <persistence-unit name="fwk" transaction-type="JTA">
              <provider>
                   org.eclipse.persistence.jpa.PersistenceProvider
              </provider>
              <jta-data-source>fwk-des.DataSource</jta-data-source>
              <class>com.caprabo.panelFwk.integration.jpa.TUsuario</class>
              <properties>
                   <!-- managed transaction and enlisted configuration -->
                   <property name="javax.persistence.transactionType" value="JTA" />
                   <property name="connection.datasource" value="fwk-des.DataSource" />
                   <property name="eclipselink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver" />
                   <property name="eclipselink.target-server" value="WebLogic_10" />
                   <property name="eclipselink.target-database" value="Oracle" />
                   <property name="eclipselink.logging.level" value="FINE"/>
                   <property name="eclipselink.persistence-context.reference-mode" value="WEAK"/>
              </properties>
         </persistence-unit>
    ** entity **
    package com.caprabo.panelFwk.integration.jpa;
    @Entity()
    @Table(name="T_USUARIO")
    public class TUsuario implements Serializable {
         //default serial version id, required for serializable classes.
         private static final long serialVersionUID = 1L;
         @Id()
         @Column(name="USUARIO_ID_PK", unique=true, nullable=false, length=8)
         private String usuarioIdPk;
    We have already tried this without any success:
    - eclipselink.jar javax.persistence_1.0.0.jar into manifest.mf
    - eclipselink.jar javax.persistence_1.0.0.ja into ear, or into project WebContent\WEB-INF\lib
    - modify weblogic-application.xml:
    <wls:prefer-application-packages>
              <wls:package-name>javax.persistence.*</wls:package-name>
              <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    </wls:prefer-application-packages>
    Thanks
    Javier

    user13394432 wrote:
    I am getting classCastException but when i cross check the java class name and object retrived from the table's class name both are same Your question is non-specific.
    But as a guess from what is implied in the above...you are using class loaders and you are trying to use class from different class loaders as though they are the same class.
    That is not the case.
    And as stated this problem has nothing to do with JDBC.

  • Unable to generate toplink java project file Eclipselink Workbench 2.1.2

    I am getting the following exception, I verfied eclipselink.jar exists and is part of the classpath. Any ideas would be helpful. Thanks
    Local Exception Stack:
    Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.1.0.v20100614-r7608): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Database platform class [org.eclipse.persistence.platform.database.oracle.Oracle11Platform] not found.
    Internal Exception: java.lang.NoClassDefFoundError: org/eclipse/persistence/platform/database/oracle/Oracle11Platform
         at org.eclipse.persistence.exceptions.ValidationException.platformClassNotFound(ValidationException.java:1504)
         at org.eclipse.persistence.sessions.DatasourceLogin.setPlatformClassName(DatasourceLogin.java:515)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWLoginSpec.buildRuntimeDatabaseLogin(MWLoginSpec.java:518)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWLoginSpec.buildDeploymentRuntimeDatabaseLogin(MWLoginSpec.java:502)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWDatabase.buildDeploymentRuntimeDatabaseLogin(MWDatabase.java:837)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.relational.MWRelationalProject.buildRuntimeLogin(MWRelationalProject.java:437)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.buildRuntimeProject(MWProject.java:925)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.exportProjectSource(MWProject.java:820)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ProjectSourceGenerationCoordinator.exportProjectSource(ProjectSourceGenerationCoordinator.java:81)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ExportJavaSourceAction.execute(ExportJavaSourceAction.java:44)
         at org.eclipse.persistence.tools.workbench.framework.action.AbstractFrameworkAction.actionPerformed(AbstractFrameworkAction.java:147)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5517)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.lang.NoClassDefFoundError: org/eclipse/persistence/platform/database/oracle/Oracle11Platform
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at org.eclipse.persistence.internal.helper.ConversionManager.convertObjectToClass(ConversionManager.java:437)
         at org.eclipse.persistence.internal.helper.ConversionManager.convertObject(ConversionManager.java:141)
         at org.eclipse.persistence.internal.helper.ConversionManager.loadClass(ConversionManager.java:858)
         at org.eclipse.persistence.sessions.DatasourceLogin.setPlatformClassName(DatasourceLogin.java:501)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWLoginSpec.buildRuntimeDatabaseLogin(MWLoginSpec.java:518)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWLoginSpec.buildDeploymentRuntimeDatabaseLogin(MWLoginSpec.java:503)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWDatabase.buildDeploymentRuntimeDatabaseLogin(MWDatabase.java:837)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.relational.MWRelationalProject.buildRuntimeLogin(MWRelationalProject.java:437)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.buildRuntimeProject(MWProject.java:925)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.exportProjectSource(MWProject.java:820)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ProjectSourceGenerationCoordinator.exportProjectSource(ProjectSourceGenerationCoordinator.java:81)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ExportJavaSourceAction.execute(ExportJavaSourceAction.java:44)
         at org.eclipse.persistence.tools.workbench.framework.action.AbstractFrameworkAction.actionPerformed(AbstractFrameworkAction.java:147)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2170)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:303)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1052)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5517)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3136)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1967)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2026)
         at java.awt.Component.dispatchEvent(Component.java:3820)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1792)
         at java.awt.Component.dispatchEvent(Component.java:3820)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:150)
         ... 1 more

    Hi,
    I've added ojdbc6.jar to the classpath. Did not help. Still have got the same error when tried to generate project deployment xml for Oracle10 database.
    I've also tried to set Oracle11 as database platform and generate project deployment xml. I've got the following error:
    Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Database platform class *[org.eclipse.persistence.platform.database.oracle.Oracle11Platform]* not found.
    Internal Exception: java.lang.NoClassDefFoundError: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    Notice the strange inconsistency in the error above. Different classes appear in the error message.
    Following is stack trace of this error:
    Local Exception Stack:
    Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Database platform class [org.eclipse.persistence.platform.database.oracle.Oracle11Platform] not found.
    Internal Exception: java.lang.NoClassDefFoundError: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
         at org.eclipse.persistence.exceptions.ValidationException.platformClassNotFound(ValidationException.java:1507)
         at org.eclipse.persistence.sessions.DatasourceLogin.setPlatformClassName(DatasourceLogin.java:515)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.db.MWDatabase.buildDeploymentRuntimeDatabaseLogin(MWDatabase.java:834)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.relational.MWRelationalProject.buildRuntimeLogin(MWRelationalProject.java:437)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.buildRuntimeProject(MWProject.java:925)
         at org.eclipse.persistence.tools.workbench.mappingsmodel.project.MWProject.exportDeploymentXML(MWProject.java:800)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ProjectDeploymentXmlGenerationCoordinator.exportProjectDeploymentXml(ProjectDeploymentXmlGenerationCoordinator.java:59)
         at org.eclipse.persistence.tools.workbench.mappingsplugin.ExportDeploymentXmlAction.execute(ExportDeploymentXmlAction.java:40)
         at org.eclipse.persistence.tools.workbench.framework.action.AbstractFrameworkAction.actionPerformed(AbstractFrameworkAction.java:147)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NoClassDefFoundError: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.eclipse.persistence.internal.helper.ConversionManager.convertObjectToClass(ConversionManager.java:438)
         at org.eclipse.persistence.internal.helper.ConversionManager.convertObject(ConversionManager.java:141)
         at org.eclipse.persistence.internal.helper.ConversionManager.loadClass(ConversionManager.java:859)
         at org.eclipse.persistence.sessions.DatasourceLogin.setPlatformClassName(DatasourceLogin.java:501)
         ... 35 more

  • Toplink / Eclipselink

    Hello,
    why should I use Toplink instead of Eclipselink (open source), if I am not going to use JDeveloper?
    Is there any advantage?
    Greetings.

    ecapella wrote:
    why should I use Toplink instead of Eclipselink (open source), if I am not going to use JDeveloper?Oracle TopLink includes more than just EclipseLink. TopLink ships with eclipseLink.jar, toplink.jar (for backwards compatibility), and toplink-grid.jar which provides EclipseLink JPA and Oracle Coherence integration (see [TopLink Grid|http://www.oracle.com/technology/products/ias/toplink/tl_grid.html] on OTN). Also, as part of TopLink certification, Oracle certifies releases of EclipseLink with Oracle WebLogic and other application servers, leading databases, and operating systems.
    The other key difference is that like for all other Oracle products, support is available for Oracle TopLink which also covers EclipseLink. However, EclipseLink is often only one part of a typical enterprise Java application and Oracle support engineering has the expertise across the entire EE stack that can be necessary when dealing with complex problems.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while running HRFacadeClient of JDev 11g Tutorial

    Hi,
    I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
    Section 19 says to run application under OC4J,
    <strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
    Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
    Default Server - Log
    D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;Following extensions directory contents added to the end of the classpath:
    D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 &gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;BEA-002900&gt; &lt;Initializing self-tuning thread pool&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170019&gt; &lt;The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.&gt;
    &lt;Oct 30, 2008 12:39:08 PM AST&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STANDBY&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170027&gt; &lt;The Server has established connection with the Domain level Diagnostic Service successfully.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to ADMIN&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RESUMING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000331&gt; &lt;Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RUNNING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;
    DefaultServer startup time: 9953 ms.
    DefaultServer started.
    [Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
    Uploading credentials.
    ---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    Deploying Application...
    &lt;Oct 30, 2008 12:39:17 PM AST&gt; &lt;Warning&gt; &lt;J2EE&gt; &lt;BEA-160195&gt; &lt;The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.&gt;
    Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    Application Deployed Successfully.
    Elapsed time for deployment: 4 seconds
    ---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
    Run startup time: 5063 ms.
    [Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
    <strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
    Now when I run <strong>HRFacadeClient</strong> the log shows following error.
    EJBModel.jpr - log
    [EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
    D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
    Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List&lt;oracle.Departments&gt; queryDepartmentsFindAll() in EJB Object
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
    at $Proxy11.queryDepartmentsFindAll(Unknown Source)
    at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
    Process exited with exit code 1.
    Please guide me how to solve this error and continue with tutorial...
    Regards,
    Santhosh

    Hi Heidi,
    I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
    This message is repeatedly displaying in messages tab:
    Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
    The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
    I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
    Any comments will be appreciated.
    Thanks again
    Esfand
    Edited by: user3788199 on Sep 8, 2008 6:50 AM

Maybe you are looking for

  • Populate fields in PDF file

    I have a requirement to develop a function module that will be called in a background process.  This function module needs to read in a PDF file containing javascript (always the same file), populate specific fields in that form (with data passed int

  • XML Validation: ignore non-XML-Header in XML-file(payload): any solutions?

    Dear Experts, after I finally managed to configure the XML Validation, we're facing the next problem: The payload of the XML files looks like that: Abcdef#ABCDEF AbcDef#123 <?xml version="1.0" encoding="UTF-8"?><Document xmlns..... as you can see, th

  • Workflow Status Monitor in BPM

    Hi, In Oracle Workflow we're able to rewind, retry, skip activities via status monitor. Are those functions available in BPM suite 11? When i both look at E.M and google it, i've found Oracle document named "Migrating to Oracle BPM from Oracle Workfl

  • You can't open the application Library because it may be damaged or incomplete

    I am a newby to the support communities as a questioner though I have searched and found quite a few answers to other problems.  My problem today is the above message whenever I click on an .mp4 file in my Finder.  The files are in my iTunes Library

  • Batch convert Binary to Text

    Environment: Forms version 10.1.2.2.0 Red Hat Enterprise Linux AS release 4 (Nahant update2) Problem: How to convert Forms Binary to text format from Linux command line. This must be the same result as choosing File=>Administration=>Object List Repor