• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bea Weblogic 7.0 - example server not starting

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
***************************************************************************
===============================================
 
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
As suggested make the changes in the config.xml file and restart the server.
It should work fine
 
Author
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic