Setting up application Server Connection

Dear
I have installed JDevoloper Server 11g on my machine and am able tp cpnnect to DB.
But i Dont know How to connect to my Oracle applcation Server. Me tried from my end but its failing.
Can anyone please help.
Regards
Musaddaq

"In past releases, Oracle Application Server included Oracle Containers for Java EE (OC4J), which provided an industry-standard container for developing, deploying, and managing your Java EE applications.
For Oracle Fusion Middleware 11g, OC4J is replaced with Oracle WebLogic Server."
Introduction to Oracle WebLogic Server for OC4J Users - 11g Release 1 (11.1.1)

Similar Messages

  • Application Server Connection in Jdeveloper

    Hi,
    Im facing issues in establishing Application Server Connection in JDevloper (10.1.2.1.0).Basically, im creating a JSR portlet. I followed the steps provided in the link "http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm".
    The below error is encountered while testing connection
    "D:\Kamlesh\Oracle\jdev1012\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar D:\Kamlesh\Oracle\jdev1012\jdev\lib\oc4j_remote_deploy.jar http://pcidl17672.cts.com:7778/Oc4jDcmServletAPI/ oc4jadmin **** listApplications E:\oracle\OraPortal
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications E:\oracle\OraPortal UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to oc4jadmin
    Sending command to DCM servlet
    HTTP response code = 401, HTTP response msg = Unauthorized
    #### HTTP response is NOT ok
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (401)
    #### Authorization failure. Please, check your username/password.
    Actually im deploying the portlet from the remote machine.I gave the default port as 23791.But I'm not sure about the UserName\Password i gave the enterprise manager username and password "ias_admin\ias_admin1".Can you please help?
    Thanks
    Kamlesh

    HTTP connection failure: unknown port number or missing HTTP listener
    Check the RMI port in configuring a connection with the OC4J server.
    Is the OC4J server started?

  • Application Server connection from a remote Jdev

    Hi All,
    I am trying to create an Application Server connection in Jdeveloper which runs on a different machine. It throws this "cannot connect the server" error.
    But I am able to do the same if the Jdev is run on the same system where SOA Suite server runs.
    The OAS version is 10.1.3.4, Jdev version is also 10.1.3.4
    Could anyone please tell me the solution.
    Thanks
    Ponraj

    It is probably a network issue. Do you use proxies to get to the server, or should no proxies be used because it is in the intranet?
    Have a look at your IE / firefox settings in regards to proxies. You need to replicate this setting in JDev.
    Goto tools -> preferences -> Web browser and Proxy settings
    In most cases all you need to do is disable the proxy to connect
    hope this helps
    cheers
    James

  • Unable to make Application Server Connection in JDeveloper!

    Hi all,
    I am about to deploy my Webservice into my development instance.
    However, when i tried creating the application server connection, I get the following error...
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://ihrms03:25515/default
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found [Root exception is java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:+
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found]+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     ... 14 more+
    Caused by: java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     ... 20 more+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    ---- Embedded exception
    javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found [Root exception is java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:+
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found]+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     ... 20 more+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    ---- Embedded exception
    java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    My connection is configured as of the following:
    Connectoin Type: Oracle Application Server 10g 10.1.3
    Username: oc4jadmin
    Password: ######
    Connection To: Single Instance
    HostName: 10.251.28.21
    OPMN Port: 6203
    OC4J Instance: oafm
    When I test connection, I get the following response:
    Error while getting remote MBeanServer for url: ormi://ihrms03:25515/default:
    Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    WEIRD THING IS THAT I am able to successfully connect to Production Instance!!!! I have no clue how this is happening...!
    Is there any config I am missing? Any file somewhere that lacks some configuration setting?
    Pleaseeeee advice???
    Thanks a million in advance!

    Hi John,
    thanks alot. You friend is lovely! And you're definitely da man! :D
    I took the steps to include the server ip details in my host file in my etc\hosts .
    Connection successful!
    HOWEVERRRRRR.....
    today i tried to make a new connection to the same server and I received the same error! my existing connection still shows successful...
    I can't make any new connections now at all! even to instances that were tested succesfull earlier...!! :(
    Please advice... pretty please...
    Actually I just noticed the error message is not the same now!!!
    this is the error Im getting:
    Error while getting remote MBeanServer for url: ormi://ihrms03:25515/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]+
    Edited by: user12131493 on Aug 18, 2010 9:10 AM

  • Creating Application Server connection

    First of all, I am quit new with JDeveloper and oracle.
    I use JDeveloper 10 and want to set up a Application server so I can create portlets.
    I try to follow [this step by step from oracle|http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm]
    I stop with the create "Creating an Application Server Connection".
    I use the following settings :
    Connection name : AppServerConnection3
    Connection type : Oracle Applications Server 10 g 10.1.2 (windows)
    username : oc4jadmin
    password : hidden
    Enterprice manager OC4J Host Name : Localhost
    Enterprice manager OC4J HTTP port : 23791
    Remove servers oracle home directory : c:\oc4j
    OC4J Instance name (optional) :
    RMI server url : ormi://localhost:23791
    RMI username : admin
    When i test the result is : Test failure (-1). HTTP return code was -1
    The log says this :
    E:\JdevTools\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar E:\JdevTools\jdev\lib\oc4j_remote_deploy.jar http://localhost:23791/Oc4jDcmServletAPI/ oc4jadmin **** listApplications c:\oc4j
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications c:\oc4j UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to oc4jadmin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    **** Could not get session id from Oc4jDcmServlet
    ** Thread[main,5,main] ** Mon Nov 17 13:54:17 CET 2008 ** ** EXCEPTION: java.io.StreamCorruptedException: invalid stream header
    java.io.StreamCorruptedException: invalid stream header
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
         at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId(Unknown Source)
         at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source)
         at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unknown Source)
         at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
    Please, wait for command to finish...
    Checking command status...
    Setting userName to oc4jadmin
    Command has finished
    Receiving command exit value
    #### Could not receive command output from Oc4jDcmServlet
    Receiving command output
    #### Could not receive command output from Oc4jDcmServlet
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Any idea whats wrong ?
    I have started the oc4j server
    E:\JdevTools\jdev\bin>start_oc4j
    Starting OC4J with command: "..\..\jdk\bin\java.exe" -XX:MaxPermSize=256m -jar oc4j.jar
    08/11/17 13:25:27 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    This is alot of info, I dont know whats relevance.

    Hi ,
    I want to create a new application server connection but i have a problem which is:
    Test failed (404). Invalid servlet path
    i don't understand what's the pb.
    I used the SOA 10.1.3.1;
    Thx for your reply

  • Oracle Application server connection pool and database links

    I am using Oracle application server 10g with connection pools, the db used by the application connects to another oracle db using a database link. My question is when the application starts it creates 10 connections, does it also create x amount of database links as well?

    Hi,
    Is there any way to use the connection pool or Datasource while connecting to database?If I am using a stateless sesssion bean and using a Data Access layer which just creates a database session to write the persistence toplink objects how I can make use of application server connection pool?Hi Vinod,
    Yes, TopLink allows you to use the app server's connection pooling and transaction services. Chapter 2 of the Oracle9iAS TopLink Foundation Library Guide provides details as do the TopLink examples. The easiest way to set this up is by using the sessions.xml file. The sample XML below is from the file <toplink903>\examples\ias\examples\ejb\sessionbean\sessions.xml. Here we are adding the datasource defined in OC4J and specifying that we are using the OC4J transaction controller also.
    <login>
    <user-name>sa</user-name>
    <password></password>
    <datasource>java:comp/env/jdbc/ejbJTSDataSource</datasource>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    When using this approach you need to change your TopLink code slightly in the EJB methods:
    a. Acquire the ACTIVE unit of work from the server
    session (again, see the EmployeeSessionEJB code
    example) with something like:
    UnitOfWork uow = clientSession.getActiveUnitOfWork();
    b. Calls to uow.commit() can be ommitted or commented out
    because the EJB will handle this. Note that of course
    the methods you create in the EJB that are using this
    approach must have TX Required (default).
    Hope this helps.
    Pete

  • Unable to create application server connection in Jdeveloper 10.1.3.3

    Hi All,
    I am using Jdeveloper 10.1.3.3. As my soa environement is clustered and we have 2 nodes on server.
    While create application server connection jeveloper is giving error as : **Bad OPMN server host address*. I am able to accesss application using mozila or internet explorer. Will it provide different host name while soa is installed in clustered environment. Please help me in this.
    Regards,
    Adhi

    Hi ,
    Are you behind a proxy in Firefox or IE?
    If so try to give the same proxy and the proxy avoidance IP's in JDeveloper proxy configuration.
    If server couldnot be communicated from Jdev then this will be the first place i will look into .
    Thanks,
    Praveen

  • Error While creating Application server connection

    Hi ,
    I am a newbie to SOA suite . I have installed Oracle XE Database , Oracle Jdeveloper 10.1.3.3.0.3 and Oracle SOA Suite 10g (10.1.3.1) ( file name soa_windows_x86_
    101310_disk1.zip) on my windows XP machine
    Now I created a "Hello World Bepel Process '" . For deploying it I was trying to create an application server connection . I am not sure that I need to install anymore things or not .
    Here are the steps which happened while I was trying to make connection to application server.
    1> Connection Name : Gave as "AppServerConnection1"
    Connection Type as "Standalone OC4J 10g 10.1.3"
    2> UserName as : oc4jadmin
    Password : Gave my password
    3> Hostname : localhost
    RMI Port was coming as 23791 as default ( Please note that I checked opmn folder and tried to use the RMI from the xml file too)
    4> While testing I was getting error as "For input string: "23791home"
    Not sure if i need to install anything ( Probably Application Server ) more .
    Please let me know what I need to do and if i need to install anything else where will I find the file ?
    Thanks in advance

    Hi,
    Connection Type as "Standalone OC4J 10g 10.1.3"
    When choosing the connection you need to select the connection as Oracle Application Server 10.1.3 not Standalone OC4J 10g 10.1.3

  • Preblem facing in creating application server connection in Jdeveloper

    Hi All,
    I am using weblogic 10.3.1 and Jdeveloper 10.1.3.5.
    I want to deploy an ear file in my weblogic server. Can anyone plesae guide me how can I create a application server connection in Jdeveloper 10.1.3.5
    Thanks in Advance!!

    Can't you just go to the connections navigator, right-click and select New Application Server Connection, and then just use the wizard? What is the problem you are facing?
    Try selecting Oracle Application Server 10 or OC4J 10g.

  • JDeveloper - Error when trying to create an application server connection

    Hello everyone,
    I am trying to use JDeveloper to create a connection an Oracle WebLogic Server configured for Oracle SOA Suite. When I navigate to Connections and click on Application Server Connection, JDeveloper produces and error with the diagnostics shown below. I'm new to using JDeveloper so any help or advice on how to start to resolve this issue would be greatly appreciated. Fore the record I'm using JDeveloper 11G R2 (11.1.2.1.0) running on a Linux Red Hat 5 64 bit server.
    Performing action (39) Close All [ from  ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    Performing action (272) New Application... [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    Invoking command: [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    18-Oct-2011 10:37:02 oracle.adfinternal.rc.connection.AdfConnectionContextProvider getConnectionContext()
    SEVERE:
    oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
         at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
         at oracle.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
         at oracle.jdeveloper.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
         at oracle.jdeveloper.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
         at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
         at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
         at oracle.jdeveloper.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:530)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
         at oracle.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
         at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
         ... 24 more
    oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
    o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
    o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
    o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
    o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
    o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
    o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
    o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by:
    java.lang.NullPointerException
    o.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
    o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
    o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
    o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
    o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
    o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
    o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
    o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Thanks,
    Shaun.

    Not sure if this is a cause for your error, but JDev11.1.2.1.0 doesn't work with SOA right now. For SOA you need to use jdev11.1.1.5.0 or lower.
    Timo

  • How to Create Application Server Connection in Jdev 11g?

    Hi all
    Can any one help me with the below requirement
    is there any way to deploy the WAR or EAR to an Application Server in Jdev11g. In Jdev 10g We used to configure the Application Server& Integration Server Connections by starting up the SOA Suite 10g.
    Similar to that What is the best option in Jdev11g. Jdev 11g comes with the embadded bea weblogic server, If I want to cerate the Application Server Connection do I need to separately configure the weblogic server?
    Thanks in advance

    No you can't.
    ADF 11g applications require support for parts of Java EE 5 that are not there in OAS 10 (will be there in Fusion Middleware 11g).
    So there is no one click deployment options.
    You can however develop an application that uses J2EE 1.4 in JDev 11 without ADF - then create EAR/WAR and manually deploy to OAS.
    See the JDeveloper FAQ linked from the JDeveloper home page for more info.

  • MBeanServer Error when using Application Server Connection

    I am using Version 10.1.3.3.04157 of JDeveloper and Oracle Application Server 10.1.3.1.0.
    When I try to test my "Application Server Connection" the following error occurs:
    "Error while getting remote MBeanServer for url: ormi://localhost:6003/default:
    Error reading application-client descriptor: Error communicating with server: Disconnected; nested exception is:
         javax.naming.CommunicationException: Disconnected [Root exception is java.io.EOFException: Disconnected]"
    Thanks!

    Did you get any solution?
    I am facing same problem.

  • Got Error when creating application server connection

    Hi Guys...I am using SOA 10.1.3.1.0
    I got the following error when creating application server connection
    In Step 1:
    I selected the Connection type as Standalone OC4J 10.1.3 (Why because I use this one)
    In Step 2:
    In this step I gave username and password (same username and password to connect to BPEL console)to authenticate connection
    In step 3:
    It is asking for Hostname, RMI port and URL path. My computer name is gopal-computer. I gave this hostname. RMI port number is 23791 by default. I kept this one as it is and URL path optional I think. I did not give any thing.
    In step 4:
    When I hit the test connection button its giving the following error
    Error while getting remote MBeanServer for url: ormi://gopal-computer:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    Please help me.
    Thanks,
    Gopal.....

    For SOA Suite connection you should choose "Oracle application server 10g 10.1.3"

  • Error in oracle application server connection

    The following error appears when I try to add and test oracle application server connection in JDev 10.1.3 :
    Error getting OC4J Process for: opmn-home+oc4j-Orbit-7777-default:
    Error while parsing OPMN dump in XML format: XML Parse Exception: tag=[null] Ran out of data, content []
    please what I can do to solve this problem

    Hi
    The OS is windows XP. The steps are as the following
    1.     Start Oracle process manager
    2.     from connections tap; right click on Application server and select new application server connections
    3.     enter connection name and select type from the list “oracle application server 10g 10.1.3 and press next
    4.     enter user name and password then next
    5.     enter hostname which is my PC name='Orbit' , OPMN port = 7777, OC4J instant name = “home” and select ‘single instant ‘
    6.     test the connection
    7.     get error
    “Error getting OC4J Process for: opmn-home+oc4j-orbit-7777-default:
    Error while parsing OPMN dump in XML format: XML Parse Exception: tag=[null] Ran out of data, content []”

  • "Invalid Oracle Home directory" error in Application Server Connection

    I have Jdeveloper 10g on Windows XP and want to create an Application Server Connection.
    After specifying required i get Test failed (-2). Invalid Oracle Home directory whenever I go for testing it.
    My Application Server in Linux

    You are in the wrong forum for that question.

Maybe you are looking for