Error while running OC4J instance [message #301128] |
Tue, 19 February 2008 04:36  |
ganesh_jadhav0509
Messages: 74 Registered: May 2007 Location: Chester
|
Member |

|
|
hi gurus,
i had install 10g ds on linux server and then configure the path in formsweb.cfg file and also in test.env file which is created by me.ok
now when i start the OC4J or startinst.sh my forms get run..
and now i want to add some more code for in registry so i want to stop OC4J or stopinst.sh that gave me following error.
checkIsLocalHost() error: localhost: localhost
Error: Unable to find java:comp/ServerAdministrator: Unknown host: localhost
and after that i again start OC4j instance it also gave me following error
OC4J Instance for Oracle Developer Suite 10g Started. Standard Output redirected to /peil/emsorac/j2ee/DevSuite/log/stdout.log.
Error output (stderr) redirected to /peil/emsorac/j2ee/DevSuite/log/stderr.log.
when i saw the stderr.log file it shows me
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.Server.createServerSocket(Server.java:165)
at com.evermind.server.jms.JMSServer.initializeSocket(JMSServer.java:1143)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:180)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2363)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1458)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
at java.lang.Thread.run(Thread.java:534)
08/02/19 15:53:03 Error starting ORMI-Server. Unable to bind socket: Address already in use
does any one have clue about this sort of error
|
|
|
|
Re: Error while running OC4J instance [message #301305 is a reply to message #301279] |
Wed, 20 February 2008 00:38   |
ganesh_jadhav0509
Messages: 74 Registered: May 2007 Location: Chester
|
Member |

|
|
The server i m using, on that server oracle apps is already installed.
after i install the ds it takes the default port of oracle apps(9240) and gives the error
08/02/20 11:35:37 *** (CRITICAL) Wed Feb 20 11:35:37 IST 2008 [Thread[Orion Launcher,5,main]] java.lang.InstantiationException:
jms.xml: port 9240 already in use.: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.Server.createServerSocket(Server.java:165)
at com.evermind.server.jms.JMSServer.initializeSocket(JMSServer.java:1143)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:180)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2363)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1458)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
at java.lang.Thread.run(Thread.java:534)
08/02/20 11:35:37 Error starting JMS-Server: jms.xml: port 9240 already in use.: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
"stderr.log" [readonly] 26L, 1808C 2,2-9 Top
i think it will be conflict between oracle apps and Ds. It is using the port of oracle apps so how can i change the port of my DS.
[Updated on: Wed, 20 February 2008 19:24] by Moderator Report message to a moderator
|
|
|
|
|
|