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…

Similar Messages

  • 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 !

  • 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

  • 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

    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.

  • Weblogic Startup Class

    Hello,
    I need to set up a start up class for quartz jobs in my weblogic server.
    I have created the startup class from the weblogic console but i dont know where to put the class or java file.
    Where is it read from?

    follow this :
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/startup_shutdown.html#1108355

  • Where get weblogic.jar version 8.1 or 9.2?

    I need to get weblogic.jar version 8.1 or 9.2 to use with Hermes because 10.3 apparently does not have class weblogic/security/subject/AbstractSubject... I failed finding it on the net...
    Thank you
    Leonard

    I've got the exakt same problem using weblogic.Deployer .... -appversion, weblogic 10.0 in this case. Works fine with our new jaxws based webservices.
    Would be nice if this problem was solved, especially since weblogic10 resolves softlinks so our old method of linking to new versions doesn't work anymore. And the fact that "Changing the source location is not allowed for a previously attempted deployment" doesn't help either.

  • 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

  • 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

  • Weblogic.Deployer -remote option

    Hi,
    using -remote option in weblogic.Deployer I can deploy applications remotely to servers.
    Say that I'm deploying apps to remote managed server with port 9001 (admin server port 8001). There is a firewall in between build machine(where I'm deploying apps from) and weblogic server and these two ports are blocked. Is there any way to remote deploy? I know that the app cannot be deployed without these ports open.
    Which port is required here to remote deploy?
    Note: I dont want to open ports and I dont want to ssh tunnel. right now, the way I'm doing is send the scripts to remote server and then deploy.
    If you have any other work around, please post
    Thanks,
    nlrreddy
    Edited by: nlrreddy on Dec 22, 2009 10:53 PM

    Hi Nlrreddy,
    Option-A).
    You can try configuring the Virtual Host for your Admin And Managed Servers.
    http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/web_server.html#103248
    After that may be u need to enable Tunnelling as well.
    Option-B). Configure a Web Proxy Like (Apache) which runs and Listens on default port 80. Now Enable the Http-Tunneling in Admin Server. Set the Apache to Pass all the requests to Admin WebLogic Server. Now In the Deployer option you can use *"http://ProxyAdderss:proxyPort"* rather than using t3://AdminServerAddress:AdminServerPort
    Example:
    java weblogic.Deployer -adminurl http://ProxyAdderss:proxyPort -username weblogic -password weblogic -remote -deploy -name complexServiceEar -appversion VesionA -targets AdminServer -source complexServiceEar.ear
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Dec 24, 2009 12:35 PM
    Edited by: Jay SenSharma on Dec 24, 2009 12:40 PM

  • Help !!  how to redeploy only an ejb using weblogic.Deployer ?

    Hi everyone, how to redeploy only one ejb (not the entire application) using weblogic.Deployer ? I executed the following command and getting wiered error !!! :
    java weblogic.Deployer -adminurl http://myadmin:7000 -username system -password weblogic -name myApp.ear -activate -targets testEJB.jar@jytServer -source myApp.ear
    I am getting the following error :
    weblogic.management.ApplicationException:
    [J2EE:160043]Missing deployment descriptor "META-INF/application.xml" at myApp.ear".
    The ear file very much contains the application.xml under META-INF directory and in the application.xml, there is an entry for myBean.jar.
    However if i try the following command, it will redeploy the EJB but it will deploy it as a separate application :
    java weblogic.Deployer -adminurl http://myadmin:10720 -username system -password weblogic -targets jytServer deploy testEJB.jar
    But I want to redeploly it as a part of .ear application.
    I would highly appreicate your help. (assume that admin console access is denied and i will have to use weblogic.Deployer to redeploy).
    thanks,
    jyothi

    Where do I specify the order of deployment? I have 2 EJB jar files and Web module, the order need to be Web module first, 2 EJB then EAR. In WebSphere it is defined in Deployment.xml file, where do I define Deployment.xml in WebLogic

  • Where to find Java Class File Specification for Java 5.0?

    Where to find Java Class File Specification for Java 5.0?
    thank you in advance.

    same place you found it for 1.4Can u give more details? I thought the class spec for Java 1.4 is the same as Java 1.2.
    anyone can tell where to find Java Class File Specification for Java 5.0?
    Thanks.

  • WLS 10.0 Mp1 - Weblogic startup class to initialize client's SSL channels

    Hi,
    Is it possible to use Weblogic startup class to initialize client's SSL channels?
    Any pointers are appreciated.
    Thanks in advance.

    Hey
    If possible can you explain the issue in detail.
    What do you mean by “initialize client's SSL channels”
    Regards,
    Hussain

  • 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

Maybe you are looking for