Scout server not starting anymore [message #1402909] |
Fri, 18 July 2014 06:07  |
Eclipse User |
|
|
|
I guess I have somehow messed up my Scout configuration. The Server is not starting anymore and returns the following error:
org.osgi.framework.BundleException: Could not resolve module: com.ibm.ilm.prototype.server [32]
Unresolved requirement: Require-Bundle: com.bsiag.scout.rt.server.jdbc.mysql5117
I am not sure what I have changed before the error occured the first time. The full report from the log:
!SESSION 2014-07-18 12:03:01.429 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments: -product com.ibm.ilm.prototype.server.product
Command-line arguments: -product com.ibm.ilm.prototype.server.product -data C:\Users\IBM_ADMIN\Documents\Workspaces\Luna1/../runtime-prototype-server-dev.product -dev file:C:/Users/IBM_ADMIN/Documents/Workspaces/Luna1/.metadata/.plugins/org.eclipse.pde.core/prototype-server-dev.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.app 0 0 2014-07-18 12:03:02.819
!MESSAGE Product com.ibm.ilm.prototype.server.product could not be found.
!ENTRY com.ibm.ilm.prototype.server 4 0 2014-07-18 12:03:02.990
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.ibm.ilm.prototype.server [32]
Unresolved requirement: Require-Bundle: com.bsiag.scout.rt.server.jdbc.mysql5117
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1498)
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 com.ibm.ilm.prototype.server 2 0 2014-07-18 12:03:02.990
!MESSAGE Could not resolve module: com.ibm.ilm.prototype.server [32]
Unresolved requirement: Require-Bundle: com.bsiag.scout.rt.server.jdbc.mysql5117
!ENTRY org.eclipse.osgi 4 0 2014-07-18 12:03:02.990
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
I would be thankful if someone could help me with that issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Scout server not starting anymore [message #1693616 is a reply to message #1403175] |
Sun, 26 April 2015 16:11   |
Eclipse User |
|
|
|
I'm having a similar problem I just noticed, but I can reproduce it from a freshly downloaded, unmodified scout 4.4 project.
To be specific: my server's production launch configuration reports missing dependencies javax.servlet and javax.servlet.http (when I click on "Validate..." from the server .product configuration).

(edit: for the record, all of the bundles in the screenshot are missing the same two packages)
I take it this doesn't happen for the development .product config because there is a jetty implementation providing those packages. Question is: is it okay to have them missing for the production? Should I just ignore this weirdness, or could it be a symptom of something more sinister?
The thing is, when I export the project and deploy onto a local tomcat server, it works fine (server, rap and swing).
To recreate:
- download and unpack latest eclipse-scout-luna-SR2-win32
- create new workspace with new scout project called "com.test", using New Eclipse Luna target (4.4, current)
- open test-server.product (not the test-dev-server.product). click Validate... to see the dependency warning.
Attachment: error.png
(Size: 19.74KB, Downloaded 1035 times)
[Updated on: Sun, 26 April 2015 16:12] by Moderator
|
|
|
Re: Scout server not starting anymore [message #1693619 is a reply to message #1693616] |
Sun, 26 April 2015 16:35  |
Eclipse User |
|
|
|
As I have discussed it on the deploy on WildFly thread, those missing packages are OK.
It does'nt prevent the server application to be built and to be deployed.
My understanding is that if you deploy on tomcat, those packages will be provided by tomcat.
(it should be the same with other application server, but I have limited knowleged in this area).
.
|
|
|
Powered by
FUDForum. Page generated in 0.24935 seconds