Problem with wldeploy task
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebLogic support > Problem with wldeploy task




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problem with wldeploy task  
Christian Ashby


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 12:47 PM

I have a task in ant that deploys an EAR file to weblogic (8.1 SP2).

However, I consistently get the error at the bottom of this message.
The weblogic.jar is on the classpath for the wldeploy taskdef, and the
application deploys fine with the console.

Any ideas?

[echo] BEGIN [_installWeblogic]
[wldeploy] weblogic.Deployer -debug -verbose -noexit -name comptool
-source  D:\splbuild\package\comptool\weblogic\co
mpt
ool.ear -targets localhost -adminurl t3://localhost:7001 -user
weblogic -password ******** -deploy
[wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED
*****[ Class does not implement remote interface ]
[wldeploy]     at weblogic.utils.Debug.assertion(Debug.java:57)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.<init>(StubGenerat
or.java:110)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.<init>(StubGenerat
or.java:80)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.getStubClass(StubG
enerator.java:764)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.generateStub(StubG
enerator.java:803)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.generateStub(StubG
enerator.java:790)
[wldeploy]     at weblogic.rmi.extensions.StubFactory.getStub(StubFactor
y.java:79)
[wldeploy]     at weblogic.common.internal.RMIBootServiceStub.getStub(RM
IBootServiceStub.java:50)
[wldeploy]     at weblogic.security.acl.internal.Security.authenticate(S
ecurity.java:153)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.authenti
 cateRemotely(WLInitialContextFactoryDele
gate.ja
va:592)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubj
ect(WLInitialContextFactoryDelegate.java:529)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.newConte
xt(WLInitialContextFactoryDelegate.java:341)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.getIniti
 alContext(WLInitialContextFactoryDelegat
e.java:
313)
[wldeploy]     at weblogic.jndi.Environment.getContext(Environment.java:
166)
[wldeploy]     at weblogic.jndi.Environment.getInitialContext(Environmen
t.java:145)
[wldeploy]     at weblogic.management.deploy.utils.MBeanHomeTool.getMBea
nHome(MBeanHomeTool.java:170)
[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(NativeMeth
odAccessorImpl.java:39)
[wldeploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
tingMethodAccessorImpl.java:25)
[wldeploy]     at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy]     at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(W
LDeploy.java:238)
[wldeploy]     at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDe
ploy.java:199)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy]     at org.apache.tools.ant.Target.performTasks(Target.java:3
69)
[wldeploy]     at org.apache.tools.ant.Project.executeTarget(Project.jav
a:1214)
[wldeploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386
)
[wldeploy]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallT
arget.java:106)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.taskdefs.Sequential.execute(Seque
ntial.java:64)
[wldeploy]     at net.sf.antcontrib.logic.IfTask$ElseIf.execute(IfTask.j
ava:144)
[wldeploy]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:211
)
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
odAccessorImpl.java:39)
[wldeploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
tingMethodAccessorImpl.java:25)
[wldeploy]     at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.j
ava:123)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy]     at org.apache.tools.ant.Target.performTasks(Target.java:3
69)
[wldeploy]     at org.apache.tools.ant.Project.executeTarget(Project.jav
a:1214)
[wldeploy]     at org.apache.tools.ant.Project.executeTargets(Project.ja
va:1062)
[wldeploy]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
[wldeploy]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
[wldeploy]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:196)
[wldeploy]     at org.apache.tools.ant.launch.Launcher.main(Launcher.jav
a:55)
[wldeploy] java.lang.reflect.InvocationTargetException
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
odAccessorImpl.java:39)
[wldeploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
tingMethodAccessorImpl.java:25)
[wldeploy]     at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy]     at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(W
LDeploy.java:238)
[wldeploy]     at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDe
ploy.java:199)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy]     at org.apache.tools.ant.Target.performTasks(Target.java:3
69)
[wldeploy]     at org.apache.tools.ant.Project.executeTarget(Project.jav
a:1214)
[wldeploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386
)
[wldeploy]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallT
arget.java:106)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.taskdefs.Sequential.execute(Seque
ntial.java:64)
[wldeploy]     at net.sf.antcontrib.logic.IfTask$ElseIf.execute(IfTask.j
ava:144)
[wldeploy]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:211
)
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
odAccessorImpl.java:39)
[wldeploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
tingMethodAccessorImpl.java:25)
[wldeploy]     at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.j
ava:123)
[wldeploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownEle
ment.java:275)
[wldeploy]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy]     at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy]     at org.apache.tools.ant.Target.performTasks(Target.java:3
69)
[wldeploy]     at org.apache.tools.ant.Project.executeTarget(Project.jav
a:1214)
[wldeploy]     at org.apache.tools.ant.Project.executeTargets(Project.ja
va:1062)
[wldeploy]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
[wldeploy]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
[wldeploy]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:196)
[wldeploy]     at org.apache.tools.ant.launch.Launcher.main(Launcher.jav
a:55)
[wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Class does not implement remote inte
rface ]
[wldeploy]     at weblogic.utils.Debug.assertion(Debug.java:57)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.<init>(StubGenerat
or.java:110)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.<init>(StubGenerat
or.java:80)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.getStubClass(StubG
enerator.java:764)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.generateStub(StubG
enerator.java:803)
[wldeploy]     at weblogic.rmi.internal.StubGenerator.generateStub(StubG
enerator.java:790)
[wldeploy]     at weblogic.rmi.extensions.StubFactory.getStub(StubFactor
y.java:79)
[wldeploy]     at weblogic.common.internal.RMIBootServiceStub.getStub(RM
IBootServiceStub.java:50)
[wldeploy]     at weblogic.security.acl.internal.Security.authenticate(S
ecurity.java:153)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.authenti
 cateRemotely(WLInitialContextFactoryDele
gate.ja
va:592)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubj
ect(WLInitialContextFactoryDelegate.java:529)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.newConte
xt(WLInitialContextFactoryDelegate.java:341)
[wldeploy]     at weblogic.jndi.WLInitialContextFactoryDelegate.getIniti
 alContext(WLInitialContextFactoryDelegat
e.java:
313)
[wldeploy]     at weblogic.jndi.Environment.getContext(Environment.java:
166)
[wldeploy]     at weblogic.jndi.Environment.getInitialContext(Environmen
t.java:145)
[wldeploy]     at weblogic.management.deploy.utils.MBeanHomeTool.getMBea
nHome(MBeanHomeTool.java:170)
[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]     ... 33 more

BUILD FAILED
D:\cvswork\comp-tools-lazard\splbuild\resources\build_install.xml:23:
The following error occurred while executing this
line:
D:\cvswork\comp-tools-lazard\splbuild\resources\build_install.xml:46:
java.lang.reflect.InvocationTargetException





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register