Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Infocenter WAR with Photon
Infocenter WAR with Photon [message #1794245] Tue, 28 August 2018 00:58 Go to next message
Eric Johnson is currently offline Eric JohnsonFriend
Messages: 1
Registered: August 2018
Junior Member
I am trying to create an infocenter WAR using Photon as a base. I followed the procedure documented - which does not mention that the features.xml file contains two outdated packages.
I snooped around online to figure out how to get the packages updated and put together what should have been a functional WAR.
On running it I got a BridgeServlet error. The log contained the following:

eclipse.buildId=unknown
java.version=1.8.0_162
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

!ENTRY org.eclipse.osgi 4 0 2018-08-24 18:03:35.005
!MESSAGE Bundle org.eclipse.update.configurator@start not found.

!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2018-08-24 18:03:35.038
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.http.servletbridge [2]
Unresolved requirement: Import-Package: javax.servlet; version="2.3.0"

at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.equinox.http.registry 4 0 2018-08-24 18:03:35.040
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.http.registry [3]
Unresolved requirement: Import-Package: javax.servlet; version="2.3.0"

at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.help.webapp 4 0 2018-08-24 18:03:35.041
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.help.webapp [4]
Unresolved requirement: Import-Package: com.ibm.icu.text; version="3.8.0"

at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 4 0 2018-08-24 18:03:35.041
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.http.servletbridge_1.1.0.v20180120-0803.jar was not resolved.

!ENTRY org.eclipse.osgi 4 0 2018-08-24 18:03:35.042
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.http.registry_1.1.500.v20171221-2204.jar was not resolved.

!ENTRY org.eclipse.osgi 4 0 2018-08-24 18:03:35.042
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.help.webapp_3.9.100.v20180528-0907.jar was not resolved.


I added the update configurator and tried older versions of javax.servlet and com.ibm.icu from a working infocenter, but got the same results.

Any suggestions on what I am missing?
Re: Infocenter WAR with Photon [message #1794410 is a reply to message #1794245] Thu, 30 August 2018 11:14 Go to previous message
developer K is currently offline developer KFriend
Messages: 1
Registered: August 2018
Junior Member
I am also trying to deploy Infocenter in container.Same Issue facing like Invalid Servlet version Number.Actually this version details they mentioned in manifest files in jars.
I tried to edit manifest files javax.servlet version from 2.3 to [2.3,5.0.0).

After that i didn't get any errors from debug console and also still /help/index.jsp is showing 404..

Can you please let me know any extra steps have to do to run /help/index.jsp.
Previous Topic:Confused about making a Java code template
Next Topic:Editing JSP unresponsive
Goto Forum:
  


Current Time: Tue Mar 19 06:20:02 GMT 2024

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

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

Back to the top