[JBoss AOP] - Re: create method of my LocalHome throws undeclaredthrowable
by mokello
This is me again:
I forgot to say some things that may be essential. I have checked the ejb-jar.xml file to see the jndi-local declaration, and it matches my jboss.xml file's representation of the local interface. They have all been set right. Nothing changed in the representation from the time they were working to the time it failed. Here is my jboss.xml and my ejb-jar.xml file code:
jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<enterprise-beans>
<!--
To add beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called jboss-beans.xml that contains
the , and <message-driven></message-driven>
markup for those beans.
-->
<ejb-name>TimeCollection</ejb-name>
<local-jndi-name>TimeCollectionLocal</local-jndi-name>
<method-attributes>
</method-attributes>
<!--
write a merge file jboss-webservices.ent for webservice-description
-->
</enterprise-beans>
<!--
To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called jboss-assembly-descriptor.xml that contains
the <assembly-descriptor></assembly-descriptor> markup.
-->
<assembly-descriptor>
<!-- message destinations -->
<!--
To specify additional message-destination elements, add a file in the merge
directory called jboss-message-destinations.ent that contains them.
-->
</assembly-descriptor>
<resource-managers>
</resource-managers>
<!--
| for container settings, you can merge in jboss-container.xml
| this can contain <invoker-proxy-bindings/> and <container-configurations/>
-->
ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<![CDATA[No Description.]]>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<![CDATA[Description for TimeCollection]]>
<display-name>Name for TimeCollection</display-name>
<ejb-name>TimeCollection</ejb-name>
<local-home>com.kailaz.timecollection.interfaces.TimeCollectionLocalHome</local-home>
com.kailaz.timecollection.interfaces.TimeCollectionLocal
<ejb-class>com.kailaz.timecollection.ejb.TimeCollectionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<!--
To add session beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called session-beans.xml that contains
the markup for those beans.
-->
<!-- Entity Beans -->
<!--
To add entity beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called entity-beans.xml that contains
the markup for those beans.
-->
<!-- Message Driven Beans -->
<!--
To add message driven beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called message-driven-beans.xml that contains
the <message-driven></message-driven> markup for those beans.
-->
</enterprise-beans>
<!-- Relationships -->
<!-- Assembly Descriptor -->
<!--
To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains
the <assembly-descriptor></assembly-descriptor> markup.
-->
<assembly-descriptor >
<!--
To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.
-->
<!-- method permissions -->
<!--
To specify additional method-permission elements, add a file in the merge
directory called ejb-method-permissions.ent that contains them.
-->
<!-- transactions -->
<!--
To specify additional container-transaction elements, add a file in the merge
directory called ejb-container-transactions.ent that contains them.
-->
<!-- finder transactions -->
<!-- message destinations -->
<!--
To specify additional message-destination elements, add a file in the merge
directory called ejb-message-destinations.ent that contains them.
-->
<!-- exclude list -->
<!--
To specify an exclude-list element, add a file in the merge directory
called ejb-exclude-list.xml that contains it.
-->
</assembly-descriptor>
</ejb-jar>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980349#3980349
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980349
19 years, 6 months
[JBoss AOP] - create method of my LocalHome throws undeclaredthrowableExce
by mokello
Hello Guys,
I need help developing using JBoss and JBossEclipseIDE 1.5: My application was running well until one morning I logged on and deployed it again. Just using a single Bean with a lot of calls to business logic outside of the bean, I got an exception on creation of my Local interface: UndeclaredThrowableException. Which happens at the point of calling the ejb.create() method of the LocalHome method. It's buffled me, and need help. Tried googling the problem, but there doesn't seem to be a solution. It may be a bug, and I have only been developing J2EE applications for the last 6 months.
Here is the stack trace:
12:21:39,016 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
12:21:39,219 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:21:39,328 INFO [JkMain] Jk running ID=0 time=0/140 config=null
12:21:39,438 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 24s:797ms
12:22:34,078 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.0.3/server/default/deploy/TimeCollection.ear
12:22:35,875 INFO [EjbModule] Deploying TimeCollection
12:22:36,250 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TimeCollection' to jndi 'TimeCollectionLocal'
12:22:36,406 INFO [EJBDeployer] Deployed: file:/C:/jboss/jboss-4.0.3/server/default/tmp/deploy/tmp8148TimeCollection.ear-contents/TimeCollection
12:22:36,594 INFO [TomcatDeployer] deploy, ctxPath=/TimeCollection, warUrl=.../tmp/deploy/tmp8148TimeCollection.ear-contents/TimeCollection-exp.
12:22:36,875 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
12:22:37,031 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
12:22:37,172 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
12:22:37,359 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/jboss-4.0.3/server/default/deploy/TimeCollection.ear
12:24:28,672 ERROR [LogInterceptor] EJBException in method: public abstract com.kailaz.timecollection.interfaces.TimeCollectionLocal com.kailaz.t
llection.interfaces.TimeCollectionLocalHome.create() throws javax.ejb.CreateException, causedBy:
java.lang.reflect.UndeclaredThrowableException
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:189)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:80)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
at org.jboss.ejb.Container.invoke(Container.java:894)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy50.create()Lcom.kailaz.timecollection.interfaces.TimeCollectionLocal;(Unknown Source)
at com.kailaz.timecollection.servlets.GenerateReportServlet.initialiseHandlerContext(GenerateReportServlet.java:44)
at com.kailaz.timecollection.servlets.GenerateReportServlet.service(GenerateReportServlet.java:67)
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:81)
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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/Unmarshaller
at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
at org.jboss.ejb.Container.createBeanClassInstance(Container.java:586)
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:168)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:80)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
at org.jboss.ejb.Container.invoke(Container.java:894)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy50.create()Lcom.kailaz.timecollection.interfaces.TimeCollectionLocal;(Unknown Source)
at com.kailaz.timecollection.servlets.GenerateReportServlet.initialiseHandlerContext(GenerateReportServlet.java:44)
at com.kailaz.timecollection.servlets.GenerateReportServlet.service(GenerateReportServlet.java:67)
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:81)
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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
12:24:31,078 INFO [STDOUT] javax.ejb.EJBException: Could not instantiate bean; CausedByException is:
null
12:24:31,156 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:191)
12:24:31,203 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:
12:24:31,250 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
12:24:31,281 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
12:24:31,328 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
12:24:31,375 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
12:24:31,422 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
12:24:31,453 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
12:24:31,500 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
12:24:31,547 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
12:24:31,594 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
12:24:31,625 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:894)
12:24:31,672 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
12:24:31,719 INFO [STDOUT] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
12:24:31,766 INFO [STDOUT] at $Proxy50.create()Lcom.kailaz.timecollection.interfaces.TimeCollectionLocal;(Unknown Source)
12:24:31,797 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.initialiseHandlerContext(GenerateReportServlet.java:4
12:24:31,844 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.service(GenerateReportServlet.java:67)
12:24:31,891 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
12:24:31,922 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
12:24:31,969 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:32,016 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
12:24:32,062 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
12:24:32,094 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:32,141 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
12:24:32,188 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
12:24:32,234 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
12:24:32,266 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
12:24:32,312 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
12:24:32,359 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
12:24:32,406 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
12:24:32,438 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
12:24:32,484 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
12:24:32,531 INFO [STDOUT] java.lang.reflect.UndeclaredThrowableException
12:24:32,578 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:189)
12:24:32,609 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:
12:24:32,656 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
12:24:32,703 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
12:24:32,750 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
12:24:32,781 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
12:24:32,828 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
12:24:32,875 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
12:24:32,922 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
12:24:32,953 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
12:24:33,000 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
12:24:33,047 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:894)
12:24:33,094 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
12:24:33,125 INFO [STDOUT] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
12:24:33,172 INFO [STDOUT] at $Proxy50.create()Lcom.kailaz.timecollection.interfaces.TimeCollectionLocal;(Unknown Source)
12:24:33,219 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.initialiseHandlerContext(GenerateReportServlet.java:4
12:24:33,266 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.service(GenerateReportServlet.java:67)
12:24:33,297 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
12:24:33,344 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
12:24:33,391 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:33,422 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
12:24:33,469 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
12:24:33,516 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:33,562 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
12:24:33,594 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
12:24:33,641 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
12:24:33,688 INFO [STDOUT] Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/Unmarshaller
12:24:33,734 INFO [STDOUT] at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
12:24:33,766 INFO [STDOUT] at org.jboss.ejb.Container.createBeanClassInstance(Container.java:586)
12:24:33,812 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:168)
12:24:33,859 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:
12:24:33,906 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
12:24:33,938 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
12:24:33,984 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:110)
12:24:34,031 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
12:24:34,078 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
12:24:34,109 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
12:24:34,156 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
12:24:34,203 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
12:24:34,250 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
12:24:34,281 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:894)
12:24:34,328 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
12:24:34,375 INFO [STDOUT] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
12:24:34,422 INFO [STDOUT] at $Proxy50.create()Lcom.kailaz.timecollection.interfaces.TimeCollectionLocal;(Unknown Source)
12:24:34,453 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.initialiseHandlerContext(GenerateReportServlet.java:4
12:24:34,500 INFO [STDOUT] at com.kailaz.timecollection.servlets.GenerateReportServlet.service(GenerateReportServlet.java:67)
12:24:34,547 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
12:24:34,594 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
12:24:34,641 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:34,688 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
12:24:34,719 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
12:24:34,766 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
12:24:34,812 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
12:24:34,844 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
12:24:34,891 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
12:24:34,938 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
12:24:34,984 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
12:24:35,047 INFO [STDOUT] Date: null AccountId=null
12:24:35,078 INFO [STDOUT] In the report Servlet!!
12:24:35,125 INFO [STDOUT] Error: null
Could any body help me? My Boss has put so much pressure on me and need help desperately.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980344#3980344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980344
19 years, 6 months
[JBossCache] - PojoCache 2.0 (replicate method execution)
by mleur
Hi,
I use PojoCache 2.0 (get on CVS) and JBoss AOP 1.5.2.
I works great and better than pojocache 1.4.
But I need help.
In fact, I want to replicate method execution of an Object stored in the cache.
My Object named TimerSessionValidity has a method named public void pingSession().
The behavior is :
- When I execute this method of an server, I want pojocache to replicate the execution to all others cache.
It is possible ???
To do this I put these lines into pojocache-aop.xml
<!-- Timer Session -->
org.jboss.cache.pojo.observable.Subject
org.jboss.cache.pojo.observable.SubjectImpl
new org.jboss.cache.pojo.observable.SubjectImpl(this)
And I execute aopc with Ant, it generates a class named TimerSessionValidity$pingSession_N3761175341164052267.class
But It didn't work, the TimerSessionValidity Object is replicated but when I call pingSession() it never replicate the method execution to others caches....
Thanks for any help.
Maxime
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980343#3980343
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980343
19 years, 6 months