Home » Developer & Programmer » Forms » Error while running OC4J instance
Error while running OC4J instance [message #301128] Tue, 19 February 2008 04:36 Go to next message
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 #301279 is a reply to message #301128] Tue, 19 February 2008 23:27 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I don't think you should install DS on your Linux server. You should be using the AS.

David
Re: Error while running OC4J instance [message #301305 is a reply to message #301279] Wed, 20 February 2008 00:38 Go to previous messageGo to next message
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

Re: Error while running OC4J instance [message #301316 is a reply to message #301305] Wed, 20 February 2008 00:51 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Explain why you want to run the DS and the AS on the same machine. Normally you run the DS on your development PC, copy your forms as FMBs to the AS server, recompile there and then run the form against the AS.

David
Re: Error while running OC4J instance [message #301326 is a reply to message #301128] Wed, 20 February 2008 01:17 Go to previous messageGo to next message
ganesh_jadhav0509
Messages: 74
Registered: May 2007
Location: Chester
Member

Thanks for replaying,

Actually we have the different software so when we need to change some setting on my package then i cannot stop server as it will stop all erp server also. so i need different for that.


Re: Error while running OC4J instance [message #301494 is a reply to message #301326] Wed, 20 February 2008 19:35 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What makes you think that you have to stop and start the AS when you change a procedure or package? Just change it and keep on proessing.

David
Previous Topic: How to populate values in a list box?
Next Topic: Data Block DEFAULT_WHERE property issue
Goto Forum:
  


Current Time: Fri Sep 27 10:33:09 CDT 2024