Hi Richard,
Thanks for your fix, but I've been debuging the code and noticed that our problem was in other place.
On MessageContextJAXWS class, on its setOperationMetaData() method, an InputSource that references the wsdl file is stored inside the context. This input stream is never closed, so a file descriptor remains open on each request.
I've tried closing it on the finally section of the invoke() method on ServiceEndpointInvoker class and it works successfully without leaving open file descriptors.
I think you would like to know in order to fix this issue.
Thank you very much!
Bortx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180589#4180589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180589
What do you mean by " the configuration for jboss is created without JAX WS."? How can you tell? What was it that you expected but was missing?
I have create JAX-WS POJO web services and there is little difference between the resulting WAR and that of a web application.
Finally, this could be an Eclipse packaging issue, in which case you should ask this in an Eclipse forum (or on the JBoss Tools forum if you are using JBoss Tools).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180351#4180351
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180351
I decided to deploy my simple hello EJB-based web service on 4.2.2. I used the wsrunclient to run my client and the only JAR files I had to add to the classpath were:
1 - the JAR file containing my client code and the subs generated by wsconsume
2 - jboss_home/client/jbossall-client.jar
Then the client ran without errors.
(Perhaps my recollection regarding using JAR files from server/xxx/lib is somewhat mistaken. After all, I did that well over a year ago.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180337#4180337
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180337
I hope this was a typo: $JBOSS_HOME/client/lib, and that you really meant $JBOSS_HOME/client.
As I mentioned before PeterJ wrote : (Though I vaguely recall that one or two of [the necessary JAR files] are not there but in the server/xxx/lib directory. Anyway, if after adding all of the jboss_home/client jar files you still get a CNFE, post [the CNFE stack trace] and I will tell you which JAR [the missing class] is in.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180334#4180334
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180334
Hi,
I want to write a webservice and deploy it to JBoss. There are several ways to do this. I can write a webservice as PoJo and with two clicks in Eclipse JEE the service is created and deployed.
But I wanna use JAX WS with the annotations WebService and WebMethods. I've created the according java class. And now? When I choose the "create webservice" again the configuration for jboss is created without JAX WS.
Any ideas?
Greetings
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180296#4180296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180296
Hi Thorsten
I had the same issue after installing jbossws-metro-3.0.3 into jboss-4.2.3.GA. I then copied jbossws-client.jar from the client directory of the original jboss-4.2.3.GA distribution, and placed it into the server/default/lib directory (after applying jbossws-metro-3.0.3). Then the
SAAJMetaFactoryImpl ClassNotFoundException went away.
It seems that the metro installation will remove jbossws-client.jar.
But I actually haven't done much testing yet and I don't have a good feeling about all of this.
Silvano
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180222#4180222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180222