facebook

Cannot deploy ear file under oracle 9iAs [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #205091 Reply

    ced_vranckx
    Member

    Hello,

    With the latest version (2.7 GA), I can no more deploy a ear file under the application server (oracle 9ias), but it works fine with an exploded deployment.
    It starts fine, but when the deployment of the web application is over, I receive a pop-up window of error, no message in it, and I cannot do anything but restart eclipse completely….
    I deleted also all file (not the configuration files, of course) that were starting with a .dot, but it still does the same…

    Version eclipse: 2.1.2
    my eclipse :2.7 GA
    Windows XP pro
    nothing more nothing less

    #205092 Reply

    ced_vranckx
    Member

    Oh, btw, I can deploy the packages of the ejb and web separately without any problem….But not all together 🙁

    #205117 Reply

    Scott Anderson
    Participant

    Ced,

    Can you see if there are errors in your log file and post them here? The log is at <workspace>/.metadata/.log

    #205195 Reply

    ced_vranckx
    Member

    I found the following:
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse-SDK-2.1.2-win32/eclipse/
    !ENTRY org.eclipse.ui 4 4 Mar 22, 2004 11:10:07.627
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Mar 22, 2004 11:10:07.627
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ä„(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$1(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$4.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
    at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
    at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)

    I hope it will help you….

    #205265 Reply

    Scott Anderson
    Participant

    Ced,

    Thanks for the report. A fix for this will be in 2.7.1 and 3.7.1 which will both be available in a few days.

    #205612 Reply

    ced_vranckx
    Member

    Hello,

    Well, I just tried again with the latest version of myeclipse (2.7.1), but it is not working neither… 🙁
    And the worst: in the log of eclipse, there is nothing about that error, and I can find the war file, the jar file put in the temporary folder of myeclipse, but I still receive a blank error message if I try to deploy a packaged project.

    Afterwards, I have that message: “Deployment is out of date due to changes in the underlying project contents. You’ll need to manually ‘Redeploy’ the project to update the deployed archive”.

    Did I miss something?

    #205643 Reply

    Scott Anderson
    Participant

    Ced,

    I could easily reproduce this problem on 2.7, but have been unable to reproduce it on a 2.7.1 installation. Are you certain that your upgrade was successful? You can look in Window > About Eclipse and then get feature details to ensure that it is 2.7.1. Can you see if the .war file is created in the autodeploy directory? Is it the correct size?

    #205651 Reply

    ced_vranckx
    Member

    Well, unfortunatly, it is written 2.7.1 everywhere concerning myeclipse :(. The file I want to deploy is not a war file but an ear file… The war file that I can find inside the temporary folder created by myeclipse looks ok. Inside that same folder, I find also the jar file that looks ok either. I mean, I can open them with a zip tool and extract them with no problem. The ear file, the last one, is not the right size and seems to be incorrect. Don’t know, maybe something wrong with the ear packager, misconfiguration or something….:-/

    #205678 Reply

    Scott Anderson
    Participant

    Ced,

    I know the fix for 2.7.1 was for WAR files, and that’s what I tested. I didn’t notice initially that you reported the issue on EAR’s. I think there is most likely a similar problem in the EAR packager as was in the war packager. I’ll open a bug report on it and we’ll get it in the next release. Sorry for the inconvenience and thanks for hanging in there and reporting it.

    #205690 Reply

    ced_vranckx
    Member

    No problem, looking forward for the next release… 🙂

    #209404 Reply

    Scott Anderson
    Participant

    Fixed in 2.8 Beta 1

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Cannot deploy ear file under oracle 9iAs [Closed]

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