DDBeanCreateException Deploying to WLS 10.0

Hi All,
I would very much appreciate any help on the following problem.
I used WorkSpace 1.1 to develop my app and tested in on WLS 10.0 within it. In WorkSpace the server runs on port 7021 and it has ALSB as well on the same port.
I created EARs and tryed deploying them to another WLS 10.0 that was used by ALSB, outside of Work Space. All module deployed fine.
Then I created a standalone WLS 10.0 server and tried deploying my modules on it. The server by default is on port 7001. Deployment failed with this error:
javax.enterprise.deploy.model.exceptions.DDBeanCreateException: [J2EE Deployment SPI:260142]The descriptor at 'META-INF/annotation-manifest.xml' in module 'XXX.war' is not recognized, and could not be parsed.
I found this article in Chris Hogue's blog (http://dev2dev.bea.com/blog/hogue/archive/2006/09/changing_annota.html_)
He recommends adding weblogic J2EE weblogic-controls-1.0 library to the EAR. I already have weblogic-controls-10.0 library attached. The only thing that jumps at me is the difference in ports. I manually changed references in annotation.xml from port 7021 to port 7001, but it did not help.
Thoughts?? Thanks in advance!

Try deploying weblogic-controls-1.0.ear as a library directly in WLS console instead of adding it to your project ear file.
If you still get error try deploying beehive-controls-1. 0.ear and beehive-netui-1.0.war also. This is how I resolved this error in WLS 9.2 and I hope this works for WLS 10 too. No changes in annotation-manifest.xml were needed for my app.

Similar Messages

  • Error when ejb deployment in WLS 9.1 clustered environment

    Hello,
    We have a WLS 9.1 cluster consisting of one admin server and two managed servers. we are deploying ejb jar,It is succeed on the first managed server but fail on the second managed server. The admin console and for the second managed server contains the following log(below given). I checked the classpath of two managed servers, It is same in two servers. when i restarted the two managed servers, application is in active state but not running in second managed sever complining for one ejb class that the jndi-name in the weblogic-ejb-jar.xml is not correct. If it is not correct it should not run in first managed server also right.
    please help me whether Am I doing something wrong or is this a bug?
    below given the log when i deployed the ejb.
    ####<May 18, 2007 9:49:22 AM GMT> <Error> <Deployer> <tool2> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1179481762802> <BEA-149265> <Failure occured in the execution of deployment request with ID '1179481757718' for task '8'. Error is: 'java.lang.AssertionError: Assertion violated'
    java.lang.AssertionError: Assertion violated
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at weblogic.cluster.migration.MigrationManager.unregister(MigrationManager.java:246)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.onUndeploy(MessageDrivenBeanInfoImpl.java:999)
    at weblogic.ejb.container.manager.BaseEJBManager.undeploy(BaseEJBManager.java:467)
    at weblogic.ejb.container.manager.MessageDrivenManager.undeploy(MessageDrivenManager.java:570)
    at weblogic.ejb.container.deployer.EJBDeployer.deactivate(EJBDeployer.java:1817)
    at weblogic.ejb.container.deployer.EJBModule.doDeactivate(EJBModule.java:1041)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:420)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:567)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:131)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:101)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:126)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:329)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:845)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1246)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:432)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    java.lang.AssertionError: Assertion violated
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at weblogic.cluster.migration.MigrationManager.unregister(MigrationManager.java:246)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.onUndeploy(MessageDrivenBeanInfoImpl.java:999)
    at weblogic.ejb.container.manager.BaseEJBManager.undeploy(BaseEJBManager.java:467)
    at weblogic.ejb.container.manager.MessageDrivenManager.undeploy(MessageDrivenManager.java:570)
    at weblogic.ejb.container.deployer.EJBDeployer.deactivate(EJBDeployer.java:1817)
    at weblogic.ejb.container.deployer.EJBModule.doDeactivate(EJBModule.java:1041)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:420)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:567)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:131)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:101)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:126)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:329)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:845)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1246)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:432)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<May 18, 2007 9:49:22 AM GMT> <Error> <Deployer> <tool2> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1179481762823> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'MyEJB'.
    Regards,
    mohan
    Edited by raj_bea_raj at 05/29/2007 1:35 AM
    Edited by raj_bea_raj at 05/29/2007 1:41 AM

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while deploying on WLS 9.2 with OEPE

    I'm getting the following exception while trying to publish a web project onto WebLogic 9.2:
    <Sep 14, 2009 12:45:30 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: The system cannot find the path specified with : C:\IRIS\trunk\IrisStatic\build\weboutput
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
         Truncated. see log file for complete stacktrace
    Could someone please tell me what that could mean?
    I'm in Eclipse 3.5 with OEPE 11.1.1.1.1 running Java 1.5
    Thank you in advance.
    Simeon

    OK, so I've done as you suggested:
    Created a dynamic web project (Test), and compared its .settings contents with the contents of my existing project (IrisApp).
    Based on the above, I've changed my projects .setting to the following:
    1. .classpath
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/BEA WebLogic Server v9.2 JRE">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.java"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="src" path=".apt_src">
              <attributes>
                   <attribute name="optional" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="output" path="build/classes"/>
         <classpathentry combineaccessrules="false" exported="true" kind="src" path="/IrisAppLib"/>
         <classpathentry combineaccessrules="false" kind="src" path="/GlobalMarketAnalytics"/>
         <classpathentry kind="lib" path="/MDW_Files/mdw_app_lib.jar"/>
         <classpathentry kind="lib" path="C:/bea/weblogic92/server/lib/weblogic.jar"/>
         <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.springframework.MYECLIPSE_SPRING25_CORE"/>
         <classpathentry kind="lib" path="/Repo/lib/activation.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/antlr.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/avalon-framework-4.1.5.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/batik-svggen.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/batik.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/classes12.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-beanutils.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-collections.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-dbcp-1.2.2.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-digester.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-fileupload.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-io.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-lang-2.4.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-logging.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-net-1.2.2.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-pool-1.4.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/commons-validator.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/dom4j-1.6.1.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ehcache-1.6.1.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/hsqldb.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/iText-2.1.3.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jakarta-oro.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jcommon-1.0.15.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jconn2.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jfreechart-1.0.12-experimental.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jfreechart-1.0.12-swt.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jfreechart-1.0.12.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jms.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jndi.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/json_simple.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/json-taglib-0.1.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/jstl-1.2.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/junit-4.4.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/log4j-1.2.8.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ocrs12.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ojdbc14_g.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ojdbc14dms_g.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ojdbc14dms.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/opencsv.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/ostermillerutils_1_05_00_for_java_1_4.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/pja.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/pjatools.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/poi-3.2.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/sftp.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/spring-modules-cache.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/spring-webmvc.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/spring.jar" sourcepath="I:/IRIS/Environment/Spring/spring-framework-2.5.6/src"/>
         <classpathentry kind="lib" path="/Repo/lib/sqljdbc.jar"/>
         <classpathentry kind="lib" path="/Repo/lib/webserviceclient+ssl.jar"/>
         <classpathentry kind="output" path="web/WEB-INF/classes"/>
    </classpath>
    2. .project
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
         <name>IrisApp</name>
         <comment></comment>
         <projects>
         </projects>
         <buildSpec>
              <buildCommand>
                   <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
                   <arguments>
                   </arguments>
              </buildCommand>
              <buildCommand>
                   <name>org.eclipse.jdt.core.javabuilder</name>
                   <arguments>
                   </arguments>
              </buildCommand>
              <buildCommand>
                   <name>org.eclipse.wst.common.project.facet.core.builder</name>
                   <arguments>
                   </arguments>
              </buildCommand>
              <buildCommand>
                   <name>org.eclipse.wst.validation.validationbuilder</name>
                   <arguments>
                   </arguments>
              </buildCommand>
              <buildCommand>
                   <name>oracle.eclipse.tools.weblogic.sharedLibraryFrameworkValidator</name>
                   <arguments>
                   </arguments>
              </buildCommand>
         </buildSpec>
         <natures>
              <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
              <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
              <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
              <nature>org.eclipse.jdt.core.javanature</nature>
              <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
         </natures>
    </projectDescription>
    == .settings directory contents
    3. .jsdtscope file
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
         <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
              <attributes>
                   <attribute name="hide" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
         <classpathentry kind="output" path=""/>
    </classpath>
    4. org.eclipse.jdt.core.prefs file
    #Mon Jul 27 11:46:03 EDT 2009
    eclipse.preferences.version=1
    org.eclipse.jdt.apt.aptEnabled=true
    org.eclipse.jdt.apt.genSrcDir=.apt_src
    5. org.eclipse.wst.common.component file
    <?xml version="1.0" encoding="UTF-8"?>
    <project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="IrisApp">
    <wb-resource deploy-path="/" source-path="/web"/>
    <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
    <wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_src"/>
    <property name="context-root" value="iris_app"/>
    <property name="java-output-path"/>
    </wb-module>
    </project-modules>
    6. org.eclipse.wst.common.project.facet.core.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <faceted-project>
    <runtime name="BEA WebLogic Server v9.2"/>
    <fixed facet="jst.web"/>
    <fixed facet="jst.java"/>
    <installed facet="jst.java" version="5.0"/>
    <installed facet="jst.web" version="2.4"/>
    <installed facet="wls.web" version="9.2"/>
    <installed facet="java.apt" version="5.0"/>
    </faceted-project>
    7. org.eclipse.wst.jsdt.ui.superType.container file
    org.eclipse.wst.jsdt.launching.baseBrowserLibrary
    8. org.eclipse.wst.jsdt.ui.superType.name file
    Window
    9. org.eclipse.wst.validation.prefs file
    #Mon Sep 14 16:31:58 EDT 2009
    DELEGATES_PREFERENCE=delegateValidatorList
    USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
    USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
    USER_PREFERENCE=overrideGlobalPreferencesfalse
    eclipse.preferences.version=1
    override=true
    suspend=false
    vals/org.eclipse.wst.wsdl.validation.wsdl/global=TF02158org.eclipse.wst.wsdl.validation.internal.eclipse.Validator
    vf.version=3
    10. org.springframework.ide.eclipse.core.prefs file
    #Fri Sep 04 16:24:13 EDT 2009
    eclipse.preferences.version=1
    org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true
    org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=false
    org.springframework.ide.eclipse.core.enable.project.preferences=false
    org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false
    org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true
    org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
    Eclipse also seems to create the following directory which is mentioned in one of the above configs, so I've manually added this directory to the root of IrisApp project: /.apt_src. It's empty.
    I noticed that Eclipse created several directories once the project in cleaned (I guess, as those directories were not in svn when I get my copy): WebContent with some -INF subdirectories and metafiles in them. So I just removed this structure.
    As for WebLogic.jar in my classpath you mentioned, I need that for the project to compile, there are some HttpServletRequest's etc.
    I've also added WLS 9.2 'Targeted Runtime' to IrisApp which seemed to have created an additional directory in the workspace with the following structure and contents:
    1. .project file
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
         <name>Servers</name>
         <comment></comment>
         <projects>
         </projects>
         <buildSpec>
         </buildSpec>
         <natures>
         </natures>
    </projectDescription>
    2. BEA WebLogic Server v9.2 at localhost.server file
    <?xml version="1.0" encoding="UTF-8"?>
    <server IGNORE_COMPILER_ERRORS="false" auto-publish-setting="2" auto-publish-time="15" hostname="localhost" id="BEA WebLogic Server v9.2 at localhost" name="BEA WebLogic Server v9.2 at localhost" runtime-id="BEA WebLogic Server v9.2" server-type="com.bea.wlw.server92" server-type-id="com.bea.wlw.server92" start-timeout="3480" stop-timeout="240" timestamp="22" weblogic_domain_path="C:\CDE\user_projects\domains\MyDomain" weblogic_host_name="localhost" weblogic_is_remote="false" weblogic_port="7001" weblogic_use_bootprop="true" weblogic_use_config_xml="true">
    <list key="modules" value0="IrisApp::org.eclipse.jst.j2ee.server:IrisApp::jst.web::2.4"/>
    </server>
    3. .settings directory
    with the following file in it:
    3a. org.eclipse.wst.server.core.prefs file:
    #Mon Sep 14 12:45:04 EDT 2009
    org.eclipse.wst.server.core.isServerProject=true
    eclipse.preferences.version=1
    So, with the above setup, I'm now trying to deploy it to WLS and getting the following exception:
    <Sep 14, 2009 4:52:00 PM EDT> <Error> <HTTP> <BEA-101163> <Could not load user defined listener: com.citi.gdos.smart.app.listener.SmartContextLoaderListener
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    >
    <Sep 14, 2009 4:52:00 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1252961520449' for task '6'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    >
    <Sep 14, 2009 4:52:01 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application '_auto_generated_ear_'.>
    <Sep 14, 2009 4:52:01 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    >
    <Sep 14, 2009 5:07:16 PM EDT> <Error> <HTTP> <BEA-101163> <Could not load user defined listener: com.citi.gdos.smart.app.listener.SmartContextLoaderListener
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    >
    <Sep 14, 2009 5:07:16 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1252962436383' for task '7'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    >
    <Sep 14, 2009 5:07:17 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application '_auto_generated_ear_'.>
    <Sep 14, 2009 5:07:17 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         Truncated. see log file for complete stacktrace
    I can see spring.jar on my classpath so I'm not sure what it's complaining about.
    The team hear is using MyEclipse with all the configurations cheched into Subversion but there's no more licenses so I need to configure Eclipse to achieve the same task. It would help if you could point me to some documentation as to what's happenning internally as I'm sure I'll get lots of questions from other developers later once it's all configured. Please let me know if I need to share any additional info for you to be able to help.
    Could you please point me in the right direction?
    Thank you very much!
    Simeon

  • File too large error unpacking War during app deploy - RHEL &WLS 10.3.5

    I'm stumped and I'm hoping someone can help out here. Does anyone have any insights into the cause of my problem below, or tips on how to diagnose the cause?
    scenario
    We ran into an open files limit issue on our RH Linux servers, and had the SA boost the our open files limit fro 1024 to 3096. This seems to have solved the open files limit issue, once we restarted the node managers and the managed servers (our WLS startup script sets the soft limit to the hard limit).
    But now we've got a new issue, right after this change. The admin server is now no longer able to deploy and war/ear, as when I click on "Activate" after the install I get
    Message icon - Error An error occurred during activation of changes, please see the log for details.
    Message icon - Error Failed to load webapp: 'TemplateManagerAdmin-1.0-SNAPSHOT.war'
    Message icon - Error File too large
    on the console, and see the stack trace below in the Admin server log (nothing in the managed server logs) - indicating it's getting the error in exploding the war.
    I've tried both default deployment mode, and the mode "will make the deployment available in the following location" where the war is manually copied to the same location on each box, available to each server - all with the same result. I've also tried restarting the admin server, but no luck.
    The files are not overly large (<=34 MByte) and we had no trouble with them before today. I'm able to log in as the WebLogic user and copye files, etc. with no problem.
    There is no disk space issue - plenty of space left on all of our filesystems. There is, as far as I can tell, no OS or user file size limit issue:
         -bash-3.2$ ulimit -a
         core file size (blocks, -c) 0
         data seg size (kbytes, -d) unlimited
         scheduling priority (-e) 0
         file size (blocks, -f) unlimited
         pending signals (-i) 73728
         max locked memory (kbytes, -l) 32
         max memory size (kbytes, -m) unlimited
         open files (-n) 3096
         pipe size (512 bytes, -p) 8
         POSIX message queues (bytes, -q) 819200
         real-time priority (-r) 0
         stack size (kbytes, -s) 10240
         cpu time (seconds, -t) unlimited
         max user processes (-u) unlimited
         virtual memory (kbytes, -v) unlimited
         file locks (-x) unlimited
    environment
    WLS 10.3.5 64-bit
    Linux 64-bit RHEL 5.6
    Sun Hotspot 1.6.0_29 (64--bit)
    stack trace
    ####<Mar 6, 2013 4:09:33 PM EST> <Error> <Console> <nj09mhm5111> <prp_appsvcs_admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <steven_elkind> <> <> <1362604173724> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Failed to load webapp: 'TemplateManagerAdmin-1.0-SNAPSHOT.war'
    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)
    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.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    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: java.io.IOException: File too large
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:282)
    at weblogic.utils.io.StreamUtils.writeTo(StreamUtils.java:19)
    at weblogic.utils.FileUtils.writeToFile(FileUtils.java:117)
    at weblogic.utils.jars.JarFileUtils.extract(JarFileUtils.java:285)
    at weblogic.servlet.internal.ArchivedWar.expandWarFileIntoDirectory(ArchivedWar.java:139)
    at weblogic.servlet.internal.ArchivedWar.extractWarFile(ArchivedWar.java:108)
    at weblogic.servlet.internal.ArchivedWar.<init>(ArchivedWar.java:57)
    at weblogic.servlet.internal.War.makeExplodedJar(War.java:1093)
    at weblogic.servlet.internal.War.<init>(War.java:186)
    at weblogic.servlet.internal.WebAppServletContext.processDocroot(WebAppServletContext.java:2789)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:2666)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:413)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)

    In the end, the problem was not in the Admin server where the log entry is, but in one of the managed servers where there was no such log entry.
    Somehow, and we have no idea how, the NodeManager process had the soft limit for max file size set to 2k blocks. Thus, the managed server inherited that. We restarted the Node Manager, then the managed server, and the problem went away.
    The diagnostic that turned the trick:
    cat /proc/<pid>/limits
    for the managed server showed the bad limit setting, then diagnosis proceeded from there. The admin server, of course, had "unlimited" since it was not the source of the problem.

  • Issues with Deployment to WLS Running on Virtual Box

    Hi
    JDeveloper 11.1.1.6, BPM 11.1.1.6, WLS 10.3.6
    I just installed the SOA & BPM Development VM 11.1.1.6 available at http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html
    Domain selected : dev_bpm_spaces
    My Host OS is : Windows 7 Prof 64bit (Total 16GB Ram)
    Memory allocated to VM : 8GB, Processors : 4
    I am able to install everything, start the servers and access the consoles.
    Everything looks fine.
    But when I am trying to Deploy a BPM Application to the WLS in the VM, I am getting the below Exception. (Tried to Deploy from Local JDeveloper)
    When I see the WLS Console -> Servers, I see the following servers.
    AdminServer, bam_server1, UCM_server1, WC_Collaboration, WC_Spaces, IBR_server1
    First, I started only the AdminServer and tried to Deploy the BPM Application, and I was getting the errors shown at the end.
    Then I started the bam_server1, UCM_server1, WC_Collaboration, WC_Spaces servers on the VM and tried to deploy again. Then I got the error only for IBR_server1.
    I cannot see the server IBR_server1 in the 'VM Control Center', but it is only shown in the WLS Console Servers.
    So I tried to start the IBR_server1 from the WLS Console. I got the following errors
    ------For server IBR_server1, the Node Manager associated with machine LocalMachine is not reachable.
    ------All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
    So my doubts are as follows
    1. Only AdminServer is not enough to Deploy the BPM Applications? Why is it trying to connect to other servers while deploying?
    When I created a separate Domain manually (local machine - not the VM), only with AdminServer I was able to deploy BPM Applications.
    2. If IBR_server1 is also required, how can I start it?
    3. I could not see the Node Manager start script in the VM (in the same folder where the start scripts for WLS are present : /home/oracle/bin)
    Deployment Exception Logs
    [03:51:51 PM] Deploying Application...
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: [Deployer:149145]Unable to contact 'UCM_server1'. Deployment is deferred until 'UCM_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'UCM_server1'.
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: [Deployer:149145]Unable to contact 'IBR_server1'. Deployment is deferred until 'IBR_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'IBR_server1'.
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: [Deployer:149145]Unable to contact 'WC_Collaboration'. Deployment is deferred until 'WC_Collaboration' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'WC_Collaboration'.
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: [Deployer:149145]Unable to contact 'WC_Spaces'. Deployment is deferred until 'WC_Spaces' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'WC_Spaces'.
    [03:51:54 PM] [Deployer:149193]Operation 'deploy' on application 'BookRequest' has failed on 'AdminServer'
    [03:51:54 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application BookRequest on AdminServer.: .
    [03:51:54 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [03:51:54 PM] Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    [03:51:54 PM] See server logs or server console for more details.
    [03:51:54 PM] weblogic.application.ModuleException:
    [03:51:54 PM] Taskflow deployment failed to deploy to server. Remote deployment failed
    [03:51:54 PM] #### Deployment incomplete. ####
    [03:51:54 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Thanks for any help
    Regards
    Sameer

    Hi Vlad
    Thank you for your response.
    I did deploy the BPM Application to only AdminServer. Infact only AdminServer was shown in the JDeveloper Deployment Wizard.
    Even then during the Deployment, I think it is somehow trying to connect to the other servers from AdminServer.
    So I copied my BPM Application code from my local Windows to Linux in VM and deployed from JDeveloper in Linux with only AdminServer running.
    It was still giving the same error.
    Then I started all the Servers and Deployed the BPM Application from the JDeveloper in Linux, then it got Deployed Successfully.
    Coming to the issue of the ORA-12505, I have Oracle DB Installed on my local system and is running on the same port 1521 as that of database in Linux in the VM.
    I think that is that causing the issue. When I deploy from local JDeveloper, it is trying to connect to the local database which is on same port but different SID.
    So it was giving that error.
    So my learnings are
    1. All the servers in the domain 'dev_bpm_spaces' should be running for deploying the applications.
    2. We should deploy it from the Linux, expecially when we have local database server running.
    3. I understand that the ports mapping between the linux and windows is already configured in the VM, but sometimes the BPM workspace is not accessible from the local windows.
    So it is better to use the Linux for development, deployment and testing.
    Thanks and Regards
    Sameer

  • ClassNotFoundException when deploying to WLS with new JDev 11g patch

    I installed WLS and patched WLS with the new ADF lib ,installed the new jdev 11g , everything went well
    but when I want to deploy an application to the WLS I got this error .
    java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Truncated. see log file for complete stacktrace
    >
    I had to comment out listerner-class ientry n the weblogic-application.xml, then it works.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <!-- <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    -->
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>

    Hi,
    as read in this thread : Re: Always fail to deploy to server when (Create a Simple EJB Session Bean )
    >
    This is a known JDeveloper 11g bug. If you look into the packaged EAR file, JDeveloper inserts some entries into the weblogic-application.xml file to register some listeners to perform some internal tasks it needs to deal with.
    The issue is that these classes are part of the ADF runtime and installed as part of the provided ADF domain. They are not provided as part of a standard WLS installation. Thus when you deploy a JDeveloper 11g packaged application to a non ADF augmented WLS 10.3 instance, you get a Classloading error on deployment because the specific listener-classes are not available.
    The relevant bug # for this is:
    BUG#7487416
    EAR FILE PACKAGING SETS FIXED DEPENDENCY ON
    JPSAPPLICATIONLIFECYCLELISTENER
    I believe a fix for this will be provided in the first patchset for JDeveloper 11g.
    In the meantime, if you want to workaround it, extract the weblogic-application.xml file from the EAR file, manually remove the listener entries, put the modified file back into the EAR file and then deploy it.
    -steve-
    >
    It solved the problem for me.
    But you should now get another problem, like some of us on this forum : ADFLogger will be missing. If so, please report to this thread for helping us : Standalone WLS server instance deployment failure - missing ADFLogger
    Regards.
    Luc-

  • OBPM Enterprise Deployment on WLS - No Cluster, But Load Balanced

    All,
    Does anyone know of any gotchas when deploying BPM to WLS on 2 separate nodes, sharing the same directory, but not clustered. The system is load balanced based on F5. Basically we are talking a hot server/cold server deployment.
    When we deploy projects, they default to the hot server even if the cold server is specified for deployment.
    Anyone done this before?
    TIA,
    IGS

    Hi,
    Sorry, but I could not understand completely your architecture.
    Are you talking about the Workspace (not clustered but load balanced). That's supported.
    Or, are you trying to load balance the engine? (a single engine with 2 or more nodes)
    If so.... I wouldn't recommend that you to do that.
    Let me explain you why.
    The engine uses the queue to balance the work among the different nodes. (that's why you have to configure a Distributed Queue and disable the server affinity in the connection factory).
    Even more, the engine has some internal mechanism of synchronization among nodes so as to avoid some inter-node locking. If your engine nodes are not in a cluster, that mechanism will be disabled and the overall engine performance will be significantly degraded.
    I'm not sure if I have answered your question. If not, please add more details of your configuration.
    Hope this helps,
    Ariel

  • EJB Deployment Descriptors not deploying to WLS

    Hi,
    We're using Eclipse 3.4.1 with the OEPE to target WLS 10.3 with Java 6/JEE 1.4 on a Windows XP Professional development machine.
    We have an EJB 2.1 project as part of a larger EAR. The beans (all stateless session beans) and associated interfaces and deployment descriptors within are maintained manually for internal reasons; we do not rely on EJBGen or XDoclet or anything like that to manage these. We are NOT using any annotations in these EJBs, as is the default when you create a bean. Instead we rely on weblogic-ejb-jar.xml and ejb-jar.xml.
    We're having an issue where deploying to the local Weblogic server instance fails with the following error displaying in the Eclipse console:
    <Dec 19, 2008 9:21:13 AM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'xxxxxxx'.>
    <Dec 19, 2008 9:21:13 AM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(xxxxxxxEJB.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    No EJBs found in the ejb-jar file {0}. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation..
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    java.io.IOException: No EJBs found in the ejb-jar file {0}. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:199)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         Truncated. see log file for complete stacktrace
    We DO have multiple beans defined, but it seems that WLS just isn't aware of them due to the lack of a deployment descriptor. It appears that Eclipse/OEPE is not copying the ejb-jar.xml and weblogic-ejb-jar.xml files to the build directory when the project is build:
    xxxxxEJB
    |-- ejbModule
    |.....|-- META-INF
    |.....|.....|-- ejb-jar.xml
    |.....|.....|-- MANIFEST.MF
    |.....|.....|-- weblogic-ejb-jar.xml
    |.....|-- com (etc., .java files)
    |-- build
    ......|-- classes
    ............|-- META-INF
    ............|......|-- MANIFEST.MF
    ............|-- com (etc, .class files)
    Other notes:
    - Cleaning the project does not help.
    - Starting a new workspace does not help.
    - It works under Eclipse 3.3.2 with the Europa version of OEPE.
    - Explicitly exporting an EJB Jar file DOES include the two deployment descriptors (just not deploying to the embedded test server we've defined in our Servers view)
    Any ideas? This seems like either a bug in the OEPE, or maybe WTP.

    Yes, I have a simple EJB2.1 project with hand-crafted EJB remote/home interfaces/classes and deployment descriptors. Also tried Clean/Rebuild and manually delete
    files under /build/classes.
    Here are my descriptors files:
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
         <display-name>TestEJB</display-name>
    <enterprise-beans>
    <session>
    <display-name>HelloSessioin</display-name>
    <ejb-name>HelloSession</ejb-name>
    <home>sessions.HelloSessionHome</home>
    <remote>sessions.HelloSession</remote>
    <ejb-class>sessions.HelloSessionBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    <security-identity>
    <use-caller-identity/>
    </security-identity>
    </session>
    </enterprise-beans>
    </ejb-jar>
    weblogic-ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-ejb-jar
    xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" 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-ejb-jar.xsd">
    <weblogic-enterprise-bean>
    <ejb-name>HelloSession</ejb-name>
    <stateless-session-descriptor>
    </stateless-session-descriptor>
    <jndi-name>ejb.HelloSessionRemoteHome</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Did you check if there is any error/warning in Error Log view?

  • Web service deployment to WLS

    Hi
    I have a need to create a webservice client and deploy that to weblogic.
    we use IBM WSAD as the IDE , but uses WLS as the application server.
    when I create the web service client using the tools in WSAD , it makes use of websphere specific class/code to access the webservice.
    So the deployed code to WLS does not work
    Does anyone know the workaround for this?
    Thanks

    You could download a copy of the WLW Beta and give it a try....
    http://wlp.bea.com/wlw%5Fwlp%5Fbeta92/.
    This way you would not have to use WSAD.
    d d wrote:
    Hi
    I have a need to create a webservice client and deploy that to weblogic.
    we use IBM WSAD as the IDE , but uses WLS as the application server.
    when I create the web service client using the tools in WSAD , it makes use of websphere specific class/code to access the webservice.
    So the deployed code to WLS does not work
    Does anyone know the workaround for this?
    Thanks

  • JDeveloper Deployment to WLS IPv6 issue

    Hi, I have already written some ADF web app. Now I want to deploy it on Weblogic server.
    I installed and configured almost everything.
    For example:
    Weblogic,
    ADF runtime
    Deploy is finished fine to WLS.
    [04:16:37 PM] [Deployer:149194]Operation 'deploy' on application 'Application1_ViewController_webapp' has succeeded on 'Server'
    [04:16:37 PM] Application Deployed Successfully.
    [04:16:37 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [04:16:37 PM] http://[2001:0:9d38:953c:200e:224f:f5ff:f983]:7203/MyApp
    [04:16:37 PM] Elapsed time for deployment:  37 seconds
    [04:16:37 PM] ----  Deployment finished.  ----
    But in my case: test URL is  http://[2001:0:9d38:953c:200e:224f:f5ff:f983]:7203/MyApp
    I think URL is: IPv6
    But i want IPv4 URL. How to do it?

    ok, i did deployed my first EAR file directly from jdeveloper to wls,
    i had to uncheck, application properties, Auto Generate and Synchronize weblogic-jdbc.xl Descriptors During Deployment.
    i had to search the internet for it and found a clue at
    http://udayarocks.wordpress.com/2011/05/07/what-is-the-difference-between-in-deploying-the-adf-application-from-jdeveloper-into-weblogic-server-and-deploying-as-an-ear-file-in-the-weblogic-server
    butt running the deployed application, which was found Marked as Enterprise Application.
    gave me the following errors listed.
    This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpage.
    Regards,

  • Error 404 not found for PAPIWS Console deployed in WLS

    Hi, All,
    I created 07-papiws-wls103-XAFDIDS.ear in OBPM 10.3.1 Admin Center, and deploy it to WLS 10.3 successfully.
    The problem is when I try to access PAPIWS console by http://192.168.48.1:8901/papiws/PapiWebService, Error 404 not found reported.
    Any ideas? Thanks in advanced.
    Best Regards,
    Bill

    Let's start by clearing up some confusion.
    PORTS
    In version 11.1.1.x here are how the common ports are defined by default:
    1. HTTP Server - 8888
    2. WLS_FORMS - 9001
    3. WLS_REPORTS - 9002
    4. WLS Admin Server - 7001
    So, if you understand how ports work in general, you should see that there are two ways to run a form. You can either go through HTTP Server or call WLS_FORMS directly. This means that both of the following would work, although one would be a direct path and the other would route the request through the HTTP Server:
    <li>http://ie1fdtfc5zl1s:9001/forms/frmservlet?config=frmdemo
    <li>http://ie1fdtfc5zl1s:8888/forms/frmservlet?config=frmdemo
    Port 7001, will always be the Admin Server port by default for the Classic domain. By default, the only thing you can do from here is access EM or WLS Console.
    As for the tns issue, by default, both the Builder and runtime will expect to find tnsnames.ora in the Instance Home \config so be sure you are adding the correct entries to the correct file.
    You can hard code a path to the file which you prefer be used by setting TNS_ADMIN in default.env (e.g. TNS_ADMIN=C:\Oracle\mytnsdirectory). This will apply only to running forms and not the Builder.
    Also, here is something which often is confusing to many people.... just because you launched your form from the Builder does not mean that the running form has anything to do with the Builder at that point. In other words, when you click on the RunForm button in the builder all you are doing is passing a url to a browser. The browser and the form are not using any of the Builder's settings except those which may have been passed in the URL (e.g. username/password). ALL running forms are considered "runtime". This means all of the environment configuration information for a running form will need to be set in default.env. The Builder, on the other hand will rely on the System variable, Windows Registry (or shell if on Unix).

  • ADF 11g - Deployed app (WLS 10.3) fall into endless loop

    My application runs just fine in the embedded WLS in JDeveloper 11. But when deployed to standalone WLS, the application is suddenly fall into endless redirect loop.
    I tried to put out any filter that might cause the problem, including JpsFilter to no result.
    The console output when a request came in is as shown in http://pastebin.com/f60edd84d . The last line of the log is when firefox detected an endless redirect loop and decided to halt.
    Server log shows repeated entry of:
    Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22AdminServer%3BDomainLog%22%29
    What could be the problem?
    Thanks.
    Rgds,
    Rudi Adianto

    I wanted to mention, when it occurs while rendering the page (as can be seen from the stack traces) that its occurring when rendering a tag. Here is one of the tags in my JSP page, specifically one where I think it could be hanging. Does anyone see anything fishy? This tag is an Oracle ADF tag and the "param" variable is a local loop variable. I jus recently added the " || !financialBean.profitAssistant.paDataEditable" part but I don't know if thats the cause of the problem. This does not occur everytime, it just seems like when there is a good amount of load on the system.
    <af:inputText simple="true"
         id=         "tlInputTextParam"
         value=      "#{param.textValue}"
         rendered=   "#{param.rendered}"
         disabled=   "#{param.disabled  || !financialBean.profitAssistant.paDataEditable}"
         styleClass= "#{param.styleClass}"
         inlineStyle="#{param.style}"
         columns=    "#{param.componentSize}"
         onchange=   "#{param.onChangeJS}"
         onclick=    "#{param.onClickJS}"
         onkeydown=  "#{param.onKeyDownJS}"
         onfocus=    "#{param.onFocusJS}"
         onblur=     "#{param.onBlurJS}"
         onmouseover="try{this.title='#{param.description}';#{param.onMouseOverValueJS}}catch(e){}"
         />

  • Issue with deploying in WLS 10.3, Jdev11g

    I previously has issue with ClassNotFoundException on log4j.logger class and I was able to resolved it by following suggestion on this thread: Re: Question about dependent projects (and their libraries) in 11g and add the following to my WEB-INF/weblogic.xml:
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    However, after I i have this added, I'm unable to deploy my application because of invalid cast exception:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
         at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:124)
         at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
         at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
         at weblogic.servlet.internal.War.getTagInfo(War.java:891)
    Any help would be greatly appreciated
    Thanks
    Tony

    WLS 10.3 supports two options for adding application wide libraries in the EAR file. You can add them either to the APP-INF/lib or a library directory of your choice.
    - Select the application in the Application Navigator drop down.
    - Open the Context Menu and select Application Properties.
    - In Deployment create a Deployment Profile
    - In the Application Assembly select all the libraries and enter a directory name for each (eg. APP-INF/lib)
    If you like to have a library directory of your choice do all the steps above plus:
    - Expand the Application Resources accordion
    - Expand the Deployment Descriptors
    - Add the application.xml Deployment Descriptor version 5.0
    - Add the <library-directory>libname</library-directory>
    Will blog this later today.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ADF deployment to WLS 1.3

    Hi,
    how can I deploy ADF to a linux box that runs without xwindows?
    As far as I understand the only option is oracle installer for jdeveloper 11g?
    I know I can use X forwarding, but is there really no other way?

    It seems I'm almost there. Have no idea what was with the stalled server - it started to work now.
    I have another problem (last one I hope):
    when the application is trying to open a database connection, I see the folowing error in console:
    WARNING: Incomplete connection information
    Oct 13, 2008 11:50:30 PM oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
    WARNING: Unable to locate the credential for key psa in /srv/oracle/middleware/user_projects/domains/test1/config/oracle.
    Oct 13, 2008 11:50:30 PM oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
    WARNING: Incomplete connection information
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
         Truncated. see log file for complete stacktrace
    java.sql.SQLException: ORA-01005: null password given; logon deniedI created a data surce in weblogic, as described in ADF guide chapter 32.7. I used the same name for data source as connection name in jdeveloper.

  • Problem in accessing an ejb deployed in WLS

    Hi,
    I deployed my EJB in WL 8.1, when I use weblogic.jar I can able to access. But when I use the wlclient.jar and wl-j2ee-client.jar I am getting following exception:
    - javax.naming.InvalidNameException: Couldn't resolve initial reference: NameService [Root exception is org.omg.CORBA.ORBPackage.InvalidName]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:50)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:499)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:465)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.dnaO2.infra.serviceadaptor.util.ServiceAdaptorUtility.getInitialContext(ServiceAdaptorUtility.java:141)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBHomeServiceLocator.getHome(EJBHomeServiceLocator.java:59)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBSrvEndPoint.callEJBService(EJBSrvEndPoint.java:88)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBService.callSrvEndPointMethod(EJBService.java:76)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBService.invokeService(EJBService.java:58)
    at com.dnaO2.login.bo.LoginBO.invokeServiceAdaptor(LoginBO.java:305)
    at com.dnaO2.login.bo.LoginBO.createOrUpdateUser(LoginBO.java:58)
    at com.dnaO2.login.bizsrv.LoginAppSrv.createOrUpdateUser(LoginAppSrv.java:85)
    at com.dnaO2.login.bizsrv.LoginFacade.createUser(LoginFacade.java:54)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    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:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy75.createUser(Unknown Source)
    at com.dnaO2.login.common.LoginBD.createUser(LoginBD.java:90)
    at com.dnaO2.login.test.LoginTestClient.createUser(LoginTestClient.java:50)
    at org.apache.jsp.loginTest_jsp._jspService(org.apache.jsp.loginTest_jsp:48)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: org.omg.CORBA.ORBPackage.InvalidName
    at org.jacorb.orb.ORB.resolve_initial_references(Unknown Source)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:488)
    ... 81 more
    Waiting for reply,
    RK

    Hi,
    I deployed my EJB in WL 8.1, when I use weblogic.jar I can able to access. But when I use the wlclient.jar and wl-j2ee-client.jar I am getting following exception:
    - javax.naming.InvalidNameException: Couldn't resolve initial reference: NameService [Root exception is org.omg.CORBA.ORBPackage.InvalidName]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:50)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:499)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:465)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.dnaO2.infra.serviceadaptor.util.ServiceAdaptorUtility.getInitialContext(ServiceAdaptorUtility.java:141)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBHomeServiceLocator.getHome(EJBHomeServiceLocator.java:59)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBSrvEndPoint.callEJBService(EJBSrvEndPoint.java:88)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBService.callSrvEndPointMethod(EJBService.java:76)
    at com.dnaO2.infra.serviceadaptor.ejb.EJBService.invokeService(EJBService.java:58)
    at com.dnaO2.login.bo.LoginBO.invokeServiceAdaptor(LoginBO.java:305)
    at com.dnaO2.login.bo.LoginBO.createOrUpdateUser(LoginBO.java:58)
    at com.dnaO2.login.bizsrv.LoginAppSrv.createOrUpdateUser(LoginAppSrv.java:85)
    at com.dnaO2.login.bizsrv.LoginFacade.createUser(LoginFacade.java:54)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    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:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy75.createUser(Unknown Source)
    at com.dnaO2.login.common.LoginBD.createUser(LoginBD.java:90)
    at com.dnaO2.login.test.LoginTestClient.createUser(LoginTestClient.java:50)
    at org.apache.jsp.loginTest_jsp._jspService(org.apache.jsp.loginTest_jsp:48)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: org.omg.CORBA.ORBPackage.InvalidName
    at org.jacorb.orb.ORB.resolve_initial_references(Unknown Source)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:488)
    ... 81 more
    Waiting for reply,
    RK

Maybe you are looking for

  • Multiple image upload with save to database wizard problem

    hi, i need to upload multiple images (6) in a table called pictures. i will need the names stored in the database and the files uploaded on the server. since i am new to dreamweaver i can not figure out on how to make this work. the multiple image up

  • Uninstall itunes so I can re-install itunes

    I'm trying to uninstall itunes so I can re-install itunes and I keep getting this message: The feature you are trying to use is on a network resource that is unavailable. Click ok to try again, or enter a alternate path to a folder containing the ins

  • CMYK to RGB color conversion?

    Hi, I have to convert CMYK color array in the RGB color space and vice versa. I am  using the following code;- UID colorUID = iDrawing->GetColorUID(kFalse); UIDRef colourUIDRef(iDrawing->GetDataBase(), colorUID); InterfacePtr<IColorData> colorData(co

  • IPad 2 won't update to 4.3.2

    The update process returns that my iPad 2 isn't supported by this build. It's brand new, came with 4.3.1. ***?

  • Code 43 help

    Every time I plug my iPad into the computer it says USB device not recognized. I feel like I tried everything and nothing seem to work. I want to update my iPad but I can't because of this. The computer says its code 43. I don't want to buy a new iPa