Cannot start managed server - WebLogic 12c

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?
Richard JebbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
You do not need to set up node manager in a single machine setup.
0
ECollinCommented:
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
Richard JebbAuthor Commented:
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
ECollinCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard JebbAuthor Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.