ProxyServlet Error
We are running the application using launch config, and then trying to open "http://localhost:9080/jazz/web" in IE.
There we are getting following error:
"ProxyServlet: /jazz/service/com.ibm.team.repository.service.internal.webuiInitializer.IWebUIInitializerRestService/initializationData".
Kindly look into it.
There we are getting following error:
"ProxyServlet: /jazz/service/com.ibm.team.repository.service.internal.webuiInitializer.IWebUIInitializerRestService/initializationData".
Kindly look into it.
4 answers
Could you describe how you created your launch configuration? Is there
any output in the console that would help us diagnose the problem?
mapagile_tcs wrote:
any output in the console that would help us diagnose the problem?
mapagile_tcs wrote:
We are running the application using launch config, and then trying to
open "http://localhost:9080/jazz/web" in IE.
There we are getting following error:
"ProxyServlet:
/jazz/service/com.ibm.team.repository.service.internal.webuiInitializer.IWebUIInitializerRestService/initializationData".
Kindly look into it.
The above error was solved but now I am getting the following error.
Here is the copy of stack trace.
17:53:43.557 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9080
17:53:46.526 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9443
17:53:46.526 INFO org.mortbay.util.Container.start(Container.java:74) >15> Started org.mortbay.jetty.Server@6f466f46
17:54:01.810 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():
HTTP ERROR: 500
Plug-in "com.ibm.team.repository.servlet" was unable to instantiate class "com.ibm.team.repository.servlet.TeamServerServlet".
RequestURI=/jazz/web
Powered by Jetty://
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.
17:53:42.135 INFO org.mortbay.log.LogImpl.add(LogImpl.java:109) >21> added org.mortbay.log.OutputStreamLogSink@277e277e
17:53:42.103 INFO org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >16> Version Jetty/5.1.x
17:53:42.197 INFO org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >24> Checking Resource aliases
17:53:43.182 INFO org.mortbay.util.Container.start(Container.java:74) >22> Started org.mortbay.jetty.servlet.WebApplicationHandler@3a923a92
17:53:43.494 INFO org.mortbay.util.Container.start(Container.java:74) >17> Started WebApplicationContext
17:53:43.557 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9080
17:53:46.526 INFO org.mortbay.http.SocketListener.start(SocketListener.java:205) >17> Started SocketListener on 0.0.0.0:9443
17:53:46.526 INFO org.mortbay.util.Container.start(Container.java:74) >15> Started org.mortbay.jetty.Server@6f466f46
17:54:01.810 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():
It sounds like your launch configurations classpath is missing some
projects. Is the com.ibm.team.repository.servlet project on the classpath?
mapagile_tcs wrote:
17:53:43.557 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9080
17:53:46.526 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9443
17:53:46.526 INFO
org.mortbay.util.Container.start(Container.java:74) >15
Started org.mortbay.jetty.Server@6f466f46
17:54:01.810 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():
projects. Is the com.ibm.team.repository.servlet project on the classpath?
mapagile_tcs wrote:
The above error was solved but now I am getting the following error.
HTTP ERROR: 500
Plug-in "com.ibm.team.repository.servlet" was unable to
instantiate class
"com.ibm.team.repository.servlet.TeamServerServlet".
RequestURI=/jazz/web
Powered by Jetty://
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.
17:53:42.135 INFO
org.mortbay.log.LogImpl.add(LogImpl.java:109) >21> added
org.mortbay.log.OutputStreamLogSink@277e277e
17:53:42.103 INFO
org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >16
Version Jetty/5.1.x
17:53:42.197 INFO
org.mortbay.util.FileResource.<clinit>(FileResource.java:60)
24> Checking Resource aliases
17:53:43.182 INFO
org.mortbay.util.Container.start(Container.java:74) >22
Started org.mortbay.jetty.servlet.WebApplicationHandler@3a923a92
17:53:43.494 INFO
org.mortbay.util.Container.start(Container.java:74) >17
Started WebApplicationContext
17:53:43.557 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9080
17:53:46.526 INFO
org.mortbay.http.SocketListener.start(SocketListener.java:205)
17> Started SocketListener on 0.0.0.0:9443
17:53:46.526 INFO
org.mortbay.util.Container.start(Container.java:74) >15
Started org.mortbay.jetty.Server@6f466f46
17:54:01.810 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():