dapeng king [https://community.jboss.org/people/dapengking] created the
discussion
Re: some problems with jBpm5.3 using mysql
To view the discussion, visit: https://community.jboss.org/message/816229#816229
--
Hi Irshad:
Thanks
dapeng king [https://community.jboss.org/people/dapengking] created the
discussion
Re: some problems with jBpm5.3 using mysql
To view the discussion, visit: https://community.jboss.org/message/816271#816271
--
Hi
I already
dapeng king [https://community.jboss.org/people/dapengking] created the
discussion
Re: some problems with jBpm5.3 using mysql
To view the discussion, visit: https://community.jboss.org/message/816116#816116
--
Hi
Firstly thanks a lot
dapeng king [https://community.jboss.org/people/dapengking] created the
discussion
some problems with jBpm5.3 using mysql
To view the discussion, visit: https://community.jboss.org/message/810404#810404
--
Hi,everyone!
I am a new
Hi,
I found the problem and it is a bug in the ajax4jsf in the class
org.ajax4jsf.resource.ResourceLifecycle. There in the method
processPhaseListeners all PhaseListener except the first 1 will be notified
about the after phase. The loop end condition should definitely be i = 0.
Under this
anonymous wrote : The way your have everything configured Seam should never be
attempting to create a transaction before a conversation is created.
|
Can you elaborate on this statement. I already posted my configuration. I
enabled the seam transaction management and using a layered
Hi,
I think I've found the reason for this problem. I think it is a bug in
combination with richfaces. The error occurd when serving a request for
anonymous wrote :
/mywebapp/a4j_3_1_1-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAGLZKr5DAADWQHL
which is a resource for a
What is the default scope of a jpa entity manager in Seam? My experience is
that it is CONVERSATION. Is that correct?
I often get an error message on the console that the transaction can not be
started, when I access a page, which contains no component reference in the
cnversation scope. The
If you have transaction enabled in seam, it will start 1 tx for phase 1 to 5 of
JSF lifecycle. Then commits the 1 tx, which should lead to a flush. Then Seam
will start a 2 tx for phase 6 of JSF lifecycle and immediately commits that
after that.
View the original post :
I am using Seam in JSF layer + tx (SeamPhaseListener) and Persistence context
management. Spring in the middle layer. and JPA for persistence.
My problem is:
new JSF request, seam starts tx, jsf layer calls spring, which calls JPA daos.
Jpa dao executes several statements, the call returns
Jira bug is filed.
http://jira.jboss.org/jira/browse/JBSEAM-2245
I would also like to help to push Seam forward. How can I contribute?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104414#4104414
Reply to the post :
Done.
http://jira.jboss.org/jira/browse/JBSEAM-2244
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104413#4104413
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104413
___
Hi, Pete,
I know the difference bet. tx-commit and persistence context flush. My question
is, whether the manual flush is always the best strategy for a conversation,
when I don't want to see modified data in the database permaturely, before the
conversation is completed.
in Seam examples
How will you then design your application? Get rid of the layered architecture?
anonymous wrote : You can control the flushmode both through annotations/xml
and programatically through
PersistenceProvider.instance().setManualFlushMode(em); You have to use a Seam
Managed Persistence Context
Hi,
currently if a tx will be rollbacked, the SpringTransaction class kind of
swallow the root cause in the following code
catch (TransactionSystemException e)
| {
| log.error(Exception cause:, e);
| throw new SystemException(e.getMessage());
| }
|
. The exception handling mechanism doesn't allow me to hook in user defined
exception handler, so that I can check the exception stack, so some logic. I
think the redirect, end-conversation and http error are not enoughj under all
circumstances.
Like to know your opinion.
Dapeng
View the original post
The default flush mode of hibernate persistence context is transaction, which
means a flush will occur
1) when flush is called manually
2) when tx commits
3) when a query must be executed, which may require a flush
For conversation I chose to manually flush the session, so that I can also
Hi,
I hope that I understand everything in the right way. Seam always starts and
commits 2 Tx for each request. By default flush type of AUTO, hibernate entity
manager will also commit the 2 txs. (Is there an optimization to handle the
second tx for render response phase in a read-only mode?
Hi,
Hibernate executes the statements only on flushing, which is most of the time
at the end of a tx. It means, any database related exception (foreign key
constraint or unique constraint etc.) will be thrown in a deferred fashion(not
at the time of invocation, but at the time of tx
Hi,
on one column (property) of my entity, a unique constraint needs to be defined.
To avoiding a duplication of this property, I implemented a custom validator
method to check the uniqueness. So far it works fine. But I found out, that the
default hibernate validator doesn't work anymore
and defined MySqlDS datasource in embedded JBoss.
Obviously the application is working with the HSQL datasource defined locally
in spring context and not the MySQL one configured in embedded jboss. Is it a
bug? What can I do to get rid of the unnecessary data source reference.
regards
Dapeng
anonymous wrote : You only need RC1 or snapshot if you wish to use spring
managed local transactions that are automatically created and committed by seam
in a faces request. Of if you want to use Seam's @Transactional annotation.
Is there a configuration example for using spring managed local
anonymous wrote : a) use Seam transaction manager
That is the point. I want to use spring instead of seam tx, because the same
method will be invoked by non-jsf requests. Is that possible to tell Seam to
start local tx managed by spring tx manager?
anonymous wrote : declare your datasource in
It will be really great if you have working example which uses spring managed
local tx for non-JTA environment. A couple of anippets from components.xml,
applicationContext.xml and persistence.xml will also be helpful.
View the original post :
Hi,
thanks for your answer. It is the first answer I get for my posts in the seam
forum. Maybe I have been asking odd questions. Some points are still not quite
clear:
1. I am not able to locate the class TransactionalSeamPhaseListener in Seam
2.0? Has it been replaced by the general
I have jboss-embedded-all.jar in WEB-INF/lib
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074415#4074415
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074415
___
jboss-user
Do I have to use embedded-jboss container, if I just want to use the JSF
enhancements of Seam and no EJB3 functions?
My plan is to have a JPA POJO and service layer completely managed by Spring
and a JSF web layer on top of it. Is it necessary to have the embedded-jboss in
that case?
View the
Hi,
thank you for your helpful answer. I plan to have a seam independent
persistence and service layer using spring + JPA and only use seam in the web
layer because of its powerful JSF enhancements.
Do I understand it right:
1. It is possible to use spring manged the local transaction instead
Hi,
can anyone explain me the effect, when I combine Seam
TransactionalSeamPhaseListener with Spring @Transctional annotation in my
service layer?
regards
dapeng
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073849#4073849
Reply to the post :
http
/
into components.xml to disable the seam managed tx, but to use Spring
@Transactional. I got something like Seam Cannot create resource instance.
Can anyone explain me how to configure the tomcat to enable the seam managed
transaction?
Thanx.
Dapeng
View the original post :
http://www.jboss.com
annotation activated, so that one can handle JSF requests for GUI and the other
can handle web service requests?
Any feedback is appreciated.
Dapeng
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072576#4072576
Reply to the post :
http://www.jboss.com/index.html
?
3.) What is the best way to handle PersistenceContext or HibernateSession?
Configure and manage it in Seam? But how can I get them injected into my Spring
DAOs without using Seam annotation?
Any feedback is appreciated.
Dapeng
View the original post :
http://www.jboss.com/index.html?module
32 matches
Mail list logo