Cues-Migrating Java Webservices application from Apache Tomcat 5.5.27 to JBoss5.1.0

Not so gud at webservices but i was assigned a task of migrating an application from Tomcat 5.5.27 JDK1.5 environment to JBoss5.1.0.

Underestimated JDK and thought it has nothing to play role but has much to do.

Approach the application followed was all the web-services are written and taking this class as reference server side classes and client side classes are generated using JAX-WS RI2.0 Implementations.

With jdk1.5 and above jax-ws ri everyhting is built successfully and deployed .

I migrated this to JDK1.6 JBoss5.1.0..

The application first didnot get builded using jdk1.6 reason is jdk1.5 and jaxws-ri2.o generated some client and server side classes with annotations @AccessType which is replaced by @XmlAccessType .

So once again regenerated all the client side and server side classes and bundled these to the application and builded .Then application got builded successfully.

Next is the deployment in the JBoss-5.1.0 GA server on which i dont hav any experienc at all.

Forgotten to mention one point.After regenerating the client sode ands server side classes i hav to bundle the same jars to the application but didnot did that.Because i dont know if anything happens if i replace the jars.(Replaced the jars then also application is working).

Application didnot get deployed successfully.Many issues with jar conflicts.Deployed the application in JBoss adding jboss-web.xml with the following content .


java2ParentDelegation=false


Then application deployed successfully but not able to access the webservices.Then added 4 jars to lib/endorsed hamammama everythin cool now....

To understand all this stuff it took me 45 days...

My Space

Hang over--Wrath of Grapes