This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Bea Weblogic 7.0 - example server not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Bea Weblogic 7.0 - example server not starting" Watch "Bea Weblogic 7.0 - example server not starting" New topic
Author

Bea Weblogic 7.0 - example server not starting

lmahesh kumar
Greenhorn

Joined: Feb 27, 2003
Posts: 15
Dear All,
When I am trying to launch the wl 7.0 example server I am experiencing the following error ..
Kindly help me out in resolving the prob..
Thanks in advance.
Mahesh L.
===========
ERROR REPORTED AS FOLLOWS :-
---------------------------
<Feb 28, 2003 11:25:28 PM IST> <Emergency> <WebLogicServer> <000351> <Unable to
create a server socket on Channel Default for port: 7001. java.net.BindException
: Address in use: JVM_Bind Perhaps another process is using port 7001.>
<Feb 28, 2003 11:25:28 PM IST> <Emergency> <WebLogicServer> <000351> <Unable to
create a server socket on Channel Default for port: 7002. java.net.BindException
: Address in use: JVM_Bind Perhaps another process is using port 7002.>
<Feb 28, 2003 11:25:29 PM IST> <Emergency> <Security> <090085> <Server failed to
bind to any port such that it is not reachable from the console.>
<Feb 28, 2003 11:25:29 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception>
***************************************************************************
The WebLogic Server did not start up properly.
Reason: Fatal initialization exception
***************************************************************************
===============================================
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Looks like some other process is using the ports specified (7001/7002).
Check whether anyother application is using those ports.
Else, start your server on a different port which is not used by other processes.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1849
Hi
As suggested make the changes in the config.xml file and restart the server.
It should work fine
Aaron Mulder
Author
Ranch Hand

Joined: Feb 25, 2003
Posts: 65
Yeah, what you have to realize is that the examples server runs a normal WebLogic server just like any other server you'd configure (so does the Pet Store). So if you have your regular server running, you can't start the examples or pet store servers, since they all use the same ports by default (7001/7002). You can change the server.xml for any of the three configurations, so you could make yours run on 7001/7002, the examples on 7003/7004, and the pet store on 7005/7006 or something like that, if you want to run them all at once. It's just like if you installed more than one server or domain on your own machine.


<a href="http://www.javaranch.com/bookpromo.jsp" target="_blank" rel="nofollow">WebLogic Book Giveaway</a> 2/25-2/27
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
I have got a pretty basic doubt.
I know that 2 servers cannot listen on a same port. But is it possible to make a single server listen on multiple ports? (ofcourse without SSL).
Aaron Mulder
Author
Ranch Hand

Joined: Feb 25, 2003
Posts: 65
Yes. You can add Network Channels which define additional ports and/or protocols, and you can use them to provide different access for different users, etc. (lots of resources on port 8080 for a web app for LAN users, and fewer resources on port 80 for the same web app for internet users, or whatever). I cover this in detail in the book, but it's farily straightforward to add a basic network channel in the console if you're familiar with the protocol settings tab for the server in the console. Just check the boxes and pick ports for the various protocols, etc. Network Channels is a top-level entry in the console in WL7.
Aaron Mulder
Author
Ranch Hand

Joined: Feb 25, 2003
Posts: 65
And you can do that for SSL too, by the way -- I think there's just one protocol that's not supported over network channels, and I can't remember which one off the top of my head, but it's probably COM/JCOM or whatever.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bea Weblogic 7.0 - example server not starting
 
Similar Threads
Some problem during startup
Weblogic server problem.
Weblogic Installation on Linux- Help Required
Weblogic Clustering
WLS 8.1 with port 80