Solved

Cannot start managed server - WebLogic 12c

Posted on 2014-11-18
5
592 Views
Last Modified: 2014-11-19
Hi

I am setting up a demo environment on a VM running Windows to host Oracle Primavera P6. This uses WebLogic as the web app container.

After installing WebLogic from the jar file I ran the domain configuration utility to create an initial basic domain named "p6". This also set up the Node manager which is listening on port 5556 at localhost

I then ran the Primavera setup utility and got it to install into the domain "p6". This domain now contains an AdminServer plus two servers named "P6" and "WebServices" as I would expect - the P6 application plus the companion Web Services. All 3 servers start OK and can be controlled through the node manager.

I then ran the Primavera setup utility again and asked it to create a second domain named "p6tm". The domain has been created and contains an AdminServer plus a server named "TeamMember". I can start the AdminServer OK but if I then use the admin console to try to start TeamMember I get an error saying  that the node manager cannot be reached.

If I try to use the startup script generated by the P6 install it reports that the Node Manager does not appear to be running and then tries to start another instance of it, which fails with an error as it can't bind this t o port 5556 again.

As far as I can see, the domains registry file has both p6 and p6tm listed in it, and the node manager domains file (in ...\wlserver\common\nodemanager) lists both domains correctly as well. What else do I need to do to ensure that node manager can control this second domain properly?
0
Comment
Question by:rjebb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40451627
You do not need to set up node manager in a single machine setup.
0
 
LVL 10

Expert Comment

by:ECollin
ID: 40451815
With WLS 12c, you have a node manager instance per domain instead of a single node manager per machine. This is now the default behavior. Of course you can use a node manager in a single machine environment.
You have to start both node manager instances for both domains.
Emmanuel
0
 

Author Comment

by:rjebb
ID: 40451823
OK, so presumably I all I now have to do is make the 2nd node manager listen on a different port - like 5557 - by editing the nodemanager.properties file?

I don't need to have node manager running as a service as the Oracle supplied WLST scripts for starting the product fire up node manager if its not already running
0
 
LVL 10

Accepted Solution

by:
ECollin earned 500 total points
ID: 40451835
when you create the domain using the domain creation wizzard you have a screen to setup the node manager.

Yes, you need to change the nodemanager.properties file in "nodemanager" dubdirectory (of the domain)
0
 

Author Closing Comment

by:rjebb
ID: 40452155
This approach has let me get things working. Rather than let the Primavera install wizard create the additional domain, I did as you suggested and created this domain via the WebLogic configuration wizard. However you don't get the option to specify the listen port for the Node Manager at the end of this process so I had to manually edit nodemanager.properties to do this.

Once this was done I used the Primavera installer to install the app into the newly created domain. I then had to manually define the listen address and port for the node manager inside weblogic as these had not been set up correctly by the installer, and I also had to edit the Python script generated by the installer that starts everything up as that also used the wrong port number.

The key piece of information I needed was that in WL 12c there is a node manager per domain, which is a completely different arrangement to previous versions and is not covered by any of the WebLogic help that I could find online
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question