Error starting app server - glassfish

When I try to start the app server alone I don't get any errors, but when I try to access the admin console or localhost:8080 I just get blank pages. (No 404 error) When I try to run it with an app deployed I get the following error.
[exec] Jul 21, 2006 5:06:38 PM com.sun.appserv.management.client.ProxyFactory getInstance
[exec] SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: "null"
[exec] java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
[exec] java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
[exec] java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
[exec] java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
[exec] com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive(ServletConnection.java:107)
[exec] com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:62)
[exec] com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getAttribute(RemoteMBeanServerConnection.java:284)
[exec] com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID(JMXUtil.java:110)
[exec] com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:424)
[exec] com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:388)
[exec] com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:193)
[exec] java.lang.Thread.run(Thread.java:595)
[exec] CLI171 Command deploy failed : Deployment of application failed - java.io.IOException
deploy-url-message:
Any help will be appreciated.
thanks.

When I try to start the app server alone I don't get any errors, but when I try to access the admin console or localhost:8080 I just get blank pages. (No 404 error) When I try to run it with an app deployed I get the following error.
[exec] Jul 21, 2006 5:06:38 PM com.sun.appserv.management.client.ProxyFactory getInstance
[exec] SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: "null"
[exec] java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
[exec] java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
[exec] java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
[exec] java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
[exec] com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive(ServletConnection.java:107)
[exec] com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:62)
[exec] com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getAttribute(RemoteMBeanServerConnection.java:284)
[exec] com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID(JMXUtil.java:110)
[exec] com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:424)
[exec] com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:388)
[exec] com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:193)
[exec] java.lang.Thread.run(Thread.java:595)
[exec] CLI171 Command deploy failed : Deployment of application failed - java.io.IOException
deploy-url-message:
Any help will be appreciated.
thanks.

Similar Messages

  • 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.

  • App Server / Glassfish on IBM Z-Linux on Z Series?

    Hi everyone, I'm a newbie here and I need help!
    We want to run Sun App Server / Glassfish on the IBM Z Series mainframe with Z-Linux (SUSE). Is anyone out there doing this? Does it work? Caveats? We will be running it for a large backoffice app with about 20 000 concurrent users.
    Thank you for the help.
    (Sorry if I'm repeating a post - I couldn't find anything...)

    u should be posting app server questions to glassfish forum
    http://forums.java.net/jive/forum.jspa?forumID=56&start=0

  • 10g Forms - error starting http server

    When I am trying to start OC4J, it is giving an error,
    Error starting HTTP server: address already in use: JVM Bind
    When I run the form, the browser just keeps waiting for the server.
    What do I need to change ?
    Thanks.

    I just resolved this.
    I moved the line I added to httpd.conf to be the last line in the file, after all the other includes.
    include "/u01/app/oracle/product/10202com/Apache/modplsql/conf/marvel.conf"

  • JDEV 9.0.3.1035 - Error starting HTTP-Server: Address in use: JVM_Bind

    Hi, we installed and configured JDEV 9.0.3.1035 and are experiencing this persistent problem, whenever we try to run our app the second or any subsequent time:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\JDEV\j2ee\home\oc4j.jar -Dhttp.proxyHost=DELL -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts= -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDEV\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Address in use: JVM_Bind
    Error creating the ORB :
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120156 ms.
    This is happening since we switched from JDEV 9.0.2 which always started up cleanly. It appears that the port is not being released on OC4J server termination. We are not running any other web servers and verified all open ports with netstat -a.

    Target URL -- http://192.168.254.20:8988/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    We are now unable to continue running/testing/developing our project. We do not want to have to manually change the port number each time we run it. This problem occurs both in Win 2000 PRO and Win XP Pro. We have tried every combination of OC4J server host names, HTTP Server ports and Web Browser proxy settings.
    A similar problem was fixed in Rel 9.0.2 by changing the Host Name of the embedded OC4J server to localhost from the IP address.
    Would appreciate some help because we would like to take advantage of the new features in your product.

  • Error starting HTTP-Server: Address in use: JVM_Bind

    I installed J2ee version of Oracle9iAS R2 for windows. When I start my application server, I always get the error "Error starting HTTP-Server: Address in use: JVM_Bind". In the previous version, if I met this message, I can change the port number in "http-web-site.xml", but now, no matter what port number I changed, I always get this error message.
    Could anybody please help me with this issue?
    Can Oracle provides a tool that can automatically free the port?
    Thanks, Jessie

    If you are getting this error while starting the Oracle9iAS by using the NT services or using command line (dcmctl) then there is a port conflict for the HTTP Server. You can go the EM Website and select HTTP Server ->Server properties and select the port# for the HTTP Server.
    OC4J is configured to listen for AJP requests only and the ports are dynamically assigned. The port ranges can be specified : OC4J Instance -> Server Properties
    regards
    Debu Panda
    Oracle

  • 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.

  • 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 HTTP-Server: Cannot assign requested address: JVM_Bind

    Hi.
    Anyone know how to configure the Oracle HTTP server within Jdeveloper9i to work?
    When I try run a JSP page, I get the following error:
    C:\Oracle9iDS\jdk\bin\javaw.exe -ojvm -classpath C:\Oracle9iDS\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\Oracle9iDS\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8888, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Cannot assign requested address: JVM_Bind
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Please contact me at [email protected]
    cheers paul

    A JVM_Bind error means that the port is already in use. This is an unusual error message to get because JDev scans the ports ahead of time to make sure they are free before launching the server.
    Check if you have any processes running that might be holding port 8888. There might be a previous instance of the OC4J server running that hasn't released port 8888 yet. On Windows, at a command prompt, you can use "netstat -a" to see local ports that are in use.

  • 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 JMS-Server

    I get an exception in starting OC4J (oc4j_extended_1013_dp4.zip file, version 10.1.3)
    java -jar oc4j.jar
    (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with:
    XMLJMSServerConfig[file:/C:/oc4j_1013/j2ee/home/config/jms.xml]
    Error starting JMS-Server...
    On my computer I succeeded to start the same OC4J ok, but on other 2 computers I get the same exception.
    What can be the problem?
    Thanks.

    The OC4J instance that is having the problem may have .lock file issues. Some quotes from the JMS chapter of the services guide:
    If OC4J terminates normally, then the lock files are cleaned up automatically. However, if OC4J terminates abnormally, for example, a kill -9 command, then the lock files remain in the file system. OC4J can usually recognize leftover lock files. If not, you must manually remove lock files before restarting OC4J after abnormal termination.
    JMS persistence lock files are tagged with (contain) server and persistence directory location info. If the lock file exists when the JMS server starts, and the lock file was created by the same server (having the same ip address) and using the same persistence directory location, then the JMS server will assume control of the lock file and start up successfully.
    If, for some reason, the jms.state file itself is corrupted, then the only recourse is to delete it, with the attendant loss of all pending transactions - that is, transactions that have been committed, but the commits not yet performed by all individual destination objects participating in the transactions.
    Note that the use of an IP address can cause issues if you have abnormal terminations and are using DHCP (so next time you start OC4J you also have a new IP address). There was also an issue in the dev preview versions if you are running on MS-Windows where the .lock files would not be automatically deleted on normal shut down - even if you have since moved to the release version, the old .lock files may still be there.

  • Error starting HTTP-Server: Address already in use: JVM_Bind

    Hello,
    I installed IAS 10.1.2.0.2. then I tried to start an application and get the following:
    D:\Oracle_Home_IAS\j2ee\home>java -jar oc4j.jar
    07/01/08 10:04:00 Error starting HTTP-Server: Address already in use: JVM_Bind
    07/01/08 10:04:01 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    07/01/08 10:04:01 !!! No valid java compiler found !!!
    07/01/08 10:04:01 javac.exe not found under D:\MDK\jre\1.4.2, please use a valid
    jdk or specify the location of your java compiler in server.xml using the <java
    -compiler .../> tag

    If I had to guess, you are starting HTTP Server on the same port as some other service.
    BTW, Oracle Express is not a supported platform for Mobile Server.

  • 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 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).

  • 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.

Maybe you are looking for