[JBoss Seam] - Trouble deploying Seam application in JBoss 4.2.2
by tnabeel
I get the error below when I deploy the default Seam web project generated by Red Hat Studio Beta 2. I'm using JBoss 4.2.2. I couldn't get rid of the error by using latest ajax4jsf library (ajax4jsf-1.1.1). Any help would be appreciated.
07-11-04 19:56:11,534 ERROR [STDERR] javax.faces.FacesException: org.ajax4jsf.framework.DebugLifecycleFactory
2007-11-04 19:56:11,534 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569)
2007-11-04 19:56:11,534 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
2007-11-04 19:56:11,534 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
2007-11-04 19:56:11,534 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805)
2007-11-04 19:56:11,534 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
2007-11-04 19:56:11,534 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy0.start(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy44.start(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy45.start(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy0.start(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy4.start(Unknown Source)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-11-04 19:56:11,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-04 19:56:11,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-11-04 19:56:11,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-11-04 19:56:11,534 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
2007-11-04 19:56:11,550 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
2007-11-04 19:56:11,550 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
2007-11-04 19:56:11,550 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
2007-11-04 19:56:11,550 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:508)
2007-11-04 19:56:11,550 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2007-11-04 19:56:11,550 ERROR [STDERR] Caused by: java.lang.InstantiationException: org.ajax4jsf.framework.DebugLifecycleFactory
2007-11-04 19:56:11,550 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:335)
2007-11-04 19:56:11,550 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:303)
2007-11-04 19:56:11,550 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
2007-11-04 19:56:11,550 ERROR [STDERR] ... 141 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101645#4101645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101645
18 years, 5 months
[JBoss Portal] - Refreshing user membership information without logoff
by asyedin
Hi,
I faced the problem trying to change membership of currently logged in user.
I have a page Page_A, which has access limited only for users in role Role_A, and a User_A, which is not in this role. Then I perform following steps:
1. I login as User_A. I don't see Page_A in navigation area, where CatalogPortlet is displayed, and this is OK.
2. Then I add User_A to the Role_A (this is done from another browser instance where I'm logged in as admin).
3. As a User_A I hit "Refresh" in a browser, and I still do not see Page_A in navigation area, which seems to be wrong.
4. Attempt to access Page_A directly by constructing URL gives me the 403 error, which means that problem is not only in CatalogPortlet caching user's privileges.
5. I'm logging of the User_A and logging in again as User_A. I can see the Page_A - this is OK
6. I remove user from ROLE_A - and i still have access to PAGE_A, till the next logoff/login.
So, my guess is that user's privileges/membership information is cached until next user's login.
I use out-of-the-box JBoss Portal 2.6.2 (using default Hibernate implementation of User/Role/Membership modules).
I've seen the issue http://jira.jboss.com/jira/browse/JBPORTAL-1708 - "Identity APIs should invalidate cache on update/change of role membership", and tried proposed workaround, turning both query caching and second level cache, but had no luck.
Have I missed something? Is this a bug, or expected behavior?
If this is expected behavior, is there a way to get rid of such caching?
It really stops me from implementing flexible access control with assigning different roles to user on-the-fly programatically.
Thanks in advance.
--
Alexander Syedin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101640#4101640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101640
18 years, 5 months
[JBoss jBPM] - too many mysql connections
by rossputin
Hi,
I am hoping someone can give me a little advice and help with database performance (Mysql) with jbpm 3.2.1. I have searched this forum but not found a large amount of data on the topic, although I did see one post about adding DBCP connection pooling to hibernate. Specifically, in stress testing, we recently tested with around 100 users, incidentally mysql was configured for 100 max connections, and I assumed that connection pooling was in place, is this the case?
We got the well known ?too many connections? error anyway, and I am looking for ways to close ?sleeping? connections. When looking at the database ?mysql 5.x? with the gui tools, I see connections remain in sleep mode with the time field value increasing. As I click around in different areas in our web app so I see more connections appearing.
We developed our webapp modelled closely on the jbpm-console sample in 3.2.1.
We have upped the max connections in mysql, but I would still like to know whether anyone has set up connection pooling with jbpm-3.2.1 and mysql, and if there is a way to periodically sweep for and close these sleeping connections?
I read the documentation, but could not get a big picture of how the database works from it.
Thanks for your help in advance,
regards
Ross
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101637#4101637
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101637
18 years, 5 months
[JBoss Seam] - Re: Seam with WAS 6.1 EJB3 feature pack
by vietbird
By adding all the dependent jar filenames to the Class-Path inside the MANIFEST file of the example jar file (jboss-seam-jee5.jar), I can successfully deploy the JEE5 booking example on WAS.
But when I try to run the example, there is an error as following:
On the browser screen:
Error 500: org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression;
And in the SystemOut.log:
[5/11/07 09:28:26:289 EST] 00000020 compiler I Added Library from: wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/LTRAN/installedApps/wsd25Node02Cell/Booking_EE5.ear/seam_jee5.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
[5/11/07 09:28:26:648 EST] 00000020 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : java.lang.NoSuchMethodError: org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression;
at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:86)
at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:717)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:995)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:768)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:676)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Any suggestion?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101636#4101636
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101636
18 years, 5 months
[Installation, Configuration & DEPLOYMENT] - JBoss 5 native library integration
by johne
I am developing a library which allows access to an OO database (JADE, see www.jadeworld.com) from Java. It uses the EJB JPA interfaces (EntityManagerFactory etc) with an implementation of javax.persistence.spi.PersistenceProvider as the link to the EE app server. The application persistence.xml file has an entry com.jadeworld.jade.entitymanager.PersistenceProvider and the app server creates an instance of this which in turn creates an EntityManagerFactory. This links to a C++ DLL which does the actual access between Jade and Java. It works using Java SE and on the Sun app server by just copying the Java library to the appropriate server lib directory and having the DLL and associated binaries in the path.
Using JBoss 5 beta 2 and copying the library jar file to lib\endorsed, it creates the EMF OK but it gets an exception:
"java.lang.UnsatisfiedLinkError: no javajom in java.library.path" (javajom.dll is the C++ DLL) regardless of what I do including having this in the PATH and setting the JAVA_OPTS variable to -Djava.library.path=<path to DLL>.
Is there some additional configuration required to make this work?
Thanks
John Eyers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101634#4101634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101634
18 years, 5 months