2 Replies Latest reply: Jan 7, 2013 10:16 AM by Kathar RSS

    Error registering a WSDL

    Kathar
      I am trying to register a wsdl with "https" protocol on OEG and getting below error:

      java.lang.NoClassDefFoundError: org/apache/commons/lang/time/DateFormatUtils
           at com.vordel.client.manager.filter.cert.CertificateDetailsPanel.setInput(CertificateDetailsPanel.java:251)
           at com.vordel.client.manager.filter.cert.CertDetailsDialog.createDialogArea(CertDetailsDialog.java:52)
           at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:752)
           at org.eclipse.jface.window.Window.create(Window.java:426)
           at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
           at org.eclipse.jface.window.Window.open(Window.java:785)
           at com.vordel.client.rcp.common.util.TrustManagerExt.checkServerTrusted(TrustManagerExt.java:85)
           at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1198)
           at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136)
           at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
           at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
           at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
           at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
           at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
           at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
           at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
           at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createURLInputStream(URIConverterImpl.java:688)
           at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:546)
           at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1152)
           at com.vordel.wsdl.emf.EMFModelProvider.read(EMFModelProvider.java:85)
           at com.vordel.wsdl.emf.EMFModelProvider.read(EMFModelProvider.java:109)
           at com.vordel.wsdl.WSDLDocument.<init>(WSDLDocument.java:114)
           at com.vordel.client.swt.wsdl.SelectWSDLOperationsPage.loadWSDL(SelectWSDLOperationsPage.java:253)
           at com.vordel.client.swt.wsdl.WSDLWizardDialog.nextPressed(WSDLWizardDialog.java:31)
           at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
           at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
           at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
           at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
           at org.eclipse.jface.window.Window.open(Window.java:796)
           at com.vordel.client.manager.actions.services.AddWebServiceGUIProcessor.addWebService(AddWebServiceGUIProcessor.java:121)
           at com.vordel.client.manager.actions.services.AddWebServiceAction.runAction(AddWebServiceAction.java:26)
           at com.vordel.client.manager.actions.ManagerEntityAction.run(ManagerEntityAction.java:34)
           at com.vordel.client.gui.policystudio.editor.reusable.ReusableEditor$MasterDetailsPage$3.linkActivated(ReusableEditor.java:371)
           at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:228)
           at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:177)
           at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:316)
           at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:300)
           at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:119)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
           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 com.vordel.client.gui.policystudio.Application.start(Application.java:42)
           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)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.time.DateFormatUtils
           at java.lang.ClassLoader.findClass(ClassLoader.java:358)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
           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:247)
           ... 69 more

      Any direction or help to debug this is highly appreciated. Thanks!

      Kathar
        • 1. Re: Error registering a WSDL
          knutejoh2
          There seems to be a missing jar in the latest policy studio distribution. commons-lang-2.1 jar is missing from the %POLICY_STUDIO_HOME%\plugins\com.vordel.client.gui.policystudio.ext_6.3.1\lib directory, where POLICY_STUDIO_HOME is your installation directory. Download the commons-lang library from http://archive.apache.org/dist/commons/lang/binaries/ and at it to the direcoty above (remember to get the 2.1 version. This should fix the error.
          • 2. Re: Error registering a WSDL
            Kathar
            Thank you, it worked.