Error reading application-client.xml,Urgent

Hi ,
I am getting this error,can anyone suggest something for this ?
found error javax.naming.NamingException: Error reading application-client descriptor: No location specified and no suitable instance of the type 'com.crm.Dao.Customer.CustomerData' found for the ejb-ref CustomerData
Waiting for reply,
Regards,
Mandar

In the client deployment under META-INF you should have the application-client.xml.
Can you CustomerData - home,remote etc. be seen from the clientside classpath?
Have they been deployed to OC4J?
Looks like it is not being found either on the server or on the client.
Cheers,
Ashok

Similar Messages

  • Application-client.xml - resourceBundle

    Hi..
    I have a problem creating a standalone application client...
    I have crated an application-client.xml file containing ejb-refs to 2 Sessionbeans : Like this ->
    <ejb-ref>
    <ejb-ref-name>bean/AdvisorProxy</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>app.common.proxy.AdvisorProxyHome</home>
    <remote>app.common.proxy.AdvisorProxy</remote>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>bean/AdminProxy</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>app.common.proxy.AdminProxyHome</home>
    <remote>app.common.proxy.AdminProxy</remote>
    </ejb-ref>
    When I try to run my app I get an exception when I try to get my bean through the context :
    java.util.MissingResourceException: Can't find bundle for base name com/evermind/client/assembler/Assembler, locale en_GB
    Is there something else I have to specify anywhere?
    Thanks...
    johan

    This fixed my problem:
    - JNDI initial context factory -
    com.evermind.server.rmi.RMIInitialContextFactory
    - jndi provider url -
    opmn:ormi://servername

  • Error in parsing an XML-urgent

    hi all,
    iam receving the following error message
    "ORA-29540 class oracle/xml/parser/plsql/xmlparsercover does not exists"
    while executing one of my procedures.
    please let me know what could be the problem?...
    Regards,
    vimal.

    You cannot import and export the XDB schema. You must install it. The XDB Schema is not required for XMLDOM, XMLPARSER, XSLPROCESSOR, only for the DBMS_XMLDOM, DBMS_XSLPROCESS and DBMS_XMLPARSER pacakage. You may have totally corrupted your instance. Ideally you should restore the entire database from backup at this point. If you do not have a backup from before the point you tried to import XDB (which wouldn't suprise me) you should try to drop the XDB user immediately. You should then upgrade to at least 9.2.0.3.0 and then add the XDB user following the instructions in the XDB Developers guide. Basically run the script catnoqm followed by the script catqm. Note you should take a full backup before running catnoqm.

  • Error Creating Application Server Conn from Jdeveloper

    Hi,
    Im receiving following error while trying to create Jdeveloper connection:
    Error while getting remote MBeanServer for url: ormi://myhostname.pk:20000/default:
    Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
    I have supplied the following credentials to create the connection.
    ConnectionType: ApplicationServer10.1.3
    username: oc4jadmin
    password: welcome{assuming welcome as default password, password has not been changed since initial R12.1.2 install. I have also tried oracle as defult pwd}
    Connect to: Single Instance
    Hostname: myhostname
    oc4jinstance: oacore
    OPMN port: 6500
    I have followed the following metalink note "How to Create an Application Server Connection from JDeveloper [ID 372989.1]" and have performed the following tests.
    command: sh adopmnctl.sh satus -port
    =========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    myhostname:6500
    command: sh adopmnctl.sh status -l
    ========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    Processes in Instance:
    ---------------------------------------------------------------------------------------------------------+------
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ---------------------------------------------------------------------------------------------------------+------
    OC4JGroup:default_group | OC4J:oafm | 18277 | Alive | 658406017 | 116596 | 49:03:18 | rmi:25500,jms:24500,ajp:25000
    OC4JGroup:default_group | OC4J:forms | 18206 | Alive | 658406016 | 111040 | 49:03:22 | rmi:20500,jms:23500,ajp:22000
    OC4JGroup:default_group | OC4J:oacore | 18122 | Alive | 658406015 | 307376 | 49:03:32 | rmi:20000,jms:23000,ajp:21500
    HTTP_Server | HTTP_Server | 18065 | Alive | 658406014 | 114908 | 49:03:13 | https1:4443,http1:8000
    command: netstat -an |grep 6500
    ======================
    tcp 0 0 127.0.0.1:6500 0.0.0.0:* LISTEN
    tcp 0 0 10.10.50.6:6500 0.0.0.0:* LISTEN
    Has any one faced similar problem. Please help!
    Edited by: faanwar on Aug 18, 2010 11:00 AM

    Try changing the oc4jadmin password:
    - stop oc4j
    - edit system-jazn-data.xml and replace encrypted pw with !newpassword
    - remove cache pw from securestore directory
    - start oc4j
    regards,
    Bernhard Jongejan
    http://bernhardjongejan.spaces.live.com

  • Error creating application server Conn

    In jdeveloper Early Access the test connection is sucess(same configuration), but in 10.1.3.1 version ,generate this erro. Help me please.
    Error while getting remote MBeanServer for url: ormi://java1:23791/default:
    Error reading application-client descriptor: Error communicating with server: <no message>oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:161)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:136)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:152)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:202)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:189)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:152)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters; nested exception is:
         javax.naming.CommunicationException: <no message>oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:161)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:136)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:152)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:202)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:189)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:152)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:609)
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:153)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:137)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:251)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:465)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:160)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:117)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:158)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:218)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:70)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters [Root exception is oracle.oc4j.security.ExchangingEncryptor$EncryptionException]

    Hi,
    Did you find any solution or reason why such error occurred? I am facing the same.
    Thanks,
    Ankit

  • IO Error while deploying application client jar file ???????

    Hi,
    In my .ear file, one application-client jar(which contains all helper classes which are used in whole application) file is there. While deploying .ear file, all ejb are getting deployed well, while deploying application client jar file(Global.jar file here) it is giving the following message:
    IO Error deploying Global.jar: D:\oracle9ias\oc4j_extended\j2ee\home\applications\trainiumear\Global.jar
    Here is application-client.xml of Global.jar file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application-client_1_2.dtd'>
    <application-client>
    <display-name>TrainiumClientApp</display-name>
    <description>Application description</description>
    </application-client>
    My Environment: Oracle9iAS (9.0.3.0.0), Windows-NT
    Please let me know Why i am getting 'IO Error' , where i may done wrong ?
    Thanks in Advance
    Srinivas

    Srinivas,
    Before we continue, PLEASE tell me if you've looked through the available
    documentation, code samples, "how-to" documents, etc., for OC4J. It
    seems to me that you're mixing things up a bit. I use the "deploy"
    command to deploy my EARs, example (partial):
    java -jar admin.jar ormi://<host> admin <password> -deploy ...
    And my EAR file is not in the "application-deployments" directory
    when I issue that command.
    Perhaps you could also show me the contents of your "application.xml"
    file for this application you are having trouble with.
    But I repeat, please tell me if you have already looked at the
    available documents regarding OC4J!
    Thanks,
    Avi.

  • How to run application client of an EJB application?

    Hi,
    My EJB application is deployed on websphere. I have written a small java client program to interact with an EJB which is working fine if I compile and run it in websphere studio environment.
    However I am getting runtime exception when I tried to run it at command line.
    RemoteConn.java
    import java.util.Hashtable;
    import com.deque.HelloJavaHome;
    import com.deque.HelloJava;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.ejb.EJBHome;
    import javax.ejb.EJBObject;
    public class RemoteConn {
    public static void main(String[] ar) throws Exception{
    String name="Paruchuri!!";
    String greeting = "";
    try{
    Hashtable env = new Hashtable();
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ws.naming.util.WsnInitCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
    InitialContext initContext = new InitialContext(env);
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    HelloJavaHome home = (HelloJavaHome) javax.rmi.PortableRemoteObject.narrow(obj, HelloJavaHome.class);
    HelloJava remote = home.create();
    greeting = remote.getGreeting(name);
    catch(Exception e){
    e.printStackTrace();
    System.out.println("Greeting::"+ greeting);
    I have set the application ejb client jar in the class path of client program.
    The exception I am getting at runtime is
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.CORBA.iiop.GlobalORBFactory
    at com.ibm.ejs.oa.EJSORBImpl.class$(EJSORBImpl.java:44)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:195)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:93)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:65)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:385)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:369)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at RemoteConn.main(RemoteConn.java:38)
    Initially I thought I shuold set some jar file of websphere in the classpath of client. But I did not find such a jar containing the above class in websphere studio.
    Basically the error is generated at the below statement at runtime.
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    The only difference I discovered was that the client application has a descriptor file (application-client.xml ) available to it when it ran in websphere studio,. I guess the same META-INF should be provided to client when it runs at command line.
    Right now I am not using any client descriptor file to run the client program. If the above error is due to not supplying META-INF to the client application, how should I make this folder available to client at runtime?
    I greatly appreciate if I could get help ASAP.
    Thanks

    Hey got what is going on. In order to invoke EJB, deployed on WebSpehre App Server, from application client we need to install either WebSphere Application Pluggable Client or WebSphere Thin client on the workstation. Pluggable client is a wrapper to SUN JRE where as Thin Client uses IBM JRE.

  • Dependency Injection of EJB in application client

    Hello,
    I did a quick search and did not find a similar posting on this. I apologize if I missed one.
    I wrote a simple stateless session bean based on EJB 3.0 specification. I wrote a simple client called TestCVTApplication. I am hoping to inject this EJB. Here is how I defined my application-client.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application-client xmlns="http://java.sun.com/xml/ns/j2ee"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
                                            http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
                        version="1.4">
        <ejb-ref>     
            <ejb-ref-name>cvt.server.HelloBean</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <remote>cvt.server.Hello</remote>
            <injection-target>
                <injection-target-class>cvt.client.TestCVTApplication</injection-target-class>
                <injection-target-name>helloEJB</injection-target-name>     
            </injection-target>  
        </ejb-ref>                   
        <callback-handler>
            cvt.client.MyCallbackHandler
        </callback-handler>
    </application-client>When I run my client, I am getting the below exception
    Exception in thread "main" java.lang.InstantiationException: Injection of multiple references to the same target[class = cvt.client.TestCVTApplication, field/property = helloEJB]
    Thanks for your help.
    Mustafa

    Injection is required to be supported in Application Client main classes. This error probably means you have defined two different dependencies that have the same target field name in the main class. Did you put an @EJB annotation in the main class in addition to adding the ejb-ref in the application-client.xml? You should just use either one or the other. Also make sure that the field in the main class has a "static" modifier.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • Env-entry-mapping in orion-application-client not available in JNDI lookup

    I have an application client module in my EAR file that I've configured to auto-start.
    It has a few env-entry defined in it's application-client.xml.
    When I deploy the EAR file to OC4J 10.1.3, the application client module gets started and can access these env-entry properties from its JNDIContext.
    Now, comes the problem. During the deployment process, I edit the Deployment Plan, and change the env-entry property values, and then deploy the application.
    However, the application client module still gets the original values when it does the JNDI lookups of those env-entry names.
    I have checked to see that OC4J creates an orion-application-client.xml during deployment and it shows the env-entry-mapping elements with the updated values.
    Why is the JNDI lookup returning the values from application-client.xml and not the overriden values set in orion-application-client.xml?
    I have tried this on OC4J 10.1.3, as well as 10.1.3.1.0 - got same behavior.
    Is this a bug in OC4J? This seems to work fine with ejb modules, but not application client modules.
    Thanks,
    Kalpak

    Avi!
    Of course, I had tried it before I wrote the question. I put the modified xml file into the application area. After that AS restarts OC4J instance. And then I find my xml without any changes I made! I tried to do the same thing from the AS console. The same!
    Leonid

  • How to run a application client in jboss?

    Hi guys i'm new to EJB and may have some qns to ask.
    I have create ejb java files, compile and package it as jar. Next i also create the .jsp pages and package it as war. I package the war and jar together with the xml files for deployment. The file works.
    Now i create a java file as an application client along with the application-client.xml file. Next i jar both the class and xml files together.
    Now , how am i going to run the client class file to produce the results since its jar up. I using jboss 4.0 to run the application.
    thanks
    Regards ChongMing

    Your J2SE client code should simply look up the required EJB homes using JNDI, and use the client interface to execute the EJB code. The example interfaces ejb.interfaces.SimpleHome and ejb.interfaces.Simple need to be packaged into the client JAR and placed in the classpath of test.java
    Example:
    import javax.ejb.EJBException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import ejb.interfaces.SimpleHome;
    import ejb.interfaces.Simple;
    public class test {
        public static void main(String[] args) {
            try {
                 InitialContext ctx = new InitialContext();
                 SimpleHome home = PortableRemoteObject.narrow(ctx.lookup("ejb/Simple"), SimpleHome.class);
                 Simple simple = home.create(); // or findByPrimaryKey(), etc.
                 simple.aMethod();
            } catch (NamingException ne) {
                // unable to look up SimpleHome
            } catch (EJBException ejbe) {
               // generic EJBException, maybe something went wrong with Simple?
            } catch (ClassCastException cce) {
               // SimpleHome was of the wrong type
    }I may have screwed up the JNDI lookup, as I might not be getting the context correctly, but I usually don't call EJB code from the command line. If I'm wrong, the only thing that will change is that ctx will have to be initialized differently. The rest should work the same.
    Brian

  • Access Data Source form  Application Client

    Hi All
    i try to access oracle application server r3 emilated XA data source using aplication client.But it fails.if some one know how to do that ples let me know.
    Note :- this works in other application servers (weblogic and websphere)
    Thanks
    Asanka Priyanjith

    HI Avi
    It is stand-alone java class that is outside of OC4J Package as JAR file. i Add application application-client.xml and orion-application-client.xml in to META-INF and add resource-ref element to XMLs as well. but it does not work. i am using oracle thin dirver in application server side.
    relavent code is ..
    DataSource ds = null;
    Connection db;
    try {
    Context initCtx = getInitialContext();
    ds = (DataSource) initCtx.lookup(name);
    catch (javax.naming.NamingException e) {
    if (!ignoreNamingException) {
    throw new javax.ejb.CreateException(e.toString());
    catch (Exception e) {
    throw new javax.ejb.CreateException(e.toString());
    db = ds.getConnection(); // This line does not works.
    lookup works, But after that i can not get a connection.
    java.lang.NoSuchMethodError: oracle.sql.CharacterSet.stringToASCII(Ljava/lang/St
    ring;)[B
    at oracle.jdbc.driver.DBConversion.stringToDriverCharBytes(DBConversion.
    java:386)
    at oracle.jdbc.driver.DBConversion.StringToCharBytes(DBConversion.java:4
    52)
    at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.jav
    a:152)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:294)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    430)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
    116)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
    75)
    at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnectio
    n(DataSourceConnectionPoolDataSource.java:57)
    at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADat
    aSource.java:55)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(M
    anagedConnectionFactoryImpl.java:239)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnect
    ion(ManagedConnectionFactoryImpl.java:198)
    at com.evermind.server.connector.ApplicationConnectionManager.createMana
    gedConnection(ApplicationConnectionManager.java:1333)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromF
    actory(ConnectionPoolImpl.java:324)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImp
    l.java:95)
    at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManaged
    Connection(ConnectionPoolImpl.java:1209)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(Connect
    ionPoolImpl.java:782)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnect
    ionFromPool(ApplicationConnectionManager.java:1532)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireCon
    nectionContext(ApplicationConnectionManager.java:1477)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateCo
    nnection(ApplicationConnectionManager.java:1423)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateCo
    nnection(OracleConnectionManager.java:244)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(Orac
    leConnectionManager.java:198)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
    a:197)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
    a:142)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java
    Thanks
    Asanka

  • Import location in wsit-client.xml to file in another jar

    Normally the wsit-client.xml has import statements like this:
    +<import location="foo.xml" namespace="http://foo.org/" />+
    I've found that their can be online 1 wsit-client.xml on the classpath/META-INF, but can I refer to an xml who's located into another jar in that wsit-client.xml? Something like :
    +<import location="classPathResource/WEB-INF/foo.xml" namespace="http://foo.org/" />+
    I would like to create a single wsit-client.xml who contains the imports for all my webservices but I want to separate the configuration for all the different webservices in to different projects.

    ApplicationClientInitialcontextFactory class is generally used with thick clients [A java swing client.] The client is bundled as a jar and application-client.xml is placed under the META-INF of the archive.
    For JSP clients you can try using com.evermind.server.rmi.RMIInitialcontextFactory to lookup the beans.
    [You can also tty placing the application-client.xml under a META-INF folder in the deployed JSP application root folder eg: j2ee/home/applications/MyApp/META-INF/application-client.xml]
    hope that helps
    IDC_OTN,
    Neelesh

  • FILE not found error: j2ee/home/applib/applications-mapping.xml (No such fi

    Hi EveryBody
    i have my applications-mapping.xml file already in the applib directory, but when i try to conect to a remote ejb i had this error[b]
    FILE not found error: j2ee/home/applib/applications-mapping.xml (No such file or directory)
    can anyone help??

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

Maybe you are looking for

  • Deficit of EKLA-LWSBB

    Dear Gurus; I have the next issue when I tried to make a material document cancellation with movement type 108, I used inbound and outbound deliveries scenarios. The system show me the next messages: Error: Deficit of EKLA-LWSBB 22.750 TS : 202031 XK

  • Swing issue in MAC

    I am facing peculiar issues in a Swing app on Mac OS X running JDK 1.4. The separators on the JMenus and grid lines in any JTable just don't show up on Mac. The same code works fine on Windows and Linux. Is there any thing different to be done for Ma

  • Moving all my data from my old ibook to my new powerbook

    Hi, i have recently purchased a 12" powerbook G4 and want to move all my data from my iBook G4. How can i make this happen so that it is set up exactly the same as my iBook including my Mail and all my other settings? Thanks Darren

  • Can Ideas Open A .pdf File?

    Says what it does on the tin - can Ideas open an illustrator .ai or .pdf or .eps file and edit it? Thanks, Peter

  • How to make a rubber effect like when you swipe between apps using 4 fingers on iPad ?

    Hey guys, So how to make a rubber effect like when you swipe between apps (first or last app) using 4 fingers on iPad iOS7 ? Any examples ? Thanks! Ivan