WPT on Linux located in custom 'extension' directory [message #159555] |
Tue, 07 February 2006 21:05  |
Eclipse User |
|
|
|
Hi!
I Have installed WTP 1.0 with eclipse 3.1.2 (upgraded from 3.1.1) with
update manager, but my configuration is not so regular.
I'm using external location feature. My installation process was:
1. removed all EMF/GEF/WTP installations that i have before
2. created 3 directory trees :
/home/thomas/eclipse-extensions/emf/
eclipse/
features/
plugins/
*/gef/
*
*/wtp/
*
to each 'eclipse' dir copied file with similar content :
------
name=Eclipse GEF Extensions
id=gef
version=3.1.0
------
the added this locations to eclipse config using 'manage
configuration->add external location' option and restarted IDE.
The usin UM selected WTP 1.0 and EMF/GEF required plugins, changed their
location to apropiratee directories (EMF -> emf, JEM -> emf etc.)
after installation restarted eclipse.
for the first - I was unable to create any WTP project - in error log
view was two messages unhandled event loop and null pointer (sorry but
deleted this records so stack traces are unavailable) but after
selectiong j2ee perspective problem was solved.
After this i created a simple bean:
----------
package test;
public class Hello
{
public String hello(String user)
{
return "Hello " + user + "!";
}
public int adder(int a, int b) {
return a + b;
}
}
----------
Then selected and clicked web services->create web service
On the first page selected options:
bottom up,install,start,launch,proxy,install client,create folders
On third page runtime AXIS,Tomcat 5.0 and for client dynamic for same
server and new project (WSTestClient)
On fourth page:
URI: http://localhost:9090/WSTest/services/Hello
folder: /home/thomas/projects/WSTest/WebContent/wsdl
file: Hello.wsdl
selected all methods and style document/literal wrapped
and then after next, given exception thrown:
------------------------------------------------------------ -----------------------------
IWAB0523E Error moving resource: Resource /home does not exist.
org.eclipse.core.internal.resources.ResourceException: Resource
/home does not exist.
at
org.eclipse.core.internal.resources.Resource.checkExists(Res ource.java:304)
at
org.eclipse.core.internal.resources.Resource.checkAccessible (Resource.java:172)
at
org.eclipse.core.internal.resources.Project.checkAccessible( Project.java:124)
at
org.eclipse.core.internal.resources.Folder.assertCreateRequi rements(Folder.java:30)
at org.eclipse.core.internal.resources.Folder.create(Folder.jav a:90)
at org.eclipse.core.internal.resources.Folder.create(Folder.jav a:121)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolder(FileResourceUtils.java:557)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolderPath(FileResourceUtils.java:517)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolderPath(FileResourceUtils.java:514)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolderPath(FileResourceUtils.java:514)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolderPath(FileResourceUtils.java:514)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.makeFolderPath(FileResourceUtils.java:514)
at
org.eclipse.wst.command.internal.env.common.FileResourceUtil s.createFile(FileResourceUtils.java:376)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.moveGeneratedWSDL(Java2WSDLCommand.java:195)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:164)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:87)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:386)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:327)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:226)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:247)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:217)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:78)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:124)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:119)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.wst.command.internal.env.ui.widgets.popup.Dynami cPopupWizard.run(DynamicPopupWizard.java:126)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:246)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
------------------------------------------------------------ -----------------------------------
??? what is going on? /home resorce exists, I may not have all rights
for it but it is existing on fs, first directory that i have write
permission is /home/thomas/ and will never have other
my workspace is located in /home/thomas/workspace3.1/ and project in
/home/thomas/projects/WSTest/ is this a WTP bug or given configuration
is invalid (i don't want to install all plugins to eclipse directory -
it is hard to maintain)
also in console this warning was printed:
-----------------
Feb 8, 2006 2:35:56 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler
and javax.mail.internet.MimeMultipart). Attachment support is disabled.
-----------------
about first problem - do i have to report this as bug (for me it is a bug)
about second - will it work when I copy mail api classes (exactly jar)
to axis plugin libs?
Andrew
|
|
|
|
Powered by
FUDForum. Page generated in 0.03594 seconds