Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-03-20T03:59:44Z by Shawn_Jiang
SystemAdmin
SystemAdmin
2233 Posts
ACCEPTED ANSWER

Pinned topic Trying to add a new DataSource in Web Experience Factory

‏2013-03-04T22:07:17Z |
I've been trying to add a datasource to create a SQL Provider.

I already create and test (it worked!) the databasePool on the WASCE console.

I already add the <dependencie>'s <resource-ref>'s on the geronimo-web.xml and web.xml.

Already publish without erasing this parameters (beacuse they used to disapear when I publish)

But now, I can't find the way to see the option of my new datasuorc. Either, I don't get the options I use to get (jdbc/myDataSource)

or I get this error when I click the fetch DataSource Names

class java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration
org.apache.xerces.parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration
Plug-in Provider: IBM
Plug-in Name: Web Experience Factory Designer UI
Plug-in ID: com.bowstreet.designer.ui
Version: 8.0.0

java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseInputStream(FormTextModel.java:125)
at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseTaggedText(FormTextModel.java:111)
at org.eclipse.ui.forms.widgets.FormText.setText(FormText.java:673)
at org.eclipse.ui.internal.cheatsheets.views.ViewItem.addItem(ViewItem.java:212)
at org.eclipse.ui.internal.cheatsheets.views.ViewItem.<init>(ViewItem.java:100)
at org.eclipse.ui.internal.cheatsheets.views.CoreItem.<init>(CoreItem.java:60)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetPage.createPart(CheatSheetPage.java:86)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.initCheatSheetView(CheatSheetViewer.java:898)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.setContent(CheatSheetViewer.java:1142)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.setInput(CheatSheetViewer.java:1241)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.setInput(CheatSheetViewer.java:1215)
at org.eclipse.ui.internal.cheatsheets.views.CheatSheetView.setInput(CheatSheetView.java:217)
at org.eclipse.ui.cheatsheets.OpenCheatSheetAction.run(OpenCheatSheetAction.java:147)
at com.bowstreet.designer.eclipse.CoordinatorCallback.openCheatSheet(CoordinatorCallback.java:189)
at com.bowstreet.builders.webapp.ui.SqlCallCoordinator.setDataSourceNameChoices(SqlCallCoordinator.java:167)
at com.bowstreet.builders.webapp.ui.SqlCallCoordinator.handleFetchDataSourceNamesChange(SqlCallCoordinator.java:1106)
at com.bowstreet.builders.webapp.ui.SqlCallCoordinator.processInputChange(SqlCallCoordinator.java:1284)
at com.bowstreet.editor.uitools.coordinator.BuilderEditorCoordinatorController.processInputChange(BuilderEditorCoordinatorController.java:448)
at com.bowstreet.designer.builders.CoordinatorRunner$CoordinatorContextInternal.processInputChange(CoordinatorRunner.java:666)
at com.bowstreet.designer.builders.CoordinatorRunner.builderWidgetChanged(CoordinatorRunner.java:269)
at com.bowstreet.designer.builders.widgets.AbstractBuilderWidget.notifyAllListeners(AbstractBuilderWidget.java:220)
at com.bowstreet.designer.builders.widgets.AbstractButtonWidget.widgetSelected(AbstractButtonWidget.java:101)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

Updated on 2013-03-20T03:59:44Z at 2013-03-20T03:59:44Z by Shawn_Jiang
  • Shawn_Jiang
    Shawn_Jiang
    154 Posts
    ACCEPTED ANSWER

    Re: Trying to add a new DataSource in Web Experience Factory

    ‏2013-03-20T03:59:44Z  in response to SystemAdmin
    Hello, I don't understand. It seems you are encountering several different issues at the same time.
    1, What's your WAS CE version ?
    2, What's database are you trying to create the DataSource with ?
    3, What's your application structure, is there any xerces or xml parser in your application ?
    4, Can you upload some snapshot or logs for the issues you reported. More details, more easy for us to help.