Weblogic failed to start and deploy P6 after adding one or more database instances to P6 EPPM 16.1 Web Access

Oracle Primavera P6 EPPM Web Access running environment


  • Windows Server 2012 R2
  • Java SDK 1.8.0.77
  • Weblogic 12.1.3, 64-bit
  • SQL Server 2008 R2 SP2 with Filestream feature enable


Oracle Primavera P6 16.1 EPPM Web Access failed after adding one more database instance


Currently, P6 EPPM 16.1 Web Access is up and running. I want to add a test database to the P6 16.1 Web Access, so I launch the P6 EPPM Administrator and add one more database instance to the P6 Web Access by duplicating the existing instance. P6 administrator screenshot

Now I restart the Weblogic domain for P6 16.1 Web Access application. To my surprise, the weblogic failed to load any application. The log file has the following entries:
The system is vulnerable to security attacks, since it trusts certificates signed by the demo trusted CA.> 
<5-May-2016 9:23:55 o'clock AM PDT>     
<5-May-2016 9:23:55 o'clock AM PDT>     
May 05, 2016 9:23:55 AM weblogic.wsee.WseeCoreMessages logWseeServiceStarting
INFO: The Wsee Service is starting
- Root WebApplicationContext: initialization started
- Refreshing Root WebApplicationContext: startup date [Thu May 05 09:24:06 PDT 2016]; root of context hierarchy
- Loading XML bean definitions from ServletContext resource [/WEB-INF/lwf/session-context.xml]
- Loading XML bean definitions from ServletContext resource [/WEB-INF/lwf/rest-context.xml]
- Overriding bean definition for bean 'jacksonMapper': replacing [Generic bean: class [com.primavera.rest.common.jackson.JacksonMapper]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [zip:C:/Oracle/Middleware/Oracle_Home/user_projects/domains/Primavera/servers/AdminServer/tmp/_WL_user/p6_16.1.0.0/2mz0ni/war/WEB-INF/lib/prm-rest.jar!/com/primavera/rest/common/jackson/JacksonMapper.class]] with [Generic bean: class [com.primavera.rest.common.jackson.JacksonMapper]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/lwf/rest-context.xml]]
- JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- Root WebApplicationContext: initialization completed in 3234 ms
- Refreshing com.primavera.bre.SystemApplicationContext@11dd7122: startup date [Thu May 05 09:24:09 PDT 2016]; root of context hierarchy
- Loading XML bean definitions from class path resource [com/primavera/pvweb/servlet/webconf.xml]

Fix Oracle Primavera P6 16.1 EPPM Web Access with more than one database instance

Obviously, Weblogic 12.1.3 hang on after loading the P6 configuration file - webconf.xml, and none of Webloigc web pages can be showed, including P6 16.1 Web Access login page. If I delete the database instance just added, Weblogic can start and deploy apps without any issues. p6 web access page not found
After comparing the failed log entries to the entries where P6 Web has only one instance, I found the differences are the P6 services (Beans) are not generated for the P6 Web Access with two instances. I tried to change the setting for the Auto Start Services entry for the second database instance to false, see the screenshot below. P6 administrator screenshot

After making that change, restart Weblogic again. Bingo! this time, P6 16.1 Web Access application is delpoyed successfuly. I finally added a test database instance to P6 16.1 Web Access successfully.