Error : Create Application server Connection.
Hi Friends,
I am new to SOA Suite,
I have installled SOA sute on my laptop on which i have Oracle -E-Business Suite R12.
I have installed "soa_windows_x86_101310_disk1_1" and J-Dev "jdevstudio10134"
My SOA suite is working fine (I think so) but when i am connecting thrpugh J-Develover i am getting error in the 4th step (Test)
The credential i am giving
1 AppServerConnection1
2Connection Type : Oracle AS 10g 10.1.3
3 user Name and Pwd which was given at the time of installation.
4 Connect to : single instance
5 Host name : Localhost
6 oc4jinstance name : home
7 OPMN port : 6003
and then trying test and getting error.
Error getting OC4j Process for : opmn-home+oc4j-localhost-6003-default: Error Connecting to OPMN(is it OPMN running?) connection refused connect.
I tried same thing on a different machine where this is working fine confused why it's not working on this machine. i have to do some integration work with BPEL and SOA with R12 hence this need to be installed on this machine.
Please help.
Bachan
Hi James,
I am getting this things please check and suggest.
As i am using 10.1.3.4.0 J-Dev hence i am downloading a patch set mentioned below. please suggest if i am picking wrong patch set.
Patchset: 10.1.3.4.0 20-Oct-2006
This patchset is not a standalone installation, it gets applied to an existing installation. You can apply this patchset to any earlier 10.1.3.x installation (i.e., the base release or any previous patchsets, even if you installed MLRs.) This is a cumulative patchset and includes all fixes from earlier patchsets. Download patchset number 7272722 from Metalink. Download size: 733 MB. Output which u have requested for.
E:\SOA_AS\10.1.3.1\OracleAS_1\opmn\bin>opmnctl
usage: opmnctl [verbose] [<scope>] <command> [<options>]
verbose: print detailed execution message if available
Permitted <scope>/<command>/<options> combinations are:
scope command options
start - Start opmn
startall - Start opmn & all managed processes
stopall - Stop opmn & all managed processes
shutdown - Shutdown opmn & all managed processes
[<scope>] startproc [<attr>=<val> ..] - Start opmn managed processes
[<scope>] restartproc [<attr>=<val> ..] - Restart opmn managed processes
[<scope>] stopproc [<attr>=<val> ..] - Stop opmn managed processes
[<scope>] reload - Trigger opmn to reread opmn.xml
[<scope>] status [<options>] - Get managed process status
[<scope>] dmsdump [<attr>=<val>&..] - Get DMS stats
[<scope>] set [<attr>=<val> ..] - Set opmn log parameters
[<scope>] query [<attr>=<val>] - Query opmn log parameters
ping [<max_retry>] - Ping local opmn
validate [<filename>] - Validate the given xml file
config [<options>] - Modify the opmn xml file
help - Print brief usage description
usage [<command>] - Print detailed usage description
E:\SOA_AS\10.1.3.1\OracleAS_1\opmn\bin>opmnctl ping
opmnctl: ping succeeded.
E:\SOA_AS\10.1.3.1\OracleAS_1\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
E:\SOA_AS\10.1.3.1\OracleAS_1\opmn\bin>opmnctl status
Processes in Instance: oc4jadmin.lk
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:home | 920 | Alive
ASG | ASG | N/A | Down
E:\SOA_AS\10.1.3.1\OracleAS_1\opmn\bin>Waiting for your reply.
Thanks
Bachan.
Similar Messages
-
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"
-
Hi All,
I have installed OAS 10.1.3 on Linux RH ES 4 and it is running.
But I get error when trying to create Application Server Connection from JDev 10.1.3.1. This is our first time with full version OAS, pls help..
Below is what I did :
On Connection Tab :
Connect To : Single Instance
HostName : Linux2
OPMN Port : 6003
OC4J Instance Name : appserver
When I do Test Connection I get this error :
Error getting OC4J Process for: opmn-appserver+oc4j-linux2.sas.co.id-6003-default:
Error connecting to OPMN (is it running?): Connection refused: connect
I have check with OPMN status on the OAS Server, it is running.
What is wrong here ?
Thank you for your help,
xtantoHi Xanto,
I assume it does work because but I could not get it to work. It may have been my inexperience with the connection settings to the server. There seemed to be a number of methods of deployment and it was unclear what was needed.
Also, when i used the Enterprise Server Control I could see the deployment crashing with out of memory errors.
The Enterprise Server Console link can be found on the home page for the AS eg:
http://your-server.com:7777/
Both the server port and oc4jadmin password would have been specified during the install of the 10G AS. The ESC is also needed for configuring security providers and settings for the OC4J.
If you find you are having memory problems this is the memory configuration fix from the middleware forums:
10.1.3 Apps Server java.lang.OutOfMemoryError: PermGen space
cheers,
Brenden -
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,
AdhiHi ,
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 -
Create Application Server Connection Wizard - Connection Type
Hi guys:
In the "Create Application Server Connection" Wizard - the Connection Type for the WebLogic 10.x is missing??
ThanksThat's because WebLogic 10 went into production after JDeveloper 10.1.3 was already out.
Try and see if the WebLogic connection that is in there still works with 10.
If not you can just create the EAR/WAR file from JDeveloper and pick it up and deploy them with the Weblogic admin interface or with an Ant task. -
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 advanceHi,
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 -
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 AMTry 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 -
Problem creating Application Server Connection
Hi,
I am experiencing some problem in getting the connection to work right after I install the JDeveloper 10.1.3, the following is the configuration I used, please help me on this:
Connection Type: Standard OC4J 10g 10.1.3
Host name: localhost , RMI Port: 23791
Firewall for port 23791 is turned off for both UDP and TCP.
When I test for connection, I got the following error:
Error while getting remote MBeanServer for url: ormi://localhost: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]
I do not understand why this happen. Do I need to turn on any server to get this to work? Please help me. Thanks.Hi Timo,
Thanks a lot. After doing much research here and there, I managed to get it work. I think it would be better that I shared my experience with everyone and this is how I get my first JSP on JDeveloper (OC4J) to work:
- Start the OC4J server by running [Where you installed your JDeveloper]/jdev/bin/start_oc4j.bat
- Create an application server connection. [For username: admin, password: welcome, URL: ormi://localhost:23791/]
Just wonder if anyone can give me a clue on how do I change my port to 80 instead of the default 8988 and also how to change the context root? -
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. -
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 advanceNo 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. -
"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 LinuxYou are in the wrong forum for that question.
-
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 -
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 -
Can't create Application Server Connection in JDeveloper
I am trying to make a connection to my Application Server (a Remote DCM connection) but when I test it, I get the following message
D:\win32app\JDeveloper9.0.3\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar D:\win32app\JDeveloper9.0.3\jdev\lib\oc4j_remote_deploy.jar http://PENELOPE:1810/Oc4jDcmServletAPI/ ias_admin ora9as listApplications E:\oracle\oraas92
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications E:\oracle\oraas92 UNDEFINED UNDEFINED UNDEFINED
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 404, HTTP response msg = Not Found
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (404)
#### Invalid servlet path
What could be the problem?
ThanxOkay, I tried it. But it fails now I get following Error Messages in JDev:
What am I doing wrong?
C:\JDev903\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\JDev903\jdev\lib\oc4j_remote_deploy.jar http://lin1.hama.de:1811/Oc4jDcmServletAPI/ ias_admin XXX listApplications /home/oracle/ias902/
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /home/oracle/ias902/ UNDEFINED UNDEFINED UNDEFINED
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
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 25 09:35:45 CET 2002 ** ** EXCEPTION: java.io.StreamCorruptedException: InputStream does not contain a serialized object
java.io.StreamCorruptedException: InputStream does not contain a serialized object
void java.io.ObjectInputStream.readStreamHeader()
ObjectInputStream.java:849
void java.io.ObjectInputStream.<init>(java.io.InputStream)
ObjectInputStream.java:168
void oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId()
oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(java.lang.String)
oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(java.lang.String[])
Oc4jDcmMain.java:71
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
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 -
How to Create Application Server Connection in Jdev 10g?
I have Jboss 4.0.x installed on my system and working fine. How I can import the connection to JDev application server?
Thanks
MitMit,
No need to import the connection. Just create a connection for Application Server.
step-1 : Go to VIEW > DATABASE CONNECTION NAVIGATOR
step-2 : Right click on APPLICATION SERVER
step-3 : Select New Connectionn from the context menu.
step-4 : Enter the Details
--Neelmani Jaiswal
(Madhav, Hayaghat)
Edited by: Neelmani Jaiswal on Feb 3, 2009 8:44 AM
Edited by: Neelmani Jaiswal on Feb 3, 2009 8:45 AM
Maybe you are looking for
-
Why can't I get Automator to open multiple files at once?
I'm trying to do something relatively simple with Automator: I want it to open (in Photoshop) all RAW files within a certain folder. Here is what I have: 1. Get folder contents 2. Filter Finder items: Name Extension Contains "RAW" 3. Open Finder item
-
Error in Seeburger Message Monitoring
Hi , I m using Seeburger as Sender R/3 System.and the receiver is Xi.as an idoc file. I m getting error in seeburger message monitoring with status as "Could not send ansynchrone MDN to partner - url not set!". can anybody tell me whats the reason be
-
Error message: pluin container for Firefox has stopped working
I got this message while downloading photo to an e-mail I was sending.
-
How to open a second browser window
I want to click on a button and have it open a second browser window. How?
-
My iMac is running very slowly when trying to retrieve data from the internet.
Safari hangs on all web pages, take at least 15mins to download a single page. Connecting iTunes Store hangs indefinitely. I am running OS X 10.7.5. All other devices connected to my router have no problems accessing the web including NetFlix throug