Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Cannot preview reports - Jetty not configured properly(Cannot preview reports - Jetty not configured properly)
Cannot preview reports - Jetty not configured properly [message #1802768] Fri, 15 February 2019 12:35
Todd Eidson is currently offline Todd EidsonFriend
Messages: 3
Registered: September 2013
Junior Member
I am trying to use Eclipse 2018-12 with Birt 4.7.0 on Fedora 29. When I try to Run -> View Report my browser opens up with an 'Unable to Connect' message. I get the following error log. I have tried the OpenJDK as well as Oracle JDKs 8 and 11. Does anyone know how I can fix this?

[code]
Feb 15, 2019 6:26:25 AM org.eclipse.jetty.osgi.boot.internal.serverfactory.DefaultJettyAtJettyHomeHelper startJettyAtJettyHome
WARNING: No default jetty created.
2019-02-15 06:26:25.219:INFO::main: Logging initialized @15574ms to org.eclipse.jetty.util.log.StdErrLog
2019-02-15 06:26:25.279:WARN:oejx.XmlConfiguration:main: Config error at <Call name="addConnector"><Arg>| <New class="org.eclipse.jetty.server.ServerConnector"><Arg><Ref refid="Server"/></Arg><Arg name="factories">| <Array type="org.eclipse.jetty.server.ConnectionFactory"><Item>| <New class="org.eclipse.jetty.server.HttpConnectionFactory"><Arg name="config"><Ref refid="httpConfig"/></Arg></New>| </Item></Array>| </Arg><Set name="host"><Property name="jetty.http.host"/></Set><Set name="port"><Property name="jetty.http.port" default="8080"/></Set><Set name="idleTimeout">300000</Set></New>| </Arg></Call> java.lang.reflect.InvocationTargetException in file:/home/todd/.eclipse/org.eclipse.platform_155965261_linux_gtk_x86_64/plugins/org.eclipse.birt.report.viewer_4.7.0.v201706222054/jettyhome/etc/jetty-selector.xml
Feb 15, 2019 6:26:25 AM org.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper configure
WARNING: Configuration error in file:/home/todd/.eclipse/org.eclipse.platform_155965261_linux_gtk_x86_64/plugins/org.eclipse.birt.report.viewer_4.7.0.v201706222054/jettyhome/etc/jetty-selector.xml
Feb 15, 2019 6:26:25 AM org.eclipse.jetty.osgi.boot.internal.serverfactory.JettyServerServiceTracker addingService
WARNING:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.eclipse.jetty.util.TypeUtil.construct(TypeUtil.java:663)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:784)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1235)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1140)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:862)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1239)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1140)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:768)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1235)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1140)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:274)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1368)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1343)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:706)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:417)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:358)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:259)
at org.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper.configure(ServerInstanceWrapper.java:172)
at org.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper.start(ServerInstanceWrapper.java:267)
at org.eclipse.jetty.osgi.boot.internal.serverfactory.JettyServerServiceTracker.addingService(JettyServerServiceTracker.java:63)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:112)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:923)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:865)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:472)
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:490)
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1007)
at org.eclipse.birt.report.viewer.utilities.ViewerWebServer.start(ViewerWebServer.java:51)
at org.eclipse.birt.report.viewer.utilities.AppServerWrapper.startJettyServer(AppServerWrapper.java:250)
at org.eclipse.birt.report.viewer.utilities.AppServerWrapper.start(AppServerWrapper.java:155)
at org.eclipse.birt.report.viewer.utilities.WebappAccessor.start(WebappAccessor.java:72)
at org.eclipse.birt.report.viewer.utilities.WebViewer.startWebApp(WebViewer.java:827)
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:1078)
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:1073)
at org.eclipse.birt.report.designer.ui.actions.PreviewSupport.preview(PreviewSupport.java:402)
at org.eclipse.birt.report.designer.ui.actions.PreviewSupport$3.widgetSelected(PreviewSupport.java:245)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1395)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1184)
at org.eclipse.jface.action.ActionContributionItem.lambda$8(ActionContributionItem.java:1260)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4472)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
Caused by: java.lang.IllegalArgumentException: Null HttpConfiguration
at org.eclipse.jetty.server.HttpConnectionFactory.<init>(HttpConnectionFactory.java:54)
at org.eclipse.jetty.server.HttpConnectionFactory.<init>(HttpConnectionFactory.java:45)
... 84 more

{/code]
Previous Topic:Row numbers for crosstab in a table
Next Topic:MongoDB BIRT Data Set error
Goto Forum:
  


Current Time: Tue Oct 15 20:58:54 GMT 2019

Powered by FUDForum. Page generated in 0.01462 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top