TopLink - JPA - Jdeveloper 11g

Hi All,
I am having a TopLink - JPA example. I am executing a InsertExample.java which will insert record. But as I run InsertExample.java I keep getting following error.
I am using Jdeveloper 11 g (and NOT Eclipse). How to get rid of following error ?
"C:\Program Files\Java\jdk1.6.0_22\bin\javaw.exe" -client -classpath C:\MyJdevUserHomeEnv\mywork\TopLinkDesign\.adf;C:\MyJdevUserHomeEnv\mywork\TopLinkDesign\TopLink\classes;C:\Oracle\MiddlewarePS3\modules\com.oracle.toplink_1.0.0.0_11-1-1-4-0.jar;C:\Oracle\MiddlewarePS3\modules\org.eclipse.persistence_1.0.0.0_2-1.jar;C:\Oracle\MiddlewarePS3\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.toplink_11.1.1\javax.persistence_2.0_preview.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\downloads\toplink_111130_en.zip;C:\downloads\coherence-java-3.6.0.0b17229.zip;C:\downloads\coherence-java-3.6.0.0b17229\coherence\lib\coherence.jar;C:\downloads\eclipselink-2.1.1.v20100817-r8050\eclipselink\jlib\eclipselink.jar;C:\downloads\toplink_111130_en\jlib\toplink-grid.jar;C:\Oracle\MiddlewarePS3\jdeveloper\ide\macros\..\..\..\wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\MiddlewarePS3\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\MiddlewarePS3\oracle_common\modules\oracle.dms_11.1.1\dms.jar -Djavax.net.ssl.trustStore=C:\Oracle\MiddlewarePS3\wlserver_10.3\server\lib\DemoTrust.jks gridcache.example.InsertExample
[EL Info]: 2010-11-20 19:58:59.418--ServerSession(30936685)--EclipseLink, version: Eclipse Persistence Services - 2.1.2.v20101006-r8316
[EL Warning]: 2010-11-20 19:58:59.425--java.lang.ClassNotFoundException: weblogic.version
[EL Info]: 2010-11-20 19:58:59.855--ServerSession(30936685)--file:/C:/MyJdevUserHomeEnv/mywork/TopLinkDesign/TopLink/classes/_employee-pu login successful
[EL Info]: 2010-11-20 19:58:59.855--JMX MBeanServer instance found: [com.sun.jmx.mbeanserver.JmxMBeanServer@146c1d4], # of beans: [20], domain: [DefaultDomain] at index: [0].
[EL Warning]: 2010-11-20 19:58:59.861--Failed to initialize MBean threadPoolRuntime: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
[EL Warning]: 2010-11-20 19:58:59.862--Failed to initialize MBean threadPoolRuntime: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
Exception in thread "main" java.lang.IllegalArgumentException: Object: Employee(0: Smith, Bob) is not a known entity type.
*     at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4198)*
*     at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:403)*
*     at gridcache.example.InsertExample.main(InsertExample.java:29)*
Process exited with exit code 1.

It seems this is not a Java EE deployment so is the Employee class listed in the persistence.xml file? Or have you set <exclude-unlisted-classes>false</exclude-unlisted-classes> ? Alternatively you could package the classes into a Jar referenced through the <jar-file></jar-file> element.
--Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Toplink JPA 2.0  migration in JDeveloper 11.1.1.2.0

    I would like to used Toplink JPA 2.0 in JDeveloper 11g, how to update toplink_111120_en.zip in JDeveloper IDE.? Even I added eclipselink and JPA 2.0 spec lib into classpath, I am still getting compile time error on orphanRemoval attribute in OneToMany annotation.

    Hi,
    I am not clear on the requirement.Let me know if my understanding is correct.
    You have a created a JPA project in Toplink Workbench and want to reuse the work in JDeveloper.
    If the above is correct,open the JDeveloper(PS3 release) and use the File-import-TopLinkworkbenchProject and select the application workspce created in TWB.
    Regards,
    Vinay

  • JDeveloper 11g R1 Toplink Session Login Problem

    Hi Everyone,
    Toplink Session Login are unsuccessful in my application. My session.xml file gives xml validation errors.
    Please help me,
    Best Regards
    Gokmen
    XML Validation errors :
    element primary-project not expected.
    element login not expected.
    element connection-pools not expected.
    My session.xml file here:
    <?xml version="1.0" encoding="windows-1254"?>
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>AnahtarV3</name>
    <server-platform xsi:type="weblogic-10-platform"/>
    <primary-project xsi:type="xml">META-INF/ToplinkMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <user-name>xxxx</user-name>
    <password>7D39547AAAC98C485237BC9ABBBAEFBA</password>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@xx.yyyy.www:1521:zzzz</connection-url>
    <force-field-names-to-upper-case>true</force-field-names-to-upper-case>
    <optimize-data-conversion>true</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>read</name>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    <login xsi:type="database-login">
    <user-name>bonus</user-name>
    <password>C9AB9547D3AC98C485237B7AABBAEFBA</password>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@oratest.boyner.trk:1521:bdbtest</connection-url>
    </login>
    </read-connection-pool>
    <write-connection-pool>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    </write-connection-pool>
    </connection-pools>
    </session>
    </toplink-sessions>
    Console Error Log:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    org.xml.sax.SAXParseException: <Line 35, Column 30>: XML-24534: (Error) Element 'max-connections' not expected.
    org.xml.sax.SAXParseException: <Line 36, Column 30>: XML-24534: (Error) Element 'min-connections' not expected.
    org.xml.sax.SAXParseException: <Line 37, Column 34>: XML-24521: (Error) Element not completed: 'write-connection-pool'

    Hi Gokmen,
    Enhancement for clearing the design time errors by providing support for xsi:type is planned for the Shepherd release.
    The workaround for the Connection Pool errors is to define using the API.Below sample code can be useful for you.
    Create a class which implements SessionEventListener or extend SessionEventAdapter and override the preLogin(SessionEvent event) and define read and write connections in the method.Register the SessionEventListener with session(open the session.xml in JDeveloper flat editor->Options->EventListener->browse and Select the class).
    When application is run and preLogin() event will be called and connection pool is defined with read and write connections.
    package model;
    import org.eclipse.persistence.sessions.SessionEvent;
    import org.eclipse.persistence.sessions.SessionEventAdapter;
    public class SampleEventListener extends SessionEventAdapter {
    public SampleEventListener() {
    super();
    public void preLogin(SessionEvent event) {
    System.out.println("in the pre login method");
    org.eclipse.persistence.sessions.server.ServerSession serverSession=(org.eclipse.persistence.sessions.server.ServerSession)event.getSession();
    serverSession.addConnectionPool("testReadPool", event.getSession().getDatasourceLogin(), 1, 10);
    public void postLogin(SessionEvent event) {
    org.eclipse.persistence.sessions.server.ServerSession serverSession=(org.eclipse.persistence.sessions.server.ServerSession)event.getSession();
    System.out.println(serverSession.getConnectionPool("testReadPool").getMaxNumberOfConnections());
    System.out.println(serverSession.getConnectionPool("testReadPool").getMinNumberOfConnections());
    Hope this helps.
    Regards,
    P.Vinay Kumar

  • Jdeveloper 11 and/or toplink-jpa problem

    Hello,
    We have a big problem with toplink-jpa or jdev 11. I tried something very similar to the jdev/jpa tutorial (http://download-uk.oracle.com/otn_hosted_doc/jdeveloper/11/demos/JPA/JPA_Demo.html), only adapted to our db. I've been trying to solve this for hours, but whenever we run the sample facade client we created, we get this as only output:
    Error opening zip file: toplink/jlib/essentials-agent.jar
    Error occurred during initialization of VM
    agent library failed to init: instrument
    Process exited with exit code 1.
    I would greatly appreciate some support, I'm desesperate, this project being an experiment to see how we can evolve from "classic" toplink to toplink/jpa.

    Please also note: I tried this with jre 1.5.0.6 and 1.6.0.1 . The first one says "Error opening zip file: toplink/jlib/essentials-agent.jar", 1.6 says "Error opening zip file or JAR manifest missing : toplink/jlib/essentials-agent.jar".
    I also tried the 1.5.0.6 jvm which comes with jdev 10.x, which doesn't say (or does) anything.
    I downloaded the las version of toplink/jpa, without any change.
    All help greatly appreciated :-/

  • JDeveloper 11g Toplink Session Configuration Editor Error

    Hi everone,
    In JDeveloper11g Relase1, Session Configuration Editor doesn't run correctly, always crashes,
    and session.xml configuration file has validation errors, for example:
    element primary-project not expected.
    element login not expected.
    element connection-pools not expected.
    When I run a project, session.xml file doesn't parse correctly so no database connection establisted.
    I am sending my session.xml file and error log.
    Best Regards.
    Session.XML file
    <?xml version="1.0" encoding="windows-1254"?>
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>AnahtarV3</name>
    <server-platform xsi:type="weblogic-10-platform"/>
    <primary-project xsi:type="xml">META-INF/ToplinkMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <user-name>xxxx</user-name>
    <password>7D39547AAAC98C485237BC9ABBBAEFBA</password>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@xx.yyyy.www:1521:zzzz</connection-url>
    <force-field-names-to-upper-case>true</force-field-names-to-upper-case>
    <optimize-data-conversion>true</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>read</name>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    <login xsi:type="database-login">
    <user-name>bonus</user-name>
    <password>C9AB9547D3AC98C485237B7AABBAEFBA</password>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@oratest.boyner.trk:1521:bdbtest</connection-url>
    </login>
    </read-connection-pool>
    <write-connection-pool>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    </write-connection-pool>
    </connection-pools>
    </session>
    </toplink-sessions>
    Error Log:
    javax.ejb.EJBException: EJB Exception: : Local Exception Stack:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    org.xml.sax.SAXParseException: <Line 35, Column 30>: XML-24534: (Error) Element 'max-connections' not expected.
    org.xml.sax.SAXParseException: <Line 36, Column 30>: XML-24534: (Error) Element 'min-connections' not expected.
    org.xml.sax.SAXParseException: <Line 37, Column 34>: XML-24521: (Error) Element not completed: 'write-connection-pool'
         at oracle.toplink.exceptions.SessionLoaderException.finalException(SessionLoaderException.java:91)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:250)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:448)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:409)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:137)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:116)
         at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:156)
         at com.boyner.anahtar.ejb.user.Session.findTUserByUsernameAndPassword(Session.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy122.findTUserByUsernameAndPassword(Unknown Source)
         at com.boyner.anahtar.ejb.user.Session_pgpyv4_lSessionImpl.findTUserByUsernameAndPassword(Session_pgpyv4_lSessionImpl.java:307)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2113)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3009)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:436)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:464)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:217)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:201)
         at com.boyner.anahtar.utility.ADFUtils.executeOperation(ADFUtils.java:110)
         at com.boyner.anahtar.session.BSession.btnLogin_ClientListener(BSession.java:82)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         at com.boyner.anahtar.utility.BInProgressDialog.executeMethod(BInProgressDialog.java:81)
         at com.boyner.anahtar.utility.BInProgressDialog.onPopupOpened_ClientListener(BInProgressDialog.java:71)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.view.rich.event.ClientListenerSet.invokeCustomEventListeners(ClientListenerSet.java:176)
         at oracle.adfinternal.view.faces.context.RichPhaseListener$DeliverClientEvent.invokeContextCallback(RichPhaseListener.java:589)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1392)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:159)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.context.RichPhaseListener._invokeCustomEvents(RichPhaseListener.java:390)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:331)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.boyner.anahtar.http.compress.GZIPFilter.doFilter(GZIPFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Did you get the solution?
    i am facing the similiar problem

  • JDeveloper 11g R1 Toplink Session Login Unsuccessfull

    Hi Everyone,
    Toplink Session Login are unsuccessful in my application. My session.xml file gives xml validation errors.
    Please help me,
    Best Regards
    Gokmen
    XML Validation errors :
    element primary-project not expected.
    element login not expected.
    element connection-pools not expected.
    My session.xml file here:
    <?xml version="1.0" encoding="windows-1254"?>
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>AnahtarV3</name>
    <server-platform xsi:type="weblogic-10-platform"/>
    <primary-project xsi:type="xml">META-INF/ToplinkMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <user-name>xxxx</user-name>
    <password>7D39547AAAC98C485237BC9ABBBAEFBA</password>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@xx.yyyy.www:1521:zzzz</connection-url>
    <force-field-names-to-upper-case>true</force-field-names-to-upper-case>
    <optimize-data-conversion>true</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>read</name>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    <login xsi:type="database-login">
    <user-name>bonus</user-name>
    <password>C9AB9547D3AC98C485237B7AABBAEFBA</password>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@oratest.boyner.trk:1521:bdbtest</connection-url>
    </login>
    </read-connection-pool>
    <write-connection-pool>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    </write-connection-pool>
    </connection-pools>
    </session>
    </toplink-sessions>
    Console Error Log:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    org.xml.sax.SAXParseException: <Line 35, Column 30>: XML-24534: (Error) Element 'max-connections' not expected.
    org.xml.sax.SAXParseException: <Line 36, Column 30>: XML-24534: (Error) Element 'min-connections' not expected.
    org.xml.sax.SAXParseException: <Line 37, Column 34>: XML-24521: (Error) Element not completed: 'write-connection-pool'

    Hi,
    Currently the session.xml shows design time error(as support for xsi:type is not there), but this will not block deployment or functionality of application.
    The workaround for the Connection Pool errors is to
    provide name element for the connection pool in session.xml after configuring read and write connection pools at session level as below
    <connection-pools>
    <read-connection-pool>
    <name>read-connection-pool</name>
    <login xsi:type="database-login">
    </read-connection-pool>
    </connection-pools>

  • Toplink Missing  Mapping  - Jdeveloper 11g BUG-

    Hi ,
    I am generating two entities using JDeveloper 11g both Tables has 280 columns, I am using "entities from tables" wizard.
    For the first table it is generating the proper meta data like this one:
    @Id
    @Column(name="CLIENT_ID_DWH", nullable = false)
    private String clientIdDwh;
    @Id
    @Column(nullable = false)
    private String effectivefromdate;
    @Column(nullable = false)
    private String effectivetodate;
    @Column(name="HEDAAB_TXBRONC_DATE")
    private Timestamp hedaabTxbroncDate;
    @Column(name="HEDAAB_TXBRONC_EFFDT")
    private String hedaabTxbroncEffdt;
    @Column(name="HEDAAB_TXBRONC_QUAL")
    private String hedaabTxbroncQual;
    @Column(name="HEDAAB_TXBRONC_RCVD")
    private Long hedaabTxbroncRcvd;
    @Column(name="HEDAAB_TXBRONC_REASON")
    private String hedaabTxbroncReason;
    @Column(name="HEDAAB_TXBRONC_REQ")
    private Long hedaabTxbroncReq;
    @Column(name="HEDADD01_ADHDINIT_DATE")
    private Timestamp hedadd01AdhdinitDate;
    @Column(name="HEDADD01_ADHDINIT_EFFDT")
    private String hedadd01AdhdinitEffdt;
    @Column(name="HEDADD01_ADHDINIT_QUAL")
    private String hedadd01AdhdinitQual;
    @Column(name="HEDADD01_ADHDINIT_RCVD")
    private Long hedadd01AdhdinitRcvd;
    @Column(name="HEDADD01_ADHDINIT_REASON")
    private String hedadd01AdhdinitReason;
    @Column(name="HEDADD01_ADHDINIT_REQ")
    For the second table it is generating the following meta data for exampe:
    @Id
    @Column(nullable = false)
    private String clientiddwh;
    @Id
    @Column(nullable = false)
    private String cycle;
    @Id
    @Column(nullable = false)
    private String cyclemod;
    private Long hedisadhdmedfollowupinitiald;
    private String hedisadhdmedfollowupinitialdt;
    private Long hedisadhdmedfollowupinitialn;
    private String hedisadhdmedfollowupinitialop;
    private String hedisadhdmedfollowupinitialqu;
    private Long hedisadhdmedfolupcontd;
    private String hedisadhdmedfolupcontdt;
    private Long hedisadhdmedfolupcontn;
    private String hedisadhdmedfolupcontop;
    private String hedisadhdmedfolupcontqu;
    private Long hedisadolwellcarevisitsd;
    private String hedisadolwellcarevisitsdt;
    private Long hedisadolwellcarevisitsn;
    private String hedisadolwellcarevisitsop;
    This is totally not understandable, what is going on?
    A.B

    Hello,
    You might want to post this in the JDeveloper forums. For the second class, it just looks like the column names haven't been put into the generated class. This is only a problem if the defaulted column names would not match what is in the database - ie @Id String clientiddwh will default to use the "CLIENTIDDWH" field. Does this match what is in the table?
    Best Regards,
    Chris

  • Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "

    I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
    In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
    To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
    I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
    It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
    The "Messages" pane displays:
    "Compiling...
    Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
    C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
    [11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
    [Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" displays:
    "C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://localhost:7101 with userid weblogic ...
    This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx4.connect$1(<iostream>:16)
         at org.python.pycode._pyx4.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyFunction.__call__(PyFunction.java:184)
         at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
         at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at weblogic.management.scripting.WLST.main(WLST.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
         ... 43 more
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
    File "<iostream>", line 22, in connect
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
    Done
    I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
    Any suggestions on how to fix this problem would be appreciated?
    LA$$E

    Jupp,
    It fails in a similar way.
    What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
    When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
    C:\Oracle\Middleware\user_projects\domains\base_domain\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=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\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:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~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=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 121552 ms.
    DefaultServer started.
    In the "Messages" pane, however, things are not looking so good:
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    But, of course, the server is actually running as I can access it via its Admin Console.
    So, I try to run the project again, and this time the following is shown in the "Messages" pane:
    Compiling...
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" now comes up with:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    The WLS is still running though as I can still access its adm console.
    To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
    Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
    I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install.

  • Problem whith JDeveloper 11g to startup EJB Client

    When i Run the EJBBean display this error message:
    1/02/2008 10:03:54 AM oracle.j2ee.xml.XMLMessages warningException
    ADVERTENCIA: Exception Encountered
    1/02/2008 10:03:55 AM oracle.oc4j.util.SystemLog log
    GRAVE: Server start failed processing configuration
    java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
    at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
    at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
    at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
    at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
    at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
    at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
    at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
    at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
    at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
    at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
    at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
    at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
    at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
    at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
    at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
    at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
    at java.lang.Thread.run(Thread.java:595)
    1/02/2008 10:03:55 AM oracle.oc4j.util.SystemLog logNoStack
    GRAVE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited with exit code 1.
    when i Run the EJBClient:
    "C:\Archivos de programa\JDeveloper 11g\jdk\bin\javaw.exe" -client -classpath "C:\HR_EJB_JPA_App\.adf;C:\HR_EJB_JPA_App\EJBModel\classes;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink\11.1.1.0.0\toplink-core.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\toplink-ojdbc.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\internal\toplink-oc4j.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\internal\toplink-agent.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink\11.1.1.0.0\antlr.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\persistence.jar;C:\Archivos de programa\JDeveloper 11g\lib\xmlparserv2.jar;C:\Archivos de programa\JDeveloper 11g\lib\xml.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\ejb.jar;C:\Documents and Settings\damacelo\Datos de programa\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\.client;C:\Archivos de programa\JDeveloper 11g\j2ee\home\oc4j.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\oc4jclient.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\oc4j-internal.jar;C:\Archivos de programa\JDeveloper 11g\opmn\lib\optic.jar" -Dhttp.proxyHost=10.2.0.1 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa -Dhttps.proxyHost=10.2.0.1 -Dhttps.proxyPort=3128 -Dhttps.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa oracle.SessionEJBClient
    javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:313)
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at oracle.SessionEJBClient.main(SessionEJBClient.java:13)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at java.net.Socket.<init>(Socket.java:366)
    at java.net.Socket.<init>(Socket.java:208)
    at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:756)
    at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:60)
    at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:95)
    at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:70)
    at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:720)
    at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:252)
    at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:235)
    at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
    ... 3 more
    Process exited with exit code 0.
    Anybody can help Me???
    Thanks.

    I JCRuiz
    the error now is:
    [TopLink/JPA Client] Adding Java options: -javaagent:C:\JDeveloper11g\lib\java\internal\toplink-agent.jar
    C:\JDeveloper11g\jdk\bin\javaw.exe -client -classpath "C:\MiPrimeraAplicacion\.adf;C:\MiPrimeraAplicacion\ModeloEJB\classes;C:\JDeveloper11g\lib\java\shared\oracle.toplink\11.1.1.0.0\toplink-core.jar;C:\JDeveloper11g\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\toplink-ojdbc.jar;C:\JDeveloper11g\lib\java\internal\toplink-oc4j.jar;C:\JDeveloper11g\lib\java\internal\toplink-agent.jar;C:\JDeveloper11g\lib\java\shared\oracle.toplink\11.1.1.0.0\antlr.jar;C:\JDeveloper11g\j2ee\home\lib\persistence.jar;C:\JDeveloper11g\lib\xmlparserv2.jar;C:\JDeveloper11g\lib\xml.jar;C:\JDeveloper11g\j2ee\home\lib\ejb.jar;C:\Documents and Settings\damacelo\Datos de programa\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\.client;C:\JDeveloper11g\j2ee\home\oc4j.jar;C:\JDeveloper11g\j2ee\home\oc4jclient.jar;C:\JDeveloper11g\j2ee\home\lib\oc4j-internal.jar;C:\JDeveloper11g\opmn\lib\optic.jar;C:\JDeveloper11g\jlib\trinidad-api.jar;C:\JDeveloper11g\jlib\trinidad-impl.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\jsf-api.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\jsf-ri.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-beanutils.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-collections.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-digester.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-logging.jar;C:\JDeveloper11g\lib\java\shared\oracle.jstl\1.2\jstl-api-1_2.jar;C:\JDeveloper11g\jlib\adf-richclient-api-11.jar;C:\JDeveloper11g\jlib\adf-richclient-impl-11.jar;C:\JDeveloper11g\BC4J\lib\adf-share-support.jar;C:\JDeveloper11g\BC4J\lib\adf-share-ca.jar;C:\JDeveloper11g\BC4J\lib\adf-share-base.jar;C:\JDeveloper11g\jlib\identitystore.jar;C:\JDeveloper11g\lib\java\api\jaxb-api.jar;C:\JDeveloper11g\lib\java\api\jsr173_api.jar;C:\JDeveloper11g\j2ee\home\lib\activation.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb-xjc.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb-impl.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb1-impl.jar;C:\JDeveloper11g\webcenter\jlib\relationship-service-taglib.jar;C:\JDeveloper11g\adfp\lib\pageeditor.jar;C:\JDeveloper11g\adfp\lib\pageeditor-ext-taskflow.jar;C:\JDeveloper11g\adfp\lib\pageeditor-ext-portlet.jar;C:\JDeveloper11g\adfdt\lib\adf-transactions-dt.jar;C:\JDeveloper11g\adfdt\lib\adf-dt-at-rt.jar;C:\JDeveloper11g\adfc\lib\adf-pageflow-dtrt.jar;C:\JDeveloper11g\adfdt\lib\adf-faces-databinding-dt-core.jar;C:\JDeveloper11g\adfdt\lib\adf-view-databinding-dt-core.jar;C:\JDeveloper11g\jdev\lib\velocity-dep-1.3.jar;C:\JDeveloper11g\jlib\adf-faces-databinding-rt.jar;C:\JDeveloper11g\BC4J\lib\adfm.jar;C:\JDeveloper11g\BC4J\jlib\adfui.jar;C:\JDeveloper11g\BC4J\lib\groovy-all-1.0.jar;C:\JDeveloper11g\jlib\ojmisc.jar;C:\JDeveloper11g\jlib\commons-el.jar;C:\JDeveloper11g\jlib\jsp-el-api.jar;C:\JDeveloper11g\jlib\oracle-el.jar;C:\JDeveloper11g\BC4J\lib\adfshare.jar;C:\JDeveloper11g\adfdt\lib\adfdt_common.jar;C:\JDeveloper11g\BC4J\lib\db-ca.jar;C:\JDeveloper11g\jlib\jdev-cm.jar;C:\JDeveloper11g\j2ee\home\lib\ojsp.jar;C:\JDeveloper11g\j2ee\home\lib\servlet.jar;C:\JDeveloper11g\j2ee\home\lib\el-ri.jar;C:\JDeveloper11g\jdev\lib\ojc.jar;C:\JDeveloper11g\mds\lib\mdsrt.jar;C:\JDeveloper11g\adfrc\lib\rcsrt.jar;C:\JDeveloper11g\adfrc\lib\jr_dav.jar;C:\JDeveloper11g\adfrc\lib\rcv.jar;C:\JDeveloper11g\adfp\lib\custComps.jar;C:\JDeveloper11g\adfp\lib\portlet-client-adf.jar;C:\JDeveloper11g\adfp\lib\portlet-client-rc.jar;C:\JDeveloper11g\adfp\lib\adfp-portletdt-share.jar;C:\JDeveloper11g\adfp\lib\portlet-client-core.jar;C:\JDeveloper11g\adfp\lib\portlet-client-mds.jar;C:\JDeveloper11g\adfp\lib\portlet-client-web.jar;C:\JDeveloper11g\adfp\lib\portlet-client-wsrp.jar;C:\JDeveloper11g\adfp\lib\tidy.jar;C:\JDeveloper11g\adfp\lib\wce.jar;C:\JDeveloper11g\adfp\lib\wsrp-types.jar;C:\JDeveloper11g\adfp\lib\wsrp-jaxb.jar;C:\JDeveloper11g\adfp\lib\namespace.jar;C:\JDeveloper11g\jlib\adf-faces-changemanager-rt.jar;C:\JDeveloper11g\jlib\facesconfigmodel.jar;C:\JDeveloper11g\jlib\taglib.jar;C:\JDeveloper11g\jlib\jdev-el.jar;C:\JDeveloper11g\jlib\xmlef.jar;C:\JDeveloper11g\jdbc\lib\ojdbc5dms.jar;C:\JDeveloper11g\jlib\commons-cli-1.0.jar;C:\JDeveloper11g\jlib\share.jar;C:\JDeveloper11g\jlib\dms.jar;C:\JDeveloper11g\j2ee\home\lib\oc4j-unsupported-api.jar;C:\JDeveloper11g\rdbms\jlib\xdb.jar;C:\JDeveloper11g\lib\java\api\cache.jar;C:\JDeveloper11g\jlib\ojdl.jar;C:\JDeveloper11g\j2ee\home\lib\pcl.jar;C:\JDeveloper11g\ucp\lib\ucp.jar;C:\JDeveloper11g\lib\java\shared\oracle.javatools\11.1.1.0.0\dafrt.jar;C:\JDeveloper11g\lib\java\shared\oracle.javatools\11.1.1.0.0\javatools-nodeps.jar;C:\JDeveloper11g\adfp\lib\custComps-skin.jar;C:\JDeveloper11g\j2ee\home\lib\jms.jar;C:\JDeveloper11g\rdbms\jlib\aqapi.jar;C:\JDeveloper11g\j2ee\home\lib\jta.jar;C:\JDeveloper11g\webcenter\jlib\tagging-taglib.jar;C:\JDeveloper11g\BC4J\lib\adfmweb.jar;C:\JDeveloper11g\jakarta-taglibs\commons-beanutils-1.6.1\commons-beanutils.jar;C:\JDeveloper11g\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;C:\JDeveloper11g\jakarta-taglibs\commons-collections-2.1\commons-collections.jar;C:\JDeveloper11g\jakarta-struts\lib\antlr.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-beanutils.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-collections.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-digester.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-fileupload.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-logging.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-validator.jar;C:\JDeveloper11g\jakarta-struts\lib\jakarta-oro.jar;C:\JDeveloper11g\jakarta-struts\lib\struts.jar;C:\JDeveloper11g\webcenter\jlib\command-api.jar;C:\JDeveloper11g\webcenter\jlib\command-spi.jar;C:\JDeveloper11g\webcenter\jlib\generalsettings-model.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-asctl.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-client.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-model.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-service.jar;C:\JDeveloper11g\webcenter\jlib\lock-service-model.jar;C:\JDeveloper11g\webcenter\jlib\search-api.jar;C:\JDeveloper11g\webcenter\jlib\search-adapter.jar;C:\JDeveloper11g\webcenter\jlib\search-model.jar;C:\JDeveloper11g\webcenter\jlib\search_client.jar;C:\JDeveloper11g\webcenter\jlib\scope-service-model.jar;C:\JDeveloper11g\webcenter\jlib\security-extension.jar;C:\JDeveloper11g\webcenter\jlib\serviceframework.jar;C:\JDeveloper11g\webcenter\jlib\wc-concurrent.jar;C:\JDeveloper11g\BC4J\lib\adfsharembean.jar;C:\JDeveloper11g\j2ee\home\lib\xmlparserv2.jar;C:\JDeveloper11g\webservices\lib\saaj-api.jar;C:\JDeveloper11g\webservices\lib\orasaaj.jar;C:\JDeveloper11g\j2ee\home\lib\http_client.jar;C:\JDeveloper11g\webcenter\jlib\service-framework-taglib.jar;C:\JDeveloper11g\webcenter\jlib\serviceframework-view.jar;C:\JDeveloper11g\webcenter\jlib\rtc-api.jar;C:\JDeveloper11g\webcenter\jlib\rtc-model.jar;C:\JDeveloper11g\webcenter\jlib\rtc-skin.jar;C:\JDeveloper11g\webcenter\jlib\rtc-adapters-lcs.jar;C:\JDeveloper11g\webcenter\jlib\rtc-lcs-wsclient.jar;C:\JDeveloper11g\webcenter\jlib\log4j-1.2.8.jar;C:\JDeveloper11g\webcenter\jlib\rtc-taglib.jar;C:\JDeveloper11g\webcenter\jlib\rtc-view.jar;C:\JDeveloper11g\webcenter\jlib\rtc-adapters-ocms.jar;C:\JDeveloper11g\webcenter\jlib\buddylistmanager-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\buddylistmanagerimpl-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\presencerules-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\parlayxcommon-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\parlayxwsstubs-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\resourcelist-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\xdmc-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\xdmcimpl-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\commons-httpclient.jar;C:\JDeveloper11g\webcenter\jlib\commons-codec-1.3.jar;C:\JDeveloper11g\webcenter\jlib\collab-share.jar;C:\JDeveloper11g\adfdi\lib\adf-desktop-integration.jar;C:\JDeveloper11g\webservices\lib\wsclient.jar" -javaagent:C:\JDeveloper11g\lib\java\internal\toplink-agent.jar -Dhttp.proxyHost=10.2.0.1 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa -Dhttps.proxyHost=10.2.0.1 -Dhttps.proxyPort=3128 -Dhttps.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa oracle.HRFacadeClient
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializerAgent.initializeFromAgent(JavaSECMPInitializerAgent.java:34)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializerAgent.premain(JavaSECMPInitializerAgent.java:27)
         ... 5 more
    Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
    Exception Description: Predeployment of PersistenceUnit [ModeloEJB] failed.
    Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
         at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:790)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.callPredeploy(JavaSECMPInitializer.java:119)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:187)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:202)
         at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromAgent(JavaSECMPInitializer.java:219)
         ... 11 more
    Caused by: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
    Exception Description: Predeployment of PersistenceUnit [ModeloEJB] failed.
    Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
         at oracle.toplink.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:196)
         ... 16 more
    Caused by: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
         at oracle.toplink.exceptions.PersistenceUnitLoadingException.exceptionLoadingClassWhileLookingForAnnotations(PersistenceUnitLoadingException.java:126)
         at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.loadClass(PersistenceUnitProcessor.java:231)
         at oracle.toplink.internal.ejb.cmp3.metadata.MetadataProcessor.processPersistenceUnitClasses(MetadataProcessor.java:423)
         at oracle.toplink.internal.ejb.cmp3.metadata.MetadataProcessor.processPersistenceUnitClasses(MetadataProcessor.java:376)
         at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:258)
         at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:747)
         ... 15 more
    FATAL ERROR in native method: processing of -javaagent failed
    Caused by: java.lang.ClassNotFoundException: modeloejb.Departments
         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 oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer$TempEntityLoader.loadClass(JavaSECMPInitializer.java:355)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.loadClass(PersistenceUnitProcessor.java:228)
         ... 19 more
    Exception in thread "main" Process exited with exit code 1.

  • Toplink-jpa and/or jdev11 problem

    Hi,
    How should I configure a toplink/jpa application in oc4j 11? Mine doesn't seem to be able to be able to connect... But I guess I didn't configure correctly.
    Anyway, it works in the jdevelopper 11 (technical preview) embedded oc4j. I can deploy it ok from jdeveloper, and even connect to the session beans on the server from another application (swing client, independant).
    But whenever my beans try to make a request, I get this exception:
    exception occurred during method invocation:
    javax.ejb.EJBTransactionRolledbackException: Exception [TOPLINK-4002] (Oracle
    TopLink - 11g Release 1 (11.1.1.0.0) (Build 070428)):
    oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish
    the connectionError Code: 17002; nested exception is: Exception [TOPLINK-4002]
    (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 070428)):
    I made a sample jdbc connection from the session bean, to the database it should connect to: no problem.
    Is there a checklist of what I should make sure? There are a lot of wizards, configuration files, etc. and I'm a little bit confused about the cause of the problem and how to fix it. My question has been on metalink for 48 hours, but without luck yet.
    Here is a more complete part of the stack trace:
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:72)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:105)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:168)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:224)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:495)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:429)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
    at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.jav
    a:57)
    at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:21
    2)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
    at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
    at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(Coll
    ectionConnectionPoolImpl.java:513)
    at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:
    419)
    at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
    at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
    at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
    at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnect
    ionPoolAdapter.java:543)
    at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool
    (ApplicationConnectionManager.java:1553)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.ja
    va:1499)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.jav
    a:238)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
    ... 69 more

    HI
    can you reply the feedback of metalink? because I'm having similar problem.
    I debug in junit and embebbed at the jdev and it works well, but when I deploy in a standalone oc4j it gives me the same error of Excepção de E/S: The Network Adapter could not establish the connection
    And I'm not using 11g, I'm still in 10g but the problem might be the same.
    cumps
    DnlCY
    null

  • Error starting IntegratedWebLogicServer in Jdeveloper 11g 11.1.1.3.0

    Hi everybody, I´m trying to start the IntegratedWebLogicServer in Jdeveloper 11g in Windows XP, but i'm getting this error message:
    Error occurred during initialization of VM
    agent library failed to init: instrument
    Error opening zip file or JAR manifest missing : ../modules/org.eclipse.persistence_1.0.0.0_2-0.jar
    Process exited.
    the file org.eclipse.persistence_1.0.0.0_2-0.jar is present in the Middleware/modules drectory
    the command used by JDeveloper is this one:
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=D:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -javaagent:../modules/org.eclipse.persistence_1.0.0.0_2-0.jar -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    thanks for any advice...

    -javaagent setting is a bit peculiar with windows path right click your project and open the Properties window. At the bottom open Run/Debug/Profile tab and Edit the "Eclipselink JPA Client" configuration. replace ../ with the actual path and do use "/" only...

  • JDeveloper 11g/ADF Faces Rich Client

    Hello,
    We are trying to decide between using JDeveloper 10.1.4 and JDeveloper 11g for developing a new application - we plan to use just the ADF Faces layer of the ADF Framework along with Spring and TopLink for other layers.
    On one hand we think that is is safer to use 10.x version of ADF Faces as it may be more stable and on the other hand we are tempted to use 11g as it provides Ajax-enabled JSF Components.
    Has anyone used ADF Faces Rich Client Framework for developing applications? Is it stable enought to be used for production-level applications?
    I would love to hear your thoughts!

    Hi,
    don't use 10.1.3.4 to develop a new application now unless you have browser constraints with your user-base.
    ADF Faces RC / 11g requires:
    FireFox 2, 3
    Internet Explorer 7.0
    Safari 3.0
    11g is a significant update and they have vastly improved/redesigned a lot of things that were difficult/complex to do in earlier versions.
    Plus the 11g user interface is way better from a users perspective.
    Brenden

  • Toplink 10g to 11g migration advice.

    We have application that was completely developed JDeveloper 10.1.3/4 with Toplink, JSF, ADF, and Session Facade; extremely similar to the SRDemo.
    I want to upgrade to JDeveloper 11g, and will probably just let JDeveloper to automatically migrate the 10g application to 11g.
    Does anyone have any tips or lessons learned concerning Toplink and/or ADF when using the 11g migration process?
    Thank you.

    I downloaded and installed the jdevstudio11111install.exe from the Jdeveloper download page.
    While performing the migration, I received a Toplink exception (matches this thread: [TopLink exception when migrating from JDev 10.1.3.4 to 11g|http://forums.oracle.com/forums/thread.jspa?messageID=3593192&#3593192] ).
    I assumed this was the bug you were referencing, was that incorrect? Did I inadvertently download the wrong version?
    Studio Edition Version 11.1.1.1.0
    Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Am I missing a patch? Can I move forward with the migration, or is this a show stopper?
    Thank you.

  • Error occured during Configuring of SOA in Jdeveloper 11g TP4

    Hi,
    I am not able to configure SOA in jdeveloper 11g. I got the following error in the
    startsoa log file
    July 13, 2008 3:02:44 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Error in building SOA
    BUILD FAILED
    D:\Project\SOA\jdevstudio1111\install\bpel\build.xml:10: The following error occurred while executing this line:
    D:\Project\SOA\jdevstudio1111\install\bpel\soa-infra-config.xml:48: The following error occurred while executing this line:
    D:\Project\SOA\jdevstudio1111\install\bpel\soa-infra-config.xml:89: ***************************************************
    * Configuring SOA Infrastructure has FAILED.
    * If following log files exists, please check them for possible cause:
    * D:\Project\SOA\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
    * D:\Project\SOA\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\log\startsoa.log
    Total time: 1 minute 58 seconds
    Thanks in Advance
    With Regards
    Nishanth
    Message was edited by:
    Nishanth Sodum

    Dear Heidi,
    Thanks for the responding to me. I am not able to find any error in the log. I placed the log messages. please suggest me on this.
    soa-infra-java.log
    08/06/25 14:21:41 Notification ==>Application Deployer for wsm-pm STARTS.
    08/06/25 14:21:41 Notification ==>Undeploy previous deployment
    08/06/25 14:21:41 Notification ==>Initialize D:\Project\SOA\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\applications\wsm-pm.ear begins...
    08/06/25 14:21:41 Notification ==>Initialize D:\Project\SOA\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\applications\wsm-pm.ear ends...
    08/06/25 14:21:41 Notification ==>Starting application : wsm-pm
    08/06/25 14:21:41 Notification ==>Initializing ClassLoader(s)
    08/06/25 14:21:41 Notification ==>Initializing EJB container
    08/06/25 14:21:41 Notification ==>Loading connector(s)
    08/06/25 14:21:41 Notification ==>Starting up resource adapters
    08/06/25 14:21:41 Notification ==>Processing EJB module: wsm-pmserver.jar
    08/06/25 14:21:41 Notification ==>Compiling EJB generated code
    08/06/25 14:21:41 Notification ==>Committing ClassLoader(s)
    08/06/25 14:21:41 Notification ==>Initialize wsm-pmweb begins...
    08/06/25 14:21:41 Notification ==>Initialize wsm-pmweb ends...
    08/06/25 14:21:41 Notification ==>Started application : wsm-pm
    08/06/25 14:21:41 Notification ==>Binding web application(s) to site default-web-site begins...
    08/06/25 14:21:41 Notification ==>Binding web application(s) to site default-web-site ends...
    08/06/25 14:21:41 Notification ==>Application Deployer for wsm-pm COMPLETES. Operation time: 641 msecs
    Startsoa.log file
    Jul 15, 2008 10:29:55 AM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    08/07/15 10:30:24 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    08/07/15 10:30:24 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    Jul 15, 2008 10:31:11 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    Jul 15, 2008 10:31:11 AM oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    Jul 15, 2008 10:31:17 AM oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    Jul 15, 2008 10:31:17 AM oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    Jul 15, 2008 10:31:17 AM oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    Jul 15, 2008 10:31:17 AM oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    [TopLink Info]: 2008.07.15 10:32:09.077--ServerSession(30990579)--TopLink, version: Oracle TopLink - 11g Technology Preview 4 (11.1.1.0.0) (Build 080422)
    [TopLink Info]: 2008.07.15 10:32:11.109--ServerSession(30990579)--userprefs login successful
    Jul 15, 2008 10:32:41 AM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jul 15, 2008 10:32:41 AM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    With Regards,
    Nishanth

  • Toplink JPA with Coherence deployment to Weblogic 10.3

    Hi,
    I have created an EJB application using Toplink JPA and Coherence. I would like to deploy this application to Weblogic 10.3.
    During the startup of Weblogic I have specified the Java option as
    -Dtangosol.coherence.cacheconfig=D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/CoherenceProject/src/META-INF/coherence-cache-config.xml.
    Persistence.xml and coherence-cache-config.xml are palced inside the jar file.
    When I execute the ejb client program, during the method call, I can see that coherence is started but it uses the cache-config from the coherence.jar file instaed of the value I have set during startup. How can I make weblogic use my cache-config.xml? I have included the log file entries from server:
    [EL Finest]: 2009.04.17 05:33:48.625--UnitOfWork(1777337)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadObjectQuery(coherenceproject.MetadataType)
    2009-04-17 05:33:54.547/258.954 Oracle Coherence 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/tangosol-coherence.xml"
    2009-04-17 05:33:54.562/258.969 Oracle Coherence 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-04-17 05:33:54.562/258.969 Oracle Coherence 3.4.2/411 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2009-04-17 05:33:54.578/258.985 Oracle Coherence 3.4.2/411 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.4.2/411
    Grid Edition: Development mode
    Copyright (c) 2000-2009 Oracle. All rights reserved.
    *2009-04-17 05:33:55.750/260.157 Oracle Coherence GE 3.4.2/411 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from resource "zip:D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/lib/coherence.jar!/coherence-cache-config.xml"*
    2009-04-17 05:34:17.390/281.797 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2009-04-17 05:34:21.890/286.297 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-17 05:34:09.203, Address=141.144.90.113:8088, MachineId=18289, Location=site:sg.oracle.com,machine:rajerama-sg,process:3816, Role=WeblogicServer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=1) UID=0x8D905A7100000120B0D9DD3347711F98
    2009-04-17 05:34:27.000/291.407 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    [EL Finer]: 2009.04.17 05:34:28.343--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2
    [EL Fine]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2 result: null
    [EL Finer]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2
    *[EL Fine]: 2009.04.17 05:34:28.703--ServerSession(32927169)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(MetadataType)::Get: 2 result: null*
    null
    Eventhough the method is called correctly, it does not return the value. Is there any other setup that has to be done?
    Regards
    Raji

    Hi Raji,
    You mentioned:
    >
    -Dtangosol.coherence.cacheconfig=D:/JDEV_11g/jdeveloper/jdev/mywork/CoherenceApp/CoherenceProject/src/META-INF/coherence-cache-config.xml
    >
    and
    >
    Persistence.xml and coherence-cache-config.xml are palced inside the jar file.
    >
    It appears that these are conflicting; as the system property indicates that the config should be read from a file, whereas the file is actually deployed in a jar.
    That being said, I would suggest double checking that the system property is actually being set in the JVM. In my testing, if I specify a cache config that does not exist, an exception will be thrown:
    java -Dtangosol.coherence.cacheconfig=foo.xml  com.tangosol.net.CacheFactory
    Oracle Coherence Version 3.4.2/411p3
    Grid Edition: Development mode
    Copyright (c) 2000-2009 Oracle. All rights reserved.
    Map (?): cache test
    2009-04-22 15:33:15.310/6.917 Oracle Coherence GE 3.4.2/411p3 <Error> (thread=main, member=1):
    (Wrapped: Failed to load the factory) java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:662)
            at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:602)
            at com.tangosol.coherence.component.application.console.Coherence.doCache(Coherence.CDB:9)
            at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:209)
            at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
            at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.tangosol.net.CacheFactory.main(CacheFactory.java:1308)
    Caused by: (Wrapped: Failed to load configuration resource: foo.xml) java.io.IOException: Configuration is missing: "foo.xml", loader=null
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfigAsResource(DefaultConfigurableCacheFactory.java:386)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:337)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:309)
            at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfigurableCacheFactory.java:137)
            ... 15 moreThanks,
    Patrick

Maybe you are looking for