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

Similar Messages

  • 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

  • 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

  • Weblogic.Deployer using -deploy for existing application

    I'm running on weblogic 8.1 SP3
    when I use -deploy for an existing application the documentation says it will do a redeploy.
    documentation for the targets option says that it will use existing targets for an application that is currently deployed.
    BUT it doesn't work. Is this a known issue ?
    I use the following options:
    -name fortune
    -source /data/bea81/applications/stg/fortune.ear
    -verbose -debug -deploy -stage

    Check to see if the problem is with the Deployer tool or myApp.war:
    1) Does myApp.war deploy using the console?
    2) Check myApp.war has all the classes it needs?
    If your app does deploy from the console then we can focus in on the Deploy tool. If not it may help give us a clue as to what is going on e.g. your war file missing classes.
    Hoos

  • Weblogic.Deployer gets AccessControlExceptions

    Hi,
    I'm using weblogic.Deployer to deploy EAR to simple wls 9.1 domain. Everything works fine, but two warnings appears during deployment. Any idea what is causes these?
    Deployment command:
    $JAVA_HOME/bin/java -cp $WL_HOME/server/lib/weblogic.jar weblogic.Deployer -adminurl $WL_SERVER_URL -user $WL_USERNAME -password $WL_PASSWD -name $XXX_EAR -source $XXX_EAR_FILENAME -deploy
    Domain log:
    ####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXX> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361319> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXXX> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361409> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
         at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >

    OK, so it is uploading the files, here:
    ...user_projects/domains/mydomain/myserver/upload/test/test.war
    but, if the location of the war files for deployment changes to this dir, then I'm sure many of my co-workers that prefer the "old way" will be confused when the war files are not in the ...user_projects/domains/mydomain/applications directory. Is there any way to have these files uploaded to that applications dir instead of the upload dir without a hack-around in a script?
    Thanks

  • Web Module Deployment Problem with Weblogic [Deployer:149026]

    Dear Friends,
    I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
    When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
    Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
    Deployment failed on Server myserver
    Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
    Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
    Any suggestion or, guideline from you will be highly appreciated.
    With Thanks,
    ... Chisty

    Not sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
    Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
    Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
    thanks,

  • Concurrent Deployment of Multiple Releases of a J2EE App to WLS 7.0

    Is it possible to concurrently deploy multiple releases of the same
    J2EE app to WLS? If so, what was the process and your experience with
    it?

    Is it possible to concurrently deploy multiple releases of the same
    J2EE app to WLS? If so, what was the process and your experience with
    it?

  • 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

  • Weblogic Server 8.1 SP4 "Deploy" tasks

    Since upgrading to SP4 on WL Server 8.1 the deployment task for our application is now taking twice as long as it did in SP2. Can anyone advise if there are any known issues with deployments.

    I am also wondering what the status of this problem is? It is preventing us from going to SP4.
    _Mike                                                                                                                                                                                                                                                                                           

  • 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

  • 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

  • Partial redeployment of a static jar file with weblogic.Deployer

    Hello,
    We are working on an application serving jar files to customers, via Java Web Start, hence that are considered from our point of view as static files, like our HTML and Javascript pages.
    Moreover, we have one jar that changes regularly, so every time it's loaded on the server we need to do a partial redeployment of this jar file, as documented here: http://docs.oracle.com/cd/E13222_01/wls/docs103/deployment/redeploy.html#wp1025739
    However, it does not work, as I believe WebLogic doesn't consider my jar file as a static file.
    C:\>java -cp weblogic.jar weblogic.Deployer -adminurl http://mymachine:7001 -user weblogic -password mystrongpassword -name myapp -redeploy launcher/downloadme.jar
    weblogic.Deployer invoked with options: -adminurl http://mymachine:7001 -user weblogic -name myapp -redeploy launcher/downloadme.jar
    <Mar 8, 2013 7:09:36 PM CET> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, myapp [archive: null], to configured targets.>
    Task 24 initiated: [Deployer:149026]redeploy application myapp [Version=7] on WebServer.
    Task 24 failed: [Deployer:149026]redeploy application myapp [Version=7] on WebServer.
    Target state: redeploy failed on Server WebServer
    weblogic.management.DeploymentException:
    The application myapp#7 cannot have the resource launcher/downloadme.jar updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
    As a side note, if I rename downloadme.jar to downloadme.jar.*html*, then WebLogic agrees to redeploy it!
    Is there any way to force the static redeployment of my jar file?
    Thanks and regards,
    Julien

    Hi,
    The feature you are trying to use works only when web application is deployed in exploded format. Is your app deployed in exploded format?
    Also jars are never considered static, so I doubt this will work here.
    As an alternative you can go for Oracle Weblogic Production redployment feature. Refer to - http://middlewaresupport.wordpress.com/2013/03/21/production-redeployment-feature-in-weblogic/
    Thanks,
    Ranjan
    Edited by: Ranjan K on Apr 12, 2013 5:45 AM

  • Redeploy using weblogic.Deployer in Weblogic 9.2

    Need some help.
    We have an application currently running in Weblogic Server 8.1. We have a utility program that we built using Ant Installer that works great that we have been using for a year now to update our WLS 8.1 application. Basically this utility program allows us to easily shutdown specific managed servers, upload our zipped up application, extract it in exploded directory, update some XML files, redeploy using "weblogicDeployer -remote -redeploy etc." and restart the managed servers.
    Now for WLS 9.2, we can't get the weblogic.Deployer -redeploy option to work. I've tried leaving managed servers running, stopping deployment and redeploying but the redeploy fails. Has anyone done this before in 9.2? If so, I would like to know the exact steps from start to finish. I've read all the docs on the BEA site, entered the commands exactly as given, but still no luck. One more thing, this is NOT a versioned application.
    Thanks

    Hi,
    I would guess you are using WebLogic ant task, is this correct?
    Are you positive you are not trying to use the WL 8.1 ant task on a WL 9.0 server? If this is the case, try using the WL 9.0 ant task.
    Regards,
    LG

  • Can not Deploy Task Display Form[Workflow] in 11g

    Hi,
    I have created a human task based on the example 'VacationRequest' in the oracle complete guide for 11g.
    i have also created a Task display form(workflow) for the human task, the workflow is a seperate project in the same application.
    I am able to deploy the BPEL process containing the human task.
    but when i try deploying the workflow associated to the BPEL process, i get the following error during deployment..
    [04:36:23 PM] ---- Deployment started. ----
    [04:36:23 PM] Target platform is (Weblogic 10.3).
    [04:36:25 PM] Entering Target Selection Dialog
    [04:36:28 PM] Retrieving existing application information
    [04:36:38 PM] Running dependency analysis...
    [04:36:38 PM] Building...
    [04:38:06 PM] Deploying profile...
    [04:38:09 PM] Wrote Web Application Module to C:\JDeveloper\mywork\VacationRequest\TestFlow\deploy\TestFlow.war
    [04:38:10 PM] Deploying Application...
    [04:38:31 PM] [Deployer:149191]Operation 'deploy' on application 'TestFlow' is initializing on 'soa_server1'
    [04:38:44 PM] [Deployer:149193]Operation 'deploy' on application 'TestFlow' has failed on 'soa_server1'
    [04:38:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TestFlow on soa_server1.: Failed to load webapp: 'TestFlow.war'.
    [04:38:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:38:44 PM] See server logs or server console for more details.
    [04:38:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] #### Deployment incomplete. ####
    [04:38:44 PM] Deployment Failed
    I am following all the steps in the tutorial.
    tutorial details:
    name: Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1)
    page number: *589.(How To Create a Task Display Form Using the Complete Task with Payload Drop Handler)*
    How can I solve this issue ?
    Response requested at the earliest......

    While deploying the example 'VacationRequest' in the oracle complete guide for 11g, i got an exception like this
    "12:08:15 PM] Deploying Application...
    [12:11:16 PM] [Deployer:149191]Operation 'deploy' on application 'VacationRequestTaskFlow' is initializing on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [12:11:24 PM] [Deployer:149193]Operation 'deploy' on application 'VacationRequestTaskFlow' has failed on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: Failed to load webapp: 'VacationRequestTaskFlow.war'.
    [12:11:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [12:11:24 PM] See server logs or server console for more details.
    [12:11:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] #### Deployment incomplete. ####
    [12:11:24 PM] Deployment Failed"
    Can anyone help in this.

  • EJB - Tutorial giving error in Weblogic 8.1 Deployment - Help

    I am a EJB newbie, i tried deploying the Demo.jar and i get the following error on deployment
    Please help
    Thanks in Advance
    drg
    Exception:weblogic.management.ApplicationException: prepare failed for Demo Module: Demo Error: Exception preparing module: EJBModule(Demo,status=NEW) Unable to deploy EJB: Demo.jar from Demo.jar: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) weblogic.ejb20.compliance.ComplianceException: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    [Deployer:149033]preparing application Demo on cosmosserver
    [Deployer:149033]failed application Demo on cosmosserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application Demo on cosmosserver.: Exception:weblogic.management.ApplicationException: prepare failed for Demo Module: Demo Error: Exception preparing module: EJBModule(Demo,status=NEW) Unable to deploy EJB: Demo.jar from Demo.jar: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) weblogic.ejb20.compliance.ComplianceException: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Could you post the code for your DemoBean?
    I suspect that you are using a really old tutorial on EJB where the EJBContext, SessionContext or EntityContext were declared transient. This was, I believe, the case with EJB 1.0. You would need to remove the transient from the context declaration, if that is the case.

Maybe you are looking for

  • Discoverer Viewer problem

    Dears , When I am trying to edit a worksheet , it is unable to edit it because the folder that this sheet use appears as active but you can't expand its items and if you choose to select the all folder items then the error "Model manipulation via sta

  • How do you disable auto delete in OSX 10.8?

    Since I have upgraded to OSX 10.8 (currently running 10.8.2) I've noticed that when I delete a file it always asks for my password before sending the document to the trash AND as soon as I type my password the file is permanently deleted.  How do I c

  • ORA-12537 TNS Connection closed after OAS 4.0.8.1 Installation

    finally I was able to install and start OAS on RH 6.1, but now I can not start Ora8i (with all patches) on my system. When I start svrmgrl, will get ora-12537 TNS Connection lost error. Can someone please help! Thanks

  • Mail Options does not load

    I'm running Messaging Server, with the information as follows: iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003) libimta.so 5.2 HotFix 1.12 (built 12:53:23, Feb 13 2003) SunOS red20 5.8 Generic_117350-02 sun4u sparc SUNW,UltraAX-i2 After a

  • Y_IF_CONTROL export parameters

    Hi all,             May i know in detail about the Export parameters specified below in the function module "Y_IF_CONTROL"                                   interface_id                                   rerun                                   close_