No, they are not.
The solution is to use the following arguments:
| -javaagent:jboss-aop-jdk50.jar -Djboss.aop.include=com.xyz.abc
-Djboss.aop.exclude=org,net,com
|
if, for example, one is on Java 5.
Using AOP and some annotations you can easily intercept get methods from your
Entity Bea
I want to be able to intercept methods of the Entity Beans using the latest
Embeddable container (alpha 8).
If I create a -aop.xml file and try to deploy it as in
Code:
| EJB3StandaloneBootstrap.deployXmlResource("jboss-aop.xml");
|
I get an exception: Caused by:
| org.jboss.xb.bindin
I want to be able to intercept methods of the Entity Beans using the latest
Embeddable container (alpha 8).
If I create a -aop.xml file and try to deploy it as in
| EJB3StandaloneBootstrap.deployXmlResource("jboss-aop.xml");
|
I get an exception: Caused by: org.jboss.xb.binding.JBossXBRun
The reason is due to usage of jbossws14.jar instead of the jbossws.jar found in
jbossws14.sar that comes with the example. The difference is that the latter
has annotations extended from org.jboss.lang.Annotation instead of the
java.jang one. After I modified the JBOSS configuration with the ws
Sorry, I meant jPBM session.
I have no time for code-digging. I just noticed that errors like that happens
immediately after jBPM session that was used to receive the request closes.
I bet that in the context instance the message variables are somehow linked
with the session but i have no time
I think I know what that is: the Hibernate session is closed, on finalize I
suspect, and the message gets lost. The session is closed upon reply, and the
gc kicks in sometimes after that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924605#3924605
Reply to
I modified the RequestListener code to allow concurrent events. In the
constructor, I replace the line:
| consumer = messagerSession.getJmsSession().createConsumer(destination,
selector);
|
with
| Session session =
messagerSession.getMessager().getConnection().createSession(false,
Sess
FYI
My mistake, the current configuration was internally released without the
client deployer file. The client works now after I copied the
client-deployer-service.xml over to the deploy folder.
Regards,
AA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=392
Hi,
We updated our JBOSS configuration with v 4.0.3. SP1 and we added the EJB3 RC5
module. Ever since I have problems deploying the BPEL client (v 1.4) and i have
the following error message:
| --- Packages waiting for a deployer ---
| [EMAIL PROTECTED] {
url=file:/C:/XYZ/server/all/tmp/de
Yeah, I responded to the posting with the solution I used. Exactly the same.
If you put the second assign in a while loop you have a very "nice" stack trace
(instead of end process event)
Regards,
AA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922442#392
I had the same issue, try to cache response1 text part in a type variable and
then use it in second assign.
|
|
|
|
|
|
|
I think I put here something similar (or I was about to)...
Regards,
AA
View the original post :
http://ww
I am not sure I explained my position. The commit I am talking about is in JMS,
basically making sure that the reply (in this case) reaches the client in
timely fashion.
Corelating that with the process instance persistency, it is a different story.
My point doesn't exclude process instance per
As a matter a fact I can tell you where to look exactly:
The request listener uses the MessagerSession.getJmsSession to create a
subscriber. Somehow this is not very well accepted by Jms since the current
thread is still busy with the scope content execution.
The process freezes in attempt to c
anonymous wrote :
| Yep, the ATM example uses events.
|
ATM uses pick&onMessage, not event handlers. All my examples with pick work
fine, none of them work with scope/event handler.
Change ATM to respond to events instead of pick while is doing "tedious"
balance calculation for example a
Hi there,
I try to build an event based example. I can see the selector being built, I
can see the event being received and the port handler in "listening for
response:" but ... nothing happens.
I think the issue is related to JMS subscription (request listener versus port
handler) since the o
I think I found the issue: the send reply method is not commiting after send.
You may want to change the OutstandingRequest.java, line 64 (alpha4) and add
session.commit();:
| finally {
| if (producer != null) {
| try {
| producer.close();
| session.co
I have a BPEL process that use to end abnormally, somewhere in the middle of a
sequence and no reason (or exception) was logged - I can see just the process
end event there.
The use case is:
- have a global message type variable, store the response of some invoke
activity (the message is multi-
Hi,
I am writing a rather complex BPEL process that expects events while is looping
in order to perform some lengthy process.
My client times-out after 1 minute, and I was hoping to avoid that by
responding to the receive with an early reply rather than wait for the loop to
end. Even after I c
Hi,
I try the BPEL extension with an example that uses timer (onAlarm) events. In
runtime I get the error:
| Caused by: javax.naming.NameNotFoundException: Scheduler not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
| at org.jnp.server.NamingServ
Done, http://jira.jboss.com/jira/browse/BPEL-92.
I used the same approach when I worked on a BPML engine few years ago (graph
oriented programming), but the loops (while, until) had inner stacks, so the
maximum inner stack size was equal to the number of activities the loop had.
Eventually pus
I am not sure that this feature complies with the BPEL specs. I know for sure
that it doesn't with the BPML ones. There is not need to keep the stack alive
for all activities, just for activites that can be compensated fro instance.
My use case consists in execution of a sub-process (BPEL) over
Done. See issue BPEL-89
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921593#3921593
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921593
---
This SF.net email is
I noticed, while I was testing a lengthy BPEL process, using a rather generous
while loop in term of number of iterations, that the execution stack trace
consists in all activities that the BPEL executed so far.
If my while activity iterates a hundred times, and has an inner activity,
called A,
Thanks for your response, nice.
Just a note, the start process event is never triggered. So I changed
BpelDefinition class, startProcessInstance to have that triggered:
| public void startProcessInstance( ProcessInstance processInstance,
| Receiver trigge
I am interested in capturing a BPEL process execution, such that the ATM
example. I can see that MessageSession spans between the receive and the reply
acitivities, but I would like to know when the BPEL process ends.
Is there a mechanism that one can use programatically to capture the start and
25 matches
Mail list logo