7 Replies Latest reply: May 6, 2008 2:28 PM by 666705 RSS

    Can't deploy large WAR files using the administration console

    666705
      Hello!

      I use the administration console (WL 8.15) to try and deploy a large 500MB WAR file to a managed server (which resides on different machine) ,i'm using node manager and stage deployment mode, The depoyment process keeps on failing, either exploded or compressed.

      Is there a known file size deployment limitation?!
      Does anyone managed to deploy large files using this configurations?

      thanks!
        • 1. Re: Can't deploy large WAR files using the administration console
          666705
          There's no inherent limitation to the deployment size, but 500MB might take a while with staging.

          When it fails, what happens? Are there exceptions in the log?

          Does it work if you use nostage?
          -- Rob

          WLS Blog http://dev2dev.bea.com/blog/rwoollen/
          • 2. Re: Can't deploy large WAR files using the administration console
            666705
            Hi Rob!

            Thanks for your interest!
            I managed to deploy only when using the external staging method... :-(
            I collected the various outputs I get when the deployment fails (stage mode).
            I followed the stack trace and it ends with an HTTP 500 internal server error - not very informative...




            From the administration console:

            Description: [Deployer:149026]Deploy application delmeWAR on sslogic1.
            A description of this task.
            Status: Deploy Failed
            The status of this task.
            Begin Time: Wed Mar 01 16:41:08 IST 2006
            The time this task was started.
            End Time: Wed Mar 01 16:53:02 IST 2006
            The time this task was completed.
            Exception: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).
            The exception that occurred while performing this task.

            Log:
            [Deployer:149033]preparing application delmeWAR on sslogic1
            [Deployer:149033]failed application delmeWAR on sslogic1
            [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application delmeWAR on sslogic1.: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error )..




            Administration console Details tab:

            weblogic.management.DeploymentException: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).
            at weblogic.management.mbeans.custom.Application.getRemoteInputStream(Application.java:4050)
            at weblogic.management.mbeans.custom.Application.findInputStream2(Application.java:865)
            at weblogic.management.mbeans.custom.Application.findInputStream(Application.java:776)
            at jrockit.reflect.NativeMethodInvoker.invoke0(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
            at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
            at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
            at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
            at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
            at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
            at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
            at weblogic.management.configuration.ApplicationMBean_Stub.findInputStream(ApplicationMBean_Stub.java:2157)
            at weblogic.management.deploy.slave.SlaveDeployer.getApplicationInputStream(SlaveDeployer.java:1865)
            at weblogic.management.deploy.slave.SlaveDeployer.access$1700(SlaveDeployer.java:116)
            at weblogic.management.deploy.slave.SlaveDeployer$Application.restage(SlaveDeployer.java:2841)
            at weblogic.management.deploy.slave.SlaveDeployer$StagingOrder.execute(SlaveDeployer.java:3379)
            at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromOrder(SlaveDeployer.java:2799)
            at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromTask(SlaveDeployer.java:2817)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
            at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
            at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
            at java.lang.Thread.startThreadFromVM(Unknown Source)
            No Exception Messages






            FROM Server Log:

            MessageID Timestamp Severity Subsystem Message
            BEA-149201 Mar 1, 2006 4:53:12 PM IST Error Deployer Failed to complete the deployment task with ID 0 for the app
            lication delmeWAR.

            BEA-141132 Mar 1, 2006 4:53:12 PM IST Debug Management Dynamic invocation while executing action findInputStream on
            selfservice:Location=sslogic1,Name=delmeWAR,Type=Applicatio
            nConfig MBean instance failed. The method findInputStream wi
            th signature [] was invoked with parameters as [].

            weblogic.management.DeploymentException: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).
                 at weblogic.management.mbeans.custom.Application.getRemoteInputStream(Ljava/lang/String;)Ljava/io/InputStream;(Application.java:4050)
                 at weblogic.management.mbeans.custom.Application.findInputStream2()Ljava/io/InputStream;(Application.java:865)
                 at weblogic.management.mbeans.custom.Application.findInputStream()Ljava/io/InputStream;(Application.java:776)
                 at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
                 at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
                 at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
                 at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
                 at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(DynamicMBeanImpl.java:755)
                 at weblogic.management.internal.DynamicMBeanImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(DynamicMBeanImpl.java:734)
                 at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(ConfigurationMBeanImpl.java:516)
                 at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(MBeanServerImpl.java:1557)
                 at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(MBeanServerImpl.java:1525)
                 at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(RemoteMBeanServerImpl.java:990)
                 at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(RemoteMBeanServerImpl.java:948)
                 at weblogic.management.internal.MBeanProxy.invoke(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;(MBeanProxy.java:948)
                 at weblogic.management.internal.MBeanProxy.invokeForCachingStub(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;(MBeanProxy.java:475)
                 at weblogic.management.configuration.ApplicationMBean_Stub.findInputStream()Ljava/io/InputStream;(ApplicationMBean_Stub.java:2157)
                 at weblogic.management.deploy.slave.SlaveDeployer.getApplicationInputStream(Lweblogic/management/configuration/ApplicationMBean;Ljava/lang/String;)Ljava/io/InputStream;(SlaveDeployer.java:1865)
                 at weblogic.management.deploy.slave.SlaveDeployer.access$1700(Lweblogic/management/deploy/slave/SlaveDeployer;Lweblogic/management/configuration/ApplicationMBean;Ljava/lang/String;)Ljava/io/InputStream;(SlaveDeployer.java:116)
                 at weblogic.management.deploy.slave.SlaveDeployer$Application.restage(Lweblogic/management/deploy/slave/SlaveDeployer$StagingOrder;)V(SlaveDeployer.java:2841)
                 at weblogic.management.deploy.slave.SlaveDeployer$StagingOrder.execute(Lweblogic/management/deploy/slave/SlaveDeployer$Application;)V(SlaveDeployer.java:3379)
                 at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromOrder(Lweblogic/management/deploy/slave/SlaveDeployer$StagingOrder;)V(SlaveDeployer.java:2799)
                 at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromTask(Lweblogic/management/deploy/slave/SlaveDeployer$ActivateTask;)Z(SlaveDeployer.java:2817)
                 at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2396)
                 at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic/management/deploy/OamVersion;Lweblogic/management/runtime/DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:883)
                 at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic/management/deploy/OamDelta;Lweblogic/management/deploy/OamVersion;ZLjava/lang/StringBuffer;)Z(SlaveDeployer.java:591)
                 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:224)
                 at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
                 at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)

            BEA-141150       Mar 1, 2006 4:53:12 PM IST      Error       Management          An error occurred while preparing application component  of
                                                                                             application selfservice:Location=sslogic1,Name=delmeWAR,Type
                                                                                             =ApplicationConfig with HTTP response 500: Internal Server E
                                                                                             rror ).

            BEA-170021       Mar 1, 2006 4:45:35 PM IST      Notice      Log Management      Search complete.                                           
            BEA-170021       Mar 1, 2006 4:44:16 PM IST      Notice      Log Management      Search complete.                                           
            BEA-101047       Mar 1, 2006 4:44:15 PM IST      Info        HTTP                [ServletContext(id=67712189,name=wl_management_internal1,con
                                                                                             text-path=/wl_management_internal1)] LogfileSearch: init





            From server out:

            <Mar 1, 2006 4:44:16 PM IST> <Notice> <Log Management> <BEA-170021> <Search complete.>
            <Mar 1, 2006 4:45:35 PM IST> <Notice> <Log Management> <BEA-170021> <Search complete.>
            <Mar 1, 2006 4:53:12 PM IST> <Error> <Management> <BEA-141150> <An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).>
            <Mar 1, 2006 4:53:12 PM IST> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application delmeWAR.
            <weblogic.management.DeploymentException: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).
            <     at weblogic.management.mbeans.custom.Application.getRemoteInputStream(Ljava/lang/String;)Ljava/io/InputStream;(Application.java:4050)
            <     at weblogic.management.mbeans.custom.Application.findInputStream2()Ljava/io/InputStream;(Application.java:865)
            <     at weblogic.management.mbeans.custom.Application.findInputStream()Ljava/io/InputStream;(Application.java:776)
            <     at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            <     at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            <     at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            <     at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
            <     at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(DynamicMBeanImpl.java:755)
            <     at weblogic.management.internal.DynamicMBeanImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(DynamicMBeanImpl.java:734)
            <     at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(ConfigurationMBeanImpl.java:516)
            <     at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(MBeanServerImpl.java:1557)
            <     at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(MBeanServerImpl.java:1525)
            <     at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(RemoteMBeanServerImpl.java:990)
            <     at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;(RemoteMBeanServerImpl.java:948)
            <     at weblogic.management.internal.MBeanProxy.invoke(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;(MBeanProxy.java:948)
            <     at weblogic.management.internal.MBeanProxy.invokeForCachingStub(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;(MBeanProxy.java:475)
            <     at weblogic.management.configuration.ApplicationMBean_Stub.findInputStream()Ljava/io/InputStream;(ApplicationMBean_Stub.java:2157)
            <     at weblogic.management.deploy.slave.SlaveDeployer.getApplicationInputStream(Lweblogic/management/configuration/ApplicationMBean;Ljava/lang/String;)Ljava/io/InputStream;(SlaveDeployer.java:1865)
            <     at weblogic.management.deploy.slave.SlaveDeployer.access$1700(Lweblogic/management/deploy/slave/SlaveDeployer;Lweblogic/management/configuration/ApplicationMBean;Ljava/lang/String;)Ljava/io/InputStream;(SlaveDeployer.java:116)
            <     at weblogic.management.deploy.slave.SlaveDeployer$Application.restage(Lweblogic/management/deploy/slave/SlaveDeployer$StagingOrder;)V(SlaveDeployer.java:2841)
            <     at weblogic.management.deploy.slave.SlaveDeployer$StagingOrder.execute(Lweblogic/management/deploy/slave/SlaveDeployer$Application;)V(SlaveDeployer.java:3379)
            <     at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromOrder(Lweblogic/management/deploy/slave/SlaveDeployer$StagingOrder;)V(SlaveDeployer.java:2799)
            <     at weblogic.management.deploy.slave.SlaveDeployer$Application.stageFromTask(Lweblogic/management/deploy/slave/SlaveDeployer$ActivateTask;)Z(SlaveDeployer.java:2817)
            <     at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2396)
            <     at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic/management/deploy/OamVersion;Lweblogic/management/runtime/DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:883)
            <     at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic/management/deploy/OamDelta;Lweblogic/management/deploy/OamVersion;ZLjava/lang/StringBuffer;)Z(SlaveDeployer.java:591)
            <     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:224)
            <     at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
            <     at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
            <--------------- nested within: ------------------
            <weblogic.management.ManagementException:  - with nested exception:
            <[weblogic.management.DeploymentException: [Management:141150]An error occurred while preparing application component of application selfservice:Location=sslogic1,Name=delmeWAR,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).]
            <     at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2413)
            <     at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic/management/deploy/OamVersion;Lweblogic/management/runtime/DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:883)
            <     at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic/management/deploy/OamDelta;Lweblogic/management/deploy/OamVersion;ZLjava/lang/StringBuffer;)Z(SlaveDeployer.java:591)
            <     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:224)
            <     at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
            <     at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
            <>
            <Mar 1, 2006 4:58:12 PM IST> <Notice> <Log Management> <BEA-170021> <Search complete.>
            <Mar 1, 2006 4:59:04 PM IST> <Info> <NodeManager@sslogic1:5555> <__COMMAND_DONE__>
            • 3. Re: Can't deploy large WAR files using the administration console
              666705
              External stage may really be your best choice, but staging should work.

              Unfortunately it looks like the server is not printing the real underlying error. You'd have to open a support case with support@bea.com to let them dig into it further.
              -- Rob

              WLS Blog http://dev2dev.bea.com/blog/rwoollen/
              • 4. Re: Can't deploy large WAR files using the administration console
                666705
                maybe i should try to get more info using:
                MyServer->logging->server->debug to STDOUT
                ?

                Thanks for the support so far :-)
                • 5. Re: Can't deploy large WAR files using the administration console
                  666705
                  I encountered this problem for the first time today, and after reading your post I had enough clues to figure it out.

                  I have a number of apps running on my test server, all configured as nostage (or so I thought). I redeployed a new version of one of them but saw that the the old one was still running, so I shutdown the managed servers and cleaned out the .wlnotdelete directory. In my eagerness to clean out as much as possible, I also removed the contents of the "stage" directory, not realizing that ONE of my apps (not the one that had the redeployment problem) had been configured with StagingMode=staged.

                  When I tried to restart the managed server it failed to come up, reporting the exact same error you had, but for just the one app that was configured as staged.

                  (Turns out I had another issue: the original .ear file was no longer in my original source path. I don't know if the server would have been able to start had that ear been available.)

                  Even though the managed server was not able come up, I was able to delete the offending app via the admin console. Then I was able to start the managed server successfully. I then restored the ear file and added that application back, making sure to set it as not staged. Everything was back to normal.

                  I particularly don't want staging for any of my apps, so I am happy with this resolution. If you still want staged, the only thing I can conclude is that maybe there is an issue with WebLogic getting to your stage directory or the contents.

                  Hope this helps.
                  • 6. Re: Can't deploy large WAR files using the administration console
                    666705
                    Thanks ckfracollins...
                    The same worked for me as well.
                    • 7. Re: Can't deploy large WAR files using the administration console
                      666705
                      Hi ,

                      Now i am facing a similar problem. Though i tried your suggestion, it still doesnt seem to work.

                      As of now no application shows as "staged" and now i am trying to restart the managed server, but it refuses to start.

                      Thanks,
                      Vishal