It's all about the answers!

Ask a question

Error while executing HiJazzWeb, HiJazzService examples


MAPAGILE MAPAGILE (81225) | asked Aug 04 '08, 6:45 a.m.
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():

One answer



permanent link
Matt Lavin (2.7k2) | answered Aug 04 '08, 8:34 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
It looks like you might be something similar to workitem 48795
(https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/48795).
If you try accessing the web ui, do you see a full exception (with
root cause) like the one included in the referenced bug?

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():

Your answer


Register or to post your answer.