Problem trying to deploy module

Hi,
I´m trying to debug my app. At publish time I get this error message:
"Module named 'MYAPP' failed to deploy.
weblogic.application.ModuleException: Failed to load webapp: 'MYAPPWEB'
exception received from deployment driver.
I´m using
BEA Workshop for WebLogic Platform
Version: 9.2.2
Build id: 952826
and Weblogic server 9.2 on windows XP SP3.
Can anyone help me?
Thank´s
[]´s

hi,
I looked at both, and I still need help.
h2. my Domain log:*
####<09/10/2008 15h23min59s GMT-03:00> <Info> <HTTP> <artit040> <AdminServer> <STANDBY ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1223576639078> <BEA-101363> <Application: MyAPP, WebApp: MyAPPWEB has context-root specified in application.xml: "MyAPPWEB". The context-root specified in weblogic.xml: "MyAPPWEB" will be ignored.>
####<09/10/2008 15h23min59s GMT-03:00> <Error> <J2EE> <artit040> <AdminServer> <STANDBY ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1223576639641> <BEA-160197> <Unable to load descriptor C:\Projetos\MyAPP\workspace3\MyAPPWEB\build\jws\weboutput/WEB-INF/web.xml of module MyAPPWEB.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:546)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:467)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:444)
at weblogic.servlet.internal.WebAppDescriptor.mergeLibaryDescriptors(WebAppDescriptor.java:157)
at weblogic.servlet.internal.WebAppModule.mergeLibraryDescriptors(WebAppModule.java:1018)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2384)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2363)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:360)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:411)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:402)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:549)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@b014a10e(/Listeners[http://com.bea.wli.management.WliWebAppListener])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:546)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:467)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:444)
at weblogic.servlet.internal.WebAppDescriptor.mergeLibaryDescriptors(WebAppDescriptor.java:157)
at weblogic.servlet.internal.WebAppModule.mergeLibraryDescriptors(WebAppModule.java:1018)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2384)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2363)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:360)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:411)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:402)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:549)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@b014a10e(/Listeners[http://com.bea.wli.management.WliWebAppListener])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)
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:585)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:546)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:467)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:444)
at weblogic.servlet.internal.WebAppDescriptor.mergeLibaryDescriptors(WebAppDescriptor.java:157)
at weblogic.servlet.internal.WebAppModule.mergeLibraryDescriptors(WebAppModule.java:1018)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2384)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2363)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:360)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:411)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:402)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:549)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284)
.>
h2. __my eclipse log__
ENTRY com.bea.wlw.server.core 4 0 2008-10-09 15:24:00.390
!MESSAGE Module named 'MyAPP' failed to deploy.
!SUBENTRY 1 com.bea.wlw.server.core 4 4000 2008-10-09 15:24:00.390
!MESSAGE weblogic.application.ModuleException: Failed to load webapp: 'MyAPPWEB'
!STACK 0
java.lang.Exception: Exception received from deployment driver.
at com.bea.wlw.server.internal.core.J2EEDeploymentHelper$DeploymentProgressListener.watch(J2EEDeploymentHelper.java:726)
at com.bea.wlw.server.internal.core.J2EEDeploymentHelper.deploy(J2EEDeploymentHelper.java:219)
at com.bea.wlw.server.internal.core.WeblogicServerBehaviour.publishModules(WeblogicServerBehaviour.java:886)
at com.bea.wlw.server.internal.core.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:454)
at com.bea.wlw.server.internal.core.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:332)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:803)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:791)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: weblogic.application.ModuleException: Failed to load webapp: 'MyAPPWEB'
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@b014a10e(/Listeners[http://com.bea.wli.management.WliWebAppListener])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)
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:585)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:546)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:467)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:444)
at weblogic.servlet.internal.WebAppDescriptor.mergeLibaryDescriptors(WebAppDescriptor.java:157)
at weblogic.servlet.internal.WebAppModule.mergeLibraryDescriptors(WebAppModule.java:1018)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2384)
at weblogic.servlet.internal.WebAppServletContext.mergeLibraryDescriptors(WebAppServletContext.java:2363)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:360)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:411)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:402)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:549)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284)

Similar Messages

  • Hi i when i am trying to deploy an EJB module on weblogic server i get the

    Hi all,
    when i am trying to deploy an EJB module on weblogic server i get the the following exception on the server.
    Exception:weblogic.management.ApplicationException: prepare failed for test Module: test Error: Exception preparing module: EJBModule(test,status=NEW) Unable to deploy EJB: D:\bea\weblogic81b\server\bin\myserver\upload\test.jar from test.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'HelloBean' at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:525) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(MBeanDeploymentInfoImpl.java:230) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1256) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:449) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2792) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1478) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1136) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:975) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2571) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2523) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2453) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:820) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:536) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:494) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    [Deployer:149033]preparing application test on myserver
    [Deployer:149033]failed application test on myserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application test on myserver.: Exception:weblogic.management.ApplicationException: prepare failed for test Module: test Error: Exception preparing module: EJBModule(test,status=NEW) Unable to deploy EJB: D:\bea\weblogic81b\server\bin\myserver\upload\test.jar from test.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'HelloBean' at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:525) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(MBeanDeploymentInfoImpl.java:230) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1256) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:449) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2792) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1478) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1136) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:975) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2571) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2523) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2453) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:820) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:536) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:494) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread

    Hi, i am also facing the same problem.......
    my ejb-jar.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <!--
    To add session beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called session-beans.xml that contains
    the <session></session> markup for those beans.
    -->
    <!-- Entity Beans -->
    <entity >
    <description><![CDATA[Description for Account]]></description>
    <display-name>Name for Account</display-name>
    <ejb-name>Account</ejb-name>
    <home>com.app.j2ee.bmp.interfaces.AccountHome</home>
    <remote>com.app.j2ee.bmp.interfaces.Account</remote>
    <local-home>com.app.j2ee.bmp.interfaces.AccountLocalHome</local-home>
    <local>com.app.j2ee.bmp.interfaces.AccountLocal</local>
    <ejb-class>com.app.j2ee.bmp.ejb.AccountBean</ejb-class>
    <persistence-type>Bean</persistence-type>
    <prim-key-class>com.app.j2ee.bmp.interfaces.AccountPK</prim-key-class>
    <reentrant>False</reentrant>
              <resource-ref>
              <res-ref-name>jdbc/ejbPool</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
    </entity>
    </enterprise-beans>
    <!-- Relationships -->
    <!-- Assembly Descriptor -->
    <!--
    To specify your own assembly descriptor info here, add a file to your
    XDoclet merge directory called assembly-descriptor.xml that contains
    the <assembly-descriptor></assembly-descriptor> markup.
    -->
    <assembly-descriptor >
    <!--
    To specify additional security-role elements, add a file in the merge
    directory called ejb-security-roles.xml that contains them.
    -->
    <!-- method permissions -->
    <!--
    To specify additional method-permission elements, add a file in the merge
    directory called ejb-method-permissions.ent that contains them.
    -->
    <!-- transactions -->
    <!--
    To specify additional container-transaction elements, add a file in the merge
    directory called ejb-container-transactions.ent that contains them.
    -->
    <!-- finder transactions -->
    <!-- message destinations -->
    <!--
    To specify additional message-destination elements, add a file in the merge
    directory called ejb-message-destinations.ent that contains them.
    -->
    <!-- exclude list -->
    <!--
    To specify an exclude-list element, add a file in the merge directory
    called ejb-exclude-list.xml that contains it.
    -->
    <container-transaction>
              <method>
              <ejb-name>Account</ejb-name>
              <method-intf>Local</method-intf>
              <method-name>*</method-name>
              </method>
              <method>
              <ejb-name>Account</ejb-name>
              <method-intf>Remote</method-intf>
              <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
         </container-transaction>
    </assembly-descriptor>
    </ejb-jar>

  • Problem trying to manualy re-deploy a previously deployed process

    Hi, when I do a manual deploy of a BPEL process that has never been deployed all works fine. If have to re-deploy the same process again BPEL ignores the process.
    Here are the steps I do on the second deploy of the same process:
    - Undeploy the current running process using the BPEL Console
    - Copy the bpel_mybpelprocess.jar to \domains\default\deploy
    Nothing happens at this point, if this was a new process it would pick it up from the \domains\default\deploy directory and deploy it.
    Can anyone help? We are running on version 10.1.2

    I had a similar issue where re-deploying a process had no effect. I also tried un-deploying, then re-deploying the process but it never appeared in the list of processes in the console.
    I resolved the problem by restarting the bpel instance (OC4J_BPEL), then the deployment worked ok.
    Toby

  • NW7.3] Problem while trying to deploy an EAR using ant task

    (I posted this in another forum, but I think this is the right one )
    Hello!
    I'm trying to deploy a EAR file to my Netweaver instance using ANT but I'm facing the following problem.
    I've downloaded all the files from j2ee/deployment and j2ee/j2eeclient as SAP's documentation states, the classpath is correctly set, however I get this error:
    BUILD FAILED!
    build.xml:16: taskdef class com.sap.engine.services.dc.ant.convert.SAPImportEAR cannot be found
    I've taken a look at tcjedc_ant.jar, which I downloaded from my instance, and it appears that SAPImportEAR is missing.
    By opening the file I can see com.sap.engine.services.dc.ant.deploy, com.sap.engine.services.dc.ant.undeploy and com.sap.engine.services.dc.ant.params, but the whole package com.sap.engine.services.dc.ant.convert is missing.
    Is it suposed to be anywhere else? All the articles/posts I found state that it should be on tcjedc_ant.jar.
    Thanks in advance!

    Hi,
    I guess this example_build.xml is outdated (belongs to NW 7.1).
    To build an SDA, look at make_SDA.csh.
    Class is com.sap.engine.lib.deploy.sda.SDAProducer.
    To buid an EAR, you do not need SAPImportEAR at all, just <taskdef "sapdeploy"...
    Regards
    Rolf

  • Error while deploying module with iasdeploy : Exception while createXmlDocument() : connection refused

    Hi to you all,
    I work with iAS 6.0 sp2 on Solaris.
    For 1 day, I get that exception when trying to deploy or remove my modules (servlets + JSP) with the iasdeploy tool :
    Exception while createXmlDocument()
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native method)
    at com.netscape.server.deployment.WebbAppReg.run(compiled code)
    at com.netscape.server.deployment.WebbAppReg.main(Unknown source)
    The war archive is put in the JAR directory, unpacked in the APPS/modules directory, but the servlets of the module have the null GUID in the registry ({000000 000000 000000}. And so, I have the GX error when trying to invoke them.
    What appends ? Is it a iAS process which is unable ?
    Please help !
    Paul-Emile

    I think you have not put the xml files in the war file.
    You need to put them under WEB-INF/ directory. Manually generate the guids using kguidgen script and try to deploy the war module. It should work fine. If it doesnot work please send me the file. So that I can further investigate and find out where exactly the problem is.Other wise you can use the deploytool.
    Please let me know if this works fine.
    Thanks for visiting our web forum.

  • Problem trying to develop a simple ADF Application

    Hi all,
    I am using Jdev 11.1.1.0 and webLogic 10.3.1
    I have a simple application with only a welcome message and a table.
    I am trying to deploy it, but I am a little confused.
    I have created the Application Server Connection succesfully.
    What have I to do now? I suppose, I have to create a deployment profile.
    If I right click on myApplication-->New-->Deployment profiles--> I can choose only EAR file or MAR file (not WAR file, like described in the manual 35.3.2). What I have to do?
    Instead, if I right click on ViewController-->New-->Deployment profiles--> I can choose more files (ADF Library JAR file, Client JAR File, JAR File, RAR File, Taglib JAR File, WAR File).
    If I choose this way, have I anything to do with the Model? if I right click on Model-->New-->Deployment profiles--> I can choose more files (ADF Library JAR file, Business Components Archive, Business Components EJB Session Bean, Business Components Service Interface, Client JAR File, JAR File, RAR File).
    Please help.
    Thanks

    The deploy seems to works, in fact Jdevelepor gives to me:
    Building...
    Deploying 2 profiles...
    Wrote Web Application Module to myFolder\ViewController\deploy\webapp1profile.war
    Wrote Enterprise Application Module to myFolder\deploy\application1EARProject.ear
    Deploying Application...
    The task cannot be processed further until the current edit session is activated. When this occurs, task processing will continue. The user can exit the deployer tool without affecting the task.
    Operation 'deploy' on application 'application1EARProject' has succeeded on 'AdminServer'
    Application Deployed Successfully.
    Elapsed time for deployment: 15 seconds
    But when I go to the URL: http://<host>:port/<context root>/faces/<page> I have the same problem: I can not see the page correctly, I continue to see only the welcome message, but not the table
    Any other suggestions?
    thanks again

  • EJBCompiler Exception when trying to deploy application in a cluster

    Hi,
              I have setup a cluster environment with 2 Managed Servers. While I tried to deploy the application using the Admin console, I got the following exception on both managed servers. I have tried suggestions from different websites:
              1. adding JDK to $PATH in WebLogic startup script and the system PATH.
              http://forum.java.sun.com/thread.jspa?threadID=465456&messageID=2605081
              2. Increasing memory for javac
              http://forum.java.sun.com/thread.jspa?threadID=492907&messageID=2605123
              My application was compiled with JDK 1.4
              But still no luck.
              What am I missing here?
              Thanks.
              Teresa
              [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application opencase on edcCluster.:
              Exception:weblogic.management.ApplicationException: prepare failed for opencase-ejb.jar
              Module: opencase-ejb.jar Error: Exception preparing module: EJBModule(opencase-ejb.jar,status=NEW)
              Unable to deploy EJB: opencase-ejb.jar from opencase-ejb.jar:
              Compiler failed executable.exec
              at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              java.io.IOException: Compiler failed executable.exec
              at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
              at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
              at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
              at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I solved recently a similar problem. The problem arised because the
              developer had compiled the ejb.jar with JDK 5.0, and then he was trying to
              deploy it to WLS 8.1, which supports only JDK 1.4 compiled classes when
              EJBCompiling.
              <T Y> wrote in message news:[email protected]...
              > Hi,
              > I have setup a cluster environment with 2 Managed Servers. While I tried
              > to deploy the application using the Admin console, I got the following
              > exception on both managed servers. I have tried suggestions from different
              > websites:
              > 1. adding JDK to $PATH in WebLogic startup script and the system PATH.
              > http://forum.java.sun.com/thread.jspa?threadID=465456&messageID=2605081
              >
              > 2. Increasing memory for javac
              > http://forum.java.sun.com/thread.jspa?threadID=492907&messageID=2605123
              >
              > My application was compiled with JDK 1.4
              >
              > But still no luck.
              > What am I missing here?
              >
              > Thanks.
              >
              > Teresa
              >
              >
              > [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
              > application opencase on edcCluster.:
              > Exception:weblogic.management.ApplicationException: prepare failed for
              > opencase-ejb.jar
              > Module: opencase-ejb.jar Error: Exception preparing module:
              > EJBModule(opencase-ejb.jar,status=NEW)
              > Unable to deploy EJB: opencase-ejb.jar from opencase-ejb.jar:
              > Compiler failed executable.exec
              > at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              > at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              > at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              > at
              > weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              > at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              > at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              > java.io.IOException: Compiler failed executable.exec
              > at
              > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
              > at
              > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
              > at
              > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
              > at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              > at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              > at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              > at
              > weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              > at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              > at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • Problem with azure-media module not installing

    Hi,
    I built this project out a bit ago and now am trying to deploy to a different mobile service.  For reasons unknown, we are encountering errors in that "azure-media" fails to install.  Any help is appreciated.
      "name": "nietttutestdeploy0",
      "version": "1.0.0",
      "description": "nietttutestdeploy0 - hosted on Windows Azure Mobile Services",
      "main": "server.js",
      "engines": {
        "node": ">= 0.8.19"
      "dependencies": {},
      "devDependencies": {
          "azure-media": "*",
          "mobileservice-config": "*"
      "scripts": {},
      "author": "unknown",
      "licenses": [],
      "keywords":[]

    To answer my own question/problem.  After a good bit more thrashing around, I discovered a post that told me 'npm install' doesn't get run on the server.  So the solution is to go ahead and install the modules on your local, then commit the node_modules
    folder up into source control.  At least for me this appears to have fixed the problem.  Not really a standard workflow that I am used to, and a little icky imo.

  • Errors while trying to deploy email portlet

    Hi,
    I am using Oracle JDeveloper 10.1.3. I am trying to register a portlet. The provider validation was unsuccessful. When trying to run it I get the following error messages:
    XML processing error: unable to create object of type edu.umt.portal.custom.CustomRenderCSS due to the following exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: edu.umt.portal.custom.CustomRenderCSS Dependent class: oracle.portal.utils.xml.v2.DefaultNodeHandler Loader: current-workspace-app.web.ceaiWebmailWeb:0.0.0 Code-Source: /C:/jdev/jdev/mywork/ceaiWebmail/ceaiWebmailWeb/public_html/WEB-INF/lib/ptlshare.jar Configuration: WEB-INF/lib/ directory in C:\jdev\jdev\mywork\ceaiWebmail\ceaiWebmailWeb\public_html\WEB-INF\lib This load was initiated at current-workspace-app.web.ceaiWebmailWeb:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
    can you help me in figuring out what is the problem.
    Thanks
    Abhishek

    Hi Democritos,
    Often this kind of error appears when you are trying to deploy to the PDA target something that the PDA does not support.
    I would start from this two document.
    Why Do I Receive An Unknown Error When Building a LabVIEW VI For PDA?
    How Can I Tell What Features for Controls and Indicators are Supported in the LabVIEW PDA Module?
    Another source of the same cryptic error message can be an improper installation of all the module needed to build PDA application, the first document suggested above point in this direction too.
    I would check the PDA module manual and verify the proper installation order.
    LabVIEW 8.0 PDA Module Help
    I hope you can dig out a solution from these documents.
    Write if you need further help
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Problem calling two perl modules from java in seperate threads(JVM CRASHES)

    Dear Friends,
    I have one severe problem regarding calling perl modules from java
    I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
    I am unable to spot out why ....
    For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
    All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
    The following is the code snippet
    <JAVA FILE>
    class Sample
         static {
              System.loadLibrary("xyz");  // Here xyz is the library file generated by compiling c code
         public native void call_PrintList();
         public native void call_PrintListNew();
         Sample()
              new Thread1(this).start();     
         public static void main(String args[])
              System.out.println("In the main Method");
              new Sample().call_PrintList();
         class Thread1 extends Thread
              Sample sample;
              Thread1(Sample sam)
                   sample=sam;
              public void run()
                   sample.call_PrintListNew();     
    }<C FILE>
    #include <EXTERN.h>
    #include <perl.h>
    static PerlInterpreter *my_perl;
    static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
    static void
    call_PrintList(){
         printf("\nIn the Call method of string.c\n");
            char *wor[] = {"hello", "sudha", NULL } ;
               char *my_argv[] = { "", "string.pl" };
               PERL_SYS_INIT3(&argc,&argv,&env);
               my_perl = perl_alloc();
                   PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
               perl_construct( my_perl );
               perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
              PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
               perl_run(my_perl);
         dSP ;
            perl_call_argv("PrintList",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
    //     perl_destruct(my_perl);
    //          perl_free(my_perl);
    //           PERL_SYS_TERM();
    static void
    call_PrintListNew(){
    printf("In the new call method\n");
    char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
            char *my_argv[] = { "", "string.pl" };
            PERL_SYS_INIT3(&argc,&argv,&env);
            my_perl = perl_alloc();
    PL_perl_destruct_level = 1;
            perl_construct( my_perl );
            perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
            PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
            perl_run(my_perl);
            dSP ;
            perl_call_argv("PrintListNew",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
      //      perl_destruct(my_perl);
      //      perl_free(my_perl);
       //     PERL_SYS_TERM();
    void callNew()
    call_PrintListNew();
    void call ( )
    call_PrintList();
    //char *wor[] = {"hello","sudha",NULL};
    /*   char *my_argv[] = { "", "string.pl" };
          PERL_SYS_INIT3(&argc,&argv,&env);
          my_perl = perl_alloc();
          perl_construct( my_perl );
          perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
         PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
          perl_run(my_perl);*/
       //   call_PrintList();                      /*** Compute 3 ** 4 ***/
    /*      perl_destruct(my_perl);
          perl_free(my_perl);
          PERL_SYS_TERM();*/
        }And Finally the perl code
    sub PrintList
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
    sub PrintListNew
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
            }Please help me in this regard

    Dear Friends,
    I have one severe problem regarding calling perl modules from java
    I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
    I am unable to spot out why ....
    For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
    All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
    The following is the code snippet
    <JAVA FILE>
    class Sample
         static {
              System.loadLibrary("xyz");  // Here xyz is the library file generated by compiling c code
         public native void call_PrintList();
         public native void call_PrintListNew();
         Sample()
              new Thread1(this).start();     
         public static void main(String args[])
              System.out.println("In the main Method");
              new Sample().call_PrintList();
         class Thread1 extends Thread
              Sample sample;
              Thread1(Sample sam)
                   sample=sam;
              public void run()
                   sample.call_PrintListNew();     
    }<C FILE>
    #include <EXTERN.h>
    #include <perl.h>
    static PerlInterpreter *my_perl;
    static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
    static void
    call_PrintList(){
         printf("\nIn the Call method of string.c\n");
            char *wor[] = {"hello", "sudha", NULL } ;
               char *my_argv[] = { "", "string.pl" };
               PERL_SYS_INIT3(&argc,&argv,&env);
               my_perl = perl_alloc();
                   PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
               perl_construct( my_perl );
               perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
              PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
               perl_run(my_perl);
         dSP ;
            perl_call_argv("PrintList",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
    //     perl_destruct(my_perl);
    //          perl_free(my_perl);
    //           PERL_SYS_TERM();
    static void
    call_PrintListNew(){
    printf("In the new call method\n");
    char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
            char *my_argv[] = { "", "string.pl" };
            PERL_SYS_INIT3(&argc,&argv,&env);
            my_perl = perl_alloc();
    PL_perl_destruct_level = 1;
            perl_construct( my_perl );
            perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
            PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
            perl_run(my_perl);
            dSP ;
            perl_call_argv("PrintListNew",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
      //      perl_destruct(my_perl);
      //      perl_free(my_perl);
       //     PERL_SYS_TERM();
    void callNew()
    call_PrintListNew();
    void call ( )
    call_PrintList();
    //char *wor[] = {"hello","sudha",NULL};
    /*   char *my_argv[] = { "", "string.pl" };
          PERL_SYS_INIT3(&argc,&argv,&env);
          my_perl = perl_alloc();
          perl_construct( my_perl );
          perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
         PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
          perl_run(my_perl);*/
       //   call_PrintList();                      /*** Compute 3 ** 4 ***/
    /*      perl_destruct(my_perl);
          perl_free(my_perl);
          PERL_SYS_TERM();*/
        }And Finally the perl code
    sub PrintList
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
    sub PrintListNew
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
            }Please help me in this regard

  • _OBJC_IVAR_$_        Referenced From Error while trying to deploy in iphone

    Hi All,
    I am facing one problem. any one who are aware of this project please help me.
    My problem is:
    i have Mac OS of 10.5.8 and xcode of 3.1.4
    while i am trying to implement a application of audio files i want the frame work called "AVFoundation.Framework" i didn't found that frame work in my library.
    so i added that framework from "MACOS10.4" .
    but in simulator 3.1 it works fine. while trying to deploy in my iphone i am getting error like:
    "-(avTouchcontroller updatecurrenttime)", referenced from:
    _OBJC_IVAR_$_ avTouchcontroller._ivlmeter_in in avTouchController.o

    Why don't you post here (again) and you might get some answers:
    http://discussions.apple.com/message.jspa?messageID=10512489#10512489

  • Help!!! Error while trying to Deploy on JRun 3.1

    Hello
    I'm trying to deploy my Ejbs for JRun 3.1. I have my deploy
    script as below:
    rem The base directory in which JRun is installed
    set JRUN_HOME=c:\JRun\3.1
    rem The Oracle JDBC Drivers
    set JDBC_DRIVER=%JRUN_HOME%\servers\lib\ojdbc14.jar
    set ECLIPSE_HOME=H:\eclipse\workspace
    rem The filename and location of the JAR file to build
    set JAR_FILE=%ECLIPSE_HOME%\lib\mtrack.jar
    rem The Classpath for EJB components
    set
    EJB_CP=%ECLIPSE_HOME%\lib\j2ee.jar;%JRUN_HOME%\lib\ejipt.jar;%ECLIPSE_HOME%\lib\jdom.jar; %ECLIPSE_HOME%\lib\xerces.jar;%ECLIPSE_HOME%\lib\ext\commons-fileupload-1.1.jar
    set
    JRUN_CP=%JRUN_HOME%\lib\install.jar;%JRUN_HOME%\lib\xt.jar;%JRUN_HOME%\lib\jrun.jar;%JRUN _HOME%\lib\jsp.jar;%JRUN_HOME%\lib\jsprt.jar;%JRUN_HOME%\lib\rhino.jar;%JRUN_HOME%\lib\ssi .jar;%JRUN_HOME%\lib\default_exports.jar;%JRUN_HOME%\lib\default_objects.jar;%JRUN_HOME%\l ib\ejipt.jar;%JRUN_HOME%\lib\ejipt_ejbeans.jar;%JRUN_HOME%\lib\ejipt_jms.jar;%JRUN_HOME%\l ib\ejipt_tools.jar;%JRUN_HOME%\lib\ejipt_client.jar
    set CP=.;%EJB_CP%;%JDBC_DRIVER%;%JAR_FILE%;%JRUN_CP%
    C:\java\jres\1.3.1\bin\java
    -Djava.security.policy=%JRUN_HOME%/lib/jrun.policy
    -Dejipt.home=%JRUN_HOME% -cp %CP% allaire.ejipt.tools.Deploy
    This script uses Jre 1.3.1 to deploy as I know that one works
    on another machine. Anyway, i get the following error, i starts
    doing the compilation and generating the stub then it fails:
    Generating EscalationManagerObject...
    Generating StatisticsManagerHomeObject...
    Generating StatisticsManagerObject...
    Compiling files...
    Exception: [15:24:29] java.io.IOException: CreateProcess:
    javac -classpath c:/JR
    un/3.1/servers/default/deploy/lib;c:/JRun/3.1/servers/default/deploy/mtrack.jar;
    lib/ejipt.jar;.;H:/eclipse/workspace/lib/j2ee.jar;c:/JRun/3.1/lib/ejipt.jar;H:/e
    clipse/workspace/lib/jdom.jar;H:/eclipse/workspace/lib/xerces.jar;H:/eclipse/wor
    kspace/lib/ext/commons-fileupload-1.1.jar;c:/JRun/3.1/servers/lib/ojdbc14.jar;H:
    /eclipse/workspace/lib/mtrack.jar;c:/JRun/3.1/lib/install.jar;c:/JRun/3.1/lib/xt
    .jar;c:/JRun/3.1/lib/jrun.jar;c:/JRun/3.1/lib/jsp.jar;c:/JRun/3.1/lib/jsprt.jar;
    c:/JRun/3.1/lib/rhino.jar;c:/JRun/3.1/lib/ssi.jar;c:/JRun/3.1/lib/default_export
    s.jar;c:/JRun/3.1/lib/default_objects.jar;c:/JRun/3.1/lib/ejipt.jar;c:/JRun/3.1/
    lib/ejipt_ejbeans.jar;c:/JRun/3.1/lib/ejipt_jms.jar;c:/JRun/3.1/lib/ejipt_tools.
    jar;c:/JRun/3.1/lib/ejipt_client.jar -d
    c:/JRun/3.1/servers/default/deploy/lib @
    c:/JRun/3.1/servers/default/deploy/src/list error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at
    allaire.ejipt.tools.Deploy._compileFiles(allaire/ejipt/tools/Deploy.java:700)
    at
    allaire.ejipt.tools.Deploy.redeployJars(allaire/ejipt/tools/Deploy.java:236)
    at
    allaire.ejipt.tools.Deploy.deployJars(allaire/ejipt/tools/Deploy.java:184)
    at
    allaire.ejipt.tools.Deploy.main(allaire/ejipt/tools/Deploy.java:163)
    I'm completely stuck. Any help will be much appreciated.
    Thanks
    Pratim

    Hi dominikg,
    At first, You can try to restart the device-manager from system tray.
    If it doesn't help, then try the following:
    - stop the device manager
    - Remove c:\Docement and Settings\<your User>\javame-sdk folder.
    - Ran the device manager from <SDK>/bin directory
    - try to debug again.
    Did you tried to change port 51307 to another.
    Early access build had some problems with device manager, I hope that final release will be better :)
    BR,
    Igor

  • "an error occurred when trying to change modules"

    When I switch repeatedly between Library and Develop with the R and E keys, I always sooner or later run into a problem where nothing happens when I press R. Really that should go the Develop module and enter crop mode -- what I'm usually trying to do, when this happens, is crop a bunch of photos. So I'll be using Library mode to identify the photos that need cropping, stepping through photos with the arrow keys, then when I find one that I want to crop, I press R, enter develop+crop mode, crop the photo, press E to return to library+loupe view, and continue.
    Sometimes this works 10 times, sometimes it only works twice, but always, relatively soon, when I press R, "nothing" will happen. Actually what's happening is an error dialog appears saying "an error occurred when trying to change modules", then the error dialog immediately disappears before I can read it. I know what it says, because if I click the Develop module with the mouse, I get the same message but it sticks around until I press OK.
    Once this happens, I'm entirely unable to use the Develop module until I quit the program. I had to quit and restart LR about 20 times during an hour of working with it last night, and this morning, in the first 15 minutes, I'm already on the 3rd restart.
    Anyone else see this?
    Details: LR 1.1 on Mac OS 10.4.10, 4-core Mac Pro, images are a mix of JPG from a pocket camera and NEF from a Nikon D40. I don't think it is related to the specific images, as it strikes apparently at random, and after exit and restart, I can crop that same photo, but a different one will eventually cause the same problem again.

    Sean, thanks for the Return key tip. I knew about that at one point, but lately I was trying to use Enter (the one on the numeric keypad, at the very lower right corner of the keyboard, which is really easy to hit with my thumb even when my hand is on the mouse! And Enter doesn't invoke the crop, so I forgot that Return did). That is a better way.
    I don't see the RE problem on my MacBook, only on my desktop computer, and that one is also experiencing other flakiness (
    metamatt, "missing text / thumbnails / many Lightroom UI elements disappeared" #, 18 Aug 2007 3:08 pm) so I think I'm going to try a complete reinstall there.

  • Error while trying to deploy the application using Enterprise manager website

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container.
    We are planning for deployment in few days to go it live.
    Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    Thanks
    Srinath

    Hi,
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Thanks
    Srinath

  • Problem with the Deployment

    Hi all,
       I am trying to deploy the ear by using the user credentials which was given at the time of installation.
    But is was giving an error like :
    Base login Exception : Cannot authenticate user.
    Session- CheckForTicketException.
    Regards,
    Kiran.

    Hi Bhogi,
        Try opening Visual Admin if your not able to login with username(admin) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation.
    Restart the server and deploy it...
    In case if your able to login visual admin follow the thread that will solve your problem;
    Cannot connect to Host with user name J2EE_ADMIN !!!
    Errors in While trying to Deopy Web Dynpro Application
    Regards
    Suresh KB

Maybe you are looking for

  • Help needed with Adobe Photoshop CC

    I have installed Adobe Photoshop CC. All went well. Now, when I open a file, I get the following message - When I try to re-install Adobe Photoshop CC the Adobe Applications Manager refuses and says my App is Updated. I can use Photoshop CC, but have

  • Do you think JOptionPane dialogs force garbage collection afterwards?

    I ask because I've made a nested static class to implement my own file selection tool; the problem is that each time I call it the old JPanel is being recalled and so the components get re-added to it each time it's called, resulting in n versions of

  • Why cant I view the international version of a website, only my local version

    I wish to vie the Amsterdam version of the Scotch and Soda web store (their head office store). However, when I click on their web address, I am automatically redirected to the Australian store because I reside in Australia. I have disable the Firefo

  • Script Alert SyntaxError: Expected: }:1

    While trying to run the Adobe Watermark Palette, I receive the syntax error as stated in the subject of this posting. I removed the Watermark Palette using Adobe Extension Manager and reinstalled it. I receive the same error. I've  double and triple

  • Decimals places to 4

    In my layout I am using 0AMOUNT and US$4 with 4 decimals.  When I key a number into the layout, regardless of what it is, it is correct in the layout.  However, when I look in the cube or query, if the value I put in the layout is equal to or less th