Deploying large JAR/EAR files

i'm using WLS6.1.
i'm having problem deploying a very large EAR file. when i upload the
file through the Admin Console, it keeps timing out. when i use the
command line tool, it crashes with OutOfMemoryException. i don't want
to break the file into smaller ones because they are all related and
i want to make production deployment simple with a single file.
anyone else with this problem? is there a way to deploy "manually"
without using the tools?
thanks,
yan

Try pre-EJBC-ing it and pre-compiling your JSPs etc. It is not unusual for
EJBC to take 30 minutes on a high-end server for a large application.
Also, try using JIKES instead of javac.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Yan" <[email protected]> wrote in message
news:3bbde714$[email protected]..
>
i'm using WLS6.1.
i'm having problem deploying a very large EAR file. when i upload the
file through the Admin Console, it keeps timing out. when i use the
command line tool, it crashes with OutOfMemoryException. i don't want
to break the file into smaller ones because they are all related and
i want to make production deployment simple with a single file.
anyone else with this problem? is there a way to deploy "manually"
without using the tools?
thanks,
yan

Similar Messages

  • Deploying war OR ear file in 10.1.3 standalone OC4J

    I've read the several threads on how to deploy a war file and/or ear file for OC4J but haven't seen anyone having the same issue I'm having.
    I've tried deploying manually, from the command line using admin.jar, as well as the enterprise manager. It appears that when OC4J is looking for a jar file containing EJB's. But my app has none and there is no jar file that it finds.
    Here is what the console reports when I try to deploy using admin.jar ->
    http://www.gordongridley.us/2007/02/oc4j-console-when-trying-to-deploy.html
    OK - so I try to deploy using the Enterprise Manager instead to see if the UI has some options that I can change for not forcing an EJB jar file lookup. Here is a video of what I did ->
    http://www.gordongridley.us/2007/02/attempting-to-deploy-war-using-oc4j.html
    Do I really need to have a jar file with EJB's to deploy a WAR/EAR file?

    Hi Gordon,
    The source of your ills is this entry in the application.xml descriptor:
    <module>
    <ejb>TomaxCMAdmin.jar</ejb>
    </module>
    Remove that, and you should be good to go (assuming you aren't referencing any other non-existent JARs).
    Thanks
    Dan Hynes

  • PAR , JAR ,EAR files

    hello all,
       1. what are  PAR,JAR,EAR  files and list some examples.  what is  their purpose each ?  and also one more question to ask (i.e)
       2. Difference between PAR JAR and EAR file and where is each one used ?

    Hi
    PAR - An archive file containing all resources of a portal application.
    You can know more about the files in PAR is here
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/fab74247e2b611e10000000a155106/frameset.htm
    EAR -Enterprise Archive Files,A file type that contains a Web-based application for companies.
    From a technical viewpoint, an EAR file is an archive of MIME type "application/zip" and can be extracted with any pack program. It always contains a file in which all of the components belonging to the archive are described. Further applications are necessary to enable the correct implementation of the applications contained in the archive after extraction.
    JAR -Java ARchive. A file type that contains an EJB application developed according to the J2EE standard, or an archive of Java class files.
    Cheers
    Jawahar Govindaraj
    PS:Reward pts

  • Exception while deploying application(as EAR file) on Standalone WLS 10.3

    Hi,
    I'm struggling with an exception while deploying my application(as EAR file) on a standalone WebLogic Server 10.3. I have developed a application using Trinidad and JSF components. But an exception occurs while deploying my application(as EAR file) in WebLogic Server 10.3. As I'm not familiar with WEBLOGIC server I'm unable to analyse the exception.
    Note - I'm attaching the StackTrace below
    Please help me out from this isssue.
    +[HTTP:101216]Servlet: *"Faces Servlet" failed to preload on startup in Web application: "iss"*. java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) 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.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
    Message icon - Error java.lang.NullPointerException:
    Thanks
    Sukumar

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Deploying of an .ear file which is password protected

    When we try to deploy a password protected .ear file,through the Weblogic
    Console,the deployment fails.
    java.io.IOException: invalid CEN header (encrypted entry) with :
    D:\SAMPLEAPP.ear at java.util.zip.ZipFile.open(Native Method) at
    java.util.zip.ZipFile.<init>(ZipFile.java:114) at
    java.util.jar.JarFile.<init>(JarFile.java:133) at
    java.util.jar.JarFile.<init>(JarFile.java:97) at
    weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32) at
    weblogic.utils.jars.VirtualJarFactory.createVirtualJar(VirtualJarFactory.java
    :24) at
    weblogic.application.compiler.SCACompilerFactory.createMerger(SCACompilerFact
    ory.java:37) at
    weblogic.application.compiler.flow.AppMergerFlow.createMerger(AppMergerFlow.j
    ava:68) at
    weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.jav
    a:85) at
    weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:4
    1) at
    weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java
    :69) at
    weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.ja
    va:41) at
    weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at
    weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDrive
    r.java:96) at
    weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157) at
    weblogic.utils.compiler.Tool.run(Tool.java:158) at
    weblogic.utils.compiler.Tool.run(Tool.java:115) at
    weblogic.application.compiler.AppMerge.merge(AppMerge.java:169) at
    weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88) at
    weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
    at
    weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.create
    DeployableObject(WebLogicDeployableObjectFactoryImpl.java:181) at
    weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.create
    LazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156) at
    weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661) at
    com.bea.console.actions.app.install.Flow$2.execute(Flow.java:469) at
    com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.jav
    a:5000) at
    com.bea.console.actions.app.install.Flow.appSelected(Flow.java:467) at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
    java:25) at java.lang.reflect.Method.invoke(Method.java:597)
    I would like to know the steps how to deploy a ear file which is password protected. The ear has one jar file & a war file.
    Awaiting suggestions
    Karthik

    Hi Karthik,
    there is one enhancement request were opened for this issue.
    BUG 12605295.
    you need to wait till this got updated.
    Regards,
    Kal

  • Deploying application with EAR file: problems....

    Hello!
    We been working in a test environment for developing our application. When its done and ready to go in production, we did generate the deployed application archive (EAR) with the console. Then, we used the
    java -jar admin.jar -deploy command to deploy in the prod. env.
    Meanwhile, we always get this kind of error, as it seems that oc4j is not generating EJB wrapper correctly:
    GestionApplicationSBHome_StatelessSessionHomeWrapper120 was not an instance of interface sertir.portail.gap.GestionApplicationSBHome, the interface it implements is sertir.portail.gap.GestionApplicationSBHome
    at java.lang.Throwable.fillInStackTrace(Native Method)
    AND
    java.lang.ClassCastException: ApplicationEBHome_EntityHomeWrapper14 was not an instance of interface sertir.portail.gap.ApplicationEBHome, the interfaces it implements are sertir.portail.gap.ApplicationEBHome, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ExternalComparator, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.ejb.EntityContainer
    and other errors doing that with almost all EJBs.
    My question is, is there a special switch in the deploy command to force the compilation of the EAR file?
    Any help would be appreciated...
    Thanks!

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Problem while deploying a WLW ear file on a WL81 production server

    Hi,
    I am trying to deploy a simple simple WEB service -which works fine within the
    workshop 8.1 environment- on a different "production" server.
    I generated manually all the JMS queues on the target database, as well as the
    pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
    file included in the ear file) .
    The deployment ends with following error:
    "weblogic.servlet.WlwJSPServlet" (see below).
    Who could help ?
    Thanks a lot
    Yves
    [Deployer:149033]preparing application WebServiceNAP on myserver
    [Deployer:149033]failed application WebServiceNAP on myserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
    WebServiceNAP on myserver.:
    Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
    Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
    [HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
    jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
    be loaded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
    Source)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
    Source)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
    at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
    at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
    at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]

    Looks like Raj has responded to this thread in the Workshop newsgroup:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
    "Yves Léauté" wrote:
    >
    Hi,
    I am trying to deploy a simple simple WEB service -which works fine within the
    workshop 8.1 environment- on a different "production" server.
    I generated manually all the JMS queues on the target database, as well as the
    pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
    file included in the ear file) .
    The deployment ends with following error:
    "weblogic.servlet.WlwJSPServlet" (see below).
    Who could help ?
    Thanks a lot
    Yves
    [Deployer:149033]preparing application WebServiceNAP on myserver
    [Deployer:149033]failed application WebServiceNAP on myserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
    WebServiceNAP on myserver.:
    Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
    Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
    [HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
    jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
    be loaded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
    Source)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
    Source)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
    at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
    at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
    at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]

  • Deploying web service ear file

    Hi,
    I've developed a simple web service using NetWeaver Developer studio 2.0.5 and created an .ear file for deployment to SAP WAS 6.2.  While trying to load ear file from the deploy tool it throws an error - "Unable to load ear file".  Has anyone seen this error before?  Any problems with the NetWeaver and SAP WAS versions? Any suggestions on how to deploy a web service on SAP J2EE 6.2?

    Hi Dipesh,
    well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
    Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
    Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
    Hope that helps!

  • J2EE Cluster Error while deploying ISA b2c.ear file.

    Hi All,
    I am trying to deploy b2c.ear file through SDM deploytool.
    My build tool is working fine. In SAP MMC all node is green. All J2EE service is running. But when I try to deploy file through SDM i am getting below error.
    Deployment started Sun May 14 14:24:50 PDT 2006
    ===========================================================================
    Starting Deployment of crm.b2c_ashish
    Aborted: development component 'crm.b2c_ashish'/'sap.com'/'SAP AG'/'400.200605141307':
    SDM could not start the J2EE cluster on the host dgntisa! The online deployment is terminated. JStartup Framework is not able to deliver an information about the cluster control instances! Please check the status of the J2EE Engine
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment of crm.b2c_ashish finished with Error (Duration 3250 ms)
    ===========================================================================
    IF some one has any idea then pl. show me the way. I am new to CRM ISA side so pl. help me out.
    Thanks in advance.
    Ashish Patel.

    Hi Rajesh,
    Below is the part of the log file.
    ==============================
    #1.5#0013D4B7BFFF002600000001000001A800041439E82CD452#1148138847796#com.sap.engine.services.monitor.common.Template##com.sap.engine.services.monitor.common.Template######25430f40e81511da9ca50013d4b7bfff#SAPEngine_System_Thread[impl:5]_52##0#0#Error##Plain###javax.management.InstanceNotFoundException: com.sap.default:name=com.sapmarkets.isa.core.jmx.ext.MyXCMInstProvider,SAP_J2EEApplicationPerNode=sap.com/crm.b2c_dgn,j2eeType=SAP_ApplicationResourcePerNode,SAP_J2EEClusterNode=8527350,SAP_J2EECluster=ITG not in repository
         at com.sap.pj.jmx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1291)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getAttribute(MBeanServerWrapperInterceptor.java:181)
         at com.sap.engine.services.jmx.CompletionInterceptor.getAttribute(CompletionInterceptor.java:300)
         at com.sap.engine.services.jmx.RedirectInterceptor.getAttribute(RedirectInterceptor.java:232)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.getAttribute(MBeanServerSecurityWrapper.java:234)
         at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:559)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at com.sap.engine.services.monitor.mbeans.Template.pollDynamicData(Template.java:891)
         at com.sap.engine.services.monitor.mbeans.Template.handleNotification(Template.java:847)
         at com.sap.engine.services.jmx.server.AscynchronousProxyListener.handleNotification(AscynchronousProxyListener.java:51)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:94)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:61)
         at com.sap.engine.services.jmx.timer.j2ee.Timer.sendTimerNotification(Timer.java:407)
         at com.sap.engine.services.jmx.timer.j2ee.TimerNotificationEntry.timeout(TimerNotificationEntry.java:69)
         at com.sap.engine.services.timeout.TimeoutNode.run(TimeoutNode.java:50)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    =========================
    According to log file it says that
    SAP_J2EECLUSTER = ITG is not in Repository.
    It looks like that some parameter setting is missing. Do you have any idea where I can set "SAP_J2EECLUSTER" Parameter.
    Thanks.
    Ashish Patel.

  • Want to deploy BI Office.ear file on weblogic version 10

    Hi,
    I want to deploy BIOffice.ear file on weblogic 10version.
    As per oracle weblogic version 9 is supported with OBIEE 10.2.3.4.1 version.
    Please let me know if anyone hase done that.
    Thanks
    Nitasha
    Edited by: user13005863 on Jan 11, 2011 4:03PM

    Do you have solution for this?

  • Deploy .war or .ear file to sun java web server 7.0 update 4

    Hi
    This could be a very daft question, but still I would like to get a clarification.
    My clients are a financial organisation, and for security and various other reasons they accept only .ear files. But this time the development and deployment would be done on Sun Java Web Server 7.0 update 4 . Now since its a web server I don't think I can deploy an .ear file.
    But sure I would like to get an answer from the experts here, is it possible to deploy and .ear file to Sun Java Web Server 7.0 before I can go back to my clients.
    Please help me here as I'm in a real big confusion here. Your help would be highly valuable to me.
    Thanks
    Jagdish

    Hi
    Thanks for the reply and I appreciate your help. Well I tried deploying an .ear file directly and web server 7 complains that it doesn't have a .war extension, understandably so.
    And then ripping apart the .ear file and deploying the .war file does work, as is expected of a web server.
    Well, about my customer is a bank and they have a very tight security policy, and why they need an .ear file is beyond my understanding. Well as far as this issue is concerned, I need a strong point so that I can get back to them that we need to comply to the third party software.
    But I didn't wan't to get back to them saying we can only provide a .war file and then later find out an .ear file could have done the job. And being seen as the technical experts we can't afford to make any mistake.
    Thanks
    Jagdish

  • Deployment of same EAR files to two separate clustered domains

    I am currently running all my portal applications and business objects from within one 8.1 clustered environment.
    However I would like to move to an architecture where we use two 8.1 clustered server domains.
    Where:
    Clustered domain 1 is used to service requests from back office applications from within the enterprise and
    Clustered domain 2 used to service requests for external facing applications from the portal jpf's.
    The deployment issue which concerns me is that each cluster will require an identical deployment of the same ear files.
    The datasources for each of the ear's will point to a common database.
    This solution is prefered over that of deploying the ear files to just one clustered domain and calling the application from the other clustered domain
    via the remote interface, as this would incure code changes and all the associated testing etc.
    I'd like to find out if there are any issues on of concurrency with this deployment model ?
    The business objects in the ears are comprised of mainly CMP EJB's and statless session beans.
    How will the container of each cluster manage the DB concurrency of the CMP EJB's when the datasource's of the ear files in each clustered domain
    point to the same DB ? Will this cause any concurrency conflicts?

    Sounds like you have some code that is not threadsafe. Instances are interacting, probably because you are using static data that is being shared between running instances in the same jvm. If so, convert to instance data if your code is the cause.
    Check this line of code, it may be the cause:
    at jep.MySimpleEventQueue.dispatchEvent(MySimpleEventQueue.java:59)

  • Deploy war or ear file to Websphere Server

    Anyone knows how to deploy .war file to Websphere Application Server after building the completed JSF web application from Creator tool? Or how to deploy the application developed in Creator to other servers such IBM Websphere, JBoss ...etc.
    By theory, to put on server, any web ear files can be dropped into web contents directory of each server. In my case, I put war file on IBM Websphere 5.1, but it did not work.
    Thanks in advance.
    VTT_

    Did you use the export war facility on your project in the project navigator? this should work fine.
    Note you will need to create your datasources etc using hte admin tools for the server of your choice.
    There may also be some library requirements for JSF that your server doesn't have - I know this is true for tomcat, for example... see
    http://swforum.sun.com/jive/thread.jspa?threadID=46057&tstart=0
    hth,
    Val

  • Failed in deploying Web Application (.ear file)

    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

    Hi,
    specifying a leading slash shoul be enough to let the system know that it is an absolute path.
    Regards,
    Christian Buchegger
    Developer Relations Engineer
    BEA Support
    TJ schrieb:
    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

  • Can't deploy sca or ear file to NW server

    Hi Expert,
    I am using NWDS CE 7.1, I've built my sca / ear. I've configured the Java AS in Windows -- Preference -- SAP AS JAVA -- Register SAP Instances. The SAP instance is registered and defined as default Server.
    However when I tried to deploy my application, I got error:
    Port: -1
    Host: null
    The host or port returned by the SAP System Registry is invalid.
    In the Server view, I can see that the server is running properly.
    In the SMC view, I see an error log:
    class java.rmi.RemoteException caught during refresh of instance Host<xxx.yyy.com>, InstanceNumber<0>
    [EXCEPTION]
    java.rmi.RemoteException: Service call exception; nested exception is:
         java.lang.Exception: Incorrect content-type found 'text/html'
    I believe it's a NW server config issue, but I don't know what it could be, so that I can point our basis guy to the right direction.
    Anyone can help?
    BTW, I've searched in SDN, there are a few posts with same error as mine, but none posted the solution.
    Thanks
    Jayson

    Isn't NW server backwards compatible?
    I will try to download the 7.20 NWDS and report back

Maybe you are looking for