[JBoss Web Services] New message: "Propagating of server unchecked exception to the client"
by Alexey Burov
User development,
A new message was posted in the thread "Propagating of server unchecked exception to the client":
http://community.jboss.org/message/523273#523273
Author : Alexey Burov
Profile : http://community.jboss.org/people/axelerod
Message:
--------------------------------------------------------------
Hello,
I'm using JBoss 4.2.3, *jbossws-3.0.1-native-2.0.4.GA*
I have looked through a lot of thems, but haven't found the answer to the question:
Is it possible to configure JBossWS native stack to get full stack trace while fault on server is happened?
Currently server returns in SOAP message top level exception (for example EJBTransactionRolledBackException or
javax.persistence.PersistenceException) or 2 levels.
As far as I khow jax-ws 2.1 RI supports this, and one of possible variants is:
1) try Metro stack (refused)
2) bundle metro libs as shown at http://community.jboss.org/thread/146519?tstart=0
3) probably implement my own exception (refused due specificity of my WS and back compartibility)
4) configure jbossws-native (preferable)
5) this question is related to EJB
Please, give me any suggestion if you have! Thanks in advance!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523273#523273
14 years, 11 months
[jBPM] New message: "Re: JBPM4.3 should be JBPM5.0"
by Tom Baeyens
User development,
A new message was posted in the thread "JBPM4.3 should be JBPM5.0":
http://community.jboss.org/message/523264#523264
Author : Tom Baeyens
Profile : http://community.jboss.org/people/tom.baeyens@jboss.com
Message:
--------------------------------------------------------------
> chrigar wrote:
> but jpa 'dirty' compatibility is no more possible...
We don't target JPA at this time. We anticipate to move to JPA at some time in the future. Do I understand you correctly that you're saying that with 4.2 you could use JPA and we have broken that unintended compatibility in 4.3?
If so, is there something we can do to easily fix it?
BTW, what is the big problem with hibernate/JPA? In essence, jBPM uses a configurable JDBC connection in the end and it can participate in a JTA transaction. JPA might be more convenient depending on your architecture, but I don't see how this could be a showstopper. It would be good for us to understand your reasoning if you think differently.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523264#523264
14 years, 11 months
[EJB 3.0] New message: "Re: How to initialize the State of an EJB3 Stateful Bean"
by jaikiran pai
User development,
A new message was posted in the thread "How to initialize the State of an EJB3 Stateful Bean":
http://community.jboss.org/message/523252#523252
Author : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
You can use @Init. Here's what the EJB3 spec says:
> Section 4.3.10.1 of EJB3 Spec:
>
> If the bean is a stateful session bean and the client has used one of the create<METHOD> methods defined in the session bean’s home or local home interface to create the bean, the container then calls the instance’s initialization method whose signature matches the signature of the create<METHOD> invoked by the client, passing to the method the input parameters sent from the client. If the bean class was written to the EJB 3.0 API, and has been adapted for use with an earlier client view, this initialization method is a matching Init method, as designated by use of the Init annotation, or init-method deployment descriptor element[12]. If the bean class was written to the EJB 2.1 or earlier API, this initialization method is a matching ejbCreate<METHOD> method, as described in Section 4.6.4.
>
>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523252#523252
14 years, 11 months