anonymous wrote :
https://jira.jboss.org/jira/browse/JBPM-1914?focusedCommentId=12442428#action_12442428
this has nothing to do with transaction ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203719#4203719
Reply to the post :
http://www.jboss.com/ind
so the only way to get transactional is to hook the createJbpmContext on start
of the transaction and call the close on transaction commit, after to have
flushed the hibernate session as being done in Seam code.
Otherwise hibernate will flush once the jbpmContext is closed and so call the
conve
it this doc still relevant:
http://docs.jboss.com/jbpm/v3.2/userguide/html/persistence.html#jtatransactions
(this part is the same as the doc included in 3.3.0.GA)
the default conf in JBoss:
jbpm-3.3.0.GA/jboss-4.2.2.GA/server/default/deploy/jbpm/jbpm-service.sar
is not using it.
View the origi
Hi all,
We had a bit of a problem to get Jbpm transactionnal in JBoss server and end up
using the same workaround used by seam. Could anyone share its conf for a
transactionnal jbpm in JBoss ?
Related JIRA:
https://jira.jboss.org/jira/browse/JBPM-1914
If the problem is real and there is no w
I don't know about JasperReport but we're using BusinessObject without problem.
We just get an action that get the HttpServletResponse and write report in
pdf/excel/html to it.
We have a BO component that do all the heavy work (not much to do with seam).
The component is behind a facade so we can
The previous code never works when only using el, even when putting the setter
in the invokeApplication block.
The following code work:
| @Override
| protected void invokeApplication() throws Exception {
| Profil profil = (Profil) getValue("#{administration.allProfils[0]}");
| pr
give it what it wants :-)
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/seam/api/org/jboss/seam/core/FacesMessages.html.
createFacesMessage function looks about right
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108040#4108040
Reply to the
Have a look at the doc again:
[url]http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/annotations.html#d0e14787
[/url]
Specifies that the method of the component is used to initialize the value of
the named context variable, when the context variable has no value. This style
is used with metho
first step for optimisation is usually to know what takes time.
Turn loggin on and see.
If it spend a long time in the cache or needs to recreate the page(so the page
wasn't found in the cache) you can have a look at Jboss Cache doc, it is very
user friendly :-)
alex
View the original post :
ht
what about a jsf validator ?
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107972#4107972
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107972
___
jboss-user mailing li
what happens when you do return an empty list or array (and not void).
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107731#4107731
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107731
___
I am trying to test dataTable.
I can get/set data row using the list index.
I am having a problem to pass an argument to a function:
| @Override
| protected void updateModelValues() throws Exception {
| setValue("#{administration.allProfils[0].lic}", "FOO");
| }
| @Override
| prote
This defenitly works:
|
|
|
|
|
|
If it is not working then you have a typo somewhere.
1. first check your getter/setter for rooms.
2. output #{hotel.rooms} to see if you got a list
3. use a datable as you did and just output #{room}
alex
View
are you looking for: #{hotel.rooms.size()} ?
(using jboss el)
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107572#4107572
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107572
___
Hi,
We manage to integration test our application with a succession of new
FacesRequest().run();
We would like to add some navigation test to it.
If we have:
|
|
|
|
|
|
|
|
We would expect this to pass:
| new NonFace
added:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104756#4104756
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104756
__
| FacesContext facesContext = FacesContext.getCurrentInstance();
| HttpServletResponse response = (HttpServletResponse) facesContext
| .getExternalContext().getResponse();
|
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41046
anonymous wrote : What about JbpmContext lifecycle? May I hold it in a SFSB
Seam component field? (Can it be passivated?)
|
Could you tell me if that worked ?
For what I understand jbpm context delimit the transaction, and can use a
transaction if one is active.
So from creating jbpmcontext t
wild guess:
using the servlet, jbpm can store the transaction in the threadlocal created at
startup by the servlet thread that stays alive until shutdown of the app.
why don't you use the traditionnal Servlet to check?
http://docs.jboss.com/jbpm/v3/javadoc/org/jbpm/job/executor/JobExecutorServlet
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123569
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104216#4104216
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104216
___
jsf feature but should be put on seam faq.
|
|
aelx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104211#4104211
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104211
___
Have you set up JTA in hibernate.cfg.xml of jbpm ?
mine looks like:
| org.hibernate.transaction.JTATransactionFactory
| org.hibernate.transaction.JBossTransactionManagerLookup
|
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104167#410
seam is searching for a componenent called nomeEndereco.
Because it can't find one it throws an exception.
What did you expect to happen with @In
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104085#4104085
Reply to the post :
http://www.jboss.com/index
if you're using jboss, you can have a look in jmx-console or web console to see
what is in the JNDI.
Can you see what you're looking for ?
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103745#4103745
Reply to the post :
http://www.jboss.com/index.html?
Hi,
I just uploaded a patch: http://jira.jboss.org/jira/browse/JBSEAM-2236
about jbpm.
The patch include a new folder with inside a (standalone) maven project.
You can run mvn clean install inside to test the patch.
I think it would be nice to separate this way fat component from the rest of
seam
not sure, but are you looking for attribute escape="false",
the default is true.
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/h/outputText.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090778#4090778
Reply to the post :
http://www.jbo
Hi,
I am porting a project to seam.
We have a servlet that interface with BusinessObjects.
mapping of *.pdf and *.xls goes to that servlet and it returns rapport from BO
in pdf or xls format.
mapping of *.bo return html of the BO rapport.
We would like to have a BO component. We're using facelet
Hi, I have a seam application inside an ear in JBoss 4.0.5. I uses jbpm and
everything works fine.
Inside the ear I also have a MBean. I need this MBean to "talk" with the jbpm
process.
The error I get is the following:
Caused by: java.lang.IllegalStateException: No application context active
at
pete, you've been answering most mail in this forum.
Thanks a lot, you're help is greatly appreciated.
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088340#4088340
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=408
My understanding of a seam component was that it was managed by seam, one and
only one is created by scope and so is a singleton.
So when a seam component wants another component to be injected with @In, it
looks into its scope and higher scope to find the named component to inject.
If I have:cl
my mistake, was trying to use jpa in with jboss manage em.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081576#4081576
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081576
I am using jboss-seam-1.2.1.GA in jboss 4.0.5 .
I followed the doc 8.3.1 on using seam managed persistence and get the
following error
when seam try to inject the entity manager:
Caused by: java.lang.ClassCastException:
org.jboss.ejb3.entity.InjectedEntityManagerFactory
at
org.jboss.seam
in the jmx-console you should be able to see the MBean of your cache.
You can then call the toString or print operation.
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079831#4079831
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
thanks a log
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079183#4079183
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079183
___
jboss-user mailing list
jboss-user@lists.j
I am using jboss-seam-1.2.1.GA.
Wouldn't it be better to take the demo down ?
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079175#4079175
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079175
___
On my machine, the error happen for jboss 4.2.0 and 4.2.1 but not 4.0.5.
Any knows the jboss version of demo.jboss.com ? and and work around the problem
?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079153#4079153
Reply to the post :
http://www.jbo
(I am having the same pb on my local app)
go to :
http://dvdstore.demo.jboss.com/
click on: shop
and get:
An Error Occurred:
javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection
- Stack Trace
javax.ejb.EJBTransactionRolledbackException:
java
We finally tracked down the problem. It has nothing to do with mod_jk.
One of our app is using jboss rules and the jvm crashes always at the same
place:
--- T H R E A D ---
Current thread (0x08105a48): JavaThread "CompilerThread0" daemon
[_thread_in_native, id=10980]
We plan to deploy app in a farm with apache as a front using mod_jk. At the
moment we test using apache2, mod_jk 1.2.18-3, and jboss 4.0.4. Just One
instance of apache and jboss on the same machine.
We configured mod_jk so request are sent to jboss. It works for few requests
then we get an error
39 matches
Mail list logo