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
Similar Messages
-
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 moreHi 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,
JulienHi,
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 -
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,
... ChistyNot 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, -
ADF Application deployment with weblogic server
Hi friends,
I am getting error while deploying the application through JDeveloper to Standalone Weblogic Server.
Error :
=====
An error occurred during activation of changes, please see the log for details.
weblogic.management.DeploymentException:
oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
JDeveloper : 11.1.1.6.0.
Weblogic : 10.3.5
ofm : 11.1.1.6.0
weblogic-application.xml:
================
<?xml version = '1.0' encoding = 'UTF-8'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
please tell me the exact issue...is there any more library required.
thanks,
parameHi Timo,
How to check ADF runtime installed or not in managed server through console ?
Below mentioned full trace error log....
<parameswaran-PC> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <871ba2ae9678192d:5fdef18c:13b8a573005:-8000-0000000000000122> <1355236889723> <BEA-149078> <Stack trace for message 149004
weblogic.management.*DeploymentException*:
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:140)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:108)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
thanks
parame -
Help with the Oracle Fusion Order Demo deployment to Weblogic Server
Hello all,
I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
Please help me in fixing this. Hope I have explained the problem correctly.
Thanks in advance
Nishan
-------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
server-setup-seed-deploy-test:
[echo] Setting up mds store, deploying shared artifacts,
seeding jms info, deploying to server, and running tests
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
createMDSConnections:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForDB:
[echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
[input] skipping input as property mds.db.password has already been set.
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForFileStore:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForServerFileStore:
importCommonServiceArtifactsIntoMds:
[java] Starting local filesystem import into mds ..
[java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
[java] Creating mds connection to ./soa-seed/apps
[java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Now transferring ..
[java] 4 Apr, 2010 3:39:18 PM oracle.mds
[java] NOTIFICATION: import operation started.
[java] 4 Apr, 2010 3:39:22 PM oracle.mds
[java] Transferred size = 15
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
compile-build-all:
[echo] Building and compiling SOA Fusion Order Demo ..
clean:
[echo] Cleanup of OrderApprovalHumanTask
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
init:
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
copy:
[copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
create-ear:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
[war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
setupDeploymentEnvironment:
[echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
[echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec querypackage:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
[echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing file adapter endpoint with /tmp
[echo] Replacing values for bam connection in connections.xml
[echo] Bam server host: sta00057.us.oracle.com
[echo] Bam server host: 9001
[echo] Bam server user: weblogic
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
[scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
[scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
[scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
[echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing communication style, eventbased? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
compile:
create-war:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
create-ear:
[echo] global: true > ejb: ${use.ejb} jsca: true
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
clean:
[echo] Cleaning up external partner supplier ejb project ../classes/../deploy
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
[javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
create-ejb-ear:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
compile:
create-jsca-ear:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[echo] ../classes/meta-inf/
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
[jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
[jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
compile-deploy-all:
[echo] Deploying SOA Fusion Order Demo ..
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-application:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-jsca-library:
[wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
[wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
[wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
[wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
[wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
BUILD FAILED
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
Total time: 2 minutes 1 second -
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,
OscarOscar:
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 -
Error while deploying application with WebLogic server
Hi,
I use Jdeveloper 11g and created and ADF application which i want to deploy with WebLogic Server.But i have an error which is :
"There was a failure when processing annotations for application C:\...\xxx.war. Please make sure that the annotations are valid. The error is oracle.adf.library.webapp.ResourceServlet "
Plz help me.
ThxI am receiving same message for simple servlet. Running JDev11g build 5166 and embedded WLS 10.3. Servlet used to deploy to embedded WLS and ran fine. Recently running newly created servlets produces error message as in this thread.
Investigation turned up the fact that the class file for the servlet was not deployed to the context-root (o.j2ee\drs) on the server. Copying the class file from the mywork project folder to the context-root folder (o.j2ee\drs) permitted the servlet to run.
Don't know if this is the cause of what you are experiencing but it may assist in your investigation! I have not figured out why the class file for servlets does not deploy to server despite the fact that the log file shows war and ear files were deployed. As it turns out, the war file does not have the class file in it so something is wrong before the war file is created.
Cheers! -
+"${JAVA_HOME}/bin/java" -Dprod.props.file=${WL_HOME}/.product.properties weblogic.Deployer -adminurl t3://10.18.2.7:9732 -userconfigfile /opt/weblogic/weblogic-WebLogicConfig.properties -userkeyfile /opt/weblogic/weblogic-WebLogicKey.properties -deploy -name ${1} -appversion ${2} -retiretimeout 300 -targets ms9734 /tmp/${1}-${2}.${3}+
right now the war file is in /tmp and I want to move the war file to a different location (for example /opt/services/)and then deploy, but WebLogic.Deployer is giving me the following error.
weblogic.management.DeploymentException: [Deployer:149003]Unable to access application source information in '/opt/user_projects/domains/Defaultapp/servers/ms01/stage/defaultapp/rel-1.0/defaultapp-rel-1.0.war' for application 'defaultapp [Version=rel-1.0]'. The specific error is: [Deployer:149158]No application files exist at '/opt/user_projects/domains/Defaultapp/servers/ms01/stage/defaultapp/rel-1.0/defaultapp-rel-1.0.war'..
What do I need to do in order to change the upload location
Thanks,
nlrreddyHi Nlrreddy,
As i Understood from your Post's Last line "What do I need to do in order to change the upload location?".
U want to Change the Upload Directory for your Applications/Server.
If you want to change the Upload Directory for your Server Then ...
Login to AdminConsole--->Servers--->AdminServer(Or Choose Your ServerName)-->Configuration(TAB)--->deployment (Sub-Tab)--> Upload Directory Name:
Here u can specify your own Upload Directory Location
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Re: Error while Deploying OEDQ with a deployement plan on weblogic
Hi All,
I am getting this Exception while deployment and look like this is same type of exception
weblogic.application.ModuleException: Unmarshaller failed
[fa:deploy] <fusion_domain>: <fusion_domain>: Exception while performing deployJ2EE for application AdvancedPlanningApp : java.lang.Exception: Deployment FAILED:weblogic.application.ModuleException: [HTTP:101064][WebAppModule(AdvancedPlanningApp:advancedPlanning)] Error parsing descriptor in Web appplication "/scratch/software/mw_local/FMWTOOLS_11.1.1.7.0_GENERIC_130327.1838_PATCHES4FA_11.1.1.7.0_PLATFORMS_JDK64/bitukuma/mw_home_standalone/user_projects/domains/fusion_domain/servers/AdminServer/upload/AdvancedPlanningApp/app/AdvancedPlanningApp/EarScmAps.war"
[fa:deploy] weblogic.application.ModuleException: Unmarshaller failed
[fa:deploy] at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1345)
[fa:deploy] at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:375)
[fa:deploy] at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
[fa:deploy] at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
[fa:deploy] at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
[fa:deploy] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
[fa:deploy] at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
[fa:deploy] at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
[fa:deploy] at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:649)
[fa:deploy] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
[fa:deploy] at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
[fa:deploy] at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
[fa:deploy] at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
[fa:deploy] at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
[fa:deploy] at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:209)
[fa:deploy] at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
[fa:deploy] at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
[fa:deploy] at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
[fa:deploy] at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
[fa:deploy] at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
[fa:deploy] at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
[fa:deploy] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
[fa:deploy] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
[fa:deploy] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
[fa:deploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
[fa:deploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[fa:deploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[fa:deploy] Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.FilterBeanImpl@82a9ceb4(/Filters[ADFLibraryFilter])"
[fa:deploy] at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
[fa:deploy] at weblogic.j2ee.descriptor.WebAppBeanImpl.setFilters(WebAppBeanImpl.java:715)
[fa:deploy] at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
[fa:deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[fa:deploy] at java.lang.reflect.Method.invoke(Method.java:597)
[fa:deploy] at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
[fa:deploy] at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
[fa:deploy] at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:382)
[fa:deploy] at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
[fa:deploy] at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
[fa:deploy] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
[fa:deploy] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
[fa:deploy] at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[fa:deploy] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
[fa:deploy] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
[fa:deploy] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[fa:deploy] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
[fa:deploy] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
[fa:deploy] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
[fa:deploy] at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
[fa:deploy] at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1331)
Please help me to resolve this error.
ThanksYour error does not appear to be to do with EDQ at all. I do not recognise the name of the war file giving you the error. Which version of EDQ are you deploying?
Please do not use the public forum if you need support with an internal deployment of a pre-release version. -
Deploy web application in jbuilder 9 with weblogic 7 problem
when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
where options include:
-help Print this help message.
-version Print version information.
-adminurl <https://<server>:<port>> The URL of the administration server: default
http://localhost:7001
-user <user> A user other than the default of
"installadministrator"
-password <password> Specifies the password on the command line.
If this option is absent the user is
prompted.
-verbose Displays additional status during the
deployment process, including notifications
when the application is prepared and
activated on each target.
-debug Displays debug level messages to the standard
output.
-examples Display example usage of this tool.
-upload Causes the specified source file(s) to be
transferred to the adminstration server. This
is used when the Deployer tools is not being
used on the same machine as the adminstration
server and the user does not otherwise have
access to place the targeted files on the
adminstration server.
-delete_files Causes the server to remove the files that
are specified in the file list and leave the
application activated. This option is valid
only for unarchived web applications.
-remote Signals that the tools is not runnning on the
same machine as the adminstration server and
that the source path should be made passed
through unchanged as it represents the path
on the remote server.
-nostage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged and the
original source is be used.
-external_stage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged but the
value of the staging path will be used when
preparing the application.
-stage Sets the stagingMethod staging attribute on
the application when it is created so that
the application will always be staged. This
value will override the stagingMethod
attribute on any targeted servers.
-nowait Once the action is initiated the tool will
print the task id and exit. This is used to
initiate multiple tasks and then monitor them
later using the -list action.
-timeout <seconds> The maximum time in seconds to wait for the
completion of the deployment task. When the
time expires the current status is printed
and the program exits.
-source <archive file or directory> Location of the file or directory that
represents the enterprise component or
application tha is being (re)activated. If
the source file is relative it is relative to
the current directory, unless the -remote
option is used. To specify individual files
within an application for reployment or
addition list them at the end of the command
line.
-name <application name> The name of the application being deployed.
-targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
cluster names. Each target may be qualified
with a J2EE component name. This enables
different components of the archive to
deployed on different servers.
-id <task identifier> Optional client supplied unique identifier
for the deployment task. The id is first
specified to -activate, -deactivate,
-unprepare or -remove. It is then used later
as an argument to -cancel or -list.
-activate (Re)activates the <source> application on the
<targets> with the <name>.
-deactivate Deactivates the application <name> on the
<targets> leaving an staged application files
in a state where the may be quickly
reactivated.
-unprepare Deactivates and unloads classes for the
application <name> on the <targets> leaving
an staged application files in a state where
the may be quickly reloaded.
-remove Deactivates the application <name> on the
<target> and removes any files that were
staged for this application. If there are no
longer any targets for the application, the
associated configuration is completely
removed.
-cancel Atempts to cancel the task <id> if it is has
not yet completed.
-list Lists the target status of each task <id>
-deploy a convenient alias for activate.
-undeploy a convenient alias for unprepare.
Optionally a list of the specific files in the archive that are to be
redeployed may be specified. If a directory is specified the entire subtree is
redeployed.
Full documentation on this tool is available at:
http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.
Type java weblogic.Deployer -examples for example usage.you use "deploy" under DOS-Mode to deploy your web application?
i found some differences between "deploy" and "redeploy" function in jbuilder 9.
when i choose "deploy" ,jbuilder shows me the commond below:
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility -
EJB 3.0 MDB deployment issue with weblogic 10.0
Hi there,
I am new to MDB EJB and right now I am using the EJB 3.0 with weblogic server 10.0. I am using Eclipse 3.4 for development.
After developing the MDB from eclipse I export the EAR from eclipse and deploy it in weblogic. When I try to start the deployed EAR it gives me following error.
weblogic.application.ModuleException: Exception preparing module: EJBModule(Message.jar)
Unable to deploy EJB: MessageBean from Message.jar:
[EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
Truncated. see log file for complete stacktrace
[EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.ensureMDBHasDestinationConfigured(MessageDrivenBeanInfoImpl.java:1811)
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.prepare(MessageDrivenBeanInfoImpl.java:1011)
at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:997)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
Truncated. see log file for complete stacktrace
>
Any help really appreciated. It's too urgent.
Thanks in advance,
Piyushhere is the code for my bean.
package com.ups;
import java.util.logging.Logger;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.EJBException;
import javax.ejb.MessageDriven;
import javax.ejb.MessageDrivenContext;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.TextMessage;
* Message-Driven Bean implementation class for: MessageBean
@MessageDriven(
activationConfig = { @ActivationConfigProperty(
propertyName = "destinationType", propertyValue = "javax.jms.Queue"
public class MessageBean implements MessageListener {
private MessageDrivenContext mdc;
* Default constructor.
public MessageBean() {
// TODO Auto-generated constructor stub
* @see MessageListener#onMessage(Message)
public void onMessage(Message message) {
TextMessage tmsg = null;
try {
tmsg = (TextMessage) message;
System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
System.out.println ("The onMessage() is called");
} catch (JMSException e) {
e.printStackTrace( );
mdc.setRollbackOnly( );
catch (Throwable th) {
th.printStackTrace();
public void ejbRemove( )throws EJBException{
System.out.println("ejbRemove() is executed >>>>>>>");
I have configured my JMS Distributed queue in the Weblogic.
If possible please provide more details so that I can get rid of this error as soon as possible.
Thanks for reply.
Piyush -
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 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 -stageCheck 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 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
AshAshanty,
you may want to refer this link for deployment order of applications..
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/deployment/ChangeTheServerDeploymentOrder.html
I don't think weblogic.deployer will allow you to do deployment order and it can be done through Administration console only.
Thanks
Lawrence Manickam
http://toyork.blogspot.ca
Maybe you are looking for
-
Safari dosen´t work in Yosemite
Hello I just upgraded to Yosemite a few days ago, and immediately noticed that Safari doesn't work properly. It is almost impossible to write in the search/url-bar, and if i get to write nothing happens. Command+n doesn´t do anything, and new window
-
Using Lightroom in a group/corporate environment
I've been excited in hopes that Lightroom would solve my department's problems with photo organization, but I didn't initially realize that it was not at all designed with multiple users in mind. So here are my questions: - Has anybody successfully s
-
Dell 2405FPW stuck in Power Save with MacMini (PPC w/ATI Raedon 9200)
I'm wondering if anyone is having any problems with their Dell 2xxxFPW monitors (specifically the 2405FPW) getting stuck in Power Save mode. This is a known problem with some Dell monitors. More details can be found here: http://forums.us.dell.com/su
-
Folder with question mark ! hard disk !
I NEED HELP !!! I Replaced my mac hard disk due to a malfunction in the first one but i already formatted it and when i start up, it gives this folder with a question mark ! When i start internet recovery i get this error 6002F !! I NEED HELP ... wha
-
JAXB runtime ClassNotFoundException
I'm trying to set up some really basic build stuff using ant and JAXB to handle the transforming of some XML data, but I'm having some trouble getting it to not throw exceptions at runtime. I've successfully got an XJC task running in ant that is def