Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes getting error while trying to approve data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting error while trying to approve data" Watch "getting error while trying to approve data" New topic
Author

getting error while trying to approve data

christy jerald
Greenhorn

Joined: Jun 19, 2009
Posts: 2
[size=24][size=18]Hi my application takes data from the PDA. and it has to be approved by the admin to get it updated in the project management software. But I am getting error after approving the data. It was going to the default error page.So i deleted that default error page to view the error. The error is as follows
[/size][/size]
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Activity could not be found!
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:308)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)

root cause

java.lang.Exception: Activity could not be found!
integration.Manager.loadActivity(Manager.java:105)
myproject.torque.TaskPeer.updatePrimaveraTaskActuals(Unknown Source)
org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:274)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
Apache Tomcat/5.0.30

[size=24]And i check the tomcat log file .it is as follows[/size]

2009-06-19 19:13:05 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2009-06-19 19:13:06 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2009-06-19 18:14:18 StandardWrapperValve[org.apache.jsp.processing.approvals_jsp]: Servlet.service() for servlet org.apache.jsp.processing.approvals_jsp threw exception
java.lang.Exception: Activity could not be found!
at integration.Manager.loadActivity(Manager.java:105)
at myproject.torque.TaskPeer.updatePrimaveraTaskActuals(Unknown Source)
at org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:274)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
please can anyone help
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

java.lang.Exception: Activity could not be found!
at integration.Manager.loadActivity(Manager.java:105)

Is the integration.Manager written by you or you are using some third party apis?
This is the exception that you have to deal with. Looks like an application error.

Moving to intermediate forum.


apigee, a better way to API!
christy jerald
Greenhorn

Joined: Jun 19, 2009
Posts: 2
Hi my application takes data from the PDA. and it has to be approved by the admin to get it updated in the project management software. But I am getting error after approving the data. It was going to the default error page.So i deleted that default error page to view the error. The error is as follows
[/size][/size]
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Activity could not be found!
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:308)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)

root cause

java.lang.Exception: Activity could not be found!
integration.Manager.loadActivity(Manager.java:105)
myproject.torque.TaskPeer.updatePrimaveraTaskActuals(Unknown Source)
org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:274)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
Apache Tomcat/5.0.30

And i check the tomcat log file .it is as follows

2009-06-19 19:13:05 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2009-06-19 19:13:06 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2009-06-19 19:13:06 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2009-06-19 18:14:18 StandardWrapperValve[org.apache.jsp.processing.approvals_jsp]: Servlet.service() for servlet org.apache.jsp.processing.approvals_jsp threw exception
java.lang.Exception: Activity could not be found!
at integration.Manager.loadActivity(Manager.java:105)
at myproject.torque.TaskPeer.updatePrimaveraTaskActuals(Unknown Source)
at org.apache.jsp.processing.approvals_jsp._jspService(approvals_jsp.java:274)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at myproject.servlet.filters.SessionCleanerFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
please can anyone help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting error while trying to approve data
 
Similar Threads
error while deploying in Tomcat 5
getting a 500 error
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
Servlet.service() for servlet jsp threw exception
java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind