0

I get some errors when I try deploy de maven project with the Weblogic server that I added in Eclipse.

I have Java JDK 1.8.0.20 and Weblogic server 12.2.1.2.0

The errors are:

<Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Critical error during deployment: 
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:764)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:353)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
    Truncated. see log file for complete stacktrace
Caused By: java.util.concurrent.ExecutionException: java.lang.NullPointerException

and

<Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException.
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
    at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
    at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
    Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException

and

<Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key severe.no_factory_backup_failed
    at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:444)
    at java.util.ResourceBundle.getString(ResourceBundle.java:407)
    at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:559)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283)
    Truncated. see log file for complete stacktrace
> 

and

    <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "24606056810068" for task "13" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.NullPointerException"
weblogic.application.ModuleException: java.lang.NullPointerException
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException

and

    <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.NullPointerException
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException

Can be something version of dependencies in pom.xml?

I would appreciate any suggestions. Thanks a lot and best regards.

Alberto
  • 11
  • 4
  • Which version of JSF are you using? Do you have it packaged in the war? – Rouliboy Feb 16 '17 at 14:40
  • In properties -> Project Faces - >JavaServer Faces I have version 2.2 – Alberto Feb 16 '17 at 14:55
  • Publish in weblogic local from Eclipse. It created auto_generated_ear and auto deploy but it generated exceptions. Thanks in advance @Rouliboy – Alberto Feb 16 '17 at 15:20
  • Please show your pom.xml :-) – Rouliboy Feb 16 '17 at 15:24
  • I don't put it here. Pom.xml is huge. Is a big project that others coworkers can autodeploy with eclipse without problems. Can be by versions? `1.7 1.7 1.7 2.6 12.1.0.2 2.2.8 2.3 2.3.1-b20150201.1248` – Alberto Feb 16 '17 at 15:47
  • show at least your jsf dependencies – Rouliboy Feb 16 '17 at 16:13
  • I have not a JSF dependency. The only dependencies relate to deploy are: com.sun.xml.ws jaxws-rt ${sun.jaxws.version} ${jaxws.scope} org.glassfish.metro webservices-rt ${metro.jaxws.version} ${jaxws.scope} – Alberto Feb 16 '17 at 16:24

0 Answers0