Error starting ORMI-Server.  Unable to bind socket: Address already in use:

hi,
I run the folowing command "start_oc4j.bat" to start Oc4j.
It starts successfully.
Then I start "BPEL PM Server".
I get the following error,
"Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind".
I understand the above errror because both of them are trying to bind to the same port. And both of them are trying to start ORMI server. Can some one suggest how to get rid of this problem.
I tried giving different port numbers for them, but that did not work. Let me know, how to over come this problem.
with regards
shaila

You may have another OC4J running on your computer.
You should change the port number in the file config/rmi.xml.

Similar Messages

  • Unable to bind socket: Address already in use

    Hi,
    I get the following error whenever I start my Application Server on Linux machine.
    If I deploy the EJB application onto a OC4J instance, the server is refusing the connection by throwing Connection Refused error.
    Any insight about this issue will be helpful.
    Thanks,
    Mohan
    04/07/08 17:14:42 Error starting ORMI-Server. Unable to bind socket: Address already in use
    04/07/08 17:14:44 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    04/07/08 17:14:44 java.lang.NullPointerException
    04/07/08 17:14:44 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:470)
    04/07/08 17:14:44 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
    eResourcePooledExecutor.java:186)
    04/07/08 17:14:44 at java.lang.Thread.run(Thread.java:534)

    have you checked to see what is running before you start your oracle app server on your ports? you can use netstat for one

  • Error starting ORMI server, when run oc4j.cmd -start

    hello oracle guru,
    i just finish installing the Oracle Business Intelligence Publisher Standalone 10.1.3.4 in Window XP Home Edition SP3 platform..
    but when i want to start the BI Publisher, by running the oc4j, i get this errors
    Starting OC4J from E:\OraInstall\OraBIP\oc4j_bi\j2ee\home ...
    2010-10-13 17:33:17.453 ERROR ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]:persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    10/10/13 17:33:17 *** (SEVERE) ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    2010-10-13 17:33:17.484 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    10/10/13 17:33:17 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.484 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with:XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.593 ERROR J2EE RMI-00002 Error starting ORMI server TOSHIBA port 23,791:Address already in use: JVM_Bind
    2010-10-13 17:33:17.609 ERROR java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2378)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:966)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    10/10/13 17:33:17 Error starting ORMI server TOSHIBA port 23,791: Address already in use: JVM_Bind
    10/10/13 17:33:17 Shutting down OC4J...
    Can somebody who have been facing this error before this can guide me on how to solve the problem?

    http://kr.forums.oracle.com/forums/thread.jspa?threadID=640696
    Please check this link... it helped me in Solaris environment..it works for me.
    All the best..
    Thanks
    Deependra

  • Error starting ORMI-Server. Uable to bind socket

    Hi,
    I get the following error whenever I start my Application Server on Linux machine.
    If I deploy the EJB application onto a OC4J instance, the server is refusing the connection by throwing Connection Refused error.
    Any insight about this issue will be helpful.
    Thanks,
    Mohan
    04/07/08 17:14:42 Error starting ORMI-Server. Unable to bind socket: Address already in use
    04/07/08 17:14:44 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    04/07/08 17:14:44 java.lang.NullPointerException
    04/07/08 17:14:44 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:470)
    04/07/08 17:14:44 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
    eResourcePooledExecutor.java:186)
    04/07/08 17:14:44 at java.lang.Thread.run(Thread.java:534)

    Hi Avi,
    of course you are right that the standalone OC4J ist not the same as an OC4J instance within the Oracle Application Server though from my point of view many J2EE-Server related questions or problems regarding the EJB- and or WEB-container could be answered/handled same or equally.
    That's why I'm a little bit irritated by your statement. From a forum user's perspective I'd hate it to follow eg all those Forms and Reports service discussions if I were a Java Developer or Deployer. So I would like to see all posts regarding the OC4J-Container here (no matter if standalone or inside OAS). Nevertheless everybody should clearly indicate the exact product version including the distinction beetween standalone and OAS.
    Just my 0.2 about this. What do others think?
    Avi, if you really want all discussion about OAS including OC4J topics to happen within the "Application Server - General" forum, I'd suggest you add a forum description which makes that clear.
    Well, if one can persuade you to not follow such a strict separation as I argued against, it could be still beneficial to add a meaningful forum description (eg. to remind people of the distinction between standalone OC4J and OAS.
    Thoughts?
    Regards,
    Eric

  • Error Starting ORMI-Server

    Hi
    I am using 10g Enterprise Edition on Linux Advance Server 3.0 and Enterprise Manager.
    I get the following error when starting up each Container I have created.
    04/01/14 10:25:56 Error starting ORMI-Server. Unable to bind socket: Address already in use
    04/01/14 10:25:59 java.lang.NullPointerException
    04/01/14 10:25:59 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:470)
    04/01/14 10:25:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    04/01/14 10:25:59 at java.lang.Thread.run(Thread.java:534)
    I changed the port number ranges via EM and in "opmn.xml" to limit each container to its own range, but no success.
    Even i set the specific port for each service.
    M. Tahir.

    hi ramesh,
    this is sateesh. I only posted the above request
    before i found the solution. but with different
    trials i got that at last.
    --sateesh(TCS)Hi Sateesh,
    i'm using the Oracle 10g AS (9.0.4) on RedHat Linux 3.0 Advanced Server.
    I've formatted my machine, installed redhat and then 10g AS. There are no other softwares installed on my machine.
    After installation, I've created an Instace of OC4J server using IAS console, started the instance and got a message saying my instance has been started. But when i look at the log file in %ORACLE_HOME%/opmn/logs i got a message saying "Error starting ORMI-Server. Unable to bind socket: Address already in use".
    I've searched this forum for this and did all the kinds of modifications suggested by others and found no success. U said that u've tried other way and found the solution. Could you please help me out with the solution. I've tried stopping the default server instance being created at the time of 10 gAS installation. When i looked at the ports in use for the application server, its listing different ports for JMS, RMI and AJP but the same port for Oracle HTTP Server as 7778.
    P.S.: this is not only for sateesh, but for any one who could help me out with the solution.
    Please help me ASAP as its urgent for me and I've spent last 5 days for this.
    Any kind of help regarding this would be highly appreciated.
    Thanks,
    Balakrishna

  • Error starting ORMI-Server. Unable to bind socket...

    One of our BPEL App Servers was moved from a local network to a LAN. I believe it's IP was changed. When we start it with opmnctl startall we get the following error message:
    bq. Error starting ORMI-Server. Unable to bind socket: Cannot assign requested address
    There does not seem to be a resource issue with regard to ports. A netstat -p doesn't show any potential port conflicts. In a WEB search I came across the following suggested check:
    bq. Solution: \\ *A) Check if your IP address or hostname is changed or if there is a conflict of resources in the network*
    Can someone explain what needs to be fixed if the IP Address or hostname of the BPEL App Server has changed? What files need to be corrected to get the install to startup.

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • Error starting ORMI Server: address already in use

    - Linux RedHat 3 ES installed
    - Forms&Reports 904 installed
    EM:
    BI_Forms repeatly tries to start, but fials:
    "Error starting ORMI Server: address already in use"

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • ERROR: transport error 202: bind failed: Address already in use

    Hey guys,
    I created 2 WL 10.3 Domains. I can start the admin server in domain but when I start the second admin server i get the following error:
    starting weblogic with Java version:
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Starting WLS with line:
    C:\bea\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket
    ,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -XX:Com
    pileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -XX:MaxPermSize=160m
    -Xverify:none -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:
    javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.
    sbconsole... -Dplatform.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\serv
    er -Dweblogic.home=C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=tru
    e -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true
    -Dweblogic.ext.dirs=C:\bea\patch_wlw1030\profiles\default\sysext_manifest_classp
    ath;C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch
    cie670\profiles\default\sysextmanifest_classpath;C:\bea\patch_alsb1031\profile
    s\default\sysext_manifest_classpath -Dweblogic.Name=TestAdmin2 -Djava.security.p
    olicy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Stopping PointBase server...
    I changed the port address of both admins but I dont' think that's the issue. Can someone tell me whats going on.
    Thanks

    Hi
    Iam getting the Same Error , Can you provide me some information on what changes did you made to the setDomainEnv.cmd file to make this work
    thanks in advance

  • LOG Q0I= NiIBindSocket: bind (98: Address already in use) [nixxi.cpp 3740] [Thr 140207008876384] *** ERROR = NiIBindSocket: SiBind failed for hdl 17/sock 7

    Dear All ,
    I am installing SAP Netveiwer 7.2 with oracle 11 g database in suse linux 11  but i am getting one error in Start instance phase , my message server is not getting connected , when i am trying to start manually  then my instance is connected but in this phase sap check message server is up or not , here i am attaching log of message server where i am getting error  , if any buddy knw Plz help me ....
    log file -
    trc file: "dev_ms.new", trc level: 1, release: "720"
    [Thr 140207008876384] Tue Jun 10 01:34:56 2014
    [Thr 140207008876384] ms/http_max_clients = 500 -> 500
    [Thr 140207008876384] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
    systemid   390 (AMD/Intel x86_64 with Linux)
    relno      7200
    patchlevel 0
    patchno    413
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    pid        7294
    [Thr 140207008876384] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 7294) [msxxserv_mt. 2280]
    [Thr 140207008876384] SigISetDefaultAction : default handling for signal SIGCHLD
    [Thr 140207008876384] ***LOG Q0I=> NiIBindSocket: bind (98: Address already in use) [nixxi.cpp 3740]
    [Thr 140207008876384] *** ERROR => NiIBindSocket: SiBind failed for hdl 17/sock 7
        (SI_EPORT_INUSE/98; I4; ST; 0.0.0.0:3601) [nixxi.cpp    3740]
    [Thr 140207008876384] *** ERROR => MsSCommInit: NiBufListen(sapmsINI) (rc=NIESERV_USED) [msxxserv_mt. 12225]
    [Thr 140207008876384] *** ERROR => MsSInit: MsSCommInit [msxxserv_mt. 2324]
    [Thr 140207008876384] *** ERROR => MsSInit failed, see dev_ms.new for details
    [msxxserv_mt. 7572]
    [Thr 140207008876384] ***LOG Q02=> MsSHalt, MSStop (Msg Server 7294) [msxxserv_mt. 7631]

    Hello Shyam,
    I don't see how updating the kernel would help in this case.
    If the port was already in use, any kernel version would give the same error.
    Hello Arpit,
    Since this is a Linux server, you can also run "lsof -nP|grep 3601" (may need to be logged on as "root"). This should give you more details than "netstat" (e.g., it will give you the PID of the process that's already using the port).
    The solution has already being pointed on this thread. You need to find out which process is using the port, and stop this other process.
    Cheers,
    Isaías

  • Transport error 202 bind failed address already in use

    how to rectify -- transport error 202 bind failed address already in use-- while running CA server
    i have created new production and pub server, first i runned production server after that while running CA server i got that error. if i run CA server independently its running

    It seems like a port conflict issue. You should check rmi and other ports in the configuration file for the component /atg/dynamo/Configuration in the localconfig of your production and publishing servers directories under <ATG>\home\servers. Also, your app server should be configured to run two separate instances for production and publishing server as per the http ports specified in /atg/dynamo/Configuration.

  • Ipv4 mapped addresses bind problem: address already in use.

    Hello. It's me again with another, may be newbie, question.
    This time I observe different behavior binding different type of ip addresses on tcp sockets. For instance
    - when I bind ipv4 mapped addresses, if there is a remaining old socket in TIME_WAIT state from a previous run
    I get the error 'Address already in use', event with SO_REUSEADDR set.
    - when I bind another type of ipv6 or just ipv4 addresses. if there if a remaining old socket in TIME_WAIT state from
    a previous run, the bind is successful (SO_REUSEADDR is set).
    How can be explained this behavior?
    Thanks a lot.
    Details
    =======
    I made a small program to test this. This program:
    - dump the addresses to be used in bind() and connect()
    - creates a LISTEN SOCKET calling
    - socket(AF_INET6, SOCK_STREAM, 0)
    - fcntl(F_SETFD, fcntl(F_GETFD) | FD_CLOEXEC)
    - fcntl(F_SETFL, fcntl(F_GETFL) | O_NONBLOCK),
    - setsockopt(SO_REUSEADDR),
    - setsockopt(SO_KEEPALIVE),
    - setsockopt(TCP_NODELAY),
    - bind()
    - listen()
    - creates a CONNECTING SOCKET calling
    - socket(AF_INET6, SOCK_STREAM, 0)
    - fcntl(F_SETFD, fcntl(F_GETFD) | FD_CLOEXEC)
    - fcntl(F_SETFL, fcntl(F_GETFL) | O_NONBLOCK),
    - setsockopt(SO_REUSEADDR),
    - setsockopt(SO_KEEPALIVE),
    - setsockopt(TCP_NODELAY),
    - connect()
    - creates a ACCEPTED SOCKET calling
    - accept()
    - fcntl(F_SETFD, fcntl(F_GETFD) | FD_CLOEXEC)
    - fcntl(F_SETFL, fcntl(F_GETFL) | O_NONBLOCK),
    - setsockopt(SO_REUSEADDR),
    - setsockopt(SO_KEEPALIVE),
    - setsockopt(TCP_NODELAY),
    - issue a std::system( "netstat -an | grep 10329" )
    - wait with select() for a write event in the CONNECTING SOCKET
    - wait with select() for a write event in the ACCEPTED SOCKET
    - close the accepted socket
    - close the connecting socket
    - close the listen socket
    - issue another std::system( "netstat -an | grep 10329" )
    - exit(0)
    Note: please don't get confused with my notation of addresses, the last component, after the last colon, is the port.
    I run it with ipv4 mapped listen address, with this result:
    $ ./test_reuseaddr listen_address=0.0.0.0:10329 connect_address=127.0.0.1:10329
    Listener in *'::ffff:0.0.0.0:10329'*
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    Connect to '::ffff:127.0.0.1:10329'
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 7f 00 00 01 00 00 00 00 00 00 00 00 |................|
    Creating listen socket
    Creating connecting socket
    Creating accepted socket
    netstat -an | grep 10329
    *.10329 *.* 0 0 49152 0 LISTEN
    127.0.0.1.35114 127.0.0.1.10329 49152 0 49152 0 ESTABLISHED
    127.0.0.1.10329 127.0.0.1.35114 49152 0 49152 0 ESTABLISHED
    Closing connecting socket
    Closing accepted socket
    Closing listen socket
    netstat -an | grep 10329
    *127.0.0.1.10329 127.0.0.1.35114 49152 0 49152 0 TIME_WAIT*
    Immediately run it again the same way, with this result (Address already in use):
    $ ./test_reuseaddr listen_address=0.0.0.0:10329 connect_address=127.0.0.1:10329
    Listener in *'::ffff:0.0.0.0:10329'*
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    Connect to '::ffff:127.0.0.1:10329'
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 7f 00 00 01 00 00 00 00 00 00 00 00 |................|
    Creating listen socket
    *### SYSCALL ERROR: bind(): 125, Address already in use*
    Wait and verify that the TIME_WAIT socket has disappeared
    $ sleep 120
    $ netstat -an | grep 10329
    Now run the same program with normal ipv6 listen addresses
    $ ./test_reuseaddr listen_address=*::0*:10329 connect_address=127.0.0.1:10329
    Listener in *':::10329'*
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    Connect to '::ffff:127.0.0.1:10329'
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 7f 00 00 01 00 00 00 00 00 00 00 00 |................|
    Creating listen socket
    Creating connecting socket
    Creating accepted socket
    netstat -an | grep 10329
    *.10329 *.* 0 0 49152 0 LISTEN
    127.0.0.1.35115 127.0.0.1.10329 49152 0 49152 0 ESTABLISHED
    127.0.0.1.10329 127.0.0.1.35115 49152 0 49152 0 ESTABLISHED
    *.10329 *.* 0 0 49152 0 LISTEN
    Closing connecting socket
    Closing accepted socket
    Closing listen socket
    netstat -an | grep 10329
    *127.0.0.1.10329 127.0.0.1.35115 49152 0 49152 0 TIME_WAIT*
    Immediately run it again the same way (no error this time)
    $ ./test_reuseaddr listen_address=*::0*:10329 connect_address=127.0.0.1:10329
    Listener in *':::10329'*
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    Connect to '::ffff:127.0.0.1:10329'
    1a 00 28 59 00 00 00 00 00 00 00 00 00 00 00 00 |..(Y............|
    00 00 ff ff 7f 00 00 01 00 00 00 00 00 00 00 00 |................|
    Creating listen socket
    Creating connecting socket
    Creating accepted socket
    netstat -an | grep 10329
    127.0.0.1.10329 127.0.0.1.35115 49152 0 49152 0 TIME_WAIT
    *.10329 *.* 0 0 49152 0 LISTEN
    127.0.0.1.35116 127.0.0.1.10329 49152 0 49152 0 ESTABLISHED
    127.0.0.1.10329 127.0.0.1.35116 49152 0 49152 0 ESTABLISHED
    *.10329 *.* 0 0 49152 0 LISTEN
    Closing connecting socket
    Closing accepted socket
    Closing listen socket
    netstat -an | grep 10329
    *127.0.0.1.10329 127.0.0.1.35115 49152 0 49152 0 TIME_WAIT*
    *127.0.0.1.10329 127.0.0.1.35116 49152 0 49152 0 TIME_WAIT*
    Run it againg many times with no error.

    sunlover1984 wrote:
    Sorry, to use such short forms in forums as i dont know much about this. i rarly use java forum. well, i removed the code that i gave u for server starting. but still it is giving me the same error. this time i put it in a java bean file.(Hint "u" is just another short form).
    Did you try the suggestion to put a log statement just before you start the server? Or put a breakpoint at that line and see how often it is reached.
    Because the only reason for this problem is that something is already listening at that port.
    And if there's really nothing listening before you start you application, then only your application itself can listen there already, so the logical conclusion for me would be that you're starting the Server twice.

  • SmbServer: could not create socket: Address already in use

    When I start SmbServerAgent,
    it fails again and again.
    In SmbServer.log there exists
    "SmbServer: could not create socket: Address already in use,"
    but SmbServer was already shutdown.
    How do resolve such issue? Thanks a lot.
    ergent

    Something else is already using that TCP port.
    BTW you can only re-use a TCP port number if you're binding to a different NIC IP address than the one bound by the previous binder to that TCP port. You're not, so you can't.

  • OC4J bind socket address issue

    Hi i am using DB(9.2.0.6.0) and APPS(11.5.10.2).  Now i have cloned a new instance and it runs on port 8050. Now i want to install and configure OC4J with it. I have done the OC4J Installation Successfully. Here i used the OC4J Version 9.0.3.I have changed the http-web-site.xml port number to 8890 and rmi.xml port to 23793 as per the document i got.To create the starting script, file name called “.start_oc4j” I issued cd $OC4J_TOP/j2ee/home/ then
    java -jar oc4j.jar and
    it throws the error
    [applpdev@oraapps ~]$ cd $OC4J_TOP
    [applpdev@oraapps home]$ pwd
    /pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/
    [applpdev@oraapps oc4j]$ cd j2ee/home/
    [applpdev@oraapps home]$ java -jar oc4j.jar
    Error starting JMS-Server: Unable to bind socket: Address already in use
    Error starting ORMI-Server.  Unable to bind socket: Address already in use
    [applpdev@oraapps home]$

    Hi Hussein,
         Now i am facing a new issue. I am using oc4j 9.0.3 version. When i started the oc4j i am getting the following error.
    [applpdev@oraapps home]$ java -jar oc4j.jar
    Auto-deploying ejb (No previous deployment found)... Exception in thread "Orion Launcher" java.lang.NoClassDefFoundError: sun/jdbc/rowset/CachedRowSet
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
            at java.lang.Class.privateGetPublicMethods(Class.java:2547)
            at java.lang.Class.getMethods(Class.java:1410)
            at
    com.evermind.server.ejb.compilation.ClassCompilation.compileMethods(ClassCompilation.java:84)
            at com.evermind.server.ejb.compilation.StatelessSessionBeanCompilation.compile(StatelessSessionBeanCompilation.java:40)
            at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:288)
            at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:551)
            at com.evermind.server.Application.postInit(Application.java:431)
            at com.evermind.server.Application.setConfig(Application.java:136)
            at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1635)
            at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1585)
            at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1240)
            at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.ClassNotFoundException: sun.jdbc.rowset.CachedRowSet
            at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:456)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
            ... 15 more
    So i uninstalled jdk1.6.0 and installed jdk1.4.2 and i started the OC4J. The default web page is displayed. Now i moved a .ear file to the directory APPL_TOP/pwr/11.5.0/oc4j/j2ee/home/applications added the entries in the server.xml,application.xml,http-web-site.xml and the directory is created for the respective .ear file. Under the path APPL_TOP/pwr/11.5.0/oc4j/j2ee/home/applications there are two default directories called dms0 and dms and they are accessible through the browser but my directory created by the .ear file is not accessible through the browser and it throws the error Can't find the directory. I checked the log and the content is
    12/5/13 6:06 PM iLogin: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/j2ee/home/application-deployments/iLogin/iLogin/persistence/_pages//_iLogin.java</H3><pre>error: Invalid class file format in /usr/java/j2sdk1.4.2_19/jre/lib/rt.jar(java/io/PrintWriter.class).  The major.minor version '48.0' is too recent for this tool to understand.
    /pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/j2ee/home/application-deployments/iLogin/iLogin/persistence/_pages/_iLogin.java:11: Class java.io.PrintWriter not found in import.
    import java.io.PrintWriter;
           ^
    error: Invalid class file format in /usr/java/j2sdk1.4.2_19/jre/lib/rt.jar(java/io/IOException.class).  The major.minor version '48.0' is too recent for this tool to understand.
    /pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/j2ee/home/application-deployments/iLogin/iLogin/persistence/_pages/_iLogin.java:12: Class java.io.IOException not found in import.
    import java.io.IOException;
           ^
    error: Invalid class file format in /usr/java/j2sdk1.4.2_19/jre/lib/rt.jar(java/sql/Connection.class).  The major.minor version '48.0' is too recent for this tool to understand.
    /pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/j2ee/home/application-deployments/iLogin/iLogin/persistence/_pages/_iLogin.java:14: Class java.sql.Connection not found in import.
    import java.sql.Connection;
    </pre>
    12/5/13 6:06 PM iLogin: Recursive error in error-page calling for /iMODError.jsp
    javax.servlet.ServletException: Recursive error in error-page calling for /iMODError.jsp (status 500)
      at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1204)
      at oracle.jsp.runtimev2.JspReportUtil.sendError(JspReportUtil.java:96)
      at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:125)
      at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:573)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
      at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
      at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
      at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1244)  and the same errors are repeated

  • "Error Starting OMI-Server. Unable to bind socket.Permission denied. Listen

    Hi All,
    I Installed Forms 1o-g successfully on my mishon ( Version windows vista), when i try to connect Forms i got error
    like this *"Error Starting OMI-Server. Unable to bind socket.Permission denied. Listen*
    Plz Anyone help....
    Thanks
    sa.....

    Which version of Windows Vista? Bear in mind that Vista home edition is not supported by Oracle (I think for all products). If that is the case, you should be upgrading your OS to business or ultimate edition.
    If that is not the case, please get in touch with Oracle support. Not much is available on internet or in forums (as you seem to have posted this in Forms forum as well).

  • Cups - Unable to bind socket for address

    At first I must say, than CUPS is the bigger shit I have ever seen on Linux. I have configured many daemons like: Apache, Lighttpd, MySQL or dnsmasq. Everything always just work, but not CUPS. I have configured it for 15-20 times. I always need about 5-10 hours to run it, and I've never known why it started work - probably it is randomly like Windows
    Now, CUPS works fine on server, and I can print from laptop. But I've reinstalled Arch on PC. I've copied /etc/cups/ from laptop to PC, and now I can't start CUPS:
    /etc/rc.d/cups start
    :: Starting CUPS Daemon [BUSY]
    cupsd: Child exited on signal 15!
    /var/log/cups/error_log   
    I [11/Oct/2008:14:45:22 +0200] Listening to 208.69.34.132:631 (IPv4)
    I [11/Oct/2008:14:45:22 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
    I [11/Oct/2008:14:45:22 +0200] Using default TempDir of /var/spool/cups/tmp...
    I [11/Oct/2008:14:45:22 +0200] Configured for up to 100 clients.
    I [11/Oct/2008:14:45:22 +0200] Allowing up to 100 client connections per host.
    I [11/Oct/2008:14:45:22 +0200] Using policy "default" as the default!
    I [11/Oct/2008:14:45:22 +0200] Full reload is required.
    I [11/Oct/2008:14:45:22 +0200] Loaded MIME database from '/etc/cups': 35 types, 39 filters...
    D [11/Oct/2008:14:45:22 +0200] Loading printer Domowa...
    D [11/Oct/2008:14:45:22 +0200] Loading printer tmp...
    D [11/Oct/2008:14:45:22 +0200] Discarding unused printer-stopped event...
    E [11/Oct/2008:14:45:22 +0200] Filter "foomatic-rip" for printer "tmp" not available: No such file or directory
    D [11/Oct/2008:14:45:22 +0200] Scanning /var/spool/cups for jobs...
    I [11/Oct/2008:14:45:22 +0200] Full reload complete.
    I [11/Oct/2008:14:45:22 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    E [11/Oct/2008:14:45:22 +0200] Unable to bind socket for address 208.69.34.132:631 - Cannot assign requested address.
    X [11/Oct/2008:14:45:22 +0200] No Listen or Port lines were found to allow access via localhost!
    /etc/cups/cupsd.conf
    LogLevel debug
    SystemGroup sys root
    Listen localhost:631
    DefaultAuthType Basic
    I haven't any idea what it is: 208.69.34.132. It think it is in USA.
    socklist | grep 631 - clear
    Only deference between pc and laptop it's kernel - on pc I use 2.6.24

    I had the same problem.  I solved it doing 2 things.  (1) I replaced my /etc/cups/cups.conf with /etc/cups/cups.conf.default and (2) I added an acl option in the fstab.  Do a search on the forum for acl and you should see it.
    -rico

Maybe you are looking for

  • Error , ORA-19809 & ORA-19804 While restoring RMAN backup .

    Hi Experts, I am restoring production RMAN backup to UAT . Using below steps 1)rman target=/ 2)RMAN> startup nomount; 3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl'; Starting restore at 05-AUG-10 using target d

  • Lenovo G40-70 : Dual boot windows 8.1 and fedora 22

    Buenas tardes Estimados, recurrí al foro porque no puedo ingresar a mi partición de W 8,1 que trae instalada de fábrica la laptop, por motivo que instalé Fedora 22  (en otra partición)Quizas mi error fue instalar Fedora en modo legacy,y cambiar la bi

  • How do I import video off a DVD?

    Is there a way to import video from a DVD directly into Final Cut Pro Express or do I need to download another program in order to do so. The DVDs are no copyrighted they are actually DVD I burned myself. If I do need to download another program whic

  • RAID Virtual Volumes Server 2008 R2 (Dell H200)

    Hi all, I am hoping someone can point me in the right direction. I am deploying a Dell R410 server with a Dell PERC H200 Controller with 4 X 300GB SAS Drives in two RAID1 arrays. I have loaded Server 2008 R2 onto the first volume. Unfortunately when

  • Huge .dmg File in Library

    I've got a .dmg file, same name as my .mac account name, sitting in my users/library/mirrors/001b639659db folder: patrickfifth.dmg It is 20GB in size! I tried to throw it away and it says it is in use. Any idea what this is and why it showed up? Than