Weblogic.Deployer troubles (bea92)

in short, doesnt work
java -cp .;weblogic.jar weblogic.Deployer -adminurl t3://10.131.20.41:7001 -user weblogic -password weblogic -deploy c:\app.ear
weblogic.Deployer invoked with options: -adminurl t3://10.131.20.41:7001 -user weblogic -deploy c:\app.ear
Unable to connect to 't3://10.131.20.41:7001': invalid type code: 31. Ensure the url represents a running admin server and that the credenti
als are correct. If using http protocol, tunneling must be enabled on the admin server.
I have enabled the tunneling, i have also tried http so on ans so forth .. the admin console is indeed on 7001, so i dont know wtf its talking about.
If I do it manually via adminconsole it works, well it dont, but thats a configuration issue with spring (missing placeholder for some injection), but the app gets installed
oh yea, the IP is localhost, tried "localhost" too with same result .. any ideas more than welcome, this is tiresome :(

One thing to check. Make sure you are not using JDK 1.6.x when using the commandline. There is a pretty obscure bug with this setup.
http://forum.java.sun.com/thread.jspa?threadID=5195504&tstart=60
You might have got hit by it.

Similar Messages

  • Weblogic deployer doesn't work under 9.2, driving me nutso! =P

    I've tried everything trying to get the deploy/undeployer to work (tried http, t3 etc.)
    Example ant task:
         <target name="undeploy">
              <path id="xdoclet.lib.path">
              <fileset dir="${weblogic.lib.dir}">
              <include name="*.jar"/>
              </fileset>
              </path>
              <java classname="weblogic.Deployer" fork="true" maxmemory="256m" failonerror="true" classpathref="xdoclet.lib.path">
         <arg line="-adminurl http://localhost:7001"/>
         <arg line="-username weblogic"/>
         <arg line="-password express1"/>
         <arg line="-name t1scp3"/>               
                   <arg value="-undeploy"/>
                   <arg value="-debug"/>
              </java>
         </target>
    I've also tried using the ant task that comes with weblogic, but I always get this error! (I can ping the server using the ping class)
    Any ideas? (Stack trace below)
    Buildfile: C:\workspace\t1scp3\build.xml
    undeploy:
    [java] weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -username weblogic -name t1scp3 -undeploy -debug
    [java] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [java] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at localhost:7001, as user weblogic
    [java] [ServerConnectionImpl.getEnvironment():288] : setting environment
    [java] [ServerConnectionImpl.getEnvironment():291] : getting context using http://localhost:7001
    [java] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:http://localhost:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [java] java.io.IOException
    [java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:135)
    [java] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    [java] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
    [java] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
    [java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [java] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    [java] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
    [java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:302)
    [java] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [java] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.Deployer.run(Deployer.java:70)
    [java] at weblogic.Deployer.main(Deployer.java:54)
    [java] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         [java] java.io.EOFException]
    [java] at weblogic.jrmp.Context.lookup(Context.java:189)
    [java] at weblogic.jrmp.Context.lookup(Context.java:195)
    [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
    [java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:126)
    [java] ... 17 more
    [java] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [java] java.io.EOFException
    [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
    [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    [java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    [java] at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [java] at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [java] at weblogic.jrmp.Context.lookup(Context.java:185)
    [java] ... 20 more
    [java] Caused by: java.io.EOFException
    [java] at java.io.DataInputStream.readByte(DataInputStream.java:243)
    [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
    [java] ... 25 more
    [java] [ServerConnectionImpl.close():334] : Closing DM connection
    [java] [ServerConnectionImpl.close():354] : Unregistered all listeners
    [java] weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://localhost:7001': null. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    [java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:314)
    [java] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [java] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.Deployer.run(Deployer.java:70)
    [java] at weblogic.Deployer.main(Deployer.java:54)
    [java] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 'http://localhost:7001' as user, 'weblogic'. Error received: null
    [java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    [java] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    [java] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
    [java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:302)
    [java] ... 6 more
    [java] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 'http://localhost:7001' as user, 'weblogic'. Error received: null
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
    [java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [java] ... 9 more
    [java] Caused by: java.io.IOException
    [java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:135)
    [java] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    [java] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
    [java] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
    [java] ... 13 more
    [java] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         [java] java.io.EOFException]
    [java] at weblogic.jrmp.Context.lookup(Context.java:189)
    [java] at weblogic.jrmp.Context.lookup(Context.java:195)
    [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
    [java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:126)
    [java] ... 17 more
    [java] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [java] java.io.EOFException
    [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
    [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    [java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    [java] at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [java] at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [java] at weblogic.jrmp.Context.lookup(Context.java:185)
    [java] ... 20 more
    [java] Caused by: java.io.EOFException
    [java] at java.io.DataInputStream.readByte(DataInputStream.java:243)
    [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
    [java] ... 25 more
    BUILD FAILED
    C:\workspace\t1scp3\build.xml:229: Java returned: 1
    Total time: 10 seconds

    <p>Can you add the following to your WLS startup options (or enable the relevant debug subsystems using the WLS9.2 console):</p>
    <ul>
    <li>weblogic.debug.DebugConnection</li>
    <li>weblogic.debug.DebugRouting</li>
    <li>weblogic.debug.DebugMessaging</li>
    <li>weblogic.debug.isLogRemoteExceptionsEnabled</li>
    </ul>
    <p>and post the your server log here as well.</p>
    <p>Also where did you get the task classes from?</p>
    <p>
    Hussein Badakhchani
    London Middleware
    </p>
    Edited by hoos at 01/07/2007 3:41 AM

  • Need help using weblogic.Deployer to refresh a webapp

    I'm trying to refresh some jsp from a webapp deployed in exploded format
    in WLS 8.1SP3
    The original source files are not located on the machine or filesystem
    running the admin server (the webapp is deployed on a cluster)
    On WLS 6.1SP5, we use weblogic.refresh to upload the files to the admin
    server and redeploy the refreshed files.
    The documentation suggest to use weblogic.Deployer with WLS8.1 since
    weblogic.refresh is deprecated.
    I couldn't find the correct command line options to reproduced the
    weblogic.refresh behaviour. Apparently it is not possible to upload the
    files to the admin server and redeploy in a single step. weblogic.Deployer
    expects the file to be already available to the admin server before
    issuing the redeploy (using rsync, ftp or whatever). Is this correct ?
    What did I miss ?
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    I thought you've got error of another type - that error is fixed by simple software update.
    Regarding your case - it's always frightening in first time. Believe me - there's completely nothing to be afraid of.
    Resizing C drive may result killing your DATA on it only in case of energy is down during the process. Process is taking about 15-20 minutes on slow programs and about 3-4 minutes on fast programs. That means that even having problems with electricity you'll be able to finish everything correctly running on battery.
    I'd recommend using Acronis Disk director Suite, but it is not free. One of the best free progs for that are bootable Linux livecds PartedMagic and GParted. They're all intuitive understandable. 
    You will get your NOVO recovery feature lost after C resize, but you can enable it later, replacing that factory backup in hidden partition with your own backup - your NOVO button will restore your system with all your software and settings.
    it will be good for you to start with some basic principles on partitions organization schemes - why, what for and how questions are briefly explained here. After reading this you'll be able to ask right questions to get right answers.
    //help will save the world

  • How to use weblogic.Deployer

    I can deploy this adf application to weblogic server in jdeveloper 11.1.1.3.
    How to use weblogic.Deployer in weblogic 10.3.3? I get errors as follow:
    Microsoft Windows [Version 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.
    C:\Users\Administrator>d:
    D:\>cd D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin>setDomainEnv.cmd
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>java weblogic.Deployer
    -adminurl http://localhost:7001 -user weblogic -password welcome1 -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -user weblogic -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.Conne
    ctException: http://localhost:7001: Destination unreachable; nested exception is
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    ... 2 more
    Caused by: java.net.ConnectException: http://localhost:7001: Destination unreach
    able; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    ... 19 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
    is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:150)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Unable to connect to 'http://localhost:7001': Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>

    Looks like the protocol is not correct (Unable to connect to 'http://localhost:7001': Destination unreachable)
    Could you try the t3 protocol, for example,
    java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password welcome1 -listapps

  • Weblogic Deployer

    Hello,
    I am using the Weblogic Server 9.1 and I typed the following command:
    java weblogic.Deployer -adminurl t3://myserver:7001 -user weblogic -password abcx -listapps
    and the result was:
    remoteWar [Version=1.1.0]
    remoteWar [Version=1.1.7] <ACTIVE VERSION>
    Number of Applications Found : 2
    The java version that I am using in my machine is:
    Sun JDK 1.5.0_8
    But when I executed the same command on AIX 5.2
    the result was:
    remoteWar [Version=1.1.0]
    remoteWar [Version=1.1.7]
    Number of Applications Found : 2
    The INFORMATION <ACTIVE VERSION> that I need to discovery wath
    application is active or inactive don´t was showed in AIX environment.
    Any idea? I need this information.

    weblogic.jar should be in the class path.

  • Problem with weblogic.Deployer in 8.1

    I have a problem with weblogic.Deployer. My application deploys and works fine
    if I manually copy the ear or the exploded form into weblogic's applications\
    directory (hot deployment). But, if I use the weblogic.Deployer tool, it fails
    with the following exception. Does the deployer tool expect something in the ear
    (or exploded form) that I'm missing? Thanks in advance.
    -Vas
    [wldeploy] java.lang.NullPointerException
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGener
    ator.java:785)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
    r.java:758)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:803)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] --------------- nested within: ------------------
    [wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed
    to generate class for weblogic.common.internal.RMIBootServiceImpl_811_WLStub ]
    with nested exception:
    [wldeploy] [java.lang.NullPointerException]
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:807)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] java.lang.reflect.InvocationTargetException
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION FAILED ***
    **[ Failed to generate class for weblogic.common.internal.RMIBootServiceImpl_811
    _WLStub ] - with nested exception:
    [wldeploy] [java.lang.NullPointerException]
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:807)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] ... 15 more

    Hi Deepak,
    I didn't understand the suggested resolution. Can you tell me what it means?
    However, I found a similar problem in the archives, so I tried from command line
    (outside ant) using "java weblogic.Delployer ...." and it worked! It doesn't work
    from ant. So, you think there's some conflict between my ant and weblogic's ant
    task "WLDdeploy"?
    Thanks,
    Vas
    "Deepak Vohra" <[email protected]> wrote:
    >
    Refer to
    http://e-docs.bea.com/wls/docs70/notes/resolved.html#1296363
    "vas pulipati" <[email protected]> wrote:
    I have a problem with weblogic.Deployer. My application deploys andworks
    fine
    if I manually copy the ear or the exploded form into weblogic's applications\
    directory (hot deployment). But, if I use the weblogic.Deployer tool,
    it fails
    with the following exception. Does the deployer tool expect something
    in the ear
    (or exploded form) that I'm missing? Thanks in advance.
    -Vas
    [wldeploy] java.lang.NullPointerException
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGener
    ator.java:785)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
    r.java:758)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:803)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] --------------- nested within: ------------------
    [wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[
    Failed
    to generate class for weblogic.common.internal.RMIBootServiceImpl_811_WLStub
    with nested exception:
    [wldeploy] [java.lang.NullPointerException]
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:807)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] java.lang.reflect.InvocationTargetException
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:209)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:170)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:166)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
    [wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
    [wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
    [wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION
    FAILED ***
    **[ Failed to generate class for weblogic.common.internal.RMIBootServiceImpl_811
    _WLStub ] - with nested exception:
    [wldeploy] [java.lang.NullPointerException]
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:807)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:152)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:597)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:534)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:336)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:308)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    143)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:157)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] ... 15 more

  • WLS 8.1: weblogic.Deployer + concurrent deployment tasks

    Hello,
    We have a domain with 4 managed servers which supports a team of 4 developers
    (one per managed). They have the possibility to launch Deploy taks using weblogic.Deployer
    on one of the managed servers.
    We have found that deployment tasks are executed one by one in the Administrative
    instance. So when a developer creates a deploy task he has to wait until all pending
    deployment tasks end.
    ¿Is it possible to have three deployment tasks running at the same time instead
    of one by one? If it is ¿What should I do to activate it?
    Thanks in advance,
    Oscar

    Oscar:
    Take thread dumps when your deploying. You can post the thread dumps here.
    Lets see what is taking so long to deploy. You'll want to take multiple
    dumps, say 20 seconds apart, say 5 in a row. Remember they go to
    std-out/err so you need to capture that data. Also it would be nice if you
    cut out all the uninteresting idle threads. Are you not precompiling and
    running ejbc (appc) before hand?
    Cheers
    mbg
    "Oscar" <[email protected]> wrote in message
    news:[email protected]...
    >
    This domain is more an integration environment rather than a developmentenvironment.
    >
    >
    The idea is that each developer has its own weblogic domain in their localmachine
    in which he develops the application (code, debug, deploy, ...).
    He has also a user in a UNIX box, in which there is a domain (applicationintegration
    domain) with a managed instance per department. With this user he has someAnt
    tasks from where they can deploy (using weblogic.Deployer) a stablerelease of
    their application to test the dependant functionality.
    The problemm is that some applications (using 100 EJBs and 1 War --> 40MBin exploded
    ear and 9MB in compressed ear) take more than 5 minutes to deploy in amanaged
    instance and so they produce a stuck in the task queue. During this timethe Administrative
    is waiting all the time and the managed instance is deploying theapplication
    module by module ¿is there any way to decrease this time? ¿is there anyway to
    do it asynchronously without blocking the task queue? That time looks abig high
    and taking into account that we are going to have bigger applicationshaving only
    one deployment task activated each time looks dangerous. ¿What is aboutincreasing
    the admin threads? The task has done all the job in administrative side,so ¿why
    wait to the managed server?
    We have also note that sometimes waiting tasks produce an unavailabilitystate
    in the deployment queue. We have found 4 deployment tasks waiting in the queue,
    and after an hour the first deployment task was not finished (maybe in adeadlock)
    and so the other 3 deployment tasks were waiting. Is this situation theunique
    possibility to solve the problemm is restarting the Administrative (usinga kill
    command, shutdown command never ends) ¿What could we do?
    Thanks in advance for your help,
    Oscar
    "Mark Griffith" <[email protected]> wrote:
    Deployer may initiate tasks on individual MS's it always goes THROUGH
    the AS
    and it process's requests serially. This ensures the stability of the
    system, allowing multiple changes to cascade through the system at the
    same
    time.
    Is there a reason why you don't have every dev using their own WLS box?
    cheers
    mbg
    "Oscar" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    We have a domain with 4 managed servers which supports a team of4
    developers
    (one per managed). They have the possibility to launch Deploy taksusing
    weblogic.Deployer
    on one of the managed servers.
    We have found that deployment tasks are executed one by one in theAdministrative
    instance. So when a developer creates a deploy task he has to waituntil
    all pending
    deployment tasks end.
    ¿Is it possible to have three deployment tasks running at the sametime
    instead
    of one by one? If it is ¿What should I do to activate it?
    Thanks in advance,
    Oscar

  • Using weblogic.deployer to deploy multiple files?

    Is there way, when using the weblogic.deployer, to specify multiple files to be deployed in one command? I see the filelist for redeploy, but is there a way to deploy/undeploy multiple files in one command?
    Thanks.

    Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
    Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
    It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
    This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
    Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster 
    - Andreas H.
    / Johan
    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

  • Where is weblogic.Deployer class?

    Where is weblogic.Deployer class?

    Hi YE,
    weblogic.Deployer class is present in "*weblogic.jar*" which can be found in WLS_HOME/wlserver_10.3/server/lib/weblogic.jar
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • Deploying with weblogic.Deployer

    Hi all,
    I'm trying to deploy a SOA application, with a weblogic.Deployer.
    Environment
    local:
    weblogic.Deployer is in \Middleware\wlserver_10.3\server\lib\weblogic.jar
    remote Server:
    WebLogic server 10.3.2.0 in production mode
    I'm deploying like this:
    java weblogic.Deployer -adminurl http://XXXX:7001 -user weblogic -password weblogic -deploy -name myTestDeployment -source test.jar -plan test_cfgplan.xml -targets soa_server1
    I'm getting the error:
    failed to load java type corresponding to e=SOAConfigPlan@http://schemas.oracle.com/soa/configplan
    Can anybody help me?
    Pavel
    Edited by: Pavel1234 on Apr 29, 2010 3:38 PM

    I can deploy my application with ant-sca-deploy.xml without any problems. But I don't get a connection to WebLogic in production mode by using ant-sca-deploy.xml. So I tried to use weblogic.Deployer. weblogic.Deployer gets a connection but doesn't deploy because of "failed to load java type corresponding to e=SOAConfigPlan@http://schemas.oracle.com/soa/configplan"
    Many Thanks
    Pavel

  • Where is weblogic.Deployer ???

    Hi,
    I can't run weblogic.Deployer utility in Weblogic 7.0, the reason is simple: the
    class can't be found in the classpath ...I have dig the documentation, but there
    is no information about which jar file (or which path in the weblogic instalation)
    should be included in the classpath.
    Pls note that everthing else is okay .. I have deployed some app using Administration
    Console.
    Thank in advance !

    you will find weblogic.Deployer in weblogic.jar. Make sure your env is set b4 running
    weblogic.Deployer
    "mahfudh" <[email protected]> wrote:
    >
    Hi,
    I can't run weblogic.Deployer utility in Weblogic 7.0, the reason is
    simple: the
    class can't be found in the classpath ...I have dig the documentation,
    but there
    is no information about which jar file (or which path in the weblogic
    instalation)
    should be included in the classpath.
    Pls note that everthing else is okay .. I have deployed some app using
    Administration
    Console.
    Thank in advance !

  • Does weblogic.Deployer set the CLASSPATH?

    Hi,
    I need to deploy an application with the weblogicDeployer utility. Does it automatically
    set the CLASSPATH, as is done with the Admin console? Or do I need to set the
    CLASSPATH explicitly?
    Thanks,
    -Ami

    ah. weblogic.Deployer and the console use the same underlying API to
    our Deployment subsystem. There shouldn't be any difference in
    application behavior (eg classpath).
    -- Rob
    Ami wrote:
    Hi Rob,
    When I use the Admin console to deploy a web app, the CLASSPATH for the application
    is set automatically. If I use weblogic.Deployer does that also automatically
    set the CLASSPATH for the application?
    -Ami
    Rob Woollen <[email protected]> wrote:
    Not sure I understand the question. weblogic.Deployer is a class in
    the
    weblogic.jar, so weblogic.jar has to be in your classpath to run java
    weblogic.Deployer ...
    -- Rob

  • Java weblogic.Deployer -redeploy

    I want to understand more about "java weblogic.Deployer -redeploy", for example
    if I have a update in one of the portlet code so do I need to create a package
    whole 'ear' or only portlet code?

    I'd suggest posting in the portal newsgroup.
    -- Rob
    Om Bachu wrote:
    Basically I want to do a "partial redeployment" the article (http://edocs.bea.com/wlp/docs81/deploy/deploy.html#1003607)
    didn't much help...
    regards
    :o)m
    "Om Bachu" <[email protected]> wrote:
    I want to understand more about "java weblogic.Deployer -redeploy", for
    example
    if I have a update in one of the portlet code so do I need to create
    a package
    whole 'ear' or only portlet code?

  • NoClassDefFoundError   weblogic.Deployer   7.01

    I'm trying to use the weblogic.Deployer utility, but I am not able to get it working.
    (I'm on a Win2K server and I'm pretty new to weblogic server...)
    Everytime I try to run the deployer, I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
    I've tried changing my CLASSPATH, changing directories, etc. - Nothing seems to
    work.
    I know where the weblogic.jar file is. I've tried running deployer from the java
    dir, the weblogic.jar dir - you name it!
    Can anyone offer some help?

    Yes. If you can package as an EAR, then you could do the database logic
    outside of the WAR, and just redeploy the WAR within the EAR.
    -- Rob
    Wayne Hoit wrote:
    Rob -
    Thanks - I'll guess I'll have to redeploy then - it's unfortunate since I'm connected
    to a database and I'll have to re-login, etc, etc.
    I guess it'll still be faster than restarting the server though....
    Rob Woollen <[email protected]> wrote:
    Ah, now I understand, we're talking about 2 different issues.
    That page is discussing deploying applications automatically in the
    applications directory. Indeed, there's an issue there with Windows
    file locking. However, servlet-reload-check-seconds is not used there.
    servlet-reload-check-seconds is done by the web container on individual
    servlet classes. It works fine on Windows.
    That being said, classes in WEB-INF/lib are not handled by
    servlet-reload-check-seconds, only the actual servlet implementation
    class.
    If you're deploying an exploded webapp, and you want to change a jar
    file in WEB-INF/lib, you'll need to redeploy the webapp.
    This syntax should work fine:
    java weblogic.Deployer -username user -password pass -name ematrix -redeploy
    -- Rob
    Wayne Hoit wrote:
    Rob -
    This is the link that talks about windows file locking and servlets
    http://e-docs.bea.com/wls/docs81/deployment/concepts.html#1007794
    Are you deploying an EAR or a WebApp (WAR)?WebApp, exploded
    What is the change you're making to ther webapp? ie just a servlet
    class, or something in WEB-INF/{classes,lib}I'm changing a Servlet (jar file) in web-inf/lib
    Rob Woollen <[email protected]> wrote:
    Wayne Hoit wrote:
    Rob -
    Sorry to disagree, but the Weblogic 7 docs state that servlets in
    exploded
    apps
    cannot be reloaded with the servletreloadchecksecs parameter due toa limitation
    in Windows.
    Tech support has confirmed this.Hmm, can you show me the docs or the response from support that confirms
    this. Reloading servlets on the fly has been in since at least WLS3.x.
    It works fine on Windows.
    This is why I'm investigating weblogic.Deployer - to see if I can
    do
    it with this
    utility.
    I cannot just redeploy the entire App because I'm connected to a database- if
    I redploy the App, I have tore-login, etc, etc.
    I might just as well shut it all down and restart.
    Ok, I'm not sure I understand exactly what you're trying to do yet.
    Can
    you answer these questions, and I can better aid you:
    Are you deploying an EAR or a WebApp (WAR)?
    What is the change you're making to ther webapp? ie just a servlet
    class, or something in WEB-INF/{classes,lib}
    -- Rob
    That's another reason I'd like to use weblogic.Deployer.
    Which is what my latest post was all about.
    I tried weblogic.Deployer and it appeared to work, although the Servletnever
    actually reloaded.
    Rob Woollen <[email protected]> wrote:
    Wayne Hoit wrote:
    Rob -
    Thanks for the help, but it turns out the CLASSPATH in my dos promptwindow wasn't
    set correctly.
    I can now run the Deployer, although it has caused a new problem.
    I am trying to reload a Servlet on a Win2K server. I know weblogiccannot do this
    automatically due to limitations on Windows.No, it can.
    There's a parameter in the weblogic.xml descriptor named
    servlet-reload-check-secs. By default it is 1, and it will check
    to
    see
    if your servlet has changed every 1 second. This is very nice for
    development. See
    http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1038823
    If you're making changes in the web application (ie something in
    WEB-INF/lib or WEB-INF/classes), you can ask weblogic.Deployer tojust
    redeploy the webapp.
    Here's an example (java weblogic.Deployer -examples in 8.1 is helpful)
    Is your application just a webapp (ie not an EAR file).
    If so, something like this is correct to redeploy the webapp:
    java weblogic.Deployer -username username -password password -name
    ematrix -redeploy
    If you have an ear file and just want to redeploy an individual webapp
    without touching the rest of the application, use something like
    this:
    Redeploy individual module in an application:
    java weblogic.Deployer -adminurl url -username username -password
    password -name ematrix -redeploy -targets MyWebApp@myServer
    You should not have to restart the server to make application changes.
    -- Rob
    However, I was under the impression that the Deployer could do it.
    I ran this command with these results:
    C:\>java weblogic.Deployer -adminurl http://localhost:7001 -user
    weblogic
    -passw
    ord weblogic -name ematrix -activate c:\ematrixrmi1001\distrib\ematrix/web-inf/l
    ib/printLogic.jar -verbose
    Operation started, waiting for notifications...
    [Id: 5] preparing ematrix for myserver
    [Id: 5] prepared ematrix for myserver
    [Id: 5] activating ematrix for myserver
    [Id: 5] activated ematrix for myserver
    #TaskID Action Status Target Type ApplicationSource
    5 Activate Success myserver Server ematrix
    null
    However, when i re-ran the Servlet, nothing has changed.
    It apparently has not been reloaded.
    Am I doomed to restarting the entire weblogic server any time Ichange
    the Servlet?
    That would continue to make devleopment a real pain...
    Rob Woollen <[email protected]> wrote:
    Sounds like you don't have weblogic.jar in the classpath, or you
    have
    the wrong version.
    Can you go to a shell and show me this output:
    1) echo %CLASSPATH% (or echo $CLASSPATH on UNIX)
    2) java weblogic.version
    3) javap weblogic.Deployer
    -- Rob
    Wayne Hoit wrote:
    I'm trying to use the weblogic.Deployer utility, but I am not
    able
    to get it working.
    (I'm on a Win2K server and I'm pretty new to weblogic server...)
    Everytime I try to run the deployer, I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
    I've tried changing my CLASSPATH, changing directories, etc. -
    Nothing
    seems to
    work.
    I know where the weblogic.jar file is. I've tried running deployer
    from the java
    dir, the weblogic.jar dir - you name it!
    Can anyone offer some help?

  • Weblogic.deployer  and deployment order

    Good day all,
    Is there a way to force an application to deploy last (because of dependencies)?
    I know how to modify the deployment order in the console or wlst, but if all applications are in the same application directory, how can you make sure that appxyz.war deploys last?
    Thanks
    Ash

    Ashanty,
    you may want to refer this link for deployment order of applications..
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/deployment/ChangeTheServerDeploymentOrder.html
    I don't think weblogic.deployer will allow you to do deployment order and it can be done through Administration console only.
    Thanks
    Lawrence Manickam
    http://toyork.blogspot.ca

Maybe you are looking for

  • Error in pricing when trying to manually enter Shp. Cost  condition type

    Greetings everyone! I'm creating my own pricing procedure and I've added Shp. Cost (0HD0) condition type to it and when I'm trying to enter a price per KG it gives me an error:  "Material Test Product, condition 0HD0 : unit of measure KG is not allow

  • Nokia 5530 XM can't show date and operator on home...

    Hi ! Nokia 5530 XM can't show date and operator on home screen

  • Using multiple xdofx commands together. For eg: substr and instr

    Hi, I am working in developing an RTF where a situation is to use xdofx:sustr and xdofx:instr together. I tried but its not working properly. Is there any special commands to use in such a scenario. Thanks, Anand

  • Strange behavior in Adobe Muse...

    I have a blank composition and have embedded a lightbox composition. Whenever I try to move the lightbox trigger, it jumps. Below is a video of the behavior. This happens even if I use the arrow keys to move it.

  • One cloud but two phones

    I have two iphones with one account. I want to split them so the contacts, photos, music etc will remain separate when storing on icloud. If I delete go into settings for icloud and delete the account on the one iphone, will this affect entire accoun