[JBossWS] - Re: Ant task for wsconume, wsprovide ??
by richard_opalka
Hi,
WSConsume uses com.sun.tools.ws.wscompile.WsimportTool, internally so you can find the answer by analyzing this Sun WSDL compiler. I took a short look into it and the difference is that WsimportTool during the compiling phase generates both *.java and *class files. At the end of compilation phase if -keep option is set, the generated *.java files will be removed. (-keep option is automatically set by WSConsume tool if you'll specify sourcedestdir attribute in your ant task).
Thus if you will specify sourcedestdir, the generated *.java files will not be deleted after the compilation phase.
To answer your question: sourcedestdir points to the directory, where WsimportTool will generated *.java files, while destdir points to directory where these *.java files will be compiled to *.class files.
RIchard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083840#4083840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083840
18 years, 9 months
[JBoss jBPM] - No class loaders found
by mailinator
Hi,
i'm back !!!
With a new issue.
Here it is :
when trying to end a taskinstance, i got this exception :
java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory
This is because i have multiple deployment of jbpm jar.
When deleting this jbpm-jpdl.jar from the /WEB-INF/lib of my webapp,
i have an exception earlier in the process !!
I cant even access the variable instance that i put with the task. (i can when i put the jar in the webapp but later in the process when trying to end the task it fail).
I have this exception :
javax.servlet.ServletException: org.jbpm.JbpmException: couldn't deserialize object
caused by :
org.jbpm.JbpmException: couldn't deserialize object
caused by :
java.lang.ClassNotFoundException: No ClassLoaders found for: com.it.model.User
Any help would be greatly appreciated.
Regards,
O.M.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083838#4083838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083838
18 years, 9 months