Home » Eclipse Projects » Remote Application Platform (RAP) » rap war not runs on Tiny Java Web Server .
| |
Re: rap war not runs on Tiny Java Web Server . [message #658699 is a reply to message #658517] |
Wed, 09 March 2011 14:07 |
Heiko Messages: 7 Registered: March 2011 |
Junior Member |
|
|
The line "Servlet overriden by rogatkin.web.WebAppServlet" makes me thoughtful too, but I find it at all webapplications.
But I found starting problems at some other war-files too. But it not to easy to found the reason, because there are no logs.
I'm not sure, if the org.eclipse.equinox.servletbridge.BridgeServlet is called or not.
Holger ask for services out put. Here it is:
osgi> services
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.id=1}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl, service.vendo
r=Eclipse.org - Equinox, service.id=2}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
org.eclipse.equinox.common_3.6.0.v20110110 [14]
org.eclipse.core.runtime_3.7.0.v20110110 [12]
org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
org.eclipse.core.jobs_3.5.100.v20101008 [11]
org.eclipse.equinox.app_1.3.100.v20110110 [13]
org.eclipse.equinox.registry_3.5.100.v20101101 [19]
org.eclipse.equinox.http.registry_1.1.100.v20101101 [15]
{org.osgi.service.permissionadmin.PermissionAdmin, org.osgi.service.condpermadmin.ConditionalPermissionAdmin}={service.ranking=2147483647, service.pid=0.org.ecl
ipse.osgi.internal.permadmin.SecurityAdmin, service.vendor=Eclipse.org - Equinox, service.id=3}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.StartLevelManager, service.vendor=E
clipse.org - Equinox, service.id=4}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions, service.vendor=
Eclipse.org - Equinox, service.id=5}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.common_3.6.0.v20110110 [14]
org.eclipse.core.runtime_3.7.0.v20110110 [12]
org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
org.eclipse.core.jobs_3.5.100.v20101008 [11]
org.eclipse.equinox.registry_3.5.100.v20101101 [19]
org.eclipse.core.contenttype_3.4.100.v20101203-1034 [5]
org.eclipse.help_3.5.0.v20100524 [22]
{java.lang.ClassLoader}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.ContextFinder, service.vendor=Eclipse.org - Equinox
, equinox.classloader.type=contextClassLoader, service.id=6}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory, service.ve
ndor=Eclipse.org - Equinox, service.id=9}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.app_1.3.100.v20110110 [13]
org.eclipse.core.databinding.observable_1.3.0.I20100824-0800 [8]
org.eclipse.core.databinding_1.4.0.I20110111-0800 [6]
org.eclipse.equinox.common_3.6.0.v20110110 [14]
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentIn
fo, service.vendor=Eclipse.org - Equinox, service.id=19}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.core.runtime_3.7.0.v20110110 [12]
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager, service.vendor=
Eclipse.org - Equinox, service.id=20}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverter
Impl, service.vendor=Eclipse.org - Equinox, service.id=21}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider
, service.vendor=Eclipse.org - Equinox, service.id=22}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizati
onImpl, service.vendor=Eclipse.org - Equinox, service.id=23}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.common_3.6.0.v20110110 [14]
{org.osgi.service.log.LogReaderService, org.eclipse.equinox.log.ExtendedLogReaderService}={service.id=7}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.common_3.6.0.v20110110 [14]
org.eclipse.core.runtime_3.7.0.v20110110 [12]
{org.osgi.service.log.LogService, org.eclipse.equinox.log.ExtendedLogService}={service.id=8}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.common_3.6.0.v20110110 [14]
org.eclipse.core.runtime_3.7.0.v20110110 [12]
{javax.xml.parsers.SAXParserFactory}={service.id=11}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{javax.xml.parsers.DocumentBuilderFactory}={service.id=12}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area, service.id=13}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area, service.id=14}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
org.eclipse.equinox.common_3.6.0.v20110110 [14]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area, service.id=15}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
org.eclipse.equinox.app_1.3.100.v20110110 [13]
org.eclipse.equinox.registry_3.5.100.v20101101 [19]
org.eclipse.core.runtime_3.7.0.v20110110 [12]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area, service.id=16}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.common_3.6.0.v20110110 [14]
{org.eclipse.osgi.service.datalocation.Location}={type=eclipse.home.location, service.id=17}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bundleresource], service.id=18}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=25}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={service.id=26}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.osgi.service.framework.CompositeBundleFactory}={service.id=27}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, service.id=28}
Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110110 [14]
No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=29}
Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110110 [14]
No bundles using service.
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=[platform], service.id=30}
Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110110 [14]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={service.id=31}
Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [12]
No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=32}
Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=33}
Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=34}
Registered by bundle: org.eclipse.core.jobs_3.5.100.v20101008 [11]
No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=35}
Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20101101 [19]
Bundles using service:
org.eclipse.equinox.preferences_3.4.0.v20110124-0830 [18]
org.eclipse.equinox.app_1.3.100.v20110110 [13]
org.eclipse.core.contenttype_3.4.100.v20101203-1034 [5]
org.eclipse.equinox.http.registry_1.1.100.v20101101 [15]
org.eclipse.equinox.registry_3.5.100.v20101101 [19]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=36}
Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20101101 [19]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=main.thread, application.name=, application.visible=true, application.container=o
rg.eclipse.equinox.app, service.pid=de.dresearch.test.config_app.application, application.launchable=true, application.locked=false, application.location=initia
l@reference:file:plugins/de.dresearch.test.config_app_1.0.0.201103070902.jar/, service.id=37}
Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110110 [13]
Bundles using service:
org.eclipse.equinox.app_1.3.100.v20110110 [13]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=main.thread, application.name=, application.visible=false, application.container=
org.eclipse.equinox.app, service.pid=org.eclipse.equinox.app.error, application.launchable=true, application.locked=false, application.location=initial@referenc
e:file:plugins/org.eclipse.equinox.app_1.3.100.v20110110.jar/, service.id=38}
Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110110 [13]
Bundles using service:
org.eclipse.equinox.app_1.3.100.v20110110 [13]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=39}
Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110110 [13]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.eclipse.osgi.service.localization.LocaleProvider}={service.id=40}
Registered by bundle: org.eclipse.rap.ui.workbench_1.4.0.20110201-1534 [36]
Bundles using service:
org.eclipse.equinox.registry_3.5.100.v20101101 [19]
{org.eclipse.core.runtime.content.IContentTypeManager}={service.id=41}
Registered by bundle: org.eclipse.core.contenttype_3.4.100.v20101203-1034 [5]
No bundles using service.
{org.eclipse.equinox.http.registry.HttpContextExtensionService}={service.id=42}
Registered by bundle: org.eclipse.equinox.http.registry_1.1.100.v20101101 [15]
Bundles using service:
org.eclipse.rap.ui.workbench_1.4.0.20110201-1534 [36]
{org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService}={service.vendor=Eclipse.org, service.description=Equinox Servlet Bridg
e, commandline=-registryMultiLanguage -console 7890 -consolelog, enableFrameworkControls=false, service.id=43}
Registered by bundle: org.eclipse.equinox.http.servlet_1.1.100.v20101204 [16]
Bundles using service:
org.eclipse.equinox.http.registry_1.1.100.v20101101 [15]
org.eclipse.rap.ui.workbench_1.4.0.20110201-1534 [36]
{org.eclipse.osgi.framework.console.ConsoleSession}={service.id=44}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.osgi_3.7.0.v20110124-0830 [0]
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648, performance=true, service.pid=46org.eclipse.core.runtime.internal.adaptor.EclipseLog
Factory$1, service.vendor=Eclipse.org - Equinox, service.id=10}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
Bundles using service:
org.eclipse.equinox.app_1.3.100.v20110110 [13]
org.eclipse.core.databinding.observable_1.3.0.I20100824-0800 [8]
org.eclipse.core.databinding_1.4.0.I20110111-0800 [6]
org.eclipse.equinox.common_3.6.0.v20110110 [14]
{org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, osgi.signedcontent.trust.engine=org.eclipse.osgi, service.id=24}
Registered by bundle: org.eclipse.osgi_3.7.0.v20110124-0830 [0]
No bundles using service.
Hope it will help.
Heiko
|
|
| | | |
Re: rap war not runs on Tiny Java Web Server . [message #659076 is a reply to message #659060] |
Thu, 10 March 2011 21:38 |
|
Hi Heiko,
I don't know how to configure logging on the ljws. I just downloaded the
latest version (WebServer-181.zip), unzipped, copied some war into the
webapps folder and started. Then I found these log files with some usable
content, but this relates to my application, yours may differ. In my
web.xml, the -console and -consolelog parameter are not set.
I don't think that the bridge servlet is logging something. It probably
returns a 404 because there's no servlet registered at this URL. But
since the workbench bundle is obviously using the HTTP service (as seen
in your services output), I suppose there is some kind of exception
happening somewhere in between and you need to find it...
Good luck, Ralf
--
Ralf Sternberg
Twitter: @ralfstx
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| | | |
Goto Forum:
Current Time: Tue Sep 24 13:40:32 GMT 2024
Powered by FUDForum. Page generated in 0.04589 seconds
|