It's all about the answers!

Ask a question

SRVE0068E: An exception was thrown by one of the service methods of the servlet [equinoxbridgeservlet] in application [jts_war]


Toseef Anwar (6111) | asked Jan 06 '15, 9:19 a.m.
edited Jan 07 '15, 7:28 a.m. by Paul Slauenwhite (8.4k12)
I have installed WAS 8.5.5 and CLM 5.0.1

I have completed the WAS configuration and installed the war files.  I'm trying to hit

https://<hostname>:9443/jts/setup

When I try this I get the following error:

[1/6/15 8:05:29:001 CST] 000000ab ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An
exception was thrown by one of the service methods of the servlet [equinoxbridgeservlet] in application [jts_war]. Exc
ption created : [java.lang.IllegalStateException: Response already committed.
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:599)
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:656)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1301)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
        at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.initialize(BridgeFilter.java:319)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:196)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:642)
        at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.j
a:1784
)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
]
[1/6/15 8:05:29:047 CST] 000000ab FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incide
t emitted on C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\CLMAppSrv01\logs\ffdc\server1_6cb9ebc4_15.01.06_0
.05.29.0017137149622288802269.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -RE 1123
[1/6/15 8:05:29:047 CST] 000000ab LocalTranCoor E   WLTC0017E: Resources rolled back due to setRollbackOnly() being ca
led.
[1/6/15 8:05:29:047 CST] 000000ab webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Se
vlet Error]-[equinoxbridgeservlet]: java.lang.IllegalStateException: Response already committed.
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:599)
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:656)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1301)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
        at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.initialize(BridgeFilter.java:319)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:196)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:642)
        at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.j
a:1784
)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
 
[1/6/15 8:05:29:047 CST] 000000ab SRTServletRes W com.ibm.ws.webcontainer.srt.SRTServletResponse setStatus WARNING: Ca
not set status. Response already committed.
[1/6/15 8:05:29:047 CST] 000000ab SRTServletRes W com.ibm.ws.webcontainer.srt.SRTServletResponse addHeader SRVE8094W:
ARNING: Cannot set header. Response already committed.
[1/6/15 8:05:29:047 CST] 000000ab ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [jts_
ar] [/jts] [errorhandler]: Initialization successful.


I think the installation of the war itself was ok, the logs show:

[1/6/15 8:04:55:896 CST] 000000b0 ApplicationMg A   WSVR0200I: Starting application: jts_war
[1/6/15 8:04:55:896 CST] 000000b0 ApplicationMg A   WSVR0204I: Application: jts_war  Application build level: Unknown
[1/6/15 8:04:55:928 CST] 000000b0 webapp        I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loadi
ng Web Module: jts.war.
[1/6/15 8:04:55:943 CST] 000000b0 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new
 session context for application key default_host/jts
[1/6/15 8:04:56:178 CST] 000000b0 patch         I   Patch service started
[1/6/15 8:04:56:178 CST] 000000b0 patch         E   The system cannot find the path specified.
[1/6/15 8:04:56:865 CST] 000000b0 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [jts_w
ar] [/jts] [equinoxbridgeservlet]: Initialization successful.
[1/6/15 8:04:56:865 CST] 000000b0 webapp        W com.ibm.ws.webcontainer.webapp.WebApp initializeStaticFileHandler SRV
E0278E: Error while adding servlet mapping --> /*.
[1/6/15 8:04:56:865 CST] 000000b0 webcontainer  I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I:
Web Module null has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[1/6/15 8:04:57:021 CST] 000000b0 ApplicationMg A   WSVR0221I: Application started: jts_war


2 answers



permanent link
Rafael Pirolla (1628) | answered Aug 11 '16, 12:52 p.m.
Interested in this one, also.

permanent link
Christopher Robinson (571617) | answered Jan 07 '15, 10:33 a.m.
Hi Toseef,

Is this a fresh install or a reinstall?

You could attempt to clear the wstemp directory:

Clearing the wstemp, temp and logs from the profile directory is considered a safe operation. 
This has an effect of redeploy.  So, this is usually used to clear out any cached settings.  
It is done as a part of the upgrade process to ensure a clean upgrade :
To ensure a clean upgrade, also clear these WebSphere Application Server temp directories: $WAS_PROFILE_PATH/temp, $WAS_PROFILE_PATH/wstemp, $WAS_PROFILE_PATH/config/temp. In these directories, $WAS_PROFILE_PATH is the directory of the profile that is used by the CLM application being upgraded.

If the above does not help I would suggest having this investigated by the WAS support team. I would:
1.  Start with refreshing the logs from the profile directory:
    -  Stop the Server. 
    -  Move the contents of logs directory to a backup directory and then
    -  Clear the contents of logs directory.

2.  Move the contents of wstemp and temp from the profile to a Backup directory:

3.  Check installedApps\cell\ directory to see if it has all the apps listed,
from my installation the directory is at :
      C:\IBM\WebSphere80\AppServer\profiles\CLM405\installedApps\IBMDINESHNode03Cell

4.  Once the Server startup completes > Open WAS Admin Console > Enterprise Applications > Do all the applications show up in "Started" state?

5.  If all show started and still they are not accessible, you need to review the exact error message shown on the browser and the logs. 
Please make a copy of the logs at this stage and move it to a backup.

Send those set of logs to help investigate further.

Comments
Krzysztof Ka┼║mierczyk commented Feb 12 '16, 1:25 a.m.

Hi Toseef,
Can you let us know how you have finally resolved it?

Your answer


Register or to post your answer.