You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kent Tong (JIRA)" <ji...@apache.org> on 2008/05/08 15:10:56 UTC

[jira] Created: (AXIS2-3792) codegen plugin fails due to missing jar

codegen plugin fails due to missing jar
---------------------------------------

                 Key: AXIS2-3792
                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.4
         Environment: 1.4 of the codegen Eclipse plugin
            Reporter: Kent Tong
            Priority: Blocker


When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 

I believe this is a bug introduced by the commit
http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E

This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).

Here is the Eclipse console log:
 
Install location:
    file:/c:/eclipse/
Configuration file:
    file:/c:/eclipse/configuration/config.ini loaded
Configuration location:
    file:/c:/eclipse/configuration/
Framework located:
    file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
Framework classpath:
    file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
Splash location:
    c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
Debug options:
    file:/C:/eclipse/.options not found
Time to load bundles: 16
Starting application: 1078
!SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
 
eclipse.buildId=M20080221-1800
java.version=1.6.0_05
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 -debug -consoleLog
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
!MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
i.internal.messages
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
!MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
i.internal.messages
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
!MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
l.ui.internal.messages
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
!MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
l.ui.internal.messages
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
!MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
wst.wsdl.ui.internal.messages
 
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
!MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
st.wsdl.ui.internal.messages
Application Started: 11000
Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
java.lang.reflect.InvocationTargetException
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
        at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
        at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
        at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
        at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
 
        at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
        at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
        at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        ... 44 more
Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
        at java.lang.ClassLoader.findClass(ClassLoader.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 55 more
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Tom Seelbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595577#action_12595577 ] 

Tom Seelbach commented on AXIS2-3792:
-------------------------------------

See http://marc.info/?l=axis-user&m=121028302316871&w=2

Copying the backport-util-concurrent-3.1.jar  (from the lib directory of the main 1.4 binary distro) into the eclipse-codegen-wizard-1.4.zip should fix the problem. 

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "shrikant (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601524#action_12601524 ] 

shrikant commented on AXIS2-3792:
---------------------------------

What is the estimated release date for this fix? I also got stuck with this issue.... I would appreciate if you could let us know how to download the patch by not using the subversion commands.

Thanks
Shrikant

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Glen Verran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596045#action_12596045 ] 

Glen Verran commented on AXIS2-3792:
------------------------------------

I am also experiencing the same issue.  I also copied into the lib folder and it is not working.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Amit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615116#action_12615116 ] 

Amit commented on AXIS2-3792:
-----------------------------

I resolved the issue by taking the following steps:

1. Copy 2 files: "backport-util-concurrent-3.1.jar" and "geronimo-stax-api_1.0_spec-1.0.1.jar" from <Axis2Home_Location>/lib folder to the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0\lib folder.

2. Edit the plugins.xml file in the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0 folder as follows:

   <runtime>
      ...
      <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
         <export name="*"/>
      </library>
      <library name="lib/backport-util-concurrent-3.1.jar">
         <export name="*"/>
      </library>      
      ...
    </runtime>

Hope this helps.

- Amit

PS: I am running Eclipse 3.4 and JDK 6

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-3792:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Gil Marte Jr (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779208#action_12779208 ] 

Gil Marte Jr commented on AXIS2-3792:
-------------------------------------

follow the steps of Amit Kumar, if it doesnt work, try the steps by Sebastian Engel:

Its working now on my envi using Eclipse Galileo. Thanks guys.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Albert Bupp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615634#action_12615634 ] 

albupp edited comment on AXIS2-3792 at 7/22/08 7:48 AM:
-------------------------------------------------------------

FWIW, here's my .02$.

The fix outlined by Amit <b>did not</b> work for MyEclipse v5.1.1 (Eclipse v3.2.2), but <b>does</b> work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.

      was (Author: albupp):
    FWIW, here's my .02$.

The fix outlined by Amit did not work for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Frederico Guedes Pereira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637484#action_12637484 ] 

Frederico Guedes Pereira commented on AXIS2-3792:
-------------------------------------------------

Hi,

I made both the changes outlined by Sebastian Engel and by Amit and it  worked perfectly. My enviroment is:

+Eclipse 3.2.2 
+JBossTools plugins instaled
+JDK 1.6.0_06

Fred

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Mauro Pisano (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599858#action_12599858 ] 

Mauro Pisano commented on AXIS2-3792:
-------------------------------------

Hi everybody I'm new here, and I've been reading and trying all this staff but I haven't been able to do the code-gen eclipse plug-in work.

I'm continuosly getting the InvocationTargetException message from the dialog.

I'm using MyEclipse 6.0 ide wich comes with Eclipse 3.3.1 plataforms.

I would appreciate very much any help with this because I'm pushing to use Axis2 as the WebService manager, but If I can't make the plug-in work , I won't be successful.

I can't get either find where the errors are throwns, so I can understand why this error is produced.

Very thanks in advance

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Mario L (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597128#action_12597128 ] 

Mario L commented on AXIS2-3792:
--------------------------------

In the .classpath and plugin.xml I can see some other libraries mentioned, but missing from the lib directory, namely: jibx and woden. Is it ok that way? Does this have anything to do with the issue at hand?

Anyway, my Eclipse debug console complains about again ANOTHER missing library: 

java.lang.reflect.InvocationTargetException
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
[...]
Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
        at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
[...]

Strangely enough, the stax-api jar IS there in lib and properly exported in plugin.xml (why not jsr173?) so it should be found... somehow the whole library stuff looks messed up in this release. 

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Tom Seelbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Seelbach updated AXIS2-3792:
--------------------------------

    Attachment: svnDiff-head.txt

Patch for Trunk, created from modules/tool directory:  svn diff -x -u . > svnDiff-head.txt .   
This patch adds geronimo-stax-api jar,  removes wstx-asl jar (stax impl),  removes backport-util-concurrent jar, removes annogen token def,  removes ant  jar     

I tested it in Eclipse 3.3.1 - works ok.                          

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Sergio Cervantes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615269#action_12615269 ] 

Sergio Cervantes commented on AXIS2-3792:
-----------------------------------------

Which Axis2 version do you own? 
Because I have Axis2 1.2 (the version that has bat files to run the service) 
and it doesn't contain geronimo-stax-api_1.0_spec-1.0.1.jar, besides, it has backport-util-concurrent-2.2.jar.

Thanks.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Tom Seelbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Seelbach updated AXIS2-3792:
--------------------------------

    Attachment: svnDiff.txt

Patch created against 1.4 branch (top directory) using this command:   svn diff -x -u . > svnDiff.txt

The patch adds the backport-util-concurrent-3.1.jar and the geronimo-stax-api_1.0_spec jar.  It also changes parent/pom.xml to change eclipse plugin version to 1.4.0.

I tested the plugin in Eclipse 3.3.1.1 - works correctly.

Note 1: the changes to build.xml were not tested.  Build.xml isn't used by the svn build process, looks like its just there for someone who wants to build with  ant.

Note 2 :   this is probably not the best patch for Trunk, since backport-util-concurrent and annogen jars are not needed.  I will try removing them and see if it works for Trunk.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Juan Manuel Gonzalez Amado (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611652#action_12611652 ] 

ajg057 edited comment on AXIS2-3792 at 7/8/08 8:35 AM:
---------------------------------------------------------------------------

I really appreciate how this issue  was resolved, but when trying to add Axis2_Codegen_Wizard_1.3.0 to 
Eclipse Platform
Version: 3.4.0
Build id: I20080617-2000

I get the same error when I would like to generate code from wsdl: "-java.lang.reflect.InvocationTargetException"

Any suggestions?

Thank you.

      was (Author: ajg057):
    I really appreciate how this issue  was resolved, but when trying to add to 
Eclipse Platform
Version: 3.4.0
Build id: I20080617-2000

I get the same error "-java.lang.reflect.InvocationTargetException"

Any suggestions?

Thank you.
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Mario L (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario L updated AXIS2-3792:
---------------------------

    Comment: was deleted

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Teng Qiu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595643#action_12595643 ] 

Teng Qiu commented on AXIS2-3792:
---------------------------------

hello, tom, i have copied backport-util-concurrent-3.1.jar into eclipse\plugins\Axis2_Codegen_Wizard_1.3.0\lib , but it is dosen't work... 

what do you mean by "into" the eclipse-codegen-wizard-1.4.zip? thx

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Tom Seelbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596073#action_12596073 ] 

Tom Seelbach commented on AXIS2-3792:
-------------------------------------

See the axis-user list:   http://www.nabble.com/Error-while-using-Axis2-Code-Generator-Plugin-for-Eclipse-td17147595.html

You may also need to  put this in plugin.xml: 
    <library name="lib/backport-util-concurrent-3.1.jar">
        <export name="*"/>
    </library>

Adding Backport works for some folks, but doesn't fix everything for others (including me)

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Albert Bupp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615634#action_12615634 ] 

albupp edited comment on AXIS2-3792 at 7/22/08 7:47 AM:
-------------------------------------------------------------

FWIW, here's my .02$.

The fix outlined by Amit did not work for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.

      was (Author: albupp):
    FWIW, here's my .02$.

The fix outlined by Amit did not work for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), using JDK v1.5.0_11.
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Sebastian Engel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625229#action_12625229 ] 

Sebastian Engel commented on AXIS2-3792:
----------------------------------------

I'm using Eclipse 3.4.0 Ganymede and Axis2 1.4.

I tried all given hints. It still didnt work. I experimented a bit more and here is my solution:

1) Shutdown eclipse

2) Copying the "backport-util-concurrent-3.1.jar" from "$AXIS2_HOME/lib/" to "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/lib/"

3) Adding the following into the "runtime" element "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml" :

      <library name="lib/backport-util-concurrent-3.1.jar">
         <export name="*"/>
      </library>

4) In "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml" changing the version attribute of the "plugin" element from "1.3.0" to "1.4.0". This results still in the same exception. But leave it.

5) Now changing the version also in the plugin's folder name from "Axis2_Codegen_Wizard_1.3.0" to "Axis2_Codegen_Wizard_1.4.0".

6) Start eclipse and try the plugin


In my case it worked then. Hope i could help you.


> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Albert Bupp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615634#action_12615634 ] 

albupp edited comment on AXIS2-3792 at 7/22/08 7:49 AM:
-------------------------------------------------------------

FWIW, here's my .02$.

The fix outlined by Amit did notwork for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.

      was (Author: albupp):
    FWIW, here's my .02$.

The fix outlined by Amit <b>did not</b> work for MyEclipse v5.1.1 (Eclipse v3.2.2), but <b>does</b> work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "barry alexander (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636124#action_12636124 ] 

barry alexander commented on AXIS2-3792:
----------------------------------------

Why does the axis2-eclipse-codegen-wizard_1.4.1.zip still missing backport-util-concurrent-3.1.jar and geronimo-stax-api_1.0_spec-1.0.1.jar?  Also why is the plugin floder still named Axis2_Codegen_Wizard_1.3.0?

I am new here but I thought these were checked into trunk awhile ago (May) by Tom Seelbach.

What am I missing here?

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Veena K. Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755645#action_12755645 ] 

Veena K. Pandit edited comment on AXIS2-3792 at 9/15/09 12:08 PM:
------------------------------------------------------------------

Jacob's suggestion helped.  But the wsdl is empty.  Any suggestions?

      was (Author: vkpandit):
    Jacob's suggestion helped.  But the xsdl is empty.  Any suggestions?
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Juan Manuel Gonzalez Amado (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611652#action_12611652 ] 

Juan Manuel Gonzalez Amado commented on AXIS2-3792:
---------------------------------------------------

I really appreciate how this issue  was resolved, but when trying to add to 
Eclipse Platform
Version: 3.4.0
Build id: I20080617-2000

I get the same error "-java.lang.reflect.InvocationTargetException"

Any suggestions?

Thank you.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "m_kton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746002#action_12746002 ] 

m_kton commented on AXIS2-3792:
-------------------------------

Got the same problem,
But with Axis2 v1.5, it's no longer possible to find backport-util-concurrent-3.1.jar in the \lib directory.

So I found the v1.4 in order to copy this jar and follow the Amit & Kuldeep issue.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608847#action_12608847 ] 

Jeff Barrett commented on AXIS2-3792:
-------------------------------------

I commited Tom's patch to Axis2 trunk, Committed revision 672331.  I did not commit any changes to the 1.4 branch.

I also put a zip of the fixed plugin built against trunk Revision: 671551 (again, note that it was built against trunk and NOT the 1.4 branch).

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Sergio Cervantes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613471#action_12613471 ] 

Sergio Cervantes commented on AXIS2-3792:
-----------------------------------------

How can I use the patch?

or 

Where is the fixed plugin (URL)?

Thanks.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Sandakith resolved AXIS2-3792.
-------------------------------------

    Resolution: Fixed

Thanks Jeff for committing this patch to the trunk. 
Resolving the issue.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Asit Jaiswal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717938#action_12717938 ] 

Asit Jaiswal commented on AXIS2-3792:
-------------------------------------

Yes Kuldeep is right,

follow the amit's steps than 
follow the kuldeep's step than it works fine

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "amit kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760522#action_12760522 ] 

amit kumar commented on AXIS2-3792:
-----------------------------------

me too managing to get out of this problem. 

I copied both the jar file (backport-util-concurrent.jar" and "geronimo-stax-api_1.0_spec-1.0.1.jar) and edited the plugin.xml 
<runtime>
      ...
      <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
         <export name="*"/>
      </library>
      <library name="lib/backport-util-concurrent-3.1.jar">
         <export name="*"/>
      </library>
      ...
    </runtime> 

 but the biggest and silliest mistake was that in my case jar name was "backport-util-concurrent.jar"  and edited (better say copied n paste  plugin.xml  )with <library name="lib/backport-util-concurrent-3.1.jar">
         <export name="*"/>
      </library>
gotcha !!! .. jar name mismatch.

after correcting the .xml  problem of mine get solved.So just make sure that the jar name should be same in plugin.xml.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Midhun Skariah Jacob (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652293#action_12652293 ] 

Midhun Skariah Jacob commented on AXIS2-3792:
---------------------------------------------

1. delete the plugin folder, restart Eclipse, update the lib in the plugin folder 
Copy 2 files: "backport-util-concurrent-3.1.jar" and "geronimo-stax-api_1.0_spec-1.0.1.jar" from <Axis2Home_Location>/lib folder to the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0\lib folder. 

2. Edit the plugins.xml file in the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0 folder as follows: 

   <runtime> 
      ... 
      <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar"> 
         <export name="*"/> 
      </library> 
      <library name="lib/backport-util-concurrent-3.1.jar"> 
         <export name="*"/> 
      </library> 
      ... 
    </runtime> 
then copy the plugin folder to eclipse plugin 
restarted Eclipse and it worked. 


 fix worked fine for me with Eclipse WTP (Europa) and jdk1.5.0_07  
  . 


> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Matthew Lee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625437#action_12625437 ] 

Matthew Lee commented on AXIS2-3792:
------------------------------------

I'm still experiencing this issue after downloading the Axis plug in today.  Either the link on the Axis 2 website for the plugin is not pointing to the correct  version or the patched version has not been made available yet.

I'm running Eclipse 3.3.2 with the latest patches applied using jre 1.6.0_07 and have tried all the steps people have suggested above.  Can someone either point me to a fixed version of the plug in or suggest anything else to try as a workaround?

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "David Lee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707792#action_12707792 ] 

David Lee commented on AXIS2-3792:
----------------------------------

This fix works for me also.
It seems this has been "Fixed" for a year now ... and its a tirivial fix.
Whats it going to take to make a build and get it released ? 

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Sandakith reassigned AXIS2-3792:
---------------------------------------

    Assignee: Lahiru Sandakith  (was: Amila Chinthaka Suriarachchi)

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Albert Bupp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615634#action_12615634 ] 

albupp edited comment on AXIS2-3792 at 7/22/08 7:49 AM:
-------------------------------------------------------------

FWIW, here's my .02$.

The fix outlined by Amit did not work for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.

      was (Author: albupp):
    FWIW, here's my .02$.

The fix outlined by Amit did notwork for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), both using JDK v1.5.0_11.
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Isabelle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616363#action_12616363 ] 

Isabelle commented on AXIS2-3792:
---------------------------------

Hi everybody I'm new here,

I've been reading how to apply the codegen patch but still haven't  been able to do the code-gen eclipse plugin work. Could you please detail the steps to follow in order to apply the patch? I've also been searching the zip of the fixed plugin, but haven't found it (can't find revision 
671551).
Please help me, I really need it to work!
Thanks in advance ;)


> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Veena K. Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755645#action_12755645 ] 

Veena K. Pandit commented on AXIS2-3792:
----------------------------------------

Jacob's suggestion helped.  But the xsdl is empty.  Any suggestions?

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Albert Bupp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615634#action_12615634 ] 

Albert Bupp commented on AXIS2-3792:
------------------------------------

FWIW, here's my .02$.

The fix outlined by Amit did not work for MyEclipse v5.1.1 (Eclipse v3.2.2), but does work for MyEclipse v6.0.1 (Eclipse v3.3.1), using JDK v1.5.0_11.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Daniel Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634281#action_12634281 ] 

Daniel Hall commented on AXIS2-3792:
------------------------------------

InvocationTargetException...

I'm using: Eclipse 3.3.0 and Java jre1.6.0_07

I experienced the "-java.lang.reflect.InvocationTargetException" when building a simple temperature conversion service. I made the changes outlined by Sebastian Engel with respect to "backport-util-concurrent-3.1.jar" at which point the Code Gen Wizard worked correctly.

Later, I tried to create a more complex service from a java source file that imported serveral database classes. When I attempted to run the AXIS2 Code Gen Wizard on this java source file I forgot to include the jar file for the database classes at the "Java Source/Classpath Selection" dialog. I experienced the "-java.lang.reflect.InvocationTargetException" again.

By starting Eclipse with the "-clean -console -consoleLog" I was able to see exactly what exception the code generator was throwing ("ClassNotFoundException..."). I went back, added the database jar file to the "Java Source/Classpath Selection" dialog and everything worked fine and WSDL was successfully created .



> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Karl Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683249#action_12683249 ] 

Karl Wang commented on AXIS2-3792:
----------------------------------

The above (Midhun Skariah Jacob) solution worked for me only after using a -clean option on the exe/shortcut

I'm on JDK 1.5.0_17 & Eclipse 3.4

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Mario L (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597139#action_12597139 ] 

Mario L commented on AXIS2-3792:
--------------------------------

*** DIRTY WORKAROUND *** DIRTY I SAID ***

Actually the thing with .claspath and plugin.xml seems to be a mess anyway, if you just compare what's in them with what's in /lib... but anyway. I edited the 2 files to reflect what is delivered, but it didn't help much. I'm no guru in such issues, so to get it working until somebody can figure out what happens with the classpath I did the following:
- extracted the contents of the backport-util-concurrent-3.1.jar (any unzip does the job, be careful to take the paths)
- removed the meta-inf directory
- copied the remaining extracted stuff into axis2-1.4.jar :)
And here we go. 
Please don't complain it's dirty, just fix the classpath issue if you really know how (I don't).

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Priority: Blocker
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Karl Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683249#action_12683249 ] 

Karl Wang edited comment on AXIS2-3792 at 3/18/09 5:05 PM:
-----------------------------------------------------------

The above solution worked for me only after using a -clean option on the exe/shortcut

I'm on JDK 1.5.0_17 & Eclipse 3.4

      was (Author: kaarukun):
    The above (Midhun Skariah Jacob) solution worked for me only after using a -clean option on the exe/shortcut

I'm on JDK 1.5.0_17 & Eclipse 3.4
  
> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "Christopher Chow (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623590#action_12623590 ] 

Christopher Chow commented on AXIS2-3792:
-----------------------------------------

Amit's fix worked fine for me with Eclipse v3.4.0 (Ganymede) and JDK1.6.0_05 on OSX 10.5.4. It wouldn't work with me just adding the jar's and updating plugin.xml. I had to delete the plugin folder, restart Eclipse, update the libraries in the plugin folder and then copy it back. Then I restarted Eclipse and it worked.

> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3792) codegen plugin fails due to missing jar

Posted by "kuldeep singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699227#action_12699227 ] 

kuldeep singh commented on AXIS2-3792:
--------------------------------------

It works for me  for Eclipse 3.4, Java 6, Plugin 1.3
only after following Christopher Chow's suggestions - 
"Amit's fix worked fine for me with Eclipse v3.4.0 (Ganymede) and JDK1.6.0_05 on OSX 10.5.4. It wouldn't work with me just adding the jar's and updating plugin.xml. I had to delete the plugin folder, restart Eclipse, update the libraries in the plugin folder and then copy it back. Then I restarted Eclipse and it worked. 
[ Show ยป ] Christopher Chow added a comment - 19/Aug/08 12:44 AM Amit's fix worked fine for me with Eclipse v3.4.0 (Ganymede) and JDK1.6.0_05 on OSX 10.5.4. It wouldn't work with me just adding the jar's and updating plugin.xml. I had to delete the plugin folder, restart Eclipse, update the libraries in the plugin folder and then copy it back. Then I restarted Eclipse and it worked. "


> codegen plugin fails due to missing jar
> ---------------------------------------
>
>                 Key: AXIS2-3792
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3792
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4
>         Environment: 1.4 of the codegen Eclipse plugin
>            Reporter: Kent Tong
>            Assignee: Lahiru Sandakith Gallege
>            Priority: Blocker
>         Attachments: svnDiff-head.txt, svnDiff.txt
>
>
> When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs. 
> I believe this is a bug introduced by the commit
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
> This change causes the plug in to use the ConcurrentHashMap class. That class is provided by 
> backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
> Here is the Eclipse console log:
>  
> Install location:
>     file:/c:/eclipse/
> Configuration file:
>     file:/c:/eclipse/configuration/config.ini loaded
> Configuration location:
>     file:/c:/eclipse/configuration/
> Framework located:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Framework classpath:
>     file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
> Splash location:
>     c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
> Debug options:
>     file:/C:/eclipse/.options not found
> Time to load bundles: 16
> Starting application: 1078
> !SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
>  
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> 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 -debug -consoleLog
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
> !MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
> i.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
> !MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
> l.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
> wst.wsdl.ui.internal.messages
>  
> !ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
> !MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
> st.wsdl.ui.internal.messages
> Application Started: 11000
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         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:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
>         at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
>  
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
>         at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
>         at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
>         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
>         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
>         ... 44 more
> Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>         at java.lang.ClassLoader.findClass(ClassLoader.java:358)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 55 more
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.