Results 1 to 5 of 5

Thread: exception

  1. #1
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    41
    Rep Power
    0

    Default exception

    hi all,
    i use glassfish3 and struts2, spring, jpa hibernate and i keep seeing these messages in glassfish logs :

    [#|2010-12-10T12:20:01.188+0200|WARNING|glassfish3.0.1|javax. enterprise.system.container.web.com.sun.enterprise .web|_ThreadID=25;_ThreadName=http-thread-pool-80-(2);
    |StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.sendE rror(ResponseFacade.java:486)
    at org.apache.struts2.dispatcher.Dispatcher.sendError (Dispatcher.java:752)
    at org.apache.struts2.dispatcher.Dispatcher.serviceAc tion(Dispatcher.java:505)
    at org.apache.struts2.dispatcher.ng.ExecuteOperations .executeAction(ExecuteOperations.java:77)
    at org.apache.struts2.dispatcher.ng.filter.StrutsPrep areAndExecuteFilter.doFilter(StrutsPrepareAndExecu teFilter.java:91)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPip eline.invoke(PESessionLockingStandardPipeline.java :85)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:185)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    at org.apache.catalina.connector.CoyoteAdapter.doServ ice(CoyoteAdapter.java:322)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:226)
    at com.sun.enterprise.v3.services.impl.ContainerMappe r.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(P rocessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(Proce ssorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(Process orTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute (DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtoc olFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(Htt pProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(Pr otocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(Selec tionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:6 9)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doW ork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run (AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:636)
    |#]



    and i do not know which is the cause.

    appreciate some help.

    thanks

  2. #2
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    10

    Default

    You did not post your class code yet.So, not able to find where bug is.
    Mak
    (Living @ Virtual World)

  3. #3
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    41
    Rep Power
    0

    Default

    i do not know what class generates this exception. I have here a simple CRUD application built with struts2 spring jpa and hibernate.

  4. #4
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    10

    Default

    Its because you did dispatch your request before completion
    Mak
    (Living @ Virtual World)

  5. #5
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    41
    Rep Power
    0

    Default

    i have an ajax code there that call a method every second. i suspect that method...

Similar Threads

  1. Replies: 4
    Last Post: 10-25-2010, 08:42 PM
  2. Need help on Exception
    By Deon in forum New To Java
    Replies: 7
    Last Post: 02-11-2010, 06:46 PM
  3. How can I fix this exception?
    By Abder-Rahman in forum Java 2D
    Replies: 1
    Last Post: 12-21-2009, 03:04 AM
  4. exception
    By thamizhisai in forum Advanced Java
    Replies: 9
    Last Post: 05-30-2008, 09:47 AM
  5. Replies: 1
    Last Post: 03-08-2008, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •