users@glassfish.java.net

Using Sun's Migration Tool...

From: <glassfish_at_javadesktop.org>
Date: Fri, 15 Aug 2008 09:24:41 PDT

I have been handed a project where the primary requirement is to convert a Websphere/DB2 application to either Sun App server(or JBoss)/Apache/M$ SQL Server or some other DB like mySQL.

The first item I undertook was to get the code (jar files, ear files, etc) and the DDL files for the database. Next, I downloaded and setup Eclipse for J2EE development, installed Sun's App Server, downloaded the Sun Migration Tool and followed the instructions to enable it to work within the App Server environment. As a test, I randomly grabbed a JAR file from the pile of code to see if it would run through the Migration tool. Of course, it threw an exception... but, I'm at a loss as to what I need to do to move forward from this point. If anyone has any idea of how to do a migration from Websphere to Sun App Server or JBoss, I sure would appreciate some pointers... The exception:

    Code:[code]

    Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't
     find resource for bundle java.util.PropertyResourceBundle, key ASMTGUI.ErrorMsg
    FileDoesnotExists
            at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
            at java.util.ResourceBundle.getString(ResourceBundle.java:344)
            at sun.iasmt.util.ASMTResourceBundle.getValue(Unknown Source)
            at sun.iasmt.util.ASMTResourceBundle.getValue(Unknown Source)
            at sun.iasmt.user.gui.GuiMain.validateSrcInputArgs(Unknown Source)
            at sun.iasmt.user.gui.GuiMain.actionPerformed(Unknown Source)
            at sun.iasmt.user.gui.ActionPanel.processActionEvent(Unknown Source)
            at sun.iasmt.user.gui.ActionPanel$4.actionPerformed(Unknown Source)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
            at java.awt.Component.processMouseEvent(Component.java:6041)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
            at java.awt.Component.processEvent(Component.java:5806)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4413)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4243)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2440)
            at java.awt.Component.dispatchEvent(Component.java:4243)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

[/code]

Thanks,

Da Liz
[Message sent by forum member 'loungelizard' (loungelizard)]

http://forums.java.net/jive/thread.jspa?messageID=293589