aspose file tools*
The moose likes Web Services and the fly likes How to intergrate Apache CXF in JBoss 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to intergrate Apache CXF in JBoss 4.0" Watch "How to intergrate Apache CXF in JBoss 4.0" New topic
Author

How to intergrate Apache CXF in JBoss 4.0

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
Hello All

Kindly tell me which jars are required to put in JBoss server 4.0.3 to integrate it with Apache CXF.

I am making a web service client and I could not change my server. When i run sar inside my jboss 4.0.3 it gives following error

Exception in thread "Thread-2"
2011-08-23 19:43:22,156 ERROR [STDERR] java.lang.Error: Unresolved compilation problems:
The import org.apache.cxf.jaxrs cannot be resolved
The import org.apache.cxf.jaxrs cannot be resolved

i do not know which jar is to copy and put where. No CXF by default in jboss 4.0.3
Please help to solve this problem.


Regards
Azrael Noor
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
First of all, I think this depends on what functionality in the CXF you use.
With this said, I just wanted to let you know that I have developed web services using Apache CXF where I included the CXF JARs I needed in the web application WEB-INF/lib folder only.
Thus, no need to place them in the server, as far as I know. If nothing else, perhaps it is an option to try.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to intergrate Apache CXF in JBoss 4.0