[Beginner's Corner] - [JBAS 6.0.0] Jrmp Invoker
by mlo
mlo [http://community.jboss.org/people/mlo] created the discussion
"[JBAS 6.0.0] Jrmp Invoker"
To view the discussion, visit: http://community.jboss.org/message/590346#590346
--------------------------------------------------------------
Hello everybody.
We're currently moving from JBoss 4.0.1 to JBoss 6.0.0.
(I'm a very beginner in the JB world)
So, our EJB2 deploy correctly.
But I Found out some *.xml files like this one called (jboss-security-service.xml) :
<?xml version="1.0" …
[View More]encoding="UTF-8"?>
<!-- JBoss security domain definition and SSL-enabled JRMP invoker for securing EJB access -->
<server>
<mbean code="org.jboss.security.plugins.JaasSecurityDomain"
name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL">
<constructor>
<arg type="java.lang.String" value="RMI+SSL"/>
</constructor>
<attribute name="KeyStoreURL">${jws.include.keystore}</attribute>
<attribute name="KeyStorePass">${jws.sign.storepass}</attribute>
</mbean>
<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
name="jboss:service=invoker,type=jrmp,socketType=SSL">
<attribute name="RMIObjectPort">14445</attribute>
<attribute name="RMIClientSocketFactory">
org.jboss.security.ssl.RMISSLClientSocketFactory
</attribute>
<attribute name="RMIServerSocketFactory">
org.jboss.security.ssl.RMISSLServerSocketFactory
</attribute>
<attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>
<depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>
</mbean>
</server>
This file was copied into /server/default/deploy on JBoss 4.0.1 .
And, in the file jboss.xml, I found out the following :
<!-- Specific JBoss invoker for session beans.
Used to enable/disable SSL encryption
Merged with jboss.xml during generation by XDoclet -->
<invoker-proxy-bindings>
<invoker-proxy-binding>
<name>m-slsb-invoker</name>
<invoker-mbean>
jboss:service=invoker,type=jrmp
<!-- Replace the previous line with the following to enable/disable SSL
jboss:service=invoker,type=jrmp,socketType=SSL> -->
</invoker-mbean>
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
<proxy-factory-config>
<client-interceptors>
<home>
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>
org.jboss.proxy.TransactionInterceptor
</interceptor>
<interceptor>
fr.alcatel.ecsm.ds.util.access.InvokerInterceptor
</interceptor>
</home>
<bean>
<interceptor>
org.jboss.proxy.ejb.StatelessSessionInterceptor
</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>
org.jboss.proxy.TransactionInterceptor
</interceptor>
<interceptor>
fr.alcatel.ecsm.ds.util.access.InvokerInterceptor
</interceptor>
</bean>
</client-interceptors>
</proxy-factory-config>
</invoker-proxy-binding>
</invoker-proxy-bindings>
And I must say that, I do not understand what these files are doing...
So, i someone could gimme an advice/doc/etc on that, it would be great !
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590346#590346]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
[View Less]
14 years, 1 month
[EJB3] - MDB MessageID coming as Null EJB3
by vijaysachin sachin
vijaysachin sachin [http://community.jboss.org/people/vijaysachin] created the discussion
"MDB MessageID coming as Null EJB3"
To view the discussion, visit: http://community.jboss.org/message/590286#590286
--------------------------------------------------------------
Hi,
Can any body please help me with this error
12:44:29,639 ERROR [AbstractDLQHandler] Message id is null? delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
12:44:29,842 INFO [STDOUT] TrainMDB: …
[View More]Got request from Queue - delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
12:44:29,842 INFO [STDOUT] -------------------------------------------------------------------
12:44:29,842 INFO [STDOUT] MessageID--------null
12:44:29,842 INFO [STDOUT] MessageID: null
12:44:29,842 INFO [STDOUT] CorrelationID: null
12:44:30,405 INFO [STDOUT] TrainMDB: MESSAGE Text- Hello World---------------------------------
12:44:30,405 ERROR [AbstractDLQHandler] Message id is null? delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
In MDB onMessage() method when I try to get MesageID its coming as NULL.
Please suggest me
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590286#590286]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
[View Less]
14 years, 1 month
[EJB3] - MDB MessageID coming as Null
by vijaysachin sachin
vijaysachin sachin [http://community.jboss.org/people/vijaysachin] created the discussion
"MDB MessageID coming as Null"
To view the discussion, visit: http://community.jboss.org/message/590284#590284
--------------------------------------------------------------
Hi,
Can any body please help me with this error
12:44:29,639 ERROR [AbstractDLQHandler] Message id is null? delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
12:44:29,842 INFO [STDOUT] TrainMDB: Got …
[View More]request from Queue - delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
12:44:29,842 INFO [STDOUT] -------------------------------------------------------------------
12:44:29,842 INFO [STDOUT] MessageID--------null
12:44:29,842 INFO [STDOUT] MessageID: null
12:44:29,842 INFO [STDOUT] CorrelationID: null
12:44:30,405 INFO [STDOUT] TrainMDB: MESSAGE Text- Hello World---------------------------------
12:44:30,405 ERROR [AbstractDLQHandler] Message id is null? delegator->JBossMessage[21282220761317377]:PERSISTENT, deliveryId=1
In MDB onMessage() method when I try to get MesageID its coming as NULL.
Please suggest me
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590284#590284]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
[View Less]
14 years, 1 month
[jBPM] - Timer in jBPM,
by Syed Mahdi
Syed Mahdi [http://community.jboss.org/people/armahdi] created the discussion
"Timer in jBPM,"
To view the discussion, visit: http://community.jboss.org/message/590244#590244
--------------------------------------------------------------
hi All,
I am trying to create and incorporate a timer in my jBPM process definition I have found some examples but they dont really state what they exactly were doing:
Like what is the difference between (Impl 1):
> <task-node name="step1" end-…
[View More]tasks="true">
> <event type="node-enter">
> <create-timer name="myTimeout" duedate="1 minute" transition="toExpire">
> <action name="testWriteOut" expression="#{timerLogger.logTimer}"/>
> </create-timer>
> </event>
> <task name="taskA" description="task 1">
> <assignment actor-id="userA" />
> </task>
> <transition name="finished" to="end"/>
> <transition name="toExpire" to="expire"/>
> </task-node>
And this (Impl 2):
> <task-node name="timerTest">
>
> <task name="taskA" description="TimerTestTask">
> <assignment actor-id="userA" />
> <timer duedate="1 minute" transition="finished">
> <action expression="#{timerTestWorkflow.logTimerFired}" />
> </timer>
> </task>
> <transition name="finished" to="end" />
> </task-node>
what is the basic difference between the two implementation. If i wanted a timer that will be executed after the task has ended which one is best for my use case. My use case is like this... UserA is assigned taskA and when he finishes, the jBPM waits for 1 hour and then assigns TaskB it to User B who can actually end the process.
Other way of seeing it is like UserA is assigned TaskA and when he finishes the taskA the token goes to task B and assigns it to UserB and waits there for 1 hour and notifies the UserB that timer is expired so he can end it. Or do you think I shud make a state for the timer it self like (Impl 3):
> <state name="timerstate">
> <timer name="wait one minute" duedate="1 minute" transition="toTaskB">
> </timer>
> <transition to="taskB" name="toTaskB"></transition>
> </state>
>
and then transfer to tasknode B where taskB is assigned to userB. but then it wont be assigned to any user in this state so it will not show up in the pooled task either.
in impl 1 above if after 1 minute it tranistions to "toExpire" then how does the task in the task node gets executed
in Impl2 does the timer gets fired after 1 minute or instantly when it reaches the tasknode and if within a minute the userA does not do anything it finishes??? does it mean that userA will be assigned the task for 1 minute only... Is there a possibility then to fire an action after the 1 miute as well. ??
off topic: why arent there that many good examples for the timer.
Thanks
ARMahdi
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590244#590244]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
[View Less]
14 years, 1 month