Skip to main content

[migrate2glassfish] exception

1 reply [Last post]
mark_d
Offline
Joined: 2010-06-25

Hi,

after starting migrate2glassfish in GUI mode, selecting a BEA 8.1 project and an empty folder as destination I get the following exception.

Any hints?

Thanks - Mark

C:\Users\Mark\Desktop\migrate2glassfish-1_01\migrate2glassfish\bin>asmigrate.cmd -u
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
ASMT_HOME=C:\Users\Mark\Desktop\migrate2glassfish-1_01\migrate2glassfish
J2EE_HOME=C:\Sun\SDK
Checking available space for dir: C:\Migration\GF\App
Exception in thread "Thread-5" java.lang.NoSuchMethodError: javax.xml.bind.annotation.XmlAccessorType.value()Ljavax/xml/bind/annotation/AccessType;
at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getAccessType(ClassInfoImpl.java:244)
at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java:195)
at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(RuntimeClassInfoImpl.java:79)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:112)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:45)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:37)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:141)
at com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.(RegistryInfoImpl.java:50)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:183)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:152)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:306)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:179)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:70)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:50)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:277)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
at sun.iasmt.util.ASMTJaxbContext.(ASMTJaxbContext.java:75)
at sun.iasmt.convertors.common.xmlconvertor.EjbJarReader.read(EjbJarReader.java:210)
at sun.iasmt.control.SJSMTXmlFileHandler.readXMLFile(SJSMTXmlFileHandler.java:415)
at sun.iasmt.control.ASMTController.startupEngineAndConvert(ASMTController.java:352)
at sun.iasmt.control.ASMTController.startupEngineAndConvert(ASMTController.java:201)
at sun.iasmt.user.cmd.CommandCallController.(CommandCallController.java:89)
at sun.iasmt.user.gui.MigrationInitiator.run(MigrationInitiator.java:235)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mark_d
Offline
Joined: 2010-06-25

https://migrate2glassfish.dev.java.net/issues/show_bug.cgi?id=11 helped...
now using v5 everything seems to be fine.

Thanks anyway - Mark