[jboss-user] [JBoss jBPM] - Re: Jbpm in JBoss

2009-01-21 Thread arussel
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

[jboss-user] [JBoss jBPM] - Re: Jbpm in JBoss

2009-01-20 Thread arussel
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

[jboss-user] [JBoss jBPM] - Re: Jbpm in JBoss

2009-01-20 Thread arussel
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

[jboss-user] [JBoss jBPM] - Jbpm in JBoss

2009-01-20 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: JasperReport+Seam

2007-11-28 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: testing dataTable

2007-11-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: data validation

2007-11-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: @DataModel problem

2007-11-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Enhance s:cache performances

2007-11-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: data validation

2007-11-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: DataModel annotation and empty EL operator

2007-11-26 Thread arussel
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 ___

[jboss-user] [JBoss Seam] - testing dataTable

2007-11-25 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Getting outjected object's attributes

2007-11-25 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Getting outjected object's attributes

2007-11-25 Thread arussel
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 ___

[jboss-user] [JBoss Seam] - seam test of navigation

2007-11-22 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Reading HTML from database

2007-11-14 Thread arussel
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 __

[jboss-user] [JBoss Seam] - Re: How to access HttpServletResponse object in an Action Li

2007-11-14 Thread arussel
| 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

[jboss-user] [JBoss Seam] - Re: Problems understanding Seam's jBPM support

2007-11-14 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues

2007-11-13 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: problem with characters encoding

2007-11-13 Thread arussel
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 ___

[jboss-user] [JBoss Seam] - Re: Reading HTML from database

2007-11-13 Thread arussel
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 ___

[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues

2007-11-13 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value

2007-11-13 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Using an EJB3 in seam

2007-11-12 Thread arussel
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?

[jboss-user] [JBoss Seam] - separating fat component (jbpm) from the core

2007-11-11 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: Ho to avoid HTML entity conversion

2007-10-02 Thread arussel
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

[jboss-user] [JBoss Seam] - servlet functionality with seam component

2007-10-02 Thread arussel
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

[jboss-user] [JBoss jBPM] - No using SeamVariableResolver inside seam

2007-09-27 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: doc on component/sfsb and scope

2007-09-25 Thread arussel
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

[jboss-user] [JBoss Seam] - doc on component/sfsb and scope

2007-09-24 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: class cast exception using managed persistence context

2007-09-06 Thread arussel
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

[jboss-user] [JBoss Seam] - class cast exception using managed persistence context

2007-09-06 Thread arussel
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

[jboss-user] [JBossCache] - Re: JBoss Cache GUI

2007-08-30 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: http://dvdstore.demo.jboss.com is broken

2007-08-29 Thread arussel
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

[jboss-user] [JBoss Seam] - Re: http://dvdstore.demo.jboss.com is broken

2007-08-29 Thread arussel
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 ___

[jboss-user] [JBoss Seam] - Re: http://dvdstore.demo.jboss.com is broken

2007-08-29 Thread arussel
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

[jboss-user] [JBoss Seam] - http://dvdstore.demo.jboss.com is broken

2007-08-29 Thread arussel
(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

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss shutdown without any log

2007-05-21 Thread arussel
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]

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss shutdown without any log

2007-05-18 Thread arussel
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