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

Error executing HiJazzWeb, HiJazzService examples

Hi,

I am getting the following error while trying HiJazzWeb and HiJazz Service tutorial examples.


"com.ibm.team.repository.servlet" was unable to instantiate class "com.ibm.team.repository.servlet.TeamServerServlet".


Here is the copy of stack trace-

osgi> 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.
11:02:23.360 INFO org.mortbay.log.LogImpl.add(LogImpl.java:109) >21> added org.mortbay.log.OutputStreamLogSink@59ec59ec
11:02:23.344 INFO org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >16> Version Jetty/5.1.x
11:02:23.375 INFO org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >24> Checking Resource aliases
11:02:24.061 INFO org.mortbay.util.Container.start(Container.java:74) >22> Started org.mortbay.jetty.servlet.WebApplicationHandler@532a532a
11:02:24.139 INFO org.mortbay.util.Container.start(Container.java:74) >17> Started WebApplicationContext

11:02:24.170 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9080
11:02:25.745 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9443
11:02:25.745 INFO org.mortbay.util.Container.start(Container.java:74) >15> Started org.mortbay.jetty.Server@375a375a
11:02:38.338 INFO org.mortbay.util.Container.start(Container.java:74) >08> Started HttpContext
11:02:45.289 WARN!! org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577) >11> EXCEPTION
javax.servlet.ServletException: Plug-in "com.ibm.team.repository.servlet" was unable to instantiate class "com.ibm.team.repository.servlet.TeamServerServlet".
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:198)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
getRootCause():

0 votes



One answer

Permanent link
To avoid two conversations, I'll try to answer the duplicate version of
this post in the jazz.extend forum.

mapagile_tcs wrote:
Hi,

I am getting the following error while trying HiJazzWeb and HiJazz
Service tutorial examples.


"com.ibm.team.repository.servlet" was unable to instantiate
class "com.ibm.team.repository.servlet.TeamServerServlet".


Here is the copy of stack trace-

osgi> 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.
11:02:23.360 INFO
org.mortbay.log.LogImpl.add(LogImpl.java:109) >21> added
org.mortbay.log.OutputStreamLogSink@59ec59ec
11:02:23.344 INFO
org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >16
Version Jetty/5.1.x
11:02:23.375 INFO
org.mortbay.util.FileResource.<clinit>(FileResource.java:60)
24> Checking Resource aliases
11:02:24.061 INFO
org.mortbay.util.Container.start(Container.java:74) >22
Started org.mortbay.jetty.servlet.WebApplicationHandler@532a532a
11:02:24.139 INFO
org.mortbay.util.Container.start(Container.java:74) >17
Started WebApplicationContext

11:02:24.170 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9080
11:02:25.745 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9443
11:02:25.745 INFO
org.mortbay.util.Container.start(Container.java:74) >15
Started org.mortbay.jetty.Server@375a375a
11:02:38.338 INFO
org.mortbay.util.Container.start(Container.java:74) >08
Started HttpContext
11:02:45.289 WARN!!
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577)
11> EXCEPTION
javax.servlet.ServletException: Plug-in
"com.ibm.team.repository.servlet" was unable to instantiate
class "com.ibm.team.repository.servlet.TeamServerServlet".
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:198)

at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)

at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)

at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)

at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
getRootCause():

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: Aug 04 '08, 6:46 a.m.

Question was seen: 3,569 times

Last updated: Aug 04 '08, 6:46 a.m.

Confirmation Cancel Confirm