Deployment of WebLogic 12 c issue caused by: java.lang.NoSuchFieldError: XQueryinstance


Hello

We are migrating from weblogic 10.3.3 for Weblogic 12 c. While deploying a cim.modules.nbif_jms_nc.ear application, we get the following exception stack trace. This works perfectly well on 10.3.3

Caused by: java.lang.NoSuchFieldError: XQueryinstance

to com.att.aftdiscovery.header.v1.impl.runtime.DefaultJAXBContextImpl. < init > (DefaultJAXBContextImpl.java:50)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:94)

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:197)

at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147)

at javax.xml.bind.ContextFinder.find(ContextFinder.java:309)

at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)

at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)

at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313)

to com.att.bbnms.xml.transformer.AbstractJAXB10Transformer. < init > (AbstractJAXB10Transformer.java:74)

to com.att.bbnms.netx.nc.xml.PTMXMLFactory. < init > (PTMXMLFactory.java:41)

to com.att.bbnms.cim.nc.service.impl.GraniteServiceImpl. < clinit > (GraniteServiceImpl.java:54)

at com.att.bbnms.cim.nc.registry.GraniteServiceRegistry.getGraniteService(GraniteServiceRegistry.java:26)

to com.att.bbnms.cim.ejb.timer.QNINotificationTimer. < clinit > (QNINotificationTimer.java:37)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at java.lang.Class.newInstance(Class.java:374)

to weblogic.application.internal.flow.BaseLifecycleFlow$ CreateListenerAction.run (BaseLifecycleFlow.java:147)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

to weblogic.application.utils.SecurityUtils$ WLSSecurityProvider.invokePrivilegedAction (SecurityUtils.java:171)

at weblogic.application.utils.SecurityUtils.invokePrivilegedAction(SecurityUtils.java:78)

to weblogic.application.internal.flow.BaseLifecycleFlow$ BaseAction.invoke (BaseLifecycleFlow.java:106)

at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:97)

at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:83)

at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:152)

at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:242)

to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:706)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)

at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)

at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 000 (DeploymentReceiverCallbackDeliverer.java:13)

to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 1.run(DeploymentReceiverCallbackDeliverer.java:46)

to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

First of all,

I found that a bug in JIRA saved with similar problem, you are facing

https://Java.NET/projects/JAXB/lists/issues/archive/2012-05/message/15

Please check if you can use a more up-to-date

Then check if you work on a Certified version of JAXB

JAXB 2.2 is the supported version on 12 c as per the below Doc Oracle WLS

Characteristics and standards supported by the WebLogic Web Services - 12 c Release 1 (12.1.1)

Hope this helps!

Vijaya

========

Tags: Fusion Middleware

Similar Questions

  • Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    Hi all

    When I deploy my application to start spring on weblogic server 12 c (12.1.3.0.0), the following exception is thrown.

    There is a class cast exception, perhaps jar duplication but in wls-cat I couldn't see my application, so I can't detect the duplication.

    In my application, the following jars are in the web-inf/lib folder:

    validation-api - 1.0.0.GA.jar

    sleep extended validator - 4.3.2.Final.jar

    And in the weblogic wlserver\modules file:

    javax.validation_1.2.0.jar

    Hibernate.validator_1.0.0.0_4 - 1 - 0.jar

    15:09:36.728 [ExecuteThread [pending]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] ERROR o.s.boot.SpringApplication - Application start failed

    org.springframework.beans.factory.BeanCreationException: error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': calling the init method failed; nested exception is javax.validation.ValidationException: could not get the resolvers available provider.

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    [to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:302) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:199) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:620) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.SpringApplication.run(SpringApplication.java:320) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:142) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:89) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:51) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) [spring-web - 4.0.6.RELEASE.jar:4.0.6.RELEASE]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1394) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1331) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1317) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1834) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2876) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:823) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:360) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:356) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:73) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:210) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:118) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78) [weblogic.server.merged.jar:12.1.3.0.0]

    at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source) ~ [na: na]

    to sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71]

    to java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]

    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:254) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87) [weblogic.server.merged.jar:12.1.3.0.0]

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.oneJob (CurrentTaskFuture.java:1162) [weblogic.server.merged.jar:12.1.3.0.0]

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.run (CurrentTaskFuture.java:1147) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:553) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263) [weblogic.server.merged.jar:12.1.3.0.0]

    Caused by: javax.validation.ValidationException: could not get the resolvers available provider.

    [to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:259) ~[validation-api-1.0.0.GA.jar:na]

    to org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    [to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    ... 77 omitted common images

    Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    [to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332) ~[validation-api-1.0.0.GA.jar:na]

    [to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256) ~[validation-api-1.0.0.GA.jar:na]

    ... 82 omitted common images

    < 26 October 2015 15:09:37 EET > < error > < hats > < BEA-149231 > < cannot create the activation state to true for the application "sincaplive".

    weblogic.application.ModuleException: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332)

    to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256)

    at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)

    to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343)

    at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175)

    Truncated. check the log file full stacktrace

    In the meantime I tried to install my file. War on 12.1.2(not 12.1.3) and the error disappeared on this version of weblogic: S

    Thanks for your response

  • Caused by: java.lang.ClassNotFoundException: weblogic.security.SecurityLogg

    Hi all

    I installed Weblogic server in Redhat Linux and when I try to run start Weblogic service, I get the following error

    from weblogic with the Java version:
    Java version "1.6.0_33".
    Java (TM) SE Runtime Environment (build 1.6.0_33 - b04)
    Java for 64-bit Server VM (build 20, 8 - b03, mixed mode)
    WLS starting with line:
    /usr/java/JDK1.6.0_33/bin/Java-client-Xms256m-Xmx512m - XX : CompileThreshold = 8000 - XX : PermSize = 128m - XX : MaxPermSize = 256m-Dweblogic.Name=AdminServer-Djava.security.policy=/u01/app/oracle/product/Middleware/wlserver_10.3/server/lib/weblogic.policy - Xverify : none-ea:com.bea.wcp... - da-Dplatform.home=/u01/app/oracle/product/Middleware/wlserver_10.3-Dwls.home=/u01/app/oracle/product/Middleware/wlserver_10.3/server-Dweblogic.home=/u01/app/oracle/product/Middleware/wlserver_10.3/server-Dweblogic.management.discover=true-Dwlw.iterativeDev=-Dwlw.testConsole=-Dwlw.logErrorsToConsole=-Dweblogic.ext.dirs=/home/sanco-lux-dev2/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/ SANCO-lux-dev2/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath WebLogic. Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/SecurityLogger
    at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81)
    in weblogic. Server.main (Server.Java:67)
    Caused by: java.lang.ClassNotFoundException: weblogic.security.SecurityLogger
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 2 more


    Any ideas?

    Thank you in advance

    Hello

    Below of jar files were missing in the server installation directory: / / Oracle / / Middleware / / modules

    (1) general Logger associated:

    com.bea.Core.Logging.ja_1.6.0.0.jar and com.bea.core.logging_1.6.0.0.jar

    (2) and the other set of recorder security related jar files:

    com.bea.Core.WebLogic.Security.Logger.ja_1.3.0.0.jar
    com.bea.Core.WebLogic.Security.logger_1.3.0.0.jar

    Download the other environment files and place them under: //Oracle / / Middleware / / modules

    or

    In this case, the jar files have been corrupted.
    -rwxrwx - 1 oracle install 1 Feb 17 21:01 com.bea.core.weblogic.security.logger_1.5.0.0.jar
    -rwxrwx - 1 oracle install 1 Feb 17 21:01 com.bea.core.weblogic.security.logger.ja_1.5.0.0.jar

    The files of two jar containing the security logging class that is a failure are just 1 byte in size. On a Weblogic 10.3 installation, they are 174811 and 66766 bytes respectively.

    In this case, the corrupt jar files can be copied to another system.

    In general, it is recommended that a relocation is carried out.

    Kind regards
    Kal

  • Caused by: java.lang.ClassNotFoundException: oracle.ias.cache.ObjectNotFoundException

    Hello

    I'm the EBS R12 incorporating OAM OID.

    Follow the below document mentioned,.

    Integration Oracle E-Business Suite Release 12 with Access Manager Oracle 11 GR 2 (11.1.2) using Oracle E-Business Suite AccessGate (Doc ID 1484024.1()

    get error in 5.2.4 check Oracle E-Business Suite AccessGate deployment

    http://ebstest.Oracle.com:7073/ebsauth_EBSTEST/ssologout_callback gives error like below


    java.lang.NoClassDefFoundError: oracle, ias, cache, ObjectNotFoundException

    to oracle.apps.fnd.ext.sso.AppsHttpServletRequestWrapper. (Unknown source)
    at oracle.apps.fnd.ext.sso.FndSsoLogout.doGet (unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3729)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: oracle.ias.cache.ObjectNotFoundException
    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)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

    kindly help me to solve the problem above.

    Concerning

    Villi Kumar

    Hello

    We fixed the issue, now, we have access to the url.

    Solution:

    =======

    We have added the classpath to the setDomainEnv.sh script.

    From the setDomainEnv.sh file and started the server managed by script.

    It has worked well.

    Thanks for the suggestions.

    Concerning

    Kumar

  • Caused by: java.lang.NoSuchMethodError: org.apache.poi.ss.SpreadsheetVersion.getMaxCellStyles () I

    Hi all

    I used poi - 3.12 in my project because I need to read xlsx files

    and installed used webcenter poi - 3.5

    I get this error in my code:

    Caused by: java.lang.NoSuchMethodError: org.apache.poi.ss.SpreadsheetVersion.getMaxCellStyles () I

    Please guide me

    Thanks in advance

    Maybe you can try with

    true

    in your weblogic.xml.

    If not enough, you should research how to replace poi next to webcenter

  • While the configuration of the JMS driver had error (caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_45\bin\gmailcer tstore.jks)

    Hi all

    I have trid to configure the JMS

    -> down loaded the OpenSSL for win - 64. and configured by using the following steps:

    --> To open the certificate: openssl s_client-connect smtp.gmail.com:465

    -> certificate (mailsmpt.cert) copied to the location of the JDK,

    -> in compond to guest Ececuted certificate, after moving to the location of the JDL, it succeeded.

    -> I have before the JMS driver in Em console after recording, I had attached to the server, I get the following error.

    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_4

    5\bin\gmailcertstore/jks

    Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_45\bin\gmailcer

    TStore.JKS

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    The main class is not found: Files\Java\jdk1.6.0_45\bin\gmailcertstore.jks.  P

    the program will exit.

    gmailcertstore. JKS file exists in the location of "C:\Program Files\Java\jdk1.6.0_45\bin"

    Thanks in advance...

    This problem has been resolved,

    Actuallly, I installed the Weblogic Server on top of JDK which was in c:\\programFiles\Java\jdk1/6/0_45,

    And SOA server on top of JDK which was in c:\\oracle\middleware\jdk...

    I placed the "gmailcertstore.jks" in c:\\programFiles\Java\jdk1/6/0_45, instead of c:\\oracle\middleware\jdk. causing the problem for me.

    Thank you.

  • Caused by: java.lang.ClassNotFoundException:

    Hello Alll,

    I use jdeveloper 11.1.2.3.0
    during the delivery of my application, when I go to the page where I use "view.backing.UploadFile", I have thie error Although the bean in configured and the java class is here.
    What should I do?

    This is the error:

    oracle.adf.controller.ControllerException: ADFC-10001: failed to instantiate the class "view.backing.UploadFile".
    at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:189)
    at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:193)
    at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:901)
    ....
    ....
    ....
    Caused by: java.lang.ClassNotFoundException: view.backing.UploadFile
    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:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    ...
    ...
    ...

    Hello

    try the JDeveloper menu

    1 build--> own, all
    2 build--> do all

    The Java class is configured in the same project? The error occurs in the built-in Server?

    Frank

  • Caused by: java.lang.NoClassDefFoundError: oracle/portal/provider/v2/rendering

    Hi people,


    I published a portlet in WLS_Portlet managed server, but when I open the portlet in my application, I get:

    Caused by: java.lang.NoClassDefFoundError: oracle/portal/provider/v2/rendering/PortletRenderRequest
    at br.com.it7.portal.portlet.Conteudo.doDispatch(Conteudo.java:52)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
    ... more than 44

    My question is, the WLS is not this PortletRenderRequest class? There is a deployment that I need to check with the managed server WLS_Portlet?

    Thks

    Is not used for the KDP and no portlets JSR168 portlets PortletRenderRequest?
    If your portlet portlet a regular JSR168 or is it a PDK portlet?

    Can you post (Conteudo.java:52) because maybe you just a mistake their?

  • Pure SQL Exception: Caused by java.lang.NullPointerException.

    Could not invoke the 'Query_XX_Flag' against the 'db' operation due to: []

    LIAISON. JCA-11633

    Pure SQL exception.

    Pure SQL select DECODE Execute (MSI. ATTRIBUTE5, 'Y', 'True', 'False') XX_flag of msi mtl_system_items_b where inventory_item_id =? and rownum = 1 failed.

    Caused by java.lang.NullPointerException.

    The pure SQL option is for only border use cases and provides simple but minimal functionality.  Maybe try the "Run an operation on a table" option instead.  This exception is considered non reproducible, probably due to an error of modeling.

    Version: Oracle soa suite 12.1.3 - jdk1.7 - (local) Windows 7 operating system

    I get the above exception in one of our Async BPEL of the process, and it happens like 1 in 5 cases.

    As you can see, the reason for the error is not really clear and I see nothing diagnosis either connects.

    And when I start this process from the console, it's getting completed successfully.

    We are not exceeding the number of DB connections either.

    Here's our design:

    BPEL Poller-> (several calls) Async BPEL process-> database adaptor with above query

    What could be wrong? What is the reason for this odd behavior?

    Thank you

    Prasanna

    This error could not be reproduced on the test environment, where the SOA server with oracle DB of the backend rather than javaDB on integrated server is installed...

    So if someone were unexpected exceptions on the local server and then try to test on the test/UAT/pre-production environments.

    Prasanna-

  • FRM-92091 caused by java.lang.IllegalArgumentException

    Hello

    Here are our customer environment:

    Oracle Forms 11.1.2.2

    Client OS: Windows 7 64-bit

    Customer JRE: 1.8.0_45 - b14

    Plug-in (Internet Explorer): 11.45.2.14

    The customer gets intermittendly a FRM-92091 error caused by the Java Exception:

    java.lang.IllegalArgumentException: comparison method violates the general contract

    The error occurs in several forms. We could not set a context in which the error is triggered.

    Some research on the internet lead us to

    Bug ID: JDK-6804124 (coll) replace "modified mergesort" in java.util.Arrays.sort with timsort

    and

    https://bugs.OpenJDK.Java.NET/browse/JDK-8078607

    We found a suggestion for a workaround pass

    -Djava.util.Arrays.useLegacyMergeSort = true

    for customers JRE or setting

    System.setProperty ("java.util.Arrays.useLegacyMergeSort", "true");

    In the code of the applet.

    Here are my questions:

    (1) is this problem known as forms 11.1.2.2?

    (2) we use a custom jar file. It would be useful to call System.setProperty ("java.util.Arrays.useLegacyMergeSort", "true"); in our code?

    (3) if there are 2) is not successful. Is there a method to pass - Djava.util.Arrays.useLegacyMergeSort = true to the forms by a side configuration applet server or do we put in the java Panel client on each client computer?

    TIA

    Frank Piron

    Hello community,

    Finally, we found a solution without touching the client computer. On the Weblogic Server, edit the file (s)

    $FR_INST\config\FormsComponent\forms\server\basejpi.htm

    $FR_INST\config\FormsComponent\forms\server\webutiljpi.htm (we use webutil)

    and add the line

    where the parameters are defined.

  • During the installation of Oracle sector Public Revenue Management Applications, we face "" java.lang.ClassNotFoundException: weblogic.security.Encrypt "issues."

    During the installation of Application Framework via./install.sh script, then that account activity held an entry for "WebLogic Admin User ID system" we face as "' java.lang.ClassNotFoundException: weblogic.security.Encrypt" emits messages. "


    Please, help us to solve this problem as soon as POSSIBLE.


    Details of the environment:

    Operating system: 64-bit 5U8 OEL.


    Follow-up document:

    PSRM - sector Public Revenue Management Oracle Installation Documentation (Doc ID 2067339.1)-PSRM_Installation_Guide_v2_4_0_0_0

    Error message:

    Enter the value to be encrypted: 160122:164014 < criteria > error occurred running /usr/java/jdk1.6.0_45/bin/java-Dweblogic.RootDirectory=/ebiz/app/ouaf/Release-FW-

    V4.2.0.0.0/FW. V4.2.0.0.0/data/product/WLS.splapp weblogic.security.Encrypt:

    Output is Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/encryption

    Caused by: java.lang.ClassNotFoundException: weblogic.security.Encrypt

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    The main class is not found: weblogic.security.Encrypt.  Program ends.

    End of output

    The program finished in line 118 of the data/bin/perllib/SPL/splLog.pm.

    Error: install.plx has not completed successfully. On the way out.

    From now on, we have completed the slot status of activities for your reference.

    Sl.No

    Name of the activity

    Status

    1

    Create users and groups

    Completed

    2

    Install prerequisite software

    Completed

    3

    Oracle 11.2.0.3 database

    Completed

    4

    Java 6

    Completed

    5

    Oracle WebLogic 10.3.6

    Completed

    6

    Hibernation 4.1.0

    Completed

    7

    Micro Focus Server 5.1 WrapPack 8

    Completed

    8

    Install Oracle Utilities application.

    Here issue facing

    9

    Install Oracle Utilities Application Framework Service Pack 1.

    Pending

    10

    Install Oracle Public Revenue Management sector

    Pending

    11

    Deploy Oracle sector Public Revenue Management application

    Pending















    Concerning

    Knani G

    Hello

    During the installation, we have wrongly given Home Directory Web Application Server like/Ebiz/app/woof/Middleware

    So we changed the Homepage Directory Web Application Server as /ebiz/app/ouaf/Middleware/wlserver_10.3

    then the problem is resolved.

    Thanks for the support.

    Concerning

    Villi Kumar

  • java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet while deploying the integrated WebLogic Server Application

    Hi team,

    A lot of time I faced this problem, but today want discussed with you people please suggest me what files are get damaged or that bad so I'm not able to deploy this Application in Server integrated Weblogic himself.

    I have download the sample from the link below and open it in the version 11.1.2.3.0 for Jdeveloper and weblogic Server integrated version is

    WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 1398638 2011

    Java version:

    1.6.0_24

    Name of the operating system:

    Windows 7 (6.1)

    link to download the sample:

    https://docs.Oracle.com/CD/E18941_01/tutorials/jdtut_11r2_83/jdtut_11r2_83.html

    It opens directly the sample in Jdeveloper without converting the project and executing the Application, I get the below error:

    [11: 01:19]-deployment began.  ----

    [11: 01:19] the target platform's (Weblogic 10.3).

    [11: 01:22] recovery of the existing application information

    [11: 01:22] analysis of the dependence running...

    [11: 01:23] deployment 2 profiles...

    [11: 01:25] wrote on the Web for C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample\ViewControllerWebApp.war application Module

    [11: 01:27] wrote the Module Enterprise Application to C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample

    [11: 01:27] Application deployment...

    < 4 February 2016 11:01:29 IST > < error > < HTTP > < BEA-101371 > < there was a failure during the processing of annotations for application C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample\ViewControllerWebApp.war. Please make sure that annotations are valid. The error is javax.faces.webapp.FacesServlet >

    < 4 February 2016 11:01:29 IST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1454563887423 'for task ' 0'. Error is: "weblogic.application.ModuleException: could not load the webapp: ' ADFSecuritySample-ViewController-context-root" "

    weblogic.application.ModuleException: cannot load the webapp: "ADFSecuritySample-ViewController-context-root".

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

    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:305)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

    Truncated. check the log file full stacktrace

    >

    < 4 February 2016 11:01:29 IST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "ADFSkinSample" >.

    < 4 February 2016 11:01:29 IST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery

    weblogic.application.ModuleException: cannot load the webapp: "ADFSecuritySample-ViewController-context-root".

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

    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:305)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

    Truncated. check the log file full stacktrace

    >

    [11: 01:29] undeployment.

    [11: 01:29] - incomplete deployment.

    [11: 01:29] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    # Cannot run application ADFSkinSample due to the deployment on IntegratedWebLogicServer error.

    [ADFSkinSample application stopped and cancelled Server Instance IntegratedWebLogicServer]

    Manager of the < logger > < error > ServletContainerAdapter not initialized successfully.

    Please notify.

    Thanks and greetings

    Sanjeev

    Hi Timo,

    I checked and found the question actually JSF library file is missing from my case because of who he is in error, I joined the library and its working for me as well. in any case thanks for your update.

    Thank you

    Sanjeev

  • Alice &amp; Weblogic java.lang.NoClassDefFoundError

    Hi all

    I am newbie on adf and weblogic.

    I have the class, which includes many jar files. When I call this class from another class that has a main method, it works well.

    But I try to call this class of managedBean he returns following error:

    javax.faces.FacesException: #{itResourcesBean.b1_action}: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    ... more than 45

    Caused by: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    to the view. ITResources.connect_ICE_TEST (ITResources.java:83)

    to the view. ITResources.getITResource (ITResources.java:25)

    to the bean. ITResourcesBean.b1_action (ITResourcesBean.java:58)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    ... more than 46

    Caused by: java.lang.ClassNotFoundException: Thor.API.tcUtilityFactory

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:50)

    ... more than 56

    < oracle.adf.view > < PartialResponseUtils > < handleError > < ADF_FACES - 60096:Server Exception during the PPR, #1 >

    javax.servlet.ServletException: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    ... more than 38

    Caused by: java.lang.NoClassDefFoundError: Thor/API/tcUtilityFactory

    to the view. ITResources.connect_ICE_TEST (ITResources.java:83)

    to the view. ITResources.getITResource (ITResources.java:25)

    to the bean. ITResourcesBean.b1_action (ITResourcesBean.java:58)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    ... more than 46

    Caused by: java.lang.ClassNotFoundException: Thor.API.tcUtilityFactory

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:50)

    ... more than 56

    I added libraries to libraries and Classpath from project properties.

    Also copied in the field/lib file.

    How can I solve this problem?

    You have added all the pots and especially jar which has tcUtilFactory under C:\Users\youruser\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\DefaultDomain\lib.

    So you can mark the jar as deployed by default.

    Thank you

  • java.lang.NoClassDefFoundError: weblogic Server

    Hi all
    I have uninstall my 11.1.2.3.0 Jdeveloper and reinstall it again, and this is not the first time I do it, and the installation is completed successfully. but every time I have to create a simple application of the ADF and run the page I get this error message in the log.
    The system cannot find the path specified.
    .
    .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    .
    WLS Start Mode=Development
    .
    CLASSPATH=C:\Oracle\Middleware11.1.2.3-new\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\Middleware11.1.2.3-new\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\Middleware11.1.2.3-new\wlserver_10.3\server\lib\xqrl.jar
    .
    PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Program Files (x86)\MiKTeX 2.6\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Oracle\Middleware11.1.2.1.0\jdk160_24\bin
    .
    ***************************************************
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    ***************************************************
    starting weblogic with Java version:
    java version "1.6.0_35"
    Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
    Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)
    Starting WLS with line:
    C:\PROGRA~1\Java\JDK16~1.0_3\bin\java    -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\Middleware11.1.2.3-new\wlserver_10.3\server\lib\weblogic.policy -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true   -da -Dplatform.home=C:\Oracle\Middleware11.1.2.3-new\wlserver_10.3 -Dwls.home=C:\Oracle\Middleware11.1.2.3-new\wlserver_10.3\server -Dweblogic.home=C:\Oracle\Middleware11.1.2.3-new\wlserver_10.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\Middleware11.1.2.3-new\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1 -Djrockit.optfile=C:\Oracle\Middleware11.1.2.3-new\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\Middleware11.1.2.3-new\oracle_common\modules\oracle.ossoiap_11.1.1,C:\Oracle\Middleware11.1.2.3-new\oracle_common\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\MOHSA~2.ATS\AppData\Roaming\JDEVEL~1\SYSTEM~1.1\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole=  weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: weblogic.Server.  Program will exit.
    Exception in thread "main" Process exited.
    Any help please?

    One step back, please!

    There are some mixture upwards with your installation of jdev and some other installation (may be an older jdev). I installed jdev on mashines much and never had this problem (regardless of version). In your case, it seems that you had a previous version installed and installed 11.1.2.3.0 in the former home of middleware project. Your classpath contains a reference to an old jdk (1.6.0_24) that doesn't exist on your current installation (it uses 1.6.0_35).
    Yet once, I've never had to add the welblogic.jar to the viewcontroller project. This is done automatically if you choose to start a new "Fusion Web Application".

    My advice is to uninstall all versions of jdev you have on your system, then delete all the folders of middleware which are always present, check your home folder of the user (if you use windows) for any substance remaining jdev and delete then too. Then, install the jdev studio 11.1.2.3.0 version again.

    Timo

  • Deploy on Standalone WLS 10.3.5 java.lang.ClassNotFoundException:

    Hi, I have a problem with my upgrade application and server upgraded to WLS.

    I really hope that someone can help me here... I simply can't deploy.

    Basically, I had no problem deployment ever, with 11.1.1.4 and WLS 10.3.4 with deployments. I have since improved my JDEV 11.1.2 application as well as our server stand-alone WLS to 10.3.5. I think that all post patches (upgrade of the ADF and the patch of Sherman) have been applied. I can see the library of JSF 2.0 under deployments and they are correctly targeted.

    When I try to deploy now, the following error message is received:

    [08: 30:46] [Deployer: 149191] Operation "deploy" on demand "HROpenView_application1" boot on 'wls_adf1 '.
    [08: 31:02] WebLogic Server Exception: weblogic.application.ModuleException: could not load the webapp: "CEL".
    [08: 31:02] caused by: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.TrinidadConverterELTag
    [08: 31:02] check the server logs or the console of the server for more details.
    [08: 31:02] weblogic.application.ModuleException: failed to load the webapp: "CEL".
    [08: 31:02] undeployment.
    [08: 31:02] - incomplete deployment.
    [08: 31:02] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    I read the following note:
    When deplying ear in weblogic file this error

    However, it seems to someone trying to deployed on weblogic 10.3.4. Is there something particular here I can look at? It works very well on the integrated server.

    I checked my project libraries and performing ADF Faces 11 Trinidad faces DURATION 11 are included and ticked. Is there something on the server what am I looking for? Anyone know what is the name of library of deployment?

    See you soon,.

    Simon

    Published by: Simo on October 20, 2011 14:11

    Well, now that you verified that the configuration of wls is OK for jdev 11.1.2.x you can do two things:
    1 make the libraries used in the non working app identical to that of the app to work
    2. compare the descriptors of the two applications (e.g. weblogic.xml, adf - config.xml...) and if they differ, try to find out why

    In addition, you should compare files ear, not what you see in jdev. When you generate an EAR of an app, jdev adds entries for the descriptors-So build EAR, unpack the ear and the war and then compare.

    Timo

Maybe you are looking for