[jboss-user] [JBoss Seam] - Re: Simple but complete Maven or ant example project needed

2006-11-02 Thread hazlorealidad
Still no sign of the project on the Wiki, any chance of posting the URL here? Andy Bailey www.hazlorealidad.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982670#3982670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Seam] - Re: ERROR: invalid large-object descriptor: 0 with postgreql

2006-09-21 Thread hazlorealidad
Great that did the trick, thanks a lot. To sum up for anyone else with the same problem. The EntityBean has @Lob public Blob getContent() { return content; } In the Stateful session bean @DataModel

[jboss-user] [JBoss Seam] - Re: ERROR: invalid large-object descriptor: 0 with postgreql

2006-09-15 Thread hazlorealidad
I added EntityTransaction tx1 = em.getTransaction(); tx1.begin(); just after em.joinTransaction(); to see if I could force a jdbc transaction but got java.lang.IllegalStateException: JTA EntityManager cannot access a transactions at org.hibernate.ejb.AbstractEntityManagerImpl.

[jboss-user] [JBoss Seam] - ERROR: invalid large-object descriptor: 0 with postgreql

2006-09-15 Thread hazlorealidad
I have a problem reading Blob s in postgres ERROR: invalid large-object descriptor: 0 (in the log you see the spanish translation) I am not sure if it is to do with hibernate, postgres or seam. What I wanted to do is download a file thats in a Blob. I wrote a test using pure jdbc and the Blob

[jboss-user] [JBoss Seam] - Re: Accessing in ActionHandlers the SEAM Way

2006-09-14 Thread hazlorealidad
I am just starting with seam but as I understood you can inject something from a business scope into a conversation scope. >From the docs: @BeginTask(taskIdParameter="taskId") Resumes work on an incomplete jBPM task. Specifies that a long-running conversation begins when this method ret

[jboss-user] [JBoss Seam] - Re: Don't deploy a process definition when restarting

2006-09-14 Thread hazlorealidad
I came over the same problem, without create-drop in the hibernate configuration the process deployment fails saying that there is another process definition with the same version (if I remember the error message correctly). How can you disable the "auto deployment" of process definitions (I had

[jboss-user] [JBoss Seam] - Re: Pageflow - ClassCastException: org.jbpm.graph.node.Start

2006-09-14 Thread hazlorealidad
I did read the manual several times but managed to miss the two sentences below. Wouldnt it be a good idea to put in an error message explaining what went wrong instead of throwing a ClassCastException. I thought it was a class loading issue! (of which I have found several with jboss). I imagine

[jboss-user] [JBoss Seam] - Re: Pageflow executed before the model values are applied

2006-09-13 Thread hazlorealidad
Thanks once again - my mistake I do think though that the message Caused by: org.jbpm.JbpmException: decision expression '#{documentRegister.type}' returned null at org.jbpm.graph.node.Decision.execute(Decision.java:110) is misleading, it would be better to say "documentRegister" not found in

[jboss-user] [JBoss Seam] - Re: Pageflow executed before the model values are applied

2006-09-13 Thread hazlorealidad
Disable htm didnt work either Using vi to replace less thans and greater thans with the character entities

[jboss-user] [JBoss Seam] - Re: Pageflow executed before the model values are applied

2006-09-13 Thread hazlorealidad
The pageflow didnt appear correctly trying again...

[jboss-user] [JBoss Seam] - Pageflow executed before the model values are applied

2006-09-13 Thread hazlorealidad
I am seeing a problem in that the pageflow seems to be executed before the model values are applied, is this a bug or is it a problem with my configuration. //the page is first requested 14:03:23,365 INFO [DocumentRegisterEntryBean] Start called 14:03:23,380 INFO [DocumentRegisterEntryBean] get

[jboss-user] [JBoss Seam] - Re: Pageflow - ClassCastException: org.jbpm.graph.node.Start

2006-09-13 Thread hazlorealidad
Great, That fixed it. Thanks Gavin I had copied the newuser.jpdl.xml file from the dvd example which has start-state instead of start-page In fact all the jpdl examples from the cvs have start-state, confusing! Wouldnt there be a way to validate the schema or dtd to catch the problem earlier an

[jboss-user] [JBoss Seam] - Re: Simple but complete Maven or ant example project needed

2006-09-13 Thread hazlorealidad
Great, I was checking the wiki for the project but havent found it yet. Can you post the url here when you upload it. Andy Bailey www.hazlorealidad.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971293#3971293 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Seam] - Simple but complete Maven or ant example project needed

2006-09-09 Thread hazlorealidad
I want to recount my experiences with Seam, in the hope that the developers/documenters can make it less complex to write a seam application. Im going to concentrate on the negative points as they are the ones that I think need fixing. After reading the documentation I saw that Seam solves a lo

[jboss-user] [JBoss Seam] - Pageflow - ClassCastException: org.jbpm.graph.node.StartStat

2006-09-09 Thread hazlorealidad
hazlorealidad/sgi-web/ META-INF/maven/com.hazlorealidad/sgi-web/pom.xml META-INF/maven/com.hazlorealidad/sgi-web/pom.properties ] commons-fileupload-1.1.jar commons-email-1.0.jar commons-lang-2.1.jar mail-1.3.3.jar commons-io-1.2.jar sgi-ejb-1.0.jar [ com/ com/

[jboss-user] [JBoss Seam] - Re: How to configure jbpm to use an extended persistence con

2006-09-08 Thread hazlorealidad
Thanks for the prompt reply but in this case it doesnt seem to be the answer, I already have those lines in the faces-config.xml I think jbpm handles its own connections to the datasource and I cant see how to get it to use an extended context. My temporary workaround is to load the process ag

[jboss-user] [JBoss Seam] - How to configure jbpm to use an extended persistence context

2006-09-07 Thread hazlorealidad
I am trying to print out the processes defined in the JbpmContext and their nodes. I get the message failed to lazily initialize a collection of role: org.jbpm.graph.def.ProcessDefinition.nodes, no session or session was closed The bean public class ProcessManagerBean { @Logger