This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to intergrate Apache CXF in JBoss 4.0

 
Azrael Noor
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic