P6.ear file is not loading on web logic sever and failing with 401 error

Error Description :-

<Sep 23, 2013 8:55:28 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Sep 23, 2013 8:55:48 PM IST> <Error> <HTTP Session> <BEA-100057> <This server does not have deployment for the Web application with context path: /p6. The callback: becomeSecondary failed while replicating the session. Check your configuration; only uniform configurations in a cluster are supported.>
<Sep 23, 2013 8:55:48 PM IST> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.cluster.replication.ReplicationManager.create(Lweblogic.rmi.spi.HostID;ILweblogic.cluster.replication.ROID;Lweblogic.cluster.replication.Replicatable;)weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: /p6 not found in the secondary server. weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: /p6 not found in the secondary server at logic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(ReplicatedSessionData.java:276)at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:45

 

Root Cause :-

This issue occurs when you are running on clustered nodes

Whenever we do a Primavera DB configuration, application create a new BootStrap.xml file with updated DB details, but if we are running on cluster environment, this file did not get updated on all other nodes. Due to which this issue occurs on Primavera other manage server nodes.

It’s because of this setting on server start up.

-Dprimavera.bootstrap.home=<P6 HOME>/p6

Fix – We have to make sure, ever time when we configure application, we have to manually copy this file on all other nodes and restarted the server.

Note :- Before moving this file on other nodes, make sure all managed server are down and only admin server is up.

Advertisements
This entry was posted in Primavera Integration and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s