Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Creating a comonenet on top of JFS

Hi;
Sorry in advance about the long message

i'm trying to follow the JazzTalkWalkthrough tutorial to add my own component to the Jazz server (but using JFS instead of RTC2.0 or 1.0), The code compiles fine then when i Launch the server in remote mode, and use the browser to point to jazz/service i can see my service URI (also i can see the JAZZ Talk Service and many other services), but when i click on the on my service URI or on the JazzTalk service URI i get an an error saying that the service is not avliable (same thing happen even if i clicked on com.ibm.team.dashboard.common.internal.service.IDashboardRestServic which make me think it might be an issue in the way i launched the server, i just used the Jazz talk launch from the jazz talk example, I needed to add few extra plugins to get it to start though (anothr thing i notice is when i start using the launch configuration and point to jazz/admin i get a JS error saying that dojo is unknown, this does not happen if i start the server from the command line)

I also tried to drop the jar files for both the common and service plugins in the jazz server plugins folder (did not really know where i should put it so i copied it to both \server\update-site\plugins and \server\tomcat\webapps\jazz\WEB-INF\eclipse\plugins

and started the server from the command line, but in this case i did not even see my service listed in the jazz/service page
any suggestions ?


the top portion of the page i see when i use jazz/servie



General Information
Uptime: 96062 ms; 1 minutes, 36 seconds.
Server Version: !UNKNOWN!:!UNKNOWN!
Marshalling Version: 0.2
Current userid: GUEST
Proxy Services: Yes
Services Available



* com.example.hellojazz.common.service.IHelloJazzService
* com.example.jazztalk.common.IJazzTalkService
* com.ibm.team.dashboard.common.internal.service.IDashboardImageService
* com.ibm.team.dashboard.common.internal.service.IDashboardRestService
* com.ibm.team.dashboard.common.internal.service.IDashboardService
* com.ibm.team.dashboard.viewlets.service.internal.description.IDescriptionService


here is the error i get when i click on the tazz talk service

HTTP ERROR: 503

CRJAZ1173I Service "com.example.jazztalk.common.IJazzTalkService" is not available.

RequestURI=/jazz/service/com.example.jazztalk.common.IJazzTalkService/

Powered by Jetty://

0 votes



4 answers

Permanent link
Any more information in the logs?

Hi;
Sorry in advance about the long message

i'm trying to follow the JazzTalkWalkthrough tutorial to add my own component to the Jazz server (but using JFS instead of RTC2.0 or 1.0), The code compiles fine then when i Launch the server in remote mode, and use the browser to point to jazz/service i can see my service URI (also i can see the JAZZ Talk Service and many other services), but when i click on the on my service URI or on the JazzTalk service URI i get an an error saying that the service is not avliable (same thing happen even if i clicked on com.ibm.team.dashboard.common.internal.service.IDashboardRestServic which make me think it might be an issue in the way i launched the server, i just used the Jazz talk launch from the jazz talk example, I needed to add few extra plugins to get it to start though (anothr thing i notice is when i start using the launch configuration and point to jazz/admin i get a JS error saying that dojo is unknown, this does not happen if i start the server from the command line)

I also tried to drop the jar files for both the common and service plugins in the jazz server plugins folder (did not really know where i should put it so i copied it to both \server\update-site\plugins and \server\tomcat\webapps\jazz\WEB-INF\eclipse\plugins

and started the server from the command line, but in this case i did not even see my service listed in the jazz/service page
any suggestions ?


the top portion of the page i see when i use jazz/servie



General Information
Uptime: 96062 ms; 1 minutes, 36 seconds.
Server Version: !UNKNOWN!:!UNKNOWN!
Marshalling Version: 0.2
Current userid: GUEST
Proxy Services: Yes
Services Available



* com.example.hellojazz.common.service.IHelloJazzService
* com.example.jazztalk.common.IJazzTalkService
* com.ibm.team.dashboard.common.internal.service.IDashboardImageService
* com.ibm.team.dashboard.common.internal.service.IDashboardRestService
* com.ibm.team.dashboard.common.internal.service.IDashboardService
* com.ibm.team.dashboard.viewlets.service.internal.description.IDescriptionService


here is the error i get when i click on the tazz talk service

HTTP ERROR: 503

CRJAZ1173I Service "com.example.jazztalk.common.IJazzTalkService" is not available.

RequestURI=/jazz/service/com.example.jazztalk.common.IJazzTalkService/

Powered by Jetty://

0 votes


Permanent link
there are no more info in the log, i used to see some errors about "Derby" in the consol, but when i folloed the steps suggeted on the Wiki page to fix it (the license thing) they disappeared (the fact that i get the same error when i even try to click on the IDashboardRestService service make me think it is a problemin the wya i run the erver in remote mode, the one of the few services that work is IDashboardImageService, i'm not sure if this help or not

this is what i see in my dev enviroment console when i start the erver in remote mode

log4j:WARN No appenders could be found for logger (com.ibm.team.server.embedded.jetty.auth.Activator).
log4j:WARN Please initialize the log4j system properly.
13:58:37.375 INFO org.mortbay.log.LogImpl.add(LogImpl.java:109) >22> added org.mortbay.log.OutputStreamLogSink@6c2896
13:58:37.359 INFO org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >17> Version Jetty/5.1.x
13:58:37.390 INFO org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >23> Checking Resource aliases
13:58:38.250 INFO org.mortbay.util.Container.start(Container.java:75) >23> Started org.mortbay.jetty.servlet.WebApplicationHandler@229ed4
13:58:48.343 INFO org.mortbay.util.Container.start(Container.java:75) >18> Started WebApplicationContext
13:58:48.359 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >18> Started SocketListener on 0.0.0.0:9080
13:58:48.937 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >18> Started SocketListener on 0.0.0.0:9443
13:58:48.937 INFO org.mortbay.util.Container.start(Container.java:75) >16> Started org.mortbay.jetty.Server@1cb2795





Any more information in the logs?

Hi;
Sorry in advance about the long message

i'm trying to follow the JazzTalkWalkthrough tutorial to add my own component to the Jazz server (but using JFS instead of RTC2.0 or 1.0), The code compiles fine then when i Launch the server in remote mode, and use the browser to point to jazz/service i can see my service URI (also i can see the JAZZ Talk Service and many other services), but when i click on the on my service URI or on the JazzTalk service URI i get an an error saying that the service is not avliable (same thing happen even if i clicked on com.ibm.team.dashboard.common.internal.service.IDashboardRestServic which make me think it might be an issue in the way i launched the server, i just used the Jazz talk launch from the jazz talk example, I needed to add few extra plugins to get it to start though (anothr thing i notice is when i start using the launch configuration and point to jazz/admin i get a JS error saying that dojo is unknown, this does not happen if i start the server from the command line)

I also tried to drop the jar files for both the common and service plugins in the jazz server plugins folder (did not really know where i should put it so i copied it to both \server\update-site\plugins and \server\tomcat\webapps\jazz\WEB-INF\eclipse\plugins

and started the server from the command line, but in this case i did not even see my service listed in the jazz/service page
any suggestions ?


the top portion of the page i see when i use jazz/servie



General Information
Uptime: 96062 ms; 1 minutes, 36 seconds.
Server Version: !UNKNOWN!:!UNKNOWN!
Marshalling Version: 0.2
Current userid: GUEST
Proxy Services: Yes
Services Available



* com.example.hellojazz.common.service.IHelloJazzService
* com.example.jazztalk.common.IJazzTalkService
* com.ibm.team.dashboard.common.internal.service.IDashboardImageService
* com.ibm.team.dashboard.common.internal.service.IDashboardRestService
* com.ibm.team.dashboard.common.internal.service.IDashboardService
* com.ibm.team.dashboard.viewlets.service.internal.description.IDescriptionService


here is the error i get when i click on the tazz talk service

HTTP ERROR: 503

CRJAZ1173I Service "com.example.jazztalk.common.IJazzTalkService" is not available.

RequestURI=/jazz/service/com.example.jazztalk.common.IJazzTalkService/

Powered by Jetty://

0 votes


Permanent link
Hi, do you still have the problem? Or were you able to install your service successfully? If you haven't, could you please post your plugin.xml? We might be able to see what's wrong with the service declaration.

0 votes


Permanent link
I am having the same problem. I am trying to develop a component using jazz. Even my service is unavailable along with services like IDashboardRestService, IMemberInfoService, etc.

How can this error be removed?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 12 '09, 9:38 a.m.

Question was seen: 9,467 times

Last updated: Jul 12 '09, 9:38 a.m.

Confirmation Cancel Confirm