JBoss 4 to Sun Application Server...where to start
Hi there...
I'm charged with making sure my company's product, which has mostly been running on JBoss, works w/ Sun Application Server.
I've been trying to use the Migration Tool with poor results...I know some of it is because it's for JBoss 3 and not 4....
giving it the entire .EAR for our product tells me that it doesn't handle webservices...diving into the EAR's JAR containing our services and removing webservices.xml gives the same result of various permutations of putting in source code / xml leads , namely it runs and then freezes with
DefaultValidationEventHandler: [FATAL_ERROR]: Premature end of file.
Location:
DefaultValidationEventHandler: [ERROR]: Unexpected element {}:ejb-local-ref
Location:
back on the console I launched the UI from
To possibly oversimplify, I copied out some of the most relevant .xml we have,
ejb-jar.xml
jboss.xml
jbosscmp-jdbc.xml
jboss-web.xml
web.xml
and put them in a single directory...now the Migration tool runs, leaves most of the files unchanged, and for our ejb-jar.xml it fails, and says
Unknown error.
EjbJar is Null
Admittedly our ejb-jar.xml is handcrafted and maybe suspect, but still.
So I guess right now I'm not too optimistic about this tool.
Some of the problem is my understanding of what all goes in an EAR in terms of DD is weak. I'm trying to smarten up, but haven't found a good description of "these are the typical DD files for Sun Application Server", with examples or precise descriptions of the contents...and the migration tool doesn't get to the point where it's making some of the files i expected based on
http://java.sun.com/j2ee/tools/migration/doc/JBOSS3.0_S1AS7.html
(for example sun-cmp-mappings.xml doesn't appear anywhere in the AppServer\docs directory... )
Any pointers or advice appreciated...

