Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change jetty binding port number in maven.

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created a webservice based on CXF2, spring 3.0.5 in a WAR file.
When I deploy the WAR file to JBoss AS7, it thrown the following exception:



here is the pom.xml file of the WAR file:



web.xml file:



beans.xml file:



I think it is either I miss the jetty listener configuration in JBOSS AS7 or incorrection/missing the jetty configuration in the pom.xml, web.xml or beans.xml file. But I could not find any workable answers .

Your suggestion is very appreciated.

Thanks
SW
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be the correct setup in my xml files ?

I need to deploy it to JBOSS AS7.

I couldn't found any example that I can follow with.

Thanks
Sam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic