[EJB/JBoss] - The method handlePageException(Exception) in the type PageCo
by wessloq
Anybody can help me?
i've some error and didn't display jsp page.
i'm trying using EJB, but i compiled it (EJB) with xdoclet didn't have any error.
this error i copy from my console eclipse:
12:17:05,906 INFO [A] Bound to JNDI name: queue/A
| 12:17:05,906 INFO [B] Bound to JNDI name: queue/B
| 12:17:05,906 INFO [C] Bound to JNDI name: queue/C
| 12:17:05,906 INFO [D] Bound to JNDI name: queue/D
| 12:17:05,906 INFO [ex] Bound to JNDI name: queue/ex
| 12:17:05,937 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 12:17:05,937 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 12:17:05,937 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 12:17:05,953 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 12:17:06,015 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
| 12:17:06,109 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 12:17:06,328 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 12:17:06,406 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 12:17:07,000 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
| 12:17:07,109 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
| 12:17:07,125 INFO [JkMain] Jk running ID=0 time=0/32 config=null
| 12:17:07,125 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 19s:282ms
| 12:17:27,000 INFO [EARDeployer] Init J2EE application: file:/D:/eclipse/tools/jboss-4.0.5.GA/server/default/deploy/ResearchApp.ear
| 12:17:27,890 INFO [EjbModule] Deploying Fakulti
| 12:17:27,968 INFO [EjbModule] Deploying ModID
| 12:17:27,984 INFO [EjbModule] Deploying PelajarPenyeliaOr
| 12:17:27,984 INFO [EjbModule] Deploying PelajarPenyelia
| 12:17:28,000 INFO [EjbModule] Deploying PelajarView
| 12:17:28,000 INFO [EjbModule] Deploying KodAktif
| 12:17:28,000 INFO [EjbModule] Deploying PelajarOr
| 12:17:28,015 INFO [EjbModule] Deploying PelajarDetailOr
| 12:17:28,015 INFO [EjbModule] Deploying PrintPage
| 12:17:28,203 INFO [ProxyFactory] Bound EJB Home 'Fakulti' to jndi 'ejb/Fakulti'
| 12:17:28,218 INFO [ProxyFactory] Bound EJB Home 'ModID' to jndi 'ejb/ModID'
| 12:17:28,234 INFO [ProxyFactory] Bound EJB Home 'PelajarPenyeliaOr' to jndi 'ejb/PelajarPenyeliaOr'
| 12:17:28,234 INFO [ProxyFactory] Bound EJB Home 'PelajarPenyelia' to jndi 'ejb/PelajarPenyelia'
| 12:17:28,250 INFO [ProxyFactory] Bound EJB Home 'PelajarView' to jndi 'ejb/PelajarView'
| 12:17:28,265 INFO [ProxyFactory] Bound EJB Home 'KodAktif' to jndi 'ejb/KodAktif'
| 12:17:28,265 INFO [ProxyFactory] Bound EJB Home 'PelajarOr' to jndi 'ejb/PelajarOr'
| 12:17:28,281 INFO [ProxyFactory] Bound EJB Home 'PelajarDetailOr' to jndi 'ejb/PelajarDetailOr'
| 12:17:28,296 INFO [ProxyFactory] Bound EJB Home 'PrintPage' to jndi 'ejb/PrintPage'
| 12:17:28,296 INFO [EJBDeployer] Deployed: file:/D:/eclipse/tools/jboss-4.0.5.GA/server/default/tmp/deploy/tmp11920ResearchApp.ear-contents/ResearchEJB.jar
| 12:17:28,375 INFO [TomcatDeployer] deploy, ctxPath=/research, warUrl=.../tmp/deploy/tmp11920ResearchApp.ear-contents/ResearchWeb-exp.war/
| 12:17:28,546 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
| 12:17:28,546 WARN [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jboss/cache/TreeCacheListener
| 12:17:28,562 INFO [EARDeployer] Started J2EE application: file:/D:/eclipse/tools/jboss-4.0.5.GA/server/default/deploy/ResearchApp.ear
| 12:18:30,312 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
| org.apache.jasper.JasperException: Unable to compile class for JSP
|
| Generated servlet error:
| The method handlePageException(Exception) in the type PageContext is not applicable for the arguments (Throwable)
|
|
| at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
| at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
| at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
| at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
| at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
| at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
| at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
| at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 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:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Unknown Source)
hope someone can help me, tq.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004449#4004449
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004449
19 years, 3 months
[JBoss Seam] - Re: Request for feedback
by fabio.ita04
Hi,
I'm just starting using pages.xml (first to declare page parameters for use with EntityHome, now because it looks simpler to define navigation rules). This "request for feedback post" inspired me new ideas and stimulated me to go deeper into pages.xml.
My questions relevant to this topic are:
1) For the simplest case the developer wants to define outcome mappings, is it possible to write this less verbose?
| <page view-id="/getDocument.jsp">
| <navigation outcome="success" redirect="/editDocument.jsp"/>
| <navigation outcome="not-found" redirect="/404.jsp"/>
| </page>
|
2) in the booking example, Hotel selection is made via action listener with hotel as parameter
#{booking.selectHotel(hotel)}
selectHotel returns an outcome that resolves next view, that we know it is "hotel" that redirects to hotel.xhtml. It would be nice if it could be placed only in pages.xml (no returning outcome in the action listener):
| <page view-id="/hotels.xhtml">
| <navigation action="#{booking.selectHotel(hotel)}">
| <redirect view-id="/hotel.xhtml" />
| </navigation>
| </page>
|
in other words, navigation action will be able to resolve action listener with parameters?
Thanx,
Fábio.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004447#4004447
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004447
19 years, 3 months
[JBoss Seam] - Basic questions about conversations
by svadu
Hi,
I guess the answer to my question may be simple so please excuse me in advance for asking possibly stupid questions :)
My general problem with conversations is that I have to use @Begin(join=true) everywhere I want to make the extend the conversation life-time otherwise I am getting illegal state exception if I encounter a @begin.
So the first question is whether the purpose of @begin (without join=true) is to provide some kind of error control (preventing issues with the back button?). If so what would be a typical use-case other than just getting an error screen or forwarding to a exception page?
And the second question which is also kind of related to the first one is that I would like to know whether it is possible to end a conversation upon leaving a page other than calling a certain method? I am curious about that because if I want to start a brand new conversation (without multiplying nested or joining existing conversations) when I navigate to another page (for example by using a bookmark or navigating in history).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004432#4004432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004432
19 years, 3 months