[JBoss Seam] - Seam 1.1CR: <s:cache> example?
by lowecg2004
Hello,
The <s:cache> component in the new 1.1 release looks mighty interesting but I'm struggling to locate any meaty information on the new component.
I've read the updated Seam reference and even traced back to the JIRA issue from which it was born and unfortunately I'm none the wiser.
I tried setting up the JBoss cache as in the remoting/chatroom example and this allowed me to get the tag working with limited success. The initial few loads of my test page seemed to work and then I got a whole bunch of errors that I'd not seen before from my application. Also, hot deployment of my project no longer worked. I tried getting into the JBoss cache docs but to be honest, I found it them somewhat perplexing for something that I'm just dabbling with.
Are there any Seam cache examples knocking about? What sort of performance increases can I expect if I implement this right? What does it store/prevent from happening exactly? Does it do anything out of the ordinary like, say, prevent the cached part of the state from having to be serialized when using client state saving?
Cheers,
Chris
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989847#3989847
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989847
18Â years, 1Â month
[Messaging, JMS & JBossMQ] - connectionFactoryJndiName config property
by tobinibot
Does JBoss support the ActivationConfigProperty connectionFactoryJndiName?
@MessageDriven(
| mappedName = "jms/NewMessage",
| activationConfig = {
| @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "activemq/QueueConnectionFactory"),
| @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
| @ActivationConfigProperty(propertyName = "destination", propertyValue = "activemq/queue/capacity3")
| }
| )
| public class NewMessage implements MessageListener {
| ...
I haven't been able to get it to work. I've tried not using it, but I get ClassCastExceptions without this property, and it seems like JBoss would need to know which ConnectionFactory to use with this queue. Am I missing something here?
I can provide more details if there's not an easy answer.
Here's the exception I get when deploying:
anonymous wrote : 14:51:30,703 INFO [EJBContainer] STARTED EJB: ejb.NewMessage ejbName: NewMessage
| 14:51:30,765 WARN [ServiceController] Problem starting service jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewMessage,service=EJB3
| org.jboss.deployment.DeploymentException: Error for ActivationSpec class org.jboss.resource.adapter.jms.inflow.JmsActivationSpec as JavaBean; - nested throwable: (java.beans.IntrospectionException: No property found for: ConnectionFactoryJndiName on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1589559(ra=null destination=activemq/queue/capacity3 isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0))
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
| at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:135)
| at org.jboss.resource.deployment.RARDeployment.createActivationSpec(RARDeployment.java:254)
| at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:218)
| at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:285)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:189)
| at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:185)
| at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:151)
| at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy67.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
| at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:281)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:328)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy36.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy37.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy6.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
| Caused by: java.beans.IntrospectionException: No property found for: ConnectionFactoryJndiName on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1589559(ra=null destination=activemq/queue/capacity3 isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
| at org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(PropertyEditors.java:350)
| at org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(PropertyEditors.java:281)
| at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:129)
| ... 108 more
| 14:51:31,687 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewsEntityFacade,service=EJB3 with dependencies:
| 14:51:31,687 INFO [JmxKernelAbstraction] persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU
| 14:51:31,718 INFO [EJBContainer] STARTED EJB: ejb.NewsEntityFacade ejbName: NewsEntityFacade
| 14:51:31,781 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/JBoss-4.0.5/server/default/tmp/deploy/tmp3661NewsApp.ear-contents/NewsApp-ejb.jar
| 14:51:31,796 INFO [TomcatDeployer] deploy, ctxPath=/NewsApp-war, warUrl=.../tmp/deploy/tmp3661NewsApp.ear-contents/NewsApp-war-exp.war/
| 14:51:32,328 INFO [EARDeployer] Started J2EE application: file:/C:/Program Files/JBoss-4.0.5/server/default/deploy/NewsApp.ear
|
| 14:51:32,328 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewMessage,service=EJB3
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Error for ActivationSpec class org.jboss.resource.adapter.jms.inflow.JmsActivationSpec as JavaBean; - nested throwable: (java.beans.IntrospectionException: No property found for: ConnectionFactoryJndiName on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1589559(ra=null destination=activemq/queue/capacity3 isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0))
| I Depend On:
| persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewMessage,service=EJB3
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Error for ActivationSpec class org.jboss.resource.adapter.jms.inflow.JmsActivationSpec as JavaBean; - nested throwable: (java.beans.IntrospectionException: No property found for: ConnectionFactoryJndiName on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1589559(ra=null destination=activemq/queue/capacity3 isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0))
| I Depend On:
| persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU
(sorry for the long stack trace, but i think it's appropriate to include. my apologies if it is not.)
Tobin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989846#3989846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989846
18Â years, 1Â month
[JBoss Seam] - no value for request parameter: taskId
by juangiovanolli
Hi:
i'm a newbie in jboss Seam, and i'm getting a constant error in my project:
| javax.ejb.EJBTransactionRolledbackException: java.lang.IllegalStateException: no value for request parameter: taskId
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy169.startTaskA(Unknown Source)
| at com.santex.darwin.web.sample.Task$$FastClassByCGLIB$$1b0b11e2.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:68)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:28)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:77)
| at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
| at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$86f5782e.startTaskA(<generated>)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 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(Thread.java:595)
| Caused by: java.lang.IllegalStateException: no value for request parameter: taskId
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.getRequestParamValueAsLong(BusinessProcessInterceptor.java:125)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.beforeInvocation(BusinessProcessInterceptor.java:59)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:44)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 83 more
|
|
the classes involved are:
| package com.santex.darwin.web.sample;
|
| import javax.ejb.Remove;
|
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.Begin;
| import org.jboss.seam.annotations.BeginTask;
| import org.jboss.seam.annotations.CreateProcess;
| import org.jboss.seam.annotations.Destroy;
| import org.jboss.seam.annotations.EndTask;
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.annotations.Out;
| import org.jboss.seam.core.Jbpm;
|
| /**
| *
| * @author Juan Giovanolli
| * 29/11/2006
| */
| @Name("taskWorkflow")
| public class TaskWorkflow implements Task
| {
| @Out(scope = ScopeType.BUSINESS_PROCESS)
| private String status="";
|
|
|
| /**
| *
| *
| */
| //@Begin(join = true)
| @CreateProcess(definition = "ProcessAbstract")
| public String startProcess() {
| status = "process started";
| vec= "/taskA.xhtml";
| System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLL: " + status);
|
|
| return vec;
|
| }
|
|
| @Remove @Destroy
| public void destroy() {
|
| }
|
|
| public String vec= "vec";
|
|
| public String getVec()
| {
| return vec;
| }
|
|
| public void setVec(String vec)
| {
| this.vec = vec;
| }
|
|
| public String startTaskA()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
|
| public String startTaskB()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
|
| public String startTaskC()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
|
|
| }
|
|
|
and
|
| package com.santex.darwin.web.sample;
|
| import javax.ejb.Remove;
| import javax.ejb.Stateful;
|
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.BeginTask;
| import org.jboss.seam.annotations.CreateProcess;
| import org.jboss.seam.annotations.Destroy;
| import org.jboss.seam.annotations.EndTask;
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.annotations.Out;
| import org.jboss.seam.annotations.StartTask;
|
| import com.santex.darwin.web.home.EntityHomeBase;
|
| /**
| *
| * @author Juan Giovanolli
| * 29/11/2006
| */
| @Name("taskA")
| @Stateful
| public class TaskABean implements Task
| {
| private String varA;
|
| //@In String status;
|
|
| public String getVarA()
| {
| return varA;
| }
|
|
|
|
| public void setVarA(String varA)
| {
| this.varA = varA;
| }
|
|
| @Out(scope = ScopeType.BUSINESS_PROCESS)
| private String status="";
|
| public String verLetra() {
| System.out.println("la letra de varA es" + varA);
| return "/taskB.xhtml";
| }
|
| @BeginTask@EndTask
| public String startTaskA() {
| status= "starting task A";
| System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLL: " + status);
| return "/taskB.xhtml";
| }
|
|
| @Remove @Destroy
| public void destroy(){
|
| }
|
|
|
|
| public String startProcess()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
|
|
|
| public String startTaskB()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
|
|
|
| public String startTaskC()
| {
| // TODO Auto-generated method stub
| return null;
| }
|
| }
|
|
ANY IDEAS???
Thanks!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989839#3989839
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989839
18Â years, 1Â month
[JBoss Seam] - ClassNotFoundException while loading persisted sessions:
by fmi2
Hi, I am getting the following exception when deploying my application on tomcat. Although it deploys regardless of the error, when the search button is clicked on the web page a 'Bean not bound' exception.
|
| 2006-11-29 16:20:53,531 ERROR [org.apache.catalina.session.ManagerBase] ClassNotFoundException while
| loading persisted sessions: java.lang.ClassNotFoundException: portal.command.SearchCriteria$$Enhanc
| erByCGLIB$$ac500b39
| java.lang.ClassNotFoundException: portal.command.SearchCriteria$$EnhancerByCGLIB$$ac500b39
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
| at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:77)
| at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
| at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
| at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
| at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
| at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
| at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
| at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
| at org.apache.catalina.core.StandardService.start(StandardService.java:450)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
| at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
| 2006-11-29 16:20:53,531 ERROR [org.apache.catalina.session.ManagerBase] Exception loading sessions f
| rom persistent storage
| java.lang.ClassNotFoundException: portal.command.SearchCriteria$$EnhancerByCGLIB$$ac500b39
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
| at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:77)
| at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
| at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
| at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
| at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
| at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
| at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
| at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
| at org.apache.catalina.core.StandardService.start(StandardService.java:450)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
| at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
| 2006-11-29 16:20:53,703 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config
| org/apache/myfaces/resource/standard-faces-config.xml
| 2006-11-29 16:20:54,171 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:
| /C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/apache-myfaces-tomahawk-1.1.3.jar!/META-INF/faces-c
| onfig.xml
| 2006-11-29 16:20:54,234 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:
| /C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/seam-1.0.1GA.jar!/META-INF/faces-config.xml
| 2006-11-29 16:20:54,265 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/
| faces-config.xml
| 2006-11-29 16:20:54,359 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces
| -config.xml null or empty, setting locale to default locale : en_US
| 2006-11-29 16:20:54,937 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletConte
| xt 'C:\tomcat\webapps\caGridAdminPortal\' initialized.
| 2006-11-29 16:20:54,937 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0.1.GA
| 2006-11-29 16:20:54,953 INFO [org.jboss.seam.init.Initialization] reading components.xml
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.pr
| operties
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] reading properties from: /jndi.pr
| operties
| 2006-11-29 16:20:55,140 DEBUG [org.jboss.seam.init.Initialization] not found: /seam-jndi.properties
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] initializing Seam
| 2006-11-29 16:20:55,203 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope:
| APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 2006-11-29 16:20:55,218 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.myFacesLifecycleBu
| g=false
| 2006-11-29 16:20:55,218 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.debug=true
| 2006-11-29 16:20:55,234 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=#{ejbN
| ame}/local
| 2006-11-29 16:20:55,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.init
| 2006-11-29 16:20:55,515 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope
| : APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 2006-11-29 16:20:55,546 INFO [org.jboss.seam.Component] Component: events, scope: APPLICATION, type
| : JAVA_BEAN, class: org.jboss.seam.core.Events
| 2006-11-29 16:20:55,546 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, sco
| pe: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 2006-11-29 16:20:55,578 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAV
| A_BEAN, class: org.jboss.seam.core.Switcher
| 2006-11-29 16:20:55,593 INFO [org.jboss.seam.Component] Component: redirect, scope: CONVERSATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 2006-11-29 16:20:55,609 INFO [org.jboss.seam.Component] Component: httpError, scope: APPLICATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 2006-11-29 16:20:55,609 INFO [org.jboss.seam.Component] Component: userPrincipal, scope: APPLICATIO
| N, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 2006-11-29 16:20:55,625 INFO [org.jboss.seam.Component] Component: isUserInRole, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 2006-11-29 16:20:55,640 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATIO
| N, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 2006-11-29 16:20:55,656 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 2006-11-29 16:20:55,656 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE,
| type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 2006-11-29 16:20:55,671 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 2006-11-29 16:20:55,671 INFO [org.jboss.seam.Component] Component: pageContext, scope: APPLICATION,
| type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 2006-11-29 16:20:55,703 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATI
| ON, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICA
| TION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLI
| CATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 2006-11-29 16:20:55,734 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPL
| ICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 2006-11-29 16:20:55,734 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: A
| PPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: locale, scope: STATELESS, type:
| JAVA_BEAN, class: org.jboss.seam.core.Locale
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: messages, scope: SESSION, type:
| JAVA_BEAN, class: org.jboss.seam.core.Messages
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: interpolator, scope: STATELESS,
| type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 2006-11-29 16:20:55,765 INFO [org.jboss.seam.Component] Component: facesMessages, scope: CONVERSATI
| ON, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 2006-11-29 16:20:55,781 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: SESSION,
| type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 2006-11-29 16:20:55,796 INFO [org.jboss.seam.Component] Component: localeSelector, scope: SESSION,
| type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 2006-11-29 16:20:55,796 INFO [org.jboss.seam.Component] Component: uiComponent, scope: STATELESS, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 2006-11-29 16:20:55,812 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.messagin
| g.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messagin
| g.SubscriptionRegistry
| 2006-11-29 16:20:55,828 INFO [org.jboss.seam.Component] Component: pojoCache, scope: APPLICATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 2006-11-29 16:20:55,828 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.introspecto
| r, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 2006-11-29 16:20:55,859 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.contexts, s
| cope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 2006-11-29 16:20:55,875 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.ejb, scope:
| APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Ejb
| 2006-11-29 16:20:55,890 INFO [org.jboss.seam.deployment.Scanner] scanning: C:\tomcat\webapps\caGrid
| AdminPortal\WEB-INF\classes
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory:
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\command
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\domain
| 2006-11-29 16:20:55,906 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\map
| 2006-11-29 16:20:55,906 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\messages
| 2006-11-29 16:20:55,921 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\util
| 2006-11-29 16:20:55,921 INFO [org.jboss.seam.Component] Component: searchCriteria, scope: SESSION,
| type: JAVA_BEAN, class: portal.command.SearchCriteria
| 2006-11-29 16:20:55,953 INFO [org.jboss.seam.Component] Component: search, scope: STATELESS, type:
| STATELESS_SESSION_BEAN, class: portal.command.SearchBean, JNDI: SearchBean/local
| 2006-11-29 16:20:56,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.ejb
| 2006-11-29 16:20:56,015 INFO [org.jboss.seam.core.Ejb] starting the embedded EJB container
| 2006-11-29 16:20:56,578 WARN [org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding] You should
| use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
| 2006-11-29 16:20:57,062 INFO [org.jboss.resource.adapter.jdbc.local.LocalTxDataSource] Bound dataso
| urce to JNDI name 'java:/DefaultDS'
| 2006-11-29 16:20:57,921 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 312
| 2006-11-29 16:20:57,968 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:jar=c
| lasses,name=SearchBean,service=EJB3 with dependencies:
| 2006-11-29 16:20:57,968 INFO [org.jboss.ejb3.MCKernelAbstraction] AbstractDependencyMetaData@13531
| 54{dependency=persistence.units:unitName=portaltest}
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: applicationCo
| ntext
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: isUserInRole
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: statelessCont
| ext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: userPrincipal
|
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: sessionContex
| t
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: businessProce
| ssContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: eventContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: pageContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationC
| ontext
| 2006-11-29 16:20:58,015 INFO [org.jboss.seam.init.Initialization] done initializing Seam
| 2006-11-29 16:26:39,421 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started
| 2006-11-29 16:26:39,453 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:39,468 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelecto
| r
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(1)
| 2006-11-29 16:26:39,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.pages
| 2006-11-29 16:26:39,656 INFO [org.jboss.seam.core.Pages] no pages.xml file found
| 2006-11-29 16:26:39,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
|
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.rend
| erkit.html.util.DefaultAddResource
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-29 16:26:39,796 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
| 2006-11-29 16:26:39,796 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying
| contexts
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.r
| equest_uri
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.c
| ontext_path
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.s
| ervlet_path
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man
| ager
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myface
| s.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UICo
| mponentTag.UNIQUE_ID_COUNTER
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.appl
| ication.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation
| context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.
| renderkit.html.util.DefaultAddResource
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(2)
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
|
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.Component] instantiating Seam component: searchCriteri
| a
| 2006-11-29 16:26:42,171 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 2
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying
| contexts
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man
| ager
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myface
| s.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.AddR
| esourceFactory.CACHE_MAP_KEY
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: search_msg
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.comp
| onent.html.util.ExtensionFilter.doFilterCalled
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UICo
| mponentTag.UNIQUE_ID_COUNTER
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.appl
| ication.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation
| context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-29 16:26:45,875 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(3)
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] instantiating Seam component: search
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami
| ng.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jbos
| s.naming:org.jnp.interfaces}
| 2006-11-29 16:26:45,968 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami
| ng.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jbos
| s.naming:org.jnp.interfaces}
| 2006-11-29 16:26:45,968 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/caGri
| dAdminPortal].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id _idJsp14:_idJsp23
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252
| )
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202
| )
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 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(Http11Base
| Protocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{search.performB
| asicSearch}
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 26 more
| Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: search
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChai
| n.java:42)
| at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:
| 574)
| at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
| at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
| at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
| ... 27 more
| Caused by: javax.naming.NameNotFoundException: SearchBean not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiate(Component.java:774)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 37 more
|
|
Here is my persistence.xml file
|
| <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
| <persistence-unit name="portaltest">
| <!-- provider must be explicitly stated for Java SE, but not Java EE-->
|
| <!-- javax.persistence.EntityManagerFactory -->
| <!-- org.hibernate.ejb.EntityManagerFactoryImpl DOES NOT WORK -->
| <provider>org.hibernate.ejb.HibernatePersistence</provider> <!-- works, kinda -->
|
| <!-- I don't think that we need this for external testing -->
| <jta-data-source>java:/DefaultDS</jta-data-source>
|
| <class>portal.domain.OutputParameter</class>
| <class>portal.domain.DomainObject</class>
| <class>portal.domain.Fault</class>
| <class>portal.domain.Service</class>
| <class>portal.domain.InputParameter</class>
| <class>cagrid.portal.domain.PointOfContact</class>
| <class>portal.domain.Operation</class>
| <class>portal.domain.ResearchCenter</class>
|
| <properties>
|
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| <!--
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
| -->
|
| <!-- DB connection properties -->
| <!-- <property name="jdbc.driver" value="org.hsqldb.jdbcDriver" /> -->
| <!-- <property name="jdbc.url" value="jdbc:hsqldb:hsql://localhost" /> -->
| <!-- <property name="jdbc.user" value="sa" /> -->
| <!-- <property name="jdbc.password" value="" /> -->
|
| <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
| <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver" />
| <property name="hibernate.connection.url" value="jdbc:hsqldb:file:c\db\testdb" />
| <property name="hibernate.connection.user" value="sa" />
| <property name="hibernate.connection.password" value="" />
| </properties>
| </persistence-unit>
| </persistence>
|
| <!--
| vim: sw=4:ts=4:et:sm:ai:textwidth=70:nohlsearch:syntax=off
| -->
|
|
Any insight to this error would be greatly appreciated.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989838#3989838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989838
18Â years, 1Â month
[Tomcat, HTTPD, Servlets & JSP] - Open connections with Apache 2.2+mod_proxy_ajp+JBoss/Tomcat
by skeumurian
Hello,
I've been trying to track down a problem on our server for a while now and thought I'd check in here to see if anyone has a solution. I have Apache 2.2.2 setup as a front end for JBoss 4.0.2 on the same server. I have a rather long list of named virtual hosts being served on this one system. I'm using mod_proxy_ajp to route traffic to multiple web applications on the server. I'm running into a situation where the number of connections from Apache to the Tomcat AJP connector (localhost:8009) is forever growing and eventually people are blocked from accessing the server. The connections are left in the "ESTABLISHED" state as viewed by netstat.
| tcp4 0 0 localhost.8009 localhost.49163 ESTABLISHED
| tcp4 0 0 localhost.49163 localhost.8009 ESTABLISHED
|
I've tried using Apache with the worker MPM as well as the pre-fork MPM and the problem seems to occur with both, but becomes a problem a lot sooner with the pre-fork MPM.
I tried editing jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/server.xml to include a connectionTimeout value of 20000 milliseconds. This timeout works, but then instead of the connections being left in the "ESTABLISHED" state they are now left as "CLOSE_WAIT." I've tried changing various values on the Apache side, such as specifying smax, ttl, etc. to no avail.
I'm defining the proxy to my application like this:
| <Location /cdf>
| ProxyPass ajp://localhost:8009/cdf smax=30 ttl=30 retry=1
| ProxyPassReverse ajp://localhost:8009/cdf
| </Location>
|
This is included in each named virtual host that needs access to the application. Other virtual hosts have their own Location entries that proxy pass to other applications.
My http-mpm.conf is setup like this for the worker MPM:
| <IfModule mpm_worker_module>
| StartServers 2
| MaxClients 300
| MinSpareThreads 25
| MaxSpareThreads 300
| ThreadsPerChild 25
| MaxRequestsPerChild 0
| </IfModule>
|
and like this for the prefork:
| <IfModule mpm_prefork_module>
| StartServers 15
| MinSpareServers 51
| MaxSpareServers 65
| MaxClients 500
| MaxRequestsPerChild 0
| </IfModule>
|
I have a test server that I has a simpler version of the same setup on (no named virtual hosts) and I'm seeing this behavior there as well. I've tried creating a test application that only includes a basic index.html and it appears to behave the same way. Am I missing something? Am I using mod_proxy_ajp incorrectly?
Thanks,
Stephen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989835#3989835
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989835
18Â years, 1Â month