Weblogic 12c - J2EE version
Hello,
I am migrating our J2EE 1.4 apps from Websphere to Weblogic as part of an evaluation.
I am trying to deploy a J2EE 1.4 application into Weblogic 12c. I see strange classloader exceptions. Is this because Oracle 12 c does not support J2EE 1.4?
If yes, can you please help me on the following :
1. Where can I find the Weblogic servers vs supported J2EE versions?
2. What are the version of Weblogic app servers are suitable for J2EE 1.4?
3. I noticed Weblogic 12c has a feature called 'SmartUpgrade'. I am exploring if this will help me anyway.
Thanks in advance,
Rajesh
Hi Lawrence,
I believed backward compatiblity will be present. We don't use weblogic APIs, as this is the first time we are moving to Weblogic. The Error in the sever_0.log file is as follows:
When processing WebService module 'XXX-stp-web.war'. Failed to load servlet Class: com.XXXsolutions.stp.manager.web.ABCManagerServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: com.XXXsolutions.stp.manager.web.ABCManagerServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
When processing WebService module 'XXX-stp-web.war'. Failed to load servlet Class: com.XXXsolutions.stp.manager.web.ABCManagerServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: com.XXXsolutions.stp.manager.web.ABCManagerServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
<03-Jan-2013 15:40:58 o'clock GMT> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Projects/wlsdomain/servers/Server-0/tmp/_WL_user/XXX-stp/isz0wh/war/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.facelets.FaceletViewHandler'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:273)
at com.sun.faces.config.processor.ApplicationConfigProcessor.setViewHandler(ApplicationConfigProcessor.java:541)
at com.sun.faces.config.processor.ApplicationConfigProcessor.processViewHandlers(ApplicationConfigProcessor.java:861)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:334)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
Truncated. see log file for complete stacktrace
Thanks,
Rajesh
Similar Messages
-
J2EE versions supported by Weblogic 11g, 12g
Hello,
Can you please direct me to a link that I can find what versions of J2EE or Java EE are reliably supported in 11g and 12g.
Thanks,
RajI'm sorry, I thought by mistake that you were asking about Java SE, so I sent you info about Java SE in my previous post. Here is the information about Java EE:
http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
http://www.oracle.com/technetwork/java/javaee/overview/compatibility-javaee5-jsp-141098.html
(Just find "WebLogic" on the page and open the link "Tested configuration" below it).
As you can see WebLogic 12c is Java EE 6 compatible and WebLogic 11g is Java EE 5 compatible. -
What is the supported version of Oracle Enterprise Quality Data for WebLogic 12c
Hi All,
The recent release of Oracle Enterprise Data Quality is 11.1.1.6.1 for which supported weblogic server is WebLogic 10.3.6
Can anyone tell me that if WebLogic 12c also is a supported version for Oracle Enterprise Data Quality 11.1.1.6.1 and if no, then which version of Oracle Enterprise Data Quality is supported on WebLogic 12c (12.1.2)
Its really urgent.Please guide!
Thanks in Advance!Hi,
Thanks But I already followed this link and I forgot to mention that I am looking for the supported version of Oracle Enterprise Data Quality for Product Data for Oracle WebLogic 12.1.2. In the certification matrix of Oracle Enterprise Data Quality for Product Data 11g it is listed that the supported weblogic version is 10.3.6. So I wanted to know which version of Oracle Enterprise Data Quality for Product Data would support weblogic 12.1.2 or if Oracle Enterprise Data Quality for Product Data 11g is supported on weblogic 12.1.2 also.
I checked the certfication matrix for Oracle Enterprise Data Quality for Product Data 11g from Oracle Fusion Middleware Supported System Configurations link only.
Please suggest! -
Where is 64 bit version of WebLogic 12c?
I have trouble locating 64 bit WebLogic 12c page.
Hi,
you can download the Webogic Server 12 C from this site:
http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
For 64 bit plz. download the Generic File.
Regards
Borys -
Deployement problem in weblogic 12c and as well as weblogic 10.3.0.0
Hello All,
I am newbie to Ejb and weblogic so i need your assist, please help me guys.
while deploying my jar file into weblogic i got these errors on admin console i.e
*"An error occurred during activation of changes, please see the log for details.*
*Exception preparing module: EJBModule(demo) [EJB:011023]An error occurred while reading the deployment descriptor.*
*The error was: Error processing annotations: .*
*There are 1 nested errors: weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\phanidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*The deployment has been successfully installed. "*
and in server console displaying like this
"*<30 Apr, 2012 11:39:02 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were*
*detected while initiating deploy task for application 'demo'.>*
*<30 Apr, 2012 11:39:02 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace fo*
*r message 149004*
*weblogic.application.ModuleException: Exception preparing module: EJBModule(demo*
*[EJB:011023]An error occurred while reading the deployment descriptor. The error*
*was:*
*Error processing annotations: .*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*Truncated. see log file for complete stacktrace*
*weblogic.utils.ErrorCollectionException:*
*There are 1 nested errors:*
*weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load clas*
*s com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\pha*
*nidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException:*
*Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1264)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1263)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*Truncated. see log file for complete stacktrace*
*>*
*<30 Apr, 2012 11:39:02 AM IST> <Error> <Console> <BEA-240003> <Console encounter*
*ed the following error weblogic.application.ModuleException: Exception preparing*
*module: EJBModule(demo)*
*[EJB:011023]An error occurred while reading the deployment descriptor. The error*
*was:*
*Error processing annotations: .*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*Caused by: weblogic.utils.ErrorCollectionException:*
*There are 1 nested errors:*
*weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load clas*
*s com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\pha*
*nidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException:*
*Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1264)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1263)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*>*
*My application is*
*MyIntf:*
package com.ejb.model;
import javax.ejb.;
@Remote
public interface MyIntf
public String getMsg();
*MyIntfImpl:*
+package com.ejb.model;+
+import javax.ejb.*;+
+import javax.annotation.*;+
+@Stateless(mappedName="demoapp")+
+public class MyIntfImpl implements MyIntf+
public String getMsg()
System.out.println("in getMsg() method" );
return "Hello I am from getMsg() method" ;
@PostConstruct
public void init()
System.out.println("in init() method" );
@PreDestroy+
public void destroy()
System.out.println("in destroy() method" );
*persistence.xml in META-INF folder is*
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"+
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+
+xsi:schemaLocation="http://java.sun.com/xml/ns/persistence+
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="myunit" transaction-type="JTA">
<jta-data-source>myds</jta-data-source>
</persistence-unit>
</persistence>
The above code is compiled fine,
I create it as demo.jar by using jar -cvf demo.jar com META-INF,
After that i deployed then i got above errors,
I deployed same app into glassfish then it works fine with out prob.
I configured DATA SOURCE properly,
But why i got these error and solve it..
Please guysNote that WebLogic 12c endorses JavaEE6.
Look ups and how JNDI works is explained in the JavaEE6 tutorial: http://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html -
Deployment is failing in WebLogic 12c
Hi ,
I am using Jdeveloper 12.1.2(on windows system) and WebLogic 12.1.2 (server is on linux host as a external stand alone server). But while deploying i am getting below error can any one suggest me please.
[12:54:23 PM] ---- Deployment started. ----
[12:54:23 PM] Target platform is (Weblogic 12.x).
[12:54:39 PM] Retrieving existing application information
[12:54:40 PM] Running dependency analysis...
[12:54:40 PM] Building...
[12:54:46 PM] Deploying 2 profiles...
[12:54:47 PM] Wrote Web Application Module to C:\JDeveloper\mywork\enabledisable-128475\enableDisable\ViewController\deploy\EnableDisable_Raghbasa.war
[12:54:47 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\enabledisable-128475\enableDisable\deploy\enabledisable_raghbasa_remote.ear
[12:54:49 PM] Deploying Application...
[12:55:17 PM] [Deployer:149193]Operation "deploy" on application "enabledisable_raghbasa_remote" has failed on "AdminServer".
[12:55:17 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application enabledisable_raghbasa_remote on AdminServer.: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false].
[12:55:19 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false]
[12:55:20 PM] Deployment cancelled.
[12:55:20 PM] ---- Deployment incomplete ----.
[12:55:20 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Thanks
RaghavThanks for reply yes i installed runtime by following the below link . please correct me any missing steps or to follow any other configuration ?
http://www.oracle-base.com/articles/12c/weblogic-12c-adf-application-development-runtime-installation-on-oracle-linux.php
This is only first step, you will need to follow other steps:
ORACLE-BASE - WebLogic Server 12cR2 : ADF Application Development Runtime - Repository Configuration Utility (RCU)
ORACLE-BASE - WebLogic Server 12cR2 : Create, Extend and Remove Domains
But instead of this, you can read official documentation:
Oracle&reg; Fusion Middleware Installing and Configuring the Oracle Fusion Middleware Infrastructure 12c (12.1.2) - …
Dario -
Deployment fails in Weblogic 12c
Hi ,
I am using web logic server stand alone 12c on linux . And when i try to deploy web app below error is coming , any suggestions.
[01:45:52 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false]
[01:45:53 PM] Deployment cancelled.
[01:45:53 PM] ---- Deployment incomplete ----.
[01:45:53 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Thanks
RaghavHere is some useful information from WLS 12C guide
Development features
WebLogic 12c has support for many IDEs. WebLogic already supports JDeveloper
11.1.1.5, but will come out with 11.1.1.6 later on. However, anyone developing
applications using WLS 11.1.1.5 can deploy them to WLS 12c. -
Anyone please help me solve this error. I am trying to deploy an application on weblogic 12c i am getting an error but the same application gets successfully deployed on weblogic 11g. The error is
An error occurred during activation of changes, please see the log for details.
Exception preparing module: EJBModule(gsCallbackAdapterLGTX-ejb.jar) An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
[EJB:015001]Unable to link class com.aep.gridsmart.adapters.lgtx.buslogic.deliver.xform.AdapterTransfomerDeliverSession in Jar /appl/oracle/middleware/WLS/12.1.1.0/user_projects/domains/Gridsmart/servers/ManagedServer1/tmp/_WL_user/gsCallbackAdapterLGTX/34vz4d/gsCallbackAdapterLGTX-ejb.jar : java.lang.NoClassDefFoundError: com/aep/gridsmart/adapter/deliver/CommonAdapterDeliverBeanCotton please let me know what is the mistake i am
doingThe following path does not exist.
C:\Sun\AppServer7\domains\domain1\server1\
applications\j2ee-modules\task_1\WEB-INF\web.xml -
Java.lang.StackOverflowError Running BASIC JSF 2 example on Weblogic 12c
*I followed the very basic tutorial found here example and cannot seem to get past the following error:*
Error 500--Internal Server Error
java.lang.StackOverflowError
at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:567)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
Pressing shift + F5 a couple times I can generate a slightly different stacktrace as follows:
Error 500--Internal Server Error
java.lang.StackOverflowError
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
Here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>JavaServerFaces</display-name>
<!-- JSF mapping -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Map these files with JSF -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
</web-app>
Here is the pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>JavaServerFaces</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>JavaServerFaces Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<build>
<finalName>JavaServerFaces</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
I have exhausted several hours searching the web and constructing new projects with no luck. I understand that the StackOverflowError is produced from bad recursion calls and infinite loops, however I can't see this as the case here.
My current dev stack is eclipse juno (oepe-12.1.1.2.1-juno-distro-win32-x86_64.zip), m2e-wtp, weblogic 12c, Java EE 6 using JSF 2.1
*If I export the war file using eclipse (Right click the project -> Export -> WAR file) then manually deploy it via the weblogic admin counsel the app works as expected. As soon as I add the project to the server inside eclipse and start the server I can no longer view the page. I noticed that in the autogenerated_ear_ folder per my domain that each project project folder is actually empty.*
Any help would me MUCH appreciated!!
UPDATE - Solved the problem! After adding JSF 2.1 in the pom.xml the JSF 2.1 checkbox was checked in project facets, however it did not add the faces-config.xml to the project. I simple created a new xml file named faces-config.xml under the webapp folder and added the following xml:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd" version="2.1">
<application></application>
</faces-config>
I hope this helps others!
Edited by: 1006228 on May 15, 2013 8:21 PM
Edited by: 1006228 on May 16, 2013 6:39 PMHi.
Try this http://oracleradio.blogspot.com/2012/01/error-durante-el-deployment-de-un.html
It is in spanish, but the important part is that u may correct the issue, installing 11.1.1.5 with the Feature Pack.
It seems to be happening with processes that have loop formed with boundary event inside a gateway circuit.
Hope this helps.
best -
Problem in installing GoldenGate Director on weblogic 12c
hello friends,
we have a server with weblogic 12c and a basic domain namely "base_domain" on it.(i have no earlier experience about weblogic).its path is "D:\Oracle\Middleware_HOME\wlserver_12.1"
i can start its AdminServer and we can login to its console.
now i want to install GoldenGate Director Server.but in installing process when i set Weblogic location it gives me error :
"Please Select a valid weblogic install Directory"
i tried all of these paths :
"D:\Oracle\Middleware_HOME\wlserver_12.1"
"D:\Oracle\Middleware_HOME"
"D:\Oracle"
but the error remains yet.
i installed weblogic on another machine but nothing changed.
another thin is that i checked all places that oracle documents tells that should be updated
i mean :
1 Update the registry.xml file in Weblogic home directory to point to the
correct WebLogic Server home directory.
2 Update all of the scripts under %WLS_SERVER_HOME%/server/bin and %WLS_
SERVER%/common/bin to point to the correct WebLogic Server home directory.
3 Update the .product.properties file under %WLS_SERVER_HOME% to point to the
correct WebLogic Server home directory.
1 & 2 are correct (i think) but i couldn't find third one "product.properties"
please help me.
Whats the problem?
weblogic Servers : Windows Server 2008 64-bit SP2 and Windows Seven Ultimate 64bit
Weblogic version : oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32
GoldenGate Director : gg-director-serversetup_win_v11_1_1_1_0_001You should specify the middle-ware home direction.
The error normally caused by the wrong version installed, which doesn’t have the correct registry.xml in MW_HOME. I met this problem in the past which is because I installed a dev version of WLS in zip file.
After I install the installable version( I think it is the same version you used: oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe of WLS, it works fine. -
Hello,
After you install the 32bit version of Oracle WebLogic 12c , jdevstudio11115install (Windows 7 32 bit platform) . These actions come after the installation of the domain ADF 's and then completed the installation.
I receive the following error when I run startWebLogic.cmd. ( What is the solution. )
WARNING: Opening of file based farm keystore failed.
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Openin
g of file based farm keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
yStore(FileKeyStoreManager.java:351)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
Init(FileKeyStoreServiceImpl.java:101)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:73)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:63)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:157)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:64)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
iceInstance(ContextFactoryImpl.java:139)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
xt(ContextFactoryImpl.java:170)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
xt(ContextFactoryImpl.java:191)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
ntext(JpsContextFactoryImpl.java:132)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
ntext(JpsContextFactoryImpl.java:127)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:850)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:844)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
<Dec 12, 2011 11:43:27 AM EET> <Error> <Security> <BEA-090892> <The loading of O
PSS java security policy provider failed due to exception, see the exception sta
ck trace or the server log file for root cause. If still see no obvious cause, e
nable the debug flag -Djava.security.debug=jpspolicy to get more information. Er
ror message: oracle.security.jps.JpsException: [PolicyUtil] Exception while gett
ing default policy Provider>
<Dec 12, 2011 11:43:27 AM EET> <Critical> <WebLogicServer> <BEA-000386> <Server
subsystem failed. Reason: weblogic.security.SecurityInitializationException: The
loading of OPSS java security policy provider failed due to exception, see the
exception stack trace or the server log file for root cause. If still see no obv
ious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more in
formation. Error message: oracle.security.jps.JpsException: [PolicyUtil] Excepti
on while getting default policy Provider
weblogic.security.SecurityInitializationException: The loading of OPSS java secu
rity policy provider failed due to exception, see the exception stack trace or t
he server log file for root cause. If still see no obvious cause, enable the deb
ug flag -Djava.security.debug=jpspolicy to get more information. Error message:
oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default p
olicy Provider
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsExcep
tion: [PolicyUtil] Exception while getting default policy Provider
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:293)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while gettin
g default policy Provider
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:899)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsExcep
tion: [PolicyUtil] Unable to obtain default JPS Context!
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain defau
lt JPS Context!
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:860)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:844)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06
514: Opening of file based farm keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
yStore(FileKeyStoreManager.java:351)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
Init(FileKeyStoreServiceImpl.java:101)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:73)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:63)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:157)
Truncated. see log file for complete stacktrace
>
<Dec 12, 2011 11:43:30 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to FAILED.>
<Dec 12, 2011 11:43:30 AM EET> <Error> <WebLogicServer> <BEA-000383> <A critical
service failed. The server will shut itself down.>
<Dec 12, 2011 11:43:33 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to FORCE_SHUTTING_DOWN.>
Note: JDeveloper 11.1.2.1 and 11.1.1.5.0 install but it did not work.
C:\oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\bootstrap\cwallet.sso I have full authority, but did not work folder. (permissions full controll)
Edited by: 889612 on 12.Ara.2011 07:06I am having the exact same issue with Weblogic 12c on Windows Server 2003 SP1 on Intel Itanium processor with Java SE 1.6u29 and JDeveloper 11.1.2.1.0.
Please advise!
Thanks in advance.
P.S.
Unfortunately, problem also confirmed on Windows 7 64bit and JRockit-jdk1.6.0_29-R28.2.0-4.1.0 and JDeveloper 11.1.2.1.0.
LOG
WARNING: Failed to save farm keystore. Reason {0}
Dec 12, 2011 10:51:29 PM oracle.security.jps.internal.keystore.file.FileKeyStore
Manager createKeyStore
WARNING: Failed to save farm keystore. Reason {0}
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.create KeyStore(FileKeyStoreManager.java:309)
Edited by: rade.radenkovic on Dec 12, 2011 1:53 PM -
Override Spring jar in Weblogic 12c
Hi Folks,
We have been facing an issue while overriding the Spring jar in Weblogic 12c. Basically we need to write a bean based on some 3rd party API calling their interfaces. Now they use Spring 2.5 jar for their own implementation. Since Weblogic inherently supports Spring 3.0 jar. As a result when we write our bean wrapping their interfaces and deploy it, it doesn't work. We replicated the issue by replacing Spring 2.5 jar with Spring 3 in local environment.
If we modify the server classpath to load the Spring 2.5 jar (preceding Spring 3.0), entire soa-infra application goes down, so what We wanted to know if it is possible to override the Spring jar only for our application itself? While loading the application it will override the Spring 3.0 jar with Spring 2.5 in the application context but server will keep using Spring 3.0?
Any ideas/suggestions highly appreciated!
Thanks,
BhaskarHi Bhaskar,
have you tried packing the Spring libraries in your application and using the Filterring Classloader? Maybe this links can help you :
Understanding WebLogic Server Application Classloading
http://docs.oracle.com/cd/E24329_01/web.1211/e21049/weblogic_xml.htm#WBAPP601
http://stackoverflow.com/questions/11476874/weblogic-10-3-5-overriding-spring-version
best regards, Nicolas -
Javax.jms.InvalidSelectorException occurs when upgrade to weblogic 12c
Recently, our team upgrade weblogic server from 11g to 12c, some errors occur when start web application in weblogic domain.
The error is related to message driven bean, below is the part of ejb-jar.xml definition:
<message-driven id="message-driven_1">
<description>Message Driven Bean</description>
<display-name>Message Configuration (MDB)</display-name>
<ejb-name>Logger</ejb-name>
<ejb-class>com.logging.mdb.Logger</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>messageSelector</activation-config-property-name>
<activation-config-property-value>DELIVERY='IMMEDIATE'</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
When start application below errors show up:
<Dec 18, 2013 6:24:05 AM PST> <Warning> <EJB> <SLC02PGO> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1387376645415> <BEA-010061> <The Message-Driven EJB Logger is unable to connect to the JMS destination edx/queue/logger. The Error was:
javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "DELIVERY='IMMEDIATE'"
Nested exception: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "DELIVERY='IMMEDIATE'"
Nested exception: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "DELIVERY='IMMEDIATE'"
Nested exception: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "DELIVERY='IMMEDIATE'"
Nested exception: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "DELIVERY='IMMEDIATE'"
####<Dec 18, 2013 6:24:15 AM PST> <Warning> <EJB> <SLC02PGO> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1387376655414> <BEA-010096> <The Message-Driven EJB MessageDispatcher is unable to connect to the JMS destination or bind to JCA resource adapter edx.queue.outbound. The onnection failed after 124 attempts. The MDB will attempt to reconnect/rebind every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>
It works well in weblogic 11g, not sure whether there's any changes in weblgic 12c.
I'm appreciate if there's someone can help me on this issue.
<message-driven id="message-driven_1">
<description>Message Driven Bean</description>
<display-name>Message Configuration (MDB)</display-name>
<ejb-name>Logger</ejb-name>
<ejb-class>com.edocs.fs.logging.mdb.Logger</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>messageSelector</activation-config-property-name>
<activation-config-property-value>DELIVERY='IMMEDIATE'</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResRef_Logger_1">
<res-ref-name>jdbc/LoggerDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>Hi,
I debug the application, I found my @ViewScoped ManagedBeans, they're recreated after you click a button or select a item in combobox
Here is a piece of code:
@PostConstruct
public void resolveEntity() {
Object sEntity = FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("entity");
entity = (BctTbOportunidade) sEntity;
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().remove("entity");
if (entity == null) {
entity = new BctTbOportunidade();
I use @postConstruct to get a entity from another page in sessionMap(I set a item from a table and use this method to modify a entity in a other page).
When I click a button or select a item in combobox in same page @PostConstruct method is called but values are lost. No Exceptions are thrown by server.
I found a artice written by BalluC that some versions of jsf 2.1 has this behavior The BalusC Code: The benefits and pitfalls of @ViewScoped
I already configured my web.xml to set false javax.faces.PARTIAL_STATE_SAVING
But this behavior continues.
The jsf version deployed in my weblogic 12c is 2.1.7. -
Upgrading to weblogic 12c issue with JSF
Migrating to the Weblogic 12c faced so many issue with the shared class library. After fixing all the issue stuck with JSF and on google everywhere it was mentioned error happening due to multiple JSF version colliding.
My whole application works like a charm in 10.3.6 but same app not working after updating the spring 4 and hibernate 4.
This is the error I am receiving below errors ...
<javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <JSF1029: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' does not implement the InjectionProvider interface. >
1. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
2. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(Unknown Source)
Truncated. see log file for complete stacktrace
Caused By: javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(Unknown Source)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.springframework.web.jsf.DelegatingVariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Truncated. see log file for complete stacktrace
3. ]] Root cause of ServletException.
java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
at javax.faces.FactoryFinderInstance.getFactory(Unknown Source)
at javax.faces.FactoryFinder.getFactory(Unknown Source)
at javax.faces.webapp.FacesServlet.init(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
Truncated. see log file for complete stacktrace
4.Error> <javax.faces> <BEA-000000> <Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.>
<Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:583)
Truncated. see log file for complete stacktrace
I had the classloader from weblogic but unable to find if there is anything related with Multiple JSF versions colliding. Here is the classloader log
**System Classloaders**
Type: sun.misc.Launcher$ExtClassLoader
HashCode: 1956433926
Classpath:
/C:/Java/jdk1.7.0_45/jre/lib/ext/access-bridge-64.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/dnsns.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/jaccess.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/localedata.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/sunec.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/sunjce_provider.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/sunmscapi.jar
/C:/Java/jdk1.7.0_45/jre/lib/ext/zipfs.jar
Type: sun.misc.Launcher$AppClassLoader
HashCode: 345487281
Classpath:
/C:/Oracle12c/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar
/C:/Oracle12c/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar
/C:/Oracle12c/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar
/C:/Oracle12c/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar
/C:/Oracle12c/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar
/C:/Oracle12c/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar
/C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic.jar
/C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar
/C:/Oracle12c/Middleware/wlserver_12.1/server/lib/webservices.jar
/C:/Oracle12c/Middleware/wlserver_12.1/server/lib/xqrl.jar
/C:/Program%20Files/Java/jdk1.7.0_45/lib/tools.jar
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 1277718374
Classpath:
**Application Classloaders**
Type: weblogic.utils.classloaders.FilteringClassLoader
HashCode: 929366372
Filter: [antlr.*, antlr.collections.*, antlr.collections.impl.*, antlr.debug.misc.*, com.sun.activation.*, com.sun.istack.*, com.sun.mail.*, com.sun.xml.*, org.apache.commons.*, org.joda.time.*, org.apache.xalan.*, org.apache.xml.*, org.apache.wml.*, org.apache.xerces.*, org.apache.xpath.*, com.ctc.wstx.*, org.slf4j.*, javax.faces.*, com.sun.faces.*, com.bea.faces.*, com.sun.el.*, javax.el.*, javassist.*]
Classpath: empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 2137066604
Classpath:
**Type: weblogic.utils.classloaders.FilteringClassLoader**
HashCode: 1212049573
Filter: []
Classpath: empty
Type: weblogic.utils.classloaders.ChangeAwareClassLoader
HashCode: 1604673952
Classpath:
C:\s-ear-1.0-SNAPSHOT_4
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\classes
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\FastInfoset-1.2.12.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\_wl_cls_gen.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\acegi-security-1.0.7.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation-1.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\antlr-2.7.7.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aopalliance-1.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjrt-1.8.5.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjweaver-1.8.5.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\backport-util-concurrent-3.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\bcprov-jdk16-140.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cacauth-2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-core-2.5.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-josql-2.5.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps-handshake-3.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2-liquibase-1.0-SNAPSHOT.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2domain-1.0-SNAPSHOT.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2util-1.0-SNAPSHOT.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cloning-1.7.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-beanutils-1.8.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-codec-1.9.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-collections-3.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-dbcp-1.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-digester-2.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-httpclient-3.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-io-1.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-lang-2.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-1.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-api-1.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-management-1.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-pool-1.5.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\dom4j-1.6.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\gentlyweb-utils-1.5.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-commons-annotations-4.0.4.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-core-4.2.18.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-entitymanager-4.2.18.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.1.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-validator-4.2.0.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-3.2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-ace-3.2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-compat-3.2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icepush-3.2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itext-4.2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itextpdf-5.0.6.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-asl-1.9.9.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-lgpl-1.9.9.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-mapper-asl-1.9.9.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jasperreports-ca-4.8.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javassist-3.18.2-GA.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.el-api-2.2.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.faces-2.2.9.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.inject-1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jax-qname.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api-2.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-impl-2.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb1-impl.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxp-api.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxws-api-2.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-archive-browsing-5.0.0alpha-200607201-119.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-3.1.3.GA.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-annotations-1.2.0.Beta1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-transaction-api_1.1_spec-1.0.1.Final.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jcl-over-slf4j-1.5.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jersey-bundle-1.18.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-hibernate-1.3.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-1.5.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\json-20140107.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr173_1.0_api.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr250-api-1.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr311-api-1.1.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jstl-1.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jta-1.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\log4j-1.2.14.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail-1.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\objenesis-1.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\opencsv-1.7.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\oro-2.0.8.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\portlet-api-2.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\primefaces-3.4.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\quartz-1.8.4.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api-1.3.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-impl.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer-2.7.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\service-1.0-SNAPSHOT.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\servlet.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-api-1.5.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-log4j12-1.5.2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aop-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aspects-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-beans-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-support-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-core-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-expression-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jdbc-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jms-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-orm-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-oxm-3.0.5.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-security-core-4.0.0.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-tx-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-web-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-webmvc-4.0.9.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-core-2.0.0.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-security-2.0.0.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-xml-2.0.0.RELEASE.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\stax-api-1.0-2.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\3capture-1.0.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\s-beans-1.0-SNAPSHOT.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.core-3.1.0.CR10.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.jodatime-1.9.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.spi-3.1.0.CR10.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\validation-api-1.0.0.GA.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\wss4j-1.5.8.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xalan-2.7.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl-2.8.1.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xml-apis.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmldsig.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec-1.4.3.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec.jar
C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xws-security-3.0.jar
jsf myfaces weblogic1
Here are links for more details.
http://stackoverflow.com/questions/29857571/weblogic-12c-java-lang-illegalstateexception-could-not-find-backup-for-factory
http://www.coderanch.com/t/649308/JSF/java/Faces-Servlet-failed-preload-startup
Sorry incase question not formatted. Any suggestions appreciated.hi.
I had faced this behavior on weblogic 12c(12.1.1).
Maybe This problem was solved by 12.1.2.
But, when text item submitted together with a upload file, multibyte characters was garbage characters.
See Multibyte character was garbage characters, when multipart requested (Multipartリクエストで文字化けが発生する) on WebLogic12(12.1.2.0) -
Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener
Hi Guys,
Does anyone have experience of Weblogic 12c under windows?
I have some difficulties to create a windows service for a domain.
Here is the script to create the service:
echo off
SETLOCAL
set DOMAIN_NAME=PMU
set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\PMU
set SERVER_NAME=LICORNE2012
set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
set PRODUCTION_MODE=true
set JAVA_OPTIONS=-Dweblogic.Name=LICORNE2012
set WLS_USER=weblogic
set WLS_PW=password
set ADMIN_URL=http://LICORNE2012:7001
set MEM_ARGS=-Xms256m –Xmx256m
call "C:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd"
ENDLOCAL
The service is created and when I start the service, it start then stop few second after.
Here is the error I am getting.
[Tue Jun 25 23:36:01 2013] [I] [initLog] initializing logger
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
[Tue Jun 25 23:36:01 2013] [I] [initLog] TIME based log rotation is ON
[Tue Jun 25 23:36:01 2013] [I] [trigger] First rotation due in 1438 secs
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] About to execute CreateThread()
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszCmdLine = -client -Xms32m -Xmx200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseSpinning -Dweblogic.Name=LICORNE2012 -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -classpath "C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe101\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;" -Dweblogic.Name=LICORNE2012 -Dweblogic.management.username=weblogic -Dweblogic.management.server="http://LICORNE2012:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy" weblogic.Server
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\JDK160~1
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\PMU
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszOldPath = C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8;C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszDelay = 0
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszStopClass = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszLog = [c:\temp\web.log]
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Thread created successfully
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszHost = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszPort = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] waiting for multiple events
[Tue Jun 25 23:36:01 2013] [I] [StartJVM] Parsing JVM Arguments
[Tue Jun 25 23:36:01 2013] [I] [StartJVM] Initializing JVM
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Loading class - weblogic.Server
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Building arguments for main class
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Invoking main class
<25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<25 juin 2013 23 h 36 CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
<25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141223> <The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.>
<25 juin 2013 23 h 36 CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: [Management:141223]The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:74)
>
<25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<25 juin 2013 23 h 36 CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
[Tue Jun 25 23:36:11 2013] [I] [ExitHandler] Fire (-1)
[Tue Jun 25 23:36:11 2013] [I] [ServiceStart] done waiting for multiple events. Wait=0
[Tue Jun 25 23:36:11 2013] [I] [ServiceStart] Informing SCM about SERVICE_STOP
Thanks for your help
jko- not sure about your script, but obviously it doesn't detect the name of your managed server LICORNE2012 since there seems to be an admin server only in that domain.
- alternatively you might try the approach posted by the AMIS guys
Weblogic Admin and Managed servers as a Windows service
- btw: having your domain under user_projects is not best practice (but not the problem here).
good luck!
Maybe you are looking for
-
Can not launch the Eclipse on linux.
Hi! My system is redhat 7.2, jre1.4.0(used rpm when install),and download eclipse 2.0zip. elcipse is in :/usr/eclipse and startup.jar also in /usr/eclipse. My problem is: when I launch the eclipse,the follow message is out----- java.lang.ClassNotFoun
-
I have installed and reinstalled Reader 11.0.10 on my Mac It is Mac OS 10.10.1 running Safari 8.0.2 I cannot open PDF files properly, I only get partial information. Reader does not show up when I try to open with other files. When checking plug-in
-
My problems about reload table
hi guys, i hava some problems now ,but i think they are easy for u.i need your help,thanks. 1.in my mini application i save the data of JTable in txt format.i have a File menu,and the menuitems are New , Open ,Save ,Save As ,and exit.When i trigger t
-
Trying to try livecycle designer on a trial basis
Trying to try livecycle designer on a trial basis as advertised under "free trial offer". After download, file cannot be used without the product key.
-
How to delete standard project definition
now in the product system. As for some problem, there are some false standard project definition. how to delete standard project definition. Please explain me all the steps to be required. Thanks in advance!