- This topic has 14 replies, 2 voices, and was last updated 19 years, 11 months ago by srau.
-
AuthorPosts
-
srauMemberHi – I installed the 3.1M4 Eclipse and the 3.8.4-beta on my WXP desktop. I am having deployment problems with Tomcat 4. Has anyone seen this ? I am assuming that it’s an installation issue and that’s why I am posting here.
>
> – I click on deploy and it opens the ‘Manage Deployments’ window. My
> project ‘ROOT’ is selected.
>
> – I click on the ‘Add’ button and it brings up the ‘New deployment’
> window.
>
> – On this, it says Web Project: ROOT, and I select the server as
> Tomcat 4, deploy type is ‘exploded archive’.
>
> – After this, the ‘Finish’ button is still grayed out. Not sure why.
> In short no way to deploy this.
>
> – However, if I select ‘Packaged Archive’, I see the ‘Finish’ button.
> I click on it and it says
>
> “Deployment is out of date due to changes in the underlying project
> contents. You will need to manually Redeploy the project to update the
> deployed archive.”
>
> – I do that nothing happens.
>
> What am I missing here ? I have enabled Tomcat 4 in the MyEclipse
> preferences and also enabled JDK15 etc.
>
Riyad KallaMember> – After this, the ‘Finish’ button is still grayed out. Not sure why.
> In short no way to deploy this.We saw this a few times in the 2.7/3.7 releases. If you close the deployment window and open up your project properties, then go to MyEclipse-Web, is your Web Context Root box empty, or set to “/”? Try and set it to something like “/” and hit Apply, then try the deployment again. If it works, then try and empty it out and hit apply, and remove/recreate the deployment. You should see a notification when you set the root to either empty or / that you are going to be deploying this app “as the root app” or something equivalent (which I’m assuming you want to do given the name of the project).
srauMember– The web context root is set to “/”. I hit ok on this and was able to see the ‘Finish’ button.
– Deploy location is c:\devel\Tomcat4.1.24\webapps\ROOT (and the message says ROOT will be deployed as the Tomcat 4 default web application at location c:\devel\Tomcat4.1.24\webapps\ROOT )
– Clicking on finish opens up a small error dialog box with just an OK button on it.
Riyad KallaMember– The web context root is set to “/”. I hit ok on this and was able to see the ‘Finish’ button.
Good
– Deploy location is c:\devel\Tomcat4.1.24\webapps\ROOT (and the message says ROOT will be deployed as the Tomcat 4 default web application at location c:\devel\Tomcat4.1.24\webapps\ROOT )
Good
– Clicking on finish opens up a small error dialog box with just an OK button on it.
We have seen this behavior before. Can you check your log file (located: <workspace dir>\.metadata\.log) for exceptions near the bottom pertaining to deployment?
srauMemberI was just doing that :). Hitting the ‘Redeploy’ button causes this
!SESSION 2005-02-02 09:54:53.616 ———————————————–
eclipse.buildId=I20041216-2000
java.version=1.4.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.ui 4 4 2005-02-02 09:54:53.616
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-02-02 09:54:53.616
!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(Unkn
own 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.Ä.(Unknown
Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$2(Un
known Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$5.handleEve
nt(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWit
hEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:234)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:220)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContri
butionItem.java:555)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.ja
va:505)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionIt
em.java:460)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:2
20)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)!ENTRY org.eclipse.ui 4 4 2005-02-02 09:54:54.616
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-02-02 09:54:54.616
!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(Unkn
own 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.Ä.(Unknown
Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$2(Un
known Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$5.handleEve
nt(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWit
hEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:234)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:220)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContri
butionItem.java:555)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.ja
va:505)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionIt
em.java:460)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:2
20)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
srauMemberI am also seeing this when it’s trying to build the workspace
!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-02 10:03:49.294^M
!MESSAGE
Feb 2, 2005 10:03:49 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalComp
ile(DefaultCompilerAdapter.java:446)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:4
3)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:574)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:158)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:192)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:221)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:224)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243
)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:272)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Caused by: java.io.IOException: CreateProcess: javac.exe -classpath “C:\devel\eclipse31M4\ecl
ipse\startup.jar;C:\devel\javaNT1.5.0\jre\lib\rt.jar;C:\devel\javaNT1.5.0\jre\lib\jsse.jar;C:
\devel\javaNT1.5.0\jre\lib\jce.jar;C:\devel\javaNT1.5.0\jre\lib\charsets.jar;C:\devel\javaNT1
.5.0\jre\lib\ext\dnsns.jar;C:\devel\javaNT1.5.0\jre\lib\ext\IngrianNAE.jar;C:\devel\javaNT1.5
.0\jre\lib\ext\localedata.jar;C:\devel\javaNT1.5.0\jre\lib\ext\sunjce_provider.jar;C:\devel\j
avaNT1.5.0\jre\lib\ext\sunpkcs11.jar;C:\Program Files\MyEclipse384-Beta\eclipse\plugins\com.g
enuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.3\activation.jar;C:\Program Files\MyEclip
se384-Beta\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.3\javax.s
ervlet.jar;C:\Program Files\MyEclipse384-Beta\eclipse\plugins\com.genuitec.eclipse.j2eedt.cor
e_3.8.4\data\libraryset\1.3\jboss-j2ee.jar;C:\Program Files\MyEclipse384-Beta\eclipse\plugins
\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.3\jboss-jaas.jar;C:\Program Files\M
yEclipse384-Beta\eclipse\plugins\?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalComp
ile(DefaultCompilerAdapter.java:443)
… 39 more
— Nested Exception —— Nested Exception —
java.io.IOException: CreateProcess: javac.exe -classpath “C:\devel\eclipse31M4\eclipse\startu
p.jar;C:\devel\javaNT1.5.0\jre\lib\rt.jar;C:\devel\javaNT1.5.0\jre\lib\jsse.jar;C:\devel\java
NT1.5.0\jre\lib\jce.jar;C:\devel\javaNT1.5.0\jre\lib\charsets.jar;C:\devel\javaNT1.5.0\jre\li
b\ext\dnsns.jar;C:\devel\javaNT1.5.0\jre\lib\ext\IngrianNAE.jar;C:\devel\javaNT1.5.0\jre\lib\
ext\localedata.jar;C:\devel\javaNT1.5.0\jre\lib\ext\sunjce_provider.jar;C:\devel\javaNT1.5.0\
jre\lib\ext\sunpkcs11.jar;C:\Program Files\MyEclipse384-Beta\eclipse\plugins\com.genuitec.ecl
ipse.j2eedt.core_3.8.4\data\libraryset\1.3\activation.jar;C:\Program Files\MyEclipse384-Beta\
eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.3\javax.servlet.jar;
C:\Program Files\MyEclipse384-Beta\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\dat
a\libraryset\1.3\jboss-j2ee.jar;C:\Program Files\MyEclipse384-Beta\eclipse\plugins\com.genuit
ec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.3\jboss-jaas.jar;C:\Program Files\MyEclipse384
-Beta\eclipse\plugins\?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalComp
ile(DefaultCompilerAdapter.java:443)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:4
3)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
Riyad KallaMemberjava.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.isSourceFolder(Unknown Source)Do you not have a source folder setup for this project? Or is the Source and Output folder the same?
ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-02 10:03:49.294^M
!MESSAGE
Feb 2, 2005 10:03:49 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compilerPlease edit the shortcut you use to launch Eclipse and add the following argument to the front (Before -vmargs):
eclipse.exe -vm <PATH TO JDK's JAVAW.EXE FILE>
Where you need to replace the prompt above with something like this:
eclipse.exe -vm c:\j2sdk1.4.2_06\bin\javaw.exe
This will allow MYEclipse to find javac.exe, which it currently cannot.
srauMemberThat fixed it. Strange thing is that it did compile the other java files but had problems doing the JSP files.
For source/output, I have specified seperate directories. Source is ROOT/src and Output is ROOT/public_html/WEB-INF/classes. ROOT here is c:\devel
Riyad KallaMemberStrange thing is that it did compile the other java files but had problems doing the JSP files.
The other files are compiled with the internal JDT compiler, the JSP files are compiled by javac.exe. In a future release we will move back to using the JDT compiler, but the change is actually quite daunting to implement so we are waiting for a good amount of downtime to implement it.
For source/output, I have specified seperate directories. Source is ROOT/src and Output is ROOT/public_html/WEB-INF/classes. ROOT here is c:\devel
This looks fine, is everything working now?
srauMemberUnfortunately, no. Cannot deploy it when I click on the finish button. Redeploy throws the same exception
!SESSION 2005-02-02 11:11:32.429 ———————————————–
eclipse.buildId=I20041216-2000
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2005-02-02 11:11:32.444
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-02-02 11:11:32.444
!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)
Riyad KallaMemberPlease do the following:
1) Remove all deployments
2) Close all editors
3) Close all projects
4) Shut down MyEclipse
5) Edit the shortcut used to start MyEclipse and add -clean argument to it
6) Start MyEclipse (you can now remove -clean)
7) Open the problem project
8) Project > Clean it, and make sure “build automatically” is checked, then let the project rebuilt.
9) Open up the deployment tool, create a new deployment for it.DId that work?
srauMemberStill no luck – I wil delete the Eclipse/MyEclipse distributions and re-install.
!ENTRY org.eclipse.ui 4 4 2005-02-02 15:03:10.655
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-02-02 15:03:10.655
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:152)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.computeDeploymentLocation(U
nknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizardPage.updateLocat
ionField(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizardPage.handleServe
rsComboBoxModified(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizardPage$1.modifyTex
t(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:187)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
srauMemberI installed this on a different machine and it worked fine. The only difference is that the new machine had no MyEclipse or Eclipse on it and it was a new install. On the previous desktop, I had Eclipse 2.1/MyEclipse 2.5 installed and running for over a year. I had however made sure that Eclipse 3.1/MyEclipse3.8.x were installed in a different directory. There were no environment variables which could cause any issues.
Riyad KallaMemberHmm, please let us know if you get it workingon the old machine. Make sure you are using a new Workspace and not an older one.
srauMemberI got rid of EWB 2.5 completely. Installed EWB 3.8x. and created a new project and that seemed to fix it. I was importing a project created by EWB2.5 previously. Still puzzled that the old project imported in a new environment worked.
-
AuthorPosts