2 Replies Latest reply: Nov 4, 2013 11:58 PM by 929301 RSS

    Error while running jspx page from Jdeveloper

    929301

      Hi,

      I'm trying to customize LegalEntityDashboard.jspx of finance common ear , but while running the page from Jdeveloper I'm getting below error,

      <04-Nov-2013 07:12:05 o'clock GMT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.applcp.model\f7pg9o/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>

      <04-Nov-2013 07:12:05 o'clock GMT> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>

      <04-Nov-2013 07:12:05 o'clock GMT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.as.scheduler.platform.wls.deploy.ESSApplicationLifecycleListener is ignored because the application XXFinCommonApp is not versioned.>

      <04-Nov-2013 07:12:08 o'clock GMT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\o.j2ee\drs\XXFinCommonApp\Project1WebApp.war/WEB-INF/web.xml of module Project1WebApp.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed

          at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)

          at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)

          at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)

          at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)

          at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)

          at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)

          at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)

          at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)

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

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

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

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

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

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)

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

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

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

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

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

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

          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)

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

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

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

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

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

      Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"

          at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)

          at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)

          at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)

          at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)

          at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)

          at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)

          at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)

          at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)

          at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)

          ... 33 more

      Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"

          at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

          at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:1012)

          at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)

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

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

          at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)

          ... 41 more

      .>

      <04-Nov-2013 07:12:08 o'clock GMT> <Error> <HTTP> <BEA-101064> <[WebAppModule(XXFinCommonApp:financialCommon)] Error parsing descriptor in Web appplication "D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\o.j2ee\drs\XXFinCommonApp\Project1WebApp.war"

      weblogic.application.ModuleException: Unmarshaller failed

          at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)

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

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

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

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

          Truncated. see log file for complete stacktrace

      Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"

          at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

          at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:1012)

          at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)

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

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

          Truncated. see log file for complete stacktrace

       

      I didn't edit web.xml file manually, please help.

       

      Thanks,