Migrating from Glassfish to Weblogic

Hello,
We have a java project (EJB 3) that we deploy in glassfish. With new changes to company's infrastructure, glassfish is not available and I need to deploy the EAR files to Weblogic 10.3.0. We build the ear file using maven and get any required dependencies, however as expected, I have started running into issues. I have a stacktrace below here but does anyone have a suggestion for me as to how to get this done?
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
[J2EE:160161]Error while parsing the Application descriptors for mi-connector.ear: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-attribute.4: The value '6' does not equal the fixed value '5' of attribute 'version':<null> at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306) 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.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:311) at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:138) at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:142) at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661) at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:463) at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:4625) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:255) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:54) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at 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:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) .

You are trying to deploy a Java EE 6 application to a Java EE 5 Application Server.
Weblogic is still not a certified Java EE 6 Application Server.
http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition#Java_EE_6_certified
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.

Similar Messages

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *&lt;servlet&gt;*
    *&lt;servlet-name&gt;report&lt;/servlet-name&gt;*
    *&lt;servlet-class&gt;path.to.class&lt;/servlet-class&gt;*
    *&lt;security-role-ref&gt;*
    *&lt;role-name&gt;name&lt;/role-name&gt;*
    *&lt;role-link&gt;valid-users&lt;/role-link&gt;*
    *&lt;/security-role-ref&gt;*
    *&lt;/servlet&gt;*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogov&scaron;ek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Calling an ejb from glassfish to weblogic server

    I'd like to be able to call a stateless session bean from a glassfishV3 server that is residing on weblogic 9.2.3. (Ejb spec 2.1 NOT 3.0 please)
    I've done this successfully from Tomcat to weblogic, but there are a few hiccups when trying this on glassfish.
    Basically what I've attempted is this:
    1.) I add these jvm properties to the glassfish startup:
    -Dorg.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    -Dorg.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    -Djavax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    -Djavax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    2.) Copy weblogic.jar, tools.jar, and webservices.jar from the weblogic/server/lib directory to the glassfish lib/ext directory
    ...glassfish won't start then because of the weblogic.jar...
    3.) Move the weblogic.jar to the WEB-INF/lib directory of my war in glassfish.
    Now I try it and get:
    (I'm skipping some of the stacktrace at the start)
    .....java.lang.IllegalAccessError: tried to access method weblogic.kernel.KernelStatus.initialized()V from class weblogic.kernel.Kernel at weblogic.kernel.Kernel.ensureInitialized......
    I'm guessing that this has to do with the "weblogic kernel" not being initialized. So now I'm stuck.
    Am I going down the wrong path?
    I've also tried these other proposed solutions:
    1.) Changing the connection properties of the InitialContext to use these properties:
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    env.put(Context.SECURITY_PRINCIPAL, "weblogic");
    env.put(Context.SECURITY_CREDENTIALS, "weblogic");
    2.) Using RMI over IIOP instead of T3.
    None of these with any luck.
    If anyone has done this successfully I'd appreciate some insight.
    Regards,
    Eric

    I'd like to be able to call a stateless session bean from a glassfishV3 server that is residing on weblogic 9.2.3. (Ejb spec 2.1 NOT 3.0 please)
    I've done this successfully from Tomcat to weblogic, but there are a few hiccups when trying this on glassfish.
    Basically what I've attempted is this:
    1.) I add these jvm properties to the glassfish startup:
    -Dorg.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    -Dorg.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    -Djavax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    -Djavax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    2.) Copy weblogic.jar, tools.jar, and webservices.jar from the weblogic/server/lib directory to the glassfish lib/ext directory
    ...glassfish won't start then because of the weblogic.jar...
    3.) Move the weblogic.jar to the WEB-INF/lib directory of my war in glassfish.
    Now I try it and get:
    (I'm skipping some of the stacktrace at the start)
    .....java.lang.IllegalAccessError: tried to access method weblogic.kernel.KernelStatus.initialized()V from class weblogic.kernel.Kernel at weblogic.kernel.Kernel.ensureInitialized......
    I'm guessing that this has to do with the "weblogic kernel" not being initialized. So now I'm stuck.
    Am I going down the wrong path?
    I've also tried these other proposed solutions:
    1.) Changing the connection properties of the InitialContext to use these properties:
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    env.put(Context.SECURITY_PRINCIPAL, "weblogic");
    env.put(Context.SECURITY_CREDENTIALS, "weblogic");
    2.) Using RMI over IIOP instead of T3.
    None of these with any luck.
    If anyone has done this successfully I'd appreciate some insight.
    Regards,
    Eric

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         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:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migration from Glassfish v2.1 to Glassfish V3 or WebLogic

    We currently have an application running on Glassfish v2.1 (9.1.1) (build b60e-fcs) using EJB 3.0; Servlet 2.5; JSF 2.1 and JPA 1.0 (Toplink 2.0-36) and RMI (IIOP)
    We consider migrating to a new App Server, either Glassfish V3.x or WebLogic. What are the advantages/drawbacks of each solution?

    Glassfish is Free Open Source. But Weblogic Server is NOT free. This is the first thing to keep in mind. Looking at your current application, you can deploy it on Glassfish app server. Google around to find more differences from technical point of view. Glassfish is originally from Sun company. Now Oracle owns Sun company also. So Oracle should be playing a neutral role in promoting both glassfish and licensed Weblogic server. It also depends due you want to have Cluster capabilities, high throughput and due to have lots of transactions per second. There is no one line answer to compare them. Evaluate all the features and then decide.
    Thanks
    Ravi Jegga

  • Migration from tomcat to weblogic 10.3.2

    Hi,
    I am developing a web application, its a servlet which basically acts as a front end for a web service,
    and I use CXF for the web service client, tested under a development tomcat instance and worked fine.
    I have the spring framework and the rest jars in the lib:
    wsdl4j-1.6.1.jar
    wss4j-1.5.8.jar
    jaxb-api-2.0.jar
    cxf-2.2.3.jar
    while I try to migrate to weblogic 10.3.2 follow the change as in
    http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-WebLogic
    Then I got the exception:
    java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl does not implement the requested interface javax.wsdl.extensions.AttributeExtensible
    at org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:137)
    at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:277)
    I have been research on this problem for a while, found some posts from experts like Dan on Nable...
    but I still didn't get it, could anyone help on this.
    Joelking

    can u let us know how did you resolve this?

  • [OIM] Migrate from WebSphere to WebLogic

    Hi people,
    I would like to migrate our OIM implementation from WAS to WLS, is that possible? Is there some documentatition to achieve this goal?

    If you only transfer configuration the chances of something breaking are minimal.
    On the other hand if you need transactions as well things get a bit more complex.
    In either case a full regression test is always a must as there always is the risk that a supporting jar or even dll (if one windows) in the app server is of slightly different version which introduces a change of behavior.
    Best regards
    /Martin

  • Application Migration from JBOSS to Weblogic Server

    Hi,
    I am facing lots of issues while deploying an .ear file on Weblogic server. In the JBOSS server the application is working properly but whenever I am trying to deploy it on Weblogic server its throwing me an error stating :
    "ERROR: No j2ee modules detected in EAR archive. Deployment aborted. "
    I tried to convert the things to .war file and tried to deploy the application, the application got deployed but its throwing 'exception'.
    Please revert me back with some solution.
    Thanks
    Trishul

    Is this forum about Jboss?
    Is it about Weblogic?
    If so, why do you put a question about a non-Oracle non-database product in a forum on Oracle Database?
    Sybrand Bakker
    Senior Oracle DBA

  • Migration from OAS 10g to Weblogic 10.3

    Hello,
    I migrate large app from OAS 10g to Weblogic 10.3.
    1.
    The main part of the job was to prepare descriptors for Weblogic. Unfortunatelly I don't find any tool that could do the job:( There are some problems with descriptors namespaces. This schema and namespaces given in 10.3 docs are not working (not available):
    http://edocs.bea.com/wls/docs103/ejb/DD_defs_reference.html
    So I use the one from 10 release in weblogic-ejb-jar.xml:
    weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd"&gt;
    and form 9 release in weblogic-cmp-rdbms-jar.xml:
    &lt;weblogic-rdbms-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-rdbms20-persistence.xsd"&gt;
    There are also some bugs in docs about ejb relations.
    After fixing some schema compliance exc this step success.
    2. Next the EJBComplianceChecker - its much more restrictive than OAS verification. So updates in ejb interfaces are necessary. It is not a problem with small app but when there ale a lot of code/branches to migrate it's become a problem. I have been looking for some switch that could help with this but with no result/
    EJBComplianceChecker - Spec veryfication level
    3. Now after EJB compliance checker done its job with success I have an exception that I do not understand:
    An error occurred during activation of changes, please see the log for details.
    Exception
    preparing module: EJBModule(corpo_ejb.jar)
    Unable to deploy EJB: corpo_ejb.jar from corpo_ejb.jar:
    There are 1 nested errors:
    java.io.IOException: JDT compilation error! at
    weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66)
    at
    weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357)
    at
    JDT compilation error!
    Could you please give me some point where the problem could be? I don't have any idea where to start looking for..
    What are your experiences with migrations from OAS to Weblogic 10?
    Thanks in advance!
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:00 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:01 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:02 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:04 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 8:05 AM

    Hi Stoigniew Sztank,
    I am working on migrating Enterpirse application developed using Struts, Ejb2.0, JMS. Its been deployed on OAS 10G and Websphere, but I need to deploy the application on Weblogic 10.3. It seems you have migrated a J2ee application from OAS 10G to Weblogic 10.3. Please can you list me the steps that you followed to migrate the application.
    As per my understanding follwing things needsto be taken care of:-
    1) Weblogic Descriptor files:
    1.1 Weblogic.xml:- we added security roles and ejb-reference-description for the ejbs.
    1.2 Weblogic-ejb-jar.xml for all the ejbs used in the application.
    1.3 Weblogic-application.xml
    1.4 Resource Adapter
    2) JMS queue set up
    3) JDBC set up
    It would be a great help if you can let me know what are the steps to migrate the application.
    Thanks and Regards
    Deepak Dani

  • Creation of domain issues - migration from weblogic 10.3.0 to 10.3.5 versio

    Hello,
    i would like to kindly ask for a help with following issue:
    Basically we are migrating from the 10.3.0 to the 10.3.5 version. We are building the domain using the template in "silent mode". And when i try to create the domain with new weblogic 10.3.5 im getting some errors.
    The command to run the creation of the domain is following:
    ${WL_HOME}/common/bin/config.sh -mode=silent -silent_script=${SILENT_SCRIPT} -log=${WLLOGFILE} >> ${LOGFILE} 2>&1
    returnCode=$?
    SILENT_SCRIPT contains following commands:
    read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar";
    write domain to "/local/wg372/BM/appl/BmDomain";
    set OverwriteDomain "true";
    close template;
    When i setup new env(solaris) with weblogic 10.3.5 im getting following error when the silent_script command (*write domain to "/local/wg372/BM/appl/BmDomain";*) is executed:
    2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar"
    2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - write Domain to "/local/wg372/BM/appl/BmDomain"
    2011-07-18 16:53:00,505 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /local/wg372/BM/appl/installer/silent_script
    java.lang.NullPointerException
         at com.oracle.cie.domain.security.SecurityGenerateLDIFT.buildSecurityInfo(SecurityGenerateLDIFT.java:460)
         at com.oracle.cie.domain.security.SecurityGenerateLDIFT.<init>(SecurityGenerateLDIFT.java:119)
         at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:718)
         at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
         at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
         at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
         at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
         at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
         at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
         at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:551)
         at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:335)
         at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
         at java.lang.Thread.run(Thread.java:662)
    In Windows env im getting following error:
    create.domain:
    [exec] -mode="silent" -silent_script=J:/_dev/build/installer/silent_script
    [exec] << read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
    [exec] >> succeed: read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
    [exec] << write Domain to "J:/_dev/build/BmDomain"
    [exec] CFGFWK-60550: Script execution aborted. The script may contain an error.
    [exec] null
    CFGFWK-60550: - doc says
    CFGFWK-60550: Script execution aborted. The script may contain an error.
    Cause:
    Action:
    Level: 1
    Type: ERROR
    Impact: Configuration
    I tried to google for this issue, look into the weblogic documentation but with no luck.
    So i would like to kindly ask, if anyone of you perhaps could give me a hint/advise with this problem.
    Thanks in advance.

    Hi,
    thanks for the reply but im not sure if we are talking about the same thing. What i need is to upgrade the weblogic "DOMAIN" not the weblogic installation itself.
    Anyway,
    after some googling and testing im again stucked with another issue:
    1. First i have created the old doman (10.3.0)
    2. Then i have tested the domain with the new weblogic version 10.3.5 - as it should be (and is) compatible within those 2 versions
    ---> worked fine
    3. Then via offline WLST(of weblogic 10.3.5) i have managed to create new template with command writeTemplate(nameOfTemplate.jar)
    4. But when i try to create the new domain with the new template via WLST(of weblogic 10.3.5) im again stucked (im able to read the template in wlst but not able to writeDomain ) - error:
    wls:/offline> readTemplate('/home/wg372/tmp/new_template.jar')
    wls:/offline/BmDomain>writeDomain('/home/wg372/tmp/new_domain')
    Error: writeDomain() failed. Do dumpStack() to see details.
    wls:/offline/BmDomain>dumpStack()
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
    at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:803)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyInstance.invoke(Unknown Source)
    at org.python.pycode._pyx3.writeDomain$15(/var/tmp/WLSTOfflineIni6651397525640719781.py:71)
    at org.python.pycode._pyx3.call_function(/var/tmp/WLSTOfflineIni6651397525640719781.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx24.f$0(<console>:1)
    at org.python.pycode._pyx24.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
    at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
    at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:795)
    ... 29 more
    I tried to have a look around for the "The application location must have write permission." problem but again with no luck.
    Furthemore when i try to do the same with old domain template, with old version of WLST (of weblogic 10.3.0), i have no problems with creating of the domain.
    Any ideas?
    Ill keep you updated :-)

  • Error while migrating from Weblogic 8.1 to 10.1.3

    Hi
    I am getting the below error while building the xml during migrating from Weblogic 8.1 to 10.1.3.
    Could anyone please suggest how to resolve the below error:
    Error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/i18n/logging/LogMessage
    [java]      at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java]      at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java]      at weblogic.appc.main(appc.java:14)
    [java] Caused by: java.lang.ClassNotFoundException: weblogic.i18n.logging.LogMessage
    [java]      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [java]      at java.security.AccessController.doPrivileged(Native Method)
    [java]      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    Regards
    Kiran
    [java]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [java]      ... 5 more

    You have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
    Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
    and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
    and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • Migration from ATG Dynamo 5.1 to Weblogic 10.3 Server

    Hi,
    We are currently involved in a project in which the application has be
    migrated from the ATG Dynamo Server 5.1 to Weblogic 10.3 application
    server.
    While doing this we are facing some problems related to
    DynamoHttpServletRequest.
    Previosly the code was written as below:
    DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest)
    request;
    HttpSession atgSession = (HttpSession) atgRequest.resolveName("/" );
    Since we are moving to the weblogic server we are planning to remove
    the DynamoHttpServletRequest and use the javax HttpServletRequest.
    But to do this i am unable to find the functionality that does
    resolveName("/" ).
    I tried writing the below 2 lines of code inplace of the 2 lines of
    code above, but it is not solving the purpose.
    HttpServletRequest weblogicRequest = (HttpServletRequest) request;
    HttpSession weblogicSession = (HttpSession)
    weblogicRequest.getSession();
    Can anybody please help me in solving this problem where i can replace
    DynamoHttpServletRequest with HttpServletRequest.
    Any suggestions are welcome.
    Thanks in advance
    Shailendra

    Hi Ravi,
    Thanks for your response.
    While migrating we have tried to remove the ATG dependency and we are getting session invalid. We are unable to find a similar method for “resolveName” in HTTPServletRequest. The method “resolveName” of the DynamoHttpServletRequest is being used to retrieve the session object by passing a String parameter (‘/’ or any URL).
    Whereas the HTTPServletRequest has only two methods [getSession() or getSession(Boolean)] to retrieve the session object and here we cannot pass any String parameter. Thus we are unable the replicate the existing functionality using the HTTPServletRequest class.
    Below are some code examples for your reference.
    Sample1:
    Below commented code is original one. we tried to as mentined below:
    //import atg.servlet.DynamoHttpServletRequest;
    /* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
    HttpSession atgSession = (HttpSession) atgRequest.resolveName("/" );
    String atgsession = "jsessionid=" + atgSession.getId();
    HttpServletRequest weblogicRequest = (HttpServletRequest) request;
    HttpSession weblogicSession = (HttpSession) weblogicRequest.getSession();
    String weblogicsession = "jsessionid=" + weblogicSession.getId();
    Sample2:
    Below commented code is original one. we tried to as mentined below:
    /* ATG Dynamo for Session Last Access Time functionality */
    //import atg.servlet.DynamoHttpServletRequest;
    /* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
    HttpSession session = (HttpSession) atgRequest.resolveName("/atg/dynamo/servlet/sessiontracking/SessionManager/" + sessionID);
    HttpServletRequest weblogicRequest = (HttpServletRequest) request;
    HttpSession session = (HttpSession) weblogicRequest.getSession();
    we would like to know is there any smilar functionality or methods available so we can use in HttpServletRequest or servlets.
    Thanks,
    Nagesh

  • Regarding Migration from Weblogic 10.3.0 to 10.3.3

    We have configured a domain in our weblogic 10.3.0 installation. With in this domain A J2EE application has been deployed with datasources configuration, JAAS configuration.
    Is it possible to migrate to Weblogic 10.3.3 without making any changes in our existing application configuration and domain setup?
    If yes can any one please tell us what is the procedure?
    Thanks in advance.

    Hi,
    first of all could you please clarify the need for migration from  BO XI 3.0 to 3.1, as you can simply apply SP1 on top of 3.0 and it becomes 3.1.
    if you have considered this and still needs to migrate, following are the 3 posible options.
    1. Live-Live Migration - Import Wizard is the tool
    2. BIAR - Live Migration - Import Wizard is the tool
    Please reffer the Import Wizrd User guide for the option 1 and 2 link provided in the above thread.
    Also the 3rd option is to perform the Databse and Filesystem copy, find the step below.
    Launch CCM from the Destination System
    Copy all of the file store from your Source implementation to the file store folder for your Destination implementation
    Stop SIA - right click and select properties - Go to the Configuration tab - Click on the button to specify the data source -
    Select "Copy Data from another Data Source". This will copy the data from your source to the Destination.
    Regards,
    Ramu.

Maybe you are looking for

  • 5th generation video iPod USB not working

    Hi, my 15 month old iPod 5th generation video no longer connects with USB on my iBook (all my other USB devices work just fine in the two USB 2 ports). The screen lights when iPod is plugged in and when unplugged using USB, but that appears to be the

  • Default value in Find field of CRMD_ORDER

    Hi folks, Is there a way of changing the default value of the Find field in the Find tab of transaction CRMD_ORDER to the value "1 All"? Many thanks for your help.

  • ColdFusion 11 wsconfig.exe -- Error while configuring connector for IIS.

    I ran into a problem with my ColdFusion 11 64-bit installation/migration on a Windows Server 2012 R2/IIS 8.5.  I was following the ColdFusion 11 Lockdown Guide - Pete Freitag (very helpful) and I ran into problems on page 35 "Run the ColdFusion Web S

  • Login pages

    Where can I find a tutorial of how to create a login page from scratch?

  • UNCAUGHT_EXCEPTION dump with manage cube

    hi :   i had already load  data to the cube, when  use right click to choose mange with the cube, system dump information as follows: Runtime Errors         UNCAUGHT_EXCEPTION Exception              CX_RSR_X_MESSAGE Date and Time          2008.03.31