It's all about the answers!

Ask a question

Problems running RTC


Bastian Baist (61) | asked Dec 17 '09, 11:04 a.m.
Hi

I installed RTC server and client like here: https://jazz.net/wiki/bin/view/Main/ComponentDevelopmentSetup
and i set up my debug environment described in here:
https://jazz.net/wiki/bin/view/Main/JazzServerRunAndDebug


On my computer, the first start of Jazz (https://jazz.net/wiki/pub/Main/JazzServerRunAndDebug/JFS-10-RTC-20.launch) works fine. But when restarting the server, there's n error "org.osgi.service.http.NamespaceException: The alias '/setup' is already in use." (Full trace later) This causes, the ajax environment isn't ready/running. So I couldn't log in, because the redirection didn't worked.
Now I changed the java environment to sun's 1.6 and then back to the eclipse jre, with the result, that it runs,but always with error output.

So the question, whats wrong, or what had I done wrong before?

the error trace:
14:14:37,301 ERROR com.ibm.team.server.embedded.jetty.Activator - A WebApp has already been registered with a context root of
14:14:37,317 ERROR com.ibm.team.server.embedded.jetty.Activator - The WebApp provided by bundle was not registered
14:14:37,317 ERROR com.ibm.team.server.embedded.jetty.auth.Activator - Failed to locate teamserver.properties
14:14:37.348 INFO org.mortbay.log.LogImpl.add(LogImpl.java:109) >21> added org.mortbay.log.OutputStreamLogSink@1f27f74
14:14:37.332 INFO org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >16> Version Jetty/5.1.x
14:14:37.363 INFO org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >22> Checking Resource aliases
14:14:38.019 INFO org.mortbay.util.Container.start(Container.java:75) >22> Started org.mortbay.jetty.servlet.WebApplicationHandler@2909a1
14:14:38.066 INFO org.mortbay.util.Container.start(Container.java:75) >17> Started WebApplicationContext
14:14:38.082 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9080
14:14:38.660 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9443
14:14:38.660 INFO org.mortbay.util.Container.start(Container.java:75) >15> Started org.mortbay.jetty.Server@3f4547
14:14:49.470 INFO org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >17> Version Jetty/5.1.x
14:14:49.595 INFO org.mortbay.util.Container.start(Container.java:75) >21> Started org.eclipse.equinox.http.jetty.internal.Servlet25Handler@12263d6
14:14:49.595 INFO org.mortbay.util.Container.start(Container.java:75) >18> Started HttpContext
14:14:49.595 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >18> Started SocketListener on 0.0.0.0:80
14:14:49.595 INFO org.mortbay.util.Container.start(Container.java:75) >16> Started org.mortbay.http.HttpServer@fbc0bd
14:18:35,098 ERROR ax.internal.framework.OSGiJazzAjaxFrameworkContext - NamespaceException while registering servlet for alias
org.osgi.service.http.NamespaceException: The alias '/setup' is already in use.
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.checkAlias(ProxyServlet.java:169)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:132)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:59)
at net.jazz.ajax.internal.framework.OSGiJazzAjaxFrameworkContext.registerServlet(OSGiJazzAjaxFrameworkContext.java:79)
at net.jazz.ajax.internal.JazzAjaxFrameworkServiceImpl.registerAjaxApplications(JazzAjaxFrameworkServiceImpl.java:386)
at net.jazz.ajax.internal.JazzAjaxFrameworkServiceImpl.registerAjaxApplication(JazzAjaxFrameworkServiceImpl.java:343)
at net.jazz.ajax.internal.registry.WebUIRegistryReader.start(WebUIRegistryReader.java:241)
at net.jazz.ajax.internal.Activator.addingService(Activator.java:66)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at net.jazz.ajax.internal.Activator.start(Activator.java:48)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at net.jazz.ajax.service.internal.Activator.<init>(Activator.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:980)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
2009-12-17 14:18:45.829 - FrameworkManager: An error event has occurred involving the bundle "initial@reference:file:plugins/org.eclipse.help.ui_3.3.102.v20081014_34x.jar/ ".
org.osgi.framework.BundleException: Exception in org.eclipse.help.ui.internal.HelpUIPlugin.start() of bundle org.eclipse.help.ui.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.help.ui.internal.HelpUIPlugin.start(HelpUIPlugin.java:108)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
... 10 more

2 answers



permanent link
Jose Miguel Ordax Cassa (2.4k2126100) | answered Dec 18 '09, 1:53 a.m.
I found these videos very helpful to setup the dev environment:

https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample#Videos

Hope it helps,

Chemi.

permanent link
Juan Manzano (6) | answered Nov 21 '10, 8:42 a.m.
I have the same problem.
The funcionality of the JST seems a total mess.
Versions, respositories,guides, clients, servers, nothing works properly.
I spent 4 days trying to make a prototype for ACL configuration and i am totally frustated. The guides are wrong and i followed them line by line like 10 times. Pls stop puting them on public internet site and do it when its finally tested. Right now Its just doesnt working.

Your answer


Register or to post your answer.