facebook

Deploying to WebSphere 5.1 no longer working

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261870 Reply

    phayte
    Member

    I’ve upgrade to Eclipse 3.2.1 and MyEclipse 5.1GA and the server deployment that I’ve been using with MyEclipse 5.0GA to WebSphere 5.1 is no longer working. I have a EAR file that contains only a WAR file that I’m trying to get deployed. The EAR file’s directories are copied over correctly but nothing if the WAR is moved over.

    I do get the following in the log though:

    
    eclipse.buildId=M20060921-0945
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product com.genuitec.myeclipse.product.ide
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.genuitec.myeclipse.product.ide
    
    !ENTRY org.eclipse.ui 4 4 2006-11-15 07:55:06.081
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2006-11-15 07:55:06.112
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.isSourceFolder(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.copyContainer(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.copyContainer(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.Deployment.resyncAll(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.deployAsExplodedArchive(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.Deployment.redeploy(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.redeployProject(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.ui.action.RedeployAction.run(Unknown Source)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    

    Any ideas as to what may be going on and if there is a workaround?

    #261917 Reply

    Riyad Kalla
    Member

    Hmm. Can you try removing the deployment, then manually right clicking at the root of each project and Refreshing it. Then cleaning/rebuilding all the projects.

    Are there any build errors?

    If not, try restarting using the -clean command line argument and then try and recreate the deployment.

    If that’s still not working, try double checking that your Web Project still has it’s source and output dirs set correctly. Then check the project properties of the Web project, under MyEclipse > Web, and make sure that the context root is still set and both boxes have values.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying to WebSphere 5.1 no longer working

You must be logged in to post in the forum log in