wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Please help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Please help me" Watch "Please help me" New topic
Author

Please help me

Johnson Jose
Greenhorn

Joined: May 19, 2004
Posts: 19
Hi friends,

I am trying to run j2sdkee1.3.1, I am getting the following error.

F:\j2sdkee1.3.1\bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@161581
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1116)
at org.apache.catalina.startup.Embedded.start(Embedded.java:962)
at com.sun.web.server.WebService.start(WebService.java:217)
at com.sun.web.server.WebServer.start(WebServer.java:189)
at com.sun.enterprise.server.J2EEServer.startWebService(J2EEServer.java:796)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:297)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: null.open
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server reported the following error: null.open
Error executing J2EE server ...

Can some one please help me?

Thanks in advance
Regards

Jonson Jose :roll:
Shahfazal Mohammed
Ranch Hand

Joined: Jan 08, 2004
Posts: 41
Hiya

There could be an application ( possibly another server?) running on your machine that's already listening to port 9191 and when the j2ee server tries to open that port for its web service, it's getting an error because the port is already being used by some application/server.

HTH,

-Fazal.


-peace.
Johnson Jose
Greenhorn

Joined: May 19, 2004
Posts: 19
Hi Fazal,
Thanks for your information.
I don�t know how to find out which server in my m/c is using the port 9191.
Can you please help me how to find this and How to fix this problem.

Sorry for my ignorance.

Regards
Johnson

:roll:
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
You can check the active ports with this command "netstat -na". Under the "Local Address" column, you can see ip : portNo.

If you've a long list of addresses, try this "netstat -na | grep 9191".

HTH,
Joyce
[ May 20, 2004: Message edited by: Joyce Lee ]
Johnson Jose
Greenhorn

Joined: May 19, 2004
Posts: 19
Hi Joyce Lee,

Thanks for your advice.
I am able to identify JRun server was running at port 8000 in my m/c.
I uninstalled JRun, after that J2EE RI Server is working fine.

Regards
Johnson
 
GeeCON Prague 2014
 
subject: Please help me