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
Similar Messages
-
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 -
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. -
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
KamleshHTTP 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? -
Unable to setup BAM server connections from JDeveloper
Hi
I have installed BAM on XP .I'm able to access BAM from frontend and all services are up and running. When i tried to set up a BAM server connection from Jdeveloper , it failed.
How do i get the values for the following parameters..
Host Name:
Port Number: 80
User Name:
Password:
Domain Name:
Your help in this regard is highly appreciated.
Thanks
Laj AbrahamHost name will be the host where BAM is installed
User name will be the user name of a user granted access to BAM
Domain name will be that user's domain
Password will be the user's password
By default the user you used to install BAM is automatically granted acces, you can use the administrator page in BAM to add additional users -
Error while creating a application server connection in jdeveloper 10.1.3.2
When I am trying to create a connection using the wizard with the following inputs
hostname as :- localhost
RMI Por as 22667
When I use the test conection receive the following error
racle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://localhost:22667/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:613)
Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
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: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 20 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
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:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 more
---- Embedded exception
javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
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:613)
Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 20 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
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:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 more
---- Embedded exception
java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
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:613)
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
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:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 moreCaused by: java.net.ConnectException: Connection refused
Is the Oracle application server running? -
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 -
Cannot Create an Application Server Connection in JDeveloper
I am going through the tutorial titled "Building J2EE Web Applications" at the following URL:
http://otn.oracle.com/products/jdev/htdocs/j2eedev.html
I have been able to sucessfully setup a separate instance of OC4J. But when I try to establish the connection using JDeveloper's connection wizard and the instructions provided. I get the Invalid Username/Password Error.
Any inputs will be highly appreciated.
Thanks
PankajThanks Lynn - It works for me...!!
Pankaj -
The default username/password combo is 'admin' and 'welcome', respectively. You can change this in the principals.xml file or look at http://otn.oracle.com/tech/java/oc4j/htdocs/how-to-jazn.html for info on how to encrypt the username/password.
Hope this helps,
Lynn
Java Tools Team -
Unable to make UDDI Registry connection from Jdeveloper 11g
Hi all,
I am getting the below error while trying to connect to UDDI registry inquiry end point from Jdeveloper 11g.
Testing connection with proxy proxy.tcs.com:8080...
Contacting http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/...
The inquiry endpoint could not be contacted. Test failed.
Unsupported response content type "text/html", must starts with "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Error Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<STYLE id=L_10060_1>A {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #005a80; FONT-FAMILY: tahoma
A:hover {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0d3372; FONT-FAMILY: tahoma
TD {
FONT-SIZE: 8pt; FONT-FAMILY: tahoma
TD.titleBorder {
BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 0px solid; COLOR: #955319; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
TD.titleBorder_x {
BORDER-RIGHT: #955319 0px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 1px solid; COLOR: #978c79; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
.TitleDescription {
FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: tahoma
SPAN.explain {
FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
SPAN.TryThings {
FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
.TryList {
MARGIN-TOP: 5px; FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: tahoma
.X {
BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12pt; BORDER-LEFT: #955319 1px solid; COLOR: #7b3807; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: verdana; BACKGROUND-COLOR: #d1c2b4
.adminList {
MARGIN-TOP: 2px
</STYLE>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY bgColor=#f3f3ed>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD class=titleborder_x width=30>
<TABLE height=25 cellSpacing=2 cellPadding=0 width=25 bgColor=black>
<TBODY>
<TR>
<TD class=x vAlign=center align=middle>X</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD class=titleBorder id=L_10060_2>Network Access Message:<SPAN class=TitleDescription> The page cannot be displayed</SPAN> </TD>
</TR>
</TBODY>
</TABLE>
<TABLE id=spacer>
<TBODY>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TABLE width=400>
<TBODY>
<TR>
<TD noWrap width=25></TD>
<TD width=400><SPAN class=explain><ID id=L_10060_3><B>Explanation:</B></ID></SPAN><ID id=L_10060_4> The request timed out before the page could be retrieved. </ID><BR><BR>
<B><SPAN class=tryThings><ID id=L_10060_5><B>Try the following:</B></ID></SPAN></B>
<UL class=TryList>
<LI id=L_10060_6><B>Refresh page:</B> Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
<LI id=L_10060_7><B>Check spelling:</B> Check that you typed the Web page address correctly. The address may have been mistyped.
<LI id=L_10060_8><B>Contact website:</B> You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
</UL>
<ID id=L_10060_9>If you are still not able to view the requested page, try contacting your administrator or Helpdesk.</ID> <BR><BR>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE id=spacer><TBODY><TR><TD height=15></TD></TR></TBODY></TABLE>
<TABLE width=400>
<TBODY>
<TR>
<TD noWrap width=25></TD>
<TD width=400 id=L_10060_10><B>Technical Information (for support personnel)</B>
<UL class=adminList>
<LI id=L_10060_11>Error Code 10060: Connection timeout
<LI id=L_10060_12>Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
<LI id=L_10060_13>Date: 8/11/2011 6:03:20 AM [GMT]
<LI id=L_10060_14>Server: INCHNSIRCEL01.India.TCS.com
<LI id=L_10060_15>Source: Firewall
</UL>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
I am getting the below page while trying to open the endpoint from browser.
*<definitions name="UDDI_API_V3" targetNamespace="urn:uddi-org:api_v3generated/">*
*<import namespace="urn:uddi-org:api_v3" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/3.0/wsdl"/>*
*<import namespace="urn:uddi-org:inquiry" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/1.0/wsdl"/>*
*<import namespace="urn:uddi-org:api_v2" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/2.0/wsdl"/>*
*</definitions>*
Please help me in fixing the above issue.
Regds,
HariniHi,
See this.
<LI id=L_10060_11>Error Code 10060: Connection timeout
<LI id=L_10060_12>Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
<LI id=L_10060_13>Date: 8/11/2011 6:03:20 AM [GMT]
<LI id=L_10060_14>Server: INCHNSIRCEL01.India.TCS.com
<LI id=L_10060_15>Source: Firewall
It means that you are testing the service from behind the proxy. Try adding the hostname, 127.0.0.1, localhost etc to the exception list and see if it helps.
-Arun -
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 -
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
PonrajIt 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 -
MapiExceptionNetworkError: Unable to make admin interface connection to server
Receiving the following error trying to move mailboxes from Exchange 2003 to 2007 after installation. Verified all NIC's are configured. All Exchange processes are running as 'Local system'. Any other suggestions?
MapiExceptionNetworkError: Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:......
Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating component: 2
Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753
Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: vienna1.cvesd.org
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1988875570
Lid: 15000 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Pointer val: 0x0x04a4cef0 (UnknownPtag)
Lid: 23746
Lid: 31938 StoreEc: 0x80040115
Lid: 19650
Lid: 27842 StoreEc: 0x80040115
Lid: 20866
Lid: 29058 StoreEc: 0x80040115
Exchange Management Shell command attempted:
'e3e40217-6649-43be-9feb-0c4e594cbcf1' | move-mailbox -BadItemLimit '10' -TargetDatabase 'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,I ran into the same problem during the migration from SBS 2003 Premium with ISA Server 2004 to SBS 2011 Standard, and that is how
I found this thread.
I have tried ALL of the proposed solutions but unfortunately nothing worked for me…
Even though you paid proper attention to the migration path from SBS2003 to SBS2011 manual, followed all the steps, and performed
the suggested step:
To configure remote procedure call (RPC) filtering
1.
Click
Start, click All Programs, click Microsoft ISA Server, and then click
ISA Server Management.
2.
In the ISA Server Management Console tree, expand
Microsoft Internet Security and Acceleration Server 2004, expand
ServerName, and then click Firewall Policy.
3.
In the details pane, click the
SBS Protected Networks Access Rule.
4.
On the
Taskstab, click Edit Selected Rule.
5.
On the
Protocolstab (for an access rule), click Filtering, and then click
Configure RPC protocol.
On the
Protocols tab, clear the Enforce strict RPC compliance check box, and then click
Apply.
…you will still get the notorious
MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227) error.
Here is the solution to the Small Business Server 2003 with ISA Server 2004 migrating to the next level scenario:
*** Disable RPC Filter ***
To disable remote procedure call (RPC) filter
1.
Click
Start, click All Programs, click Microsoft ISA Server, and then click
ISA Server Management.
2.
In the ISA Server Management Console tree, expand
Microsoft Internet Security and Acceleration Server 2004, expand
ServerName, expand Configuration, and then click
Add-Ins.
3.
In the
Application Filters pane, click the RPC Filter.
4.
On the
Tasks tab, click Disable Selected Rule.
To save changes and update the configuration, click
Apply.
I also opted to restart the service when prompted after hitting the “Apply” button.
I hope this helps someone to keep whatever is left of his or her hair and lower the blood pressure a bit :)
This was the solution also!!
Thanks. My heart doctor says that now, ina few weeks i will be fine. and hope my hair grows again.. :)
Thank you very much
mpleite -
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 -
While cerating application server connection JDeveloper is closing
Hi,
I have installed jdevstudio11111, cerating the application server connection and testing JDeveloper is crashing. please suggest me the solution.
Thanks in Advance.
TalluriHi,
can you provide steps to reproduce this ? Also, please mention the OS and the proper JDeveloper version - see help--> about and copy / paste the label version
Frank -
Mailbox Move Not Complete - Unable to make admin interface connection to server.
Hello,
I have added a second exchange 2007 server and have moved over 20 mailboxes to the new server. I seem to have a problem that the mailbox move has not been completed properly. I'm getting errors in the event log that the search indexer cannot connect to the
admin interface. I'm also unable to login as any one of the users who I've moved to the new server.
Here's one of the errors I'm getting:
Exchange Search Indexer has temporarily disabled indexing of the Mailbox Database Third Storage Group\Mailbox Database 03 (GUID = d4f3ee4d-68b0-4d21-8a76-ee96bf298f34) due to an error (Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError:
Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating component: 2
Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753
Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: EP-SW-EX04
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1988875570
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662
Lid: 24060 StoreEc: 0x80040115
Lid: 23746
Lid: 31938 StoreEc: 0x80040115
Lid: 19650
Lid: 27842 StoreEc: 0x80040115
Lid: 20866
Lid: 29058 StoreEc: 0x80040115
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
at Microsoft.Mapi.ExRpcAdmin.Create(String server, String user, String domain, String password)
at Microsoft.Exchange.Search.NotificationWatcher.NotificationWatcherThread()).Hello,
I have been fighting today with the migration off my old SBS2003 server to a brand new SBS2008 server. I have been preparing this migration for a couple off weeks
now (watching videos, reading migration manual from Microsoft, searching TechNet, etc.)
After some troubles with installing the server in Migration mode if finally came to the part to move my old (legacy) mailboxes to the new SBS2008 server. At this point the drama started @#$@$#&^%%#$@
I followed the manual off Microsoft which descripted how to move these mailboxes.
Exchange displayed a error message :
MapiExceptionNetworkError: Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)
When I googled this error message I realized that many people encountered the same problem but no one had the right answer to this question. I have searched hours and hours to find a solution. It started to drive me crazy and to make it even more worse i discovered
that even though i completed the first step in the migration proces (update the schema to allow a SBS2008 DC to join the domain) my replication with the other DC controllers came with a schema mismatch error???? WTF is going on !!!!!!!!
Finally a brilliant college off me came with the answer that solved all my problems: To GET RID OFF THIS ERROR MESSAGE INSTALL: Messaging API and Collabration Data Objects 1.2.1 on the Exchange server.
After moving about 60 mailboxes my blood pressure dropped and became stable again.
I Have on finall question WHY Microsoft? Was this to much trouble to put this in het migration manual off 81 pages?
from-a-very-disappointed-microsoft-user
PLS: send me a reply if this solved you're problem moving the mailboxes to the new server. !
Maybe you are looking for
-
Data in ODS, Info cube ans Multiprovider(List cube) are in Sync.
Hi, My query is built on multiprovider. The data flow is data source u2013 ODS then ODS u2013 Info cube and multiprovider contains Info cube only. Data in ODS, Info cube ans Multiprovider(List cube) are in Sync. The query results are not tie up ODS,
-
Cannot delete last Deployment Type as it is referenced by a previously deleted Deployment Type
Hi guys... I have previously created dependencies between two (2) separate Application's Deployment Types (DT) as such: "DT_A in Application_A" depends on "DT_B in Application_B" During some test procedures, we have deleted the whole of Application_A
-
Several user status at the same time
Hi Export, As I found, we can only choose one status from the list in WBS. Is there any config can make it possible to select multi status in one time? Thanks, Liang
-
ITunes update failed to reinstall on 64-bit Windows 7 Home Premium
Never had problems before with iTunes update. I never had to do anything besides accepting the agreement, followed the prompts, and clicked "Finish" at the end of the installation. But the update that came 3 days ago failed to install, with a message
-
Windows 7 installation problem
Hi, I'm trying to install Windows 7 (specifically, it's windows 7 professional with service pack 1, 64-bit) on my mac (a 13-inch mid-2012 MacBook Pro running OSX 10.8.3) via Boot Camp, and I've run into a problem. I had no issues when going through t