[JBoss jBPM] - Using JBPM for document workflow in a Java/Flex CMS software
by Bouiaw
Hi,
I plan to use JBPM in Igenko, an open source CMS software based on Jackrabbit (JSR 170), Spring 2.5, Flex and Graniteds (Open source solution for communication between the Java core and the Flex front end).
JBPM will be mainly used to manage document (page, content ...) workflows. I have seen that JBPM can store JCR nodes to achieve this goal.
I just begin to work with Jackrabbit and JCR so excuse me if my question is stupid ;-)
After reading JBPM documentation (http://docs.jboss.com/jbpm/v3/userguide/docmgmt.html), I found that it was possible to store a reference to a JCR node as a variable instance. A typical use case for me will be to find documents associated to a task (validation for example).
Another use case will be to know the state for each document in my JCR. For good performance, I should store the document state in JCR, as an attribute of my node, but having 2 document states stored (JBPM and JCR) is a bad idea I think.
How is the best way to manage and to store the document state in my case in a performant and robust way ?
Thanks in advance for your answer,
Sébastien Deleuze
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108239#4108239
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108239
18 years, 5 months
[Security & JAAS/JBoss] - Installing a new SecurityManager
by timba07
Hi,
I'm currently trying to install a RMISecurityManager inside my SEAM/EJB3 Application. Now, when I'm trying interact with the webside (login for example), I get the following Exceptions:
| 22:06:26,281 ERROR [SeamLoginModule] Error invoking login method
| javax.el.ELException: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:332)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
| at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
| at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108)
| 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
| at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
| at org.jboss.seam.security.Identity.authenticate(Identity.java:335)
| .
| .
| .
| .
|
Is it possible to install a security Manager? Do I have to set permissions in a policy file?
I'm Using JBoss AS 4.2.2, Seam 2.0
Greetings,
Stefan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108237#4108237
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108237
18 years, 5 months
[Messaging, JMS & JBossMQ] - Stream Queue and Pub sub
by rdev@amfam.com
I have a working pub sub application that uses default Stream Queue.
I now need to set Stream Queue value. Could you tell me how this is done.
Below is the jboss-service.xml file info
| <server>
| <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
| name="jmx.service.wsmq:service=MQQueueConnectionFactory">
| <attribute name="JndiName">WSMQQueueConnectionFactory</attribute>
| <attribute name="JMSStyle">Queue</attribute>
| <attribute name="IsXA">false</attribute>
| <attribute name="QueueManagerName">NHQ2S1QM</attribute>
| <attribute name="HostName">NHQ2S1QM</attribute>
| <attribute name="Channel">NHQ2S1QM.SERV1</attribute>
| <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
| <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
| <attribute name="CCSID">819</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
| name="jmx.service.wsmq:service=MQTopicConnectionFactory">
| <attribute name="JndiName">WSMQTopicConnectionFactory</attribute>
| <attribute name="JMSStyle">Topic</attribute>
| <attribute name="IsXA">false</attribute>
| <attribute name="QueueManagerName">NHQ2S1QM</attribute>
| <attribute name="HostName">NHQ2S1QM</attribute>
| <attribute name="Channel">NHQ2S1QM.SERV1</attribute>
| <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
| <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
| <attribute name="CCSID">819</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="jmx.service.wsmq.WSMQDestination"
| name="jmx.service.wsmq:service=WSMQTopic">
| <attribute name="JndiName">wsmq/SE00151/TESTQUEUE/DU000001</attribute>
| <attribute name="JMSStyle">Topic</attribute>
| <attribute name="QueueManagerName">NHQ2S1QM</attribute>
| <attribute name="DestinationName">SE00151/TESTQUEUE/DU000001</attribute>
| <attribute name="CCSID">819</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| </server>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108228#4108228
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108228
18 years, 5 months
[JBoss Seam] - No converter for type: org.jboss.seam.core.Expressions$Value
by laksu
Still cannot run the dumbest test on my own.
Here is my test:
| import org.jboss.seam.mock.SeamTest;
| import org.testng.annotations.Test;
|
| public class TestIntact extends SeamTest {
| @Test
| public void testIntact(){
| assert true;
| }
| }
|
I use Java 1.5.0 14 JDK (32) and Seam 2.0.0 GA.
I have the Hibernate2 example running and I have everything same from it except my own ant script. I even checked with ant -v that classpaths end up the same.
Here is what I get:
[testng] FAILED CONFIGURATION: @BeforeClass init
| [testng] java.lang.RuntimeException: Could not create Component: org.jboss.seam.transaction.transaction
| [testng] at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
| [testng] at org.jboss.seam.init.Initialization.installComponents(Initialization.java:903)
| [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:548)
| [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| [testng] Caused by: java.lang.IllegalArgumentException: No converter for type: org.jboss.seam.core.Expressions$ValueExpression
| [testng] at org.jboss.seam.util.Conversions.getConverter(Conversions.java:55)
| [testng] at org.jboss.seam.Component$ConstantInitialValue.<init>(Component.java:2302)
| [testng] at org.jboss.seam.Component.getInitialValue(Component.java:514)
| [testng] at org.jboss.seam.Component.getTopInitialValue(Component.java:494)
| [testng] at org.jboss.seam.Component.initInitializers(Component.java:472)
| [testng] at org.jboss.seam.Component.<init>(Component.java:263)
| [testng] at org.jboss.seam.Component.<init>(Component.java:216)
| [testng] at org.jboss.seam.init.Initialization.addComponent(Initialization.java:961)
| [testng] ... 26 more
| [testng] ... Removed 22 stack frames
| [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
| [testng] SKIPPED CONFIGURATION: @AfterMethod end
| [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
| [testng] SKIPPED: testIntact
|
I cannot figure out what I am missing
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108222#4108222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108222
18 years, 5 months