It's all about the answers!

Ask a question

Hi Jazz launch

Praveen Nayak (1642) | asked Nov 05 '09, 4:53 a.m.

I am trying the HiJazzWeb tutorial with RTC

It instructs using a web launch configuration from JazzServerRunAndDebug -
The only web launch I see there is JazzServer-Beta2-WebUI.launch, there are a lot of validation errors and throws up a lot of errors on using.
The article also insists that I "Do not use the Add Required Bundles" button when running a launch. How should I identify the right bundles to use?

Also, is there any article on launch files with Jazz, to know which bundles need to be included when developing components on Jazz?


3 answers

permanent link
Adam Archer (83639) | answered Nov 09 '09, 4:48 p.m.
I think the launch you should be using is one under the "Current Launches" section called "JFS-10-RTC-20.launch". Here is a direct link:

Adam Archer
Jazz Web UI Developer

permanent link
Praveen Nayak (1642) | answered Nov 10 '09, 4:23 a.m.
Hi Adam,

That was the first launch I tried - manually added all the plugins that validate button complained about, and when I run the launch, and login via the web browser, I get this in the eclipse console.

osgi> 14:01:13.375 INFO [Start Level Event Dispatcher] org.mortbay.log.LogImpl.add( >21> added org.mortbay.log.OutputStreamLogSink@1239780
14:01:13.359 INFO [Start Level Event Dispatcher] org.mortbay.http.HttpServer.doStart( >16> Version Jetty/5.1.x
14:01:13.390 INFO [Start Level Event Dispatcher] org.mortbay.util.FileResource.<clinit>( >22> Checking Resource aliases
14:01:13.750 INFO [Start Level Event Dispatcher] org.mortbay.util.Container.start( >22> Started org.mortbay.jetty.servlet.WebApplicationHandler@e73783
14:01:29.109 INFO [Start Level Event Dispatcher] org.mortbay.util.Container.start( >17> Started WebApplicationContext[/jazz,/jazz]
14:01:29.109 INFO [Start Level Event Dispatcher] org.mortbay.http.SocketListener.start( >17> Started SocketListener on
14:01:29.562 INFO [Start Level Event Dispatcher] org.mortbay.http.SocketListener.start( >17> Started SocketListener on
14:01:29.562 INFO [Start Level Event Dispatcher] org.mortbay.util.Container.start( >15> Started org.mortbay.jetty.Server@e637f0
14:02:17,218 [SslListener1-2] INFO uration.OverridablePropertyFileServerConfiguration - CRJAZ1363I Loading configuration from "".
14:02:18,671 [SslListener1-2] INFO .repository.service.internal.rdb.ConnectionFactory - CRJAZ1365I Attempting Initial Database Connection Using
Db Name/Location: C:\Work\Jazz\RTC-ExpressC-Full-\jazz\client\eclipse/../../server/repositoryDB
14:02:21,984 [SslListener1-2] INFO .repository.service.internal.rdb.ConnectionFactory - CRJAZ1364I Initial database connection successful
Db Product Name: Apache Derby
Db Product Version: - (677131)
Db URL: jdbc:derby:C:\Work\Jazz\RTC-ExpressC-Full-\jazz\client\eclipse/../../server/repositoryDB
Jdbc Driver Name: Apache Derby Embedded JDBC Driver
Jdbc Driver Version: - (677131)
14:02:23,468 [SslListener1-2] INFO - CRJAZ8192I: Fulltext Index Location: C:\Work\Jazz\RTC-ExpressC-Full-\jazz\server\fulltext_index
14:02:23,484 [SslListener1-2] WARN - CRJAZ8191E: The fulltext index location property (indexLocation) is not set
14:02:24,296 [SslListener1-2] WARN ComponentVersionMismatch - CRJAZ1041I The component is installed in the database but is not present in the server:
14:02:27,015 [SslListener1-2] WARN - CRJAZ1181I Security notice during initialization: Allowing ADMIN user access. It is recommended that you disable the ADMIN user and create a real user with administrative rights.
14:02:27,046 [SslListener1-2] WARN - CRJAZ1182I Security notice during initialization: Allowing identity assertion. This should only be enabled at development time.

But when I pick a project area I created using any of the process templates - Cloudburst Sample Process / Scrum / Simple Team Process, the HI Jazz link (from the last screenshot in the sample) doesn't show up.

Also, when I click the Add Viewlet button, which gives a list of available viewlets, no viewlets are loaded, and I this message is shown instead:
Failed to discover any repositories.

and the eclipse console has some more errors:
14:48:43,828 [SslListener1-1] ERROR ry.service.internal.discovery.RootDiscoveryService  - CRJAZ1343E Unable to load services file because no file was configured or found relative to the server configuration.  

14:48:43,859 [SslListener1-1] WARN - Unhandled Exception CRJAZ1343E Unable to load services file because no file was configured or found relative to the server configuration.
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(
at $Proxy86.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.mortbay.jetty.servlet.ServletHolder.handle(
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
at org.mortbay.jetty.servlet.ServletHandler.handle(
at org.mortbay.http.HttpContext.handle(
at org.mortbay.jetty.servlet.WebApplicationContext.handle(
at org.mortbay.http.HttpContext.handle(
at org.mortbay.http.HttpServer.service(
at org.mortbay.http.HttpConnection.service(
at org.mortbay.http.HttpConnection.handleNext(
at org.mortbay.http.HttpConnection.handle(
at org.mortbay.http.SocketListener.handleConnection(
at org.mortbay.util.ThreadedServer.handle(
at org.mortbay.util.ThreadPool$

Are there still some more plugins I need to add?

Appreciate your help.


permanent link
Praveen Nayak (1642) | answered Nov 12 '09, 1:03 a.m.

A little debugging later I find out how to fix my problem, I hope this helps someone else struggling to Hello the web world.

Run -> Run Configurations...-> OSGI Framework-> JFS-10-RTC-20-1-> Arguments-> VM Arguments:
You will already find some entries there. In a new line add the following:


Replace "C:/Work/Jazz/RTC-ExpressC-Full-" with your JAZZ install folder.

Also confirm that the files services.xml & are present in the "conf/jazz" folder.

The launches provided are incomplete and I hope they get updated soon.


Your answer

Register or to post your answer.