[JBoss jBPM] - Re: Choosing JBPM?
by meghanai_99
Yes I copied that jar already but get different exception now.
I did not have that jar already installed on my JBoss since I had installed both JBoss and Jbpm-BPEL extension separately. I downloaded JBPM core 3.1.4 now and copied that jar file to my lib folder in JBoss. Now I get this exception -
javax.servlet.ServletException: Cannot get value for expression '#{userBean.userSelectItems}'
javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
Looks like the tables are not created in the database.
Anyway I will play around it some more.
About STFF --- that was funny; I choose not to get offended by it. Though for a developer who has to complete the investigation in couple of weeks, find out the best BPEL engine which will statisfy the company's most of the requirements, it can become really frustrating with little documentation that we get. The difference is JBPM developers [for that matter developer on any given product] 'live' JBPM day in and out and we don't. We are trying to get there in very short period of time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022666#4022666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022666
19Â years, 1Â month
[JBoss Seam] - Setting distributable in web.xml breaks Seam examples
by alex.kozlenkov
Running 1.1.7RC1: setting in web.xml results in the following exceptions for conversation scope components. In fact, not a single Seam example includes @Clustered components or in web.xml. It seems like a good idea to have this regression tested somewhere.
20:18:43,447 ERROR [[/seam-numberguess]] Session attribute event listener threw exception
| java.lang.ClassCastException: org.jboss.seam.example.numberguess.NumberGuess cannot be cast to javax.servlet.http.HttpSessionActivationListener
| at $javax.servlet.http.HttpSessionActivationListener$$FastClassByCGLIB$$d658c913.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.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:36)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:113)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:145)
| at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:80)
| at org.jboss.seam.example.numberguess.NumberGuess$$EnhancerByCGLIB$$22bd1c0e.sessionWillPassivate(<generated>)
| at org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate(ClusteredSession.java:896)
| at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:642)
| at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
| at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
| 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.Http11AprProcessor.process(Http11AprProcessor.java:833)
| at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
| at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
| at java.lang.Thread.run(Thread.java:619)
| 20:18:43,457 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: F823D75984C1B9F27D6CB2F901837CD4 lastAccessedTime: 1172521123148 version: 1 lastOutdated: 0]
| java.io.NotSerializableException: org.jboss.seam.example.numberguess.NumberGuess
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
| at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
| at java.util.Hashtable.writeObject(Hashtable.java:824)
| 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:597)
| at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
| at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022663#4022663
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022663
19Â years, 1Â month
[Security & JAAS/JBoss] - Re: Help ... flushAuthenticationCache don't work
by nipunbatra
try this
in your <jboss_home>/server/conf/jboss-service.xml try to modify cache params
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
| name="jboss.security:service=JaasSecurityManager">
| <!-- A flag which indicates whether the SecurityAssociation server mode
| is set on service creation. This is true by default since the
| SecurityAssociation should be thread local for multi-threaded server
| operation.
| -->
| <attribute name="ServerMode">true</attribute>
| <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
| <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
| <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
| in seconds.
| If you want to disable caching of security credentials, set this to 0 to
| force authentication to occur every time. This has no affect if the
| AuthenticationCacheJndiName has been changed from the default value.
| -->
| <attribute name="DefaultCacheTimeout">0</attribute>
| <!-- DefaultCacheResolution: Specifies the default timed cache policy
| resolution in seconds. This controls the interval at which the cache
| current timestamp is updated and should be less than the DefaultCacheTimeout
| in order for the timeout to be meaningful. This has no affect if the
| AuthenticationCacheJndiName has been changed from the default value.
| -->
| <!-- <attribute name="DefaultCacheResolution">60</attribute> -->
| </mbean>
Also in your jboss-web.xml define flushOnSessionInvalidation="true"
<jboss-web>
| <security-domain flushOnSessionInvalidation="true" >java:jaas/eluminate</security-domain>
| </jboss-web>
|
Let me know if it works
Thanks
Nipun
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022662#4022662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022662
19Â years, 1Â month
[JNDI/Naming/Network] - Standalone JNDI server using jnpserver.jar
by bakarirum
I have successfully configured a JNP server using and was able to add objects to the context. In one example, I added a Commons DBCP connection pool class into the context. I was able to take the same JVM and retrieve this reference and use it successfully. However, when I access the DataSource object using another JVM instance, the connection pool returns null on the ds.getConnection() method. The code successfully gives me a reference to the DataSource object (that is not null), but for some reason the "pool" reference in the DataSource object is null. Below is the client code used to retrieve the object. Please let me know if you need more information. All other "basic" type objects such as String and Integer are successfully read. I am only having the problem with the DataSource object.
Thank you for taking time to read my post.
Marc
| Hashtable<String,String> env = new Hashtable<String,String>();
| env.put(Context.PROVIDER_URL,"jnp://localhost:1099");
| env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
| context = null;
| try {
| context = new InitialContext(env);
| } catch (NamingException ex) {
| ex.printStackTrace();
| System.exit(-1);
|
| }
| DataSource ds = (DataSource) context.lookup("myenvironmentname");
| Connection conn = ds.getConnection();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022660#4022660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022660
19Â years, 1Â month