[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-08-29 Thread connerjohn
"[EMAIL PROTECTED]" wrote : This is what has to be unique: | | | | | | | | The unit name does not have to be unique between EARs. | | Why is this happening? the jboss.entity.manager.factory.jndi.name binds to global JNDI. | | Ok - so after thinking about

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-08-29 Thread connerjohn
"ALRubinger" wrote : | If you'd like to only have one instance of your persistence.xml file, consider repackaging such that both of your Seam apps will have access to it... | ALR, Thanks for the information. I didn't realize that the persistence unit name had to be unique across ears.

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-08-25 Thread connerjohn
I've looked around a bit more; but haven't found anything. It seems like I shoud be able to deploy the same persistent.xml in different ears files. Any thoughts? --jc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967616#3967616 Reply to the post : http:

[jboss-user] [JBoss Eclipse IDE (users)] - jBPM Desinger in 2.0.0Beta1?

2006-08-25 Thread connerjohn
Is the jBPM designer included in this beta release? I didn't see it in the update manager (but that could be because I'm not sure of it's name). Thanks, --jc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967567#3967567 Reply to the post : http://www.jbos

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-08-19 Thread connerjohn
ok - last piece of information and I'm out of ideas: Also, I am runing the latest EJB JEMS and the latest CVS Seam. When I go look at jmx-console I find two persistent unit listed: * ear=backoffice-local.ear,jar=backoffice-local.jar,unitName=em * ear=shop-local.ear,jar=shop-local.jar,un

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-08-19 Thread connerjohn
Little more information if this will help. When I deploy application1.ear (actually name is back-local.ear), no errors and everything runs correctly. When I deploy application2.ear (shop-local.ear) and app1 is already deployed, I get the following error. However, I can still access my applicat

[jboss-user] [EJB 3.0] - Same datasource in multiple ear applications

2006-08-19 Thread connerjohn
I have the same datasource that is accessed from mutliple Seam applications (ears). I am getting an error on the second application that is deployed telling me that the datasource has already been deployed. What do I need to do (not do?) so that I can run the same datasource in multiple seam e

[jboss-user] [JBoss Seam] - Same datasource in multiple ear applications

2006-08-15 Thread connerjohn
I have the same datasource that is accessed from mutliple seam applications. I am getting an error on the second application that is deployed telling me that the datasource has already been deployed. What do I need to do (not do?) so that I can run the same datasource in multiple seam ear appl

[jboss-user] [JBoss Seam] - Pageflow Language?

2006-08-10 Thread connerjohn
I've been following the Pageflow examples/docs and am starting to write my own pageflows now. Question, what constructs in the jPDL dialetic are we allowed/not allowed to use? Can we use all of the jPDL constructs or just some. Those outlined in the examples include: - can we use o

[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-10 Thread connerjohn
"denis-karpov" wrote : anonymous wrote : However, shouldn't the data from previous steps be saved in the database | I think if you need to persist state into database you should consider to use jBPM. Although page flows use the same engine, page flows save its state only in conversation contex

[jboss-user] [JBoss Seam] - Re: LoginAction - Understanding Second Part?

2006-08-09 Thread connerjohn
"[EMAIL PROTECTED]" wrote : No strong reason, just trying to avoid side-effects. Thanks for the explanation! I was just trying to understand what I was seeing. "[EMAIL PROTECTED]" wrote : Note that @LoggedIn is not meant for production use. Its better to use a real security fwk. I agree tha

[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-09 Thread connerjohn
"[EMAIL PROTECTED]" wrote : in CVS, it is possible to call Pageflow.instance().reposition(node). | | Is that good enough? Definitely fast enough! Thanks. I will check it out. After having looked at it for a bit, I'm very interested to see how it was implemented. Thanks -- jc View the

[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-09 Thread connerjohn
Added as http://jira.jboss.org/jira/browse/JBSEAM-328 Altough, if there was some guidance about how to add this to Seam, I would probably take a crack at it since I would like this sooner than later. Thanks, --jc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-09 Thread connerjohn
"petemuir" wrote : Surely you will have lost all the data associated with the pageflow at this point (e.g. any updates to entities will be lost) so the pageflow would have to start again? I agree. However, shouldn't the data from previous steps be saved in the database (I'm not doing anything

[jboss-user] [JBoss Seam] - Re: LoginAction - Understanding Second Part?

2006-08-09 Thread connerjohn
"petemuir" wrote : but why this design decision I'm not sure... Thanks! I guess I'm asking about the design reasoning? What is the purpose of calling the method but not the rest of the chain? Thanks again, --jc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - LoginAction - Understanding Second Part?

2006-08-07 Thread connerjohn
I'm trying to understand the booking LoginAction | //$Id: LoggedInInterceptor.java,v 1.12 2006/07/26 23:19:55 gavin Exp $ | package org.jboss.seam.example.booking; | | import java.lang.reflect.Method; | | import javax.interceptor.AroundInvoke; | import javax.interceptor.InvocationC

[jboss-user] [JBoss Seam] - Resume Pageflow after Conversation Timeout

2006-08-07 Thread connerjohn
Is there a way to resume a pageflow after a converstation has timed out? When this occurs, right now we can redirect to a no-conversation-view-id. However, this performs a redirect and resets the PageContext and we then lose the pageflow name/node. I would like to call an sfsb.action so that I

[jboss-user] [JBoss Seam] - Re: Pageflow Configuration?

2006-08-02 Thread connerjohn
"[EMAIL PROTECTED]" wrote : what is "MB"? | | Managed Bean? | | [/qoute] | | yes - sorry for the shorthand. | | [qoute] | If a context variable is null, JSF usually ignores it. Thanks! -- jc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Seam] - Re: Pageflow - Dynamic viewID

2006-08-02 Thread connerjohn
Thanks! I'll think about themes some more. I'm not sure what the implications of replacing the template.xhtml based on a theme is going to be in my application. It might work; but I don't want to add another thing to my application if I can modify pageflow do what I want. To that end, I cre

[jboss-user] [JBoss Seam] - Re: Pageflow Configuration?

2006-08-02 Thread connerjohn
I turns out I was not packaging the app corectly and the Cart.java was not being included in the *.jar. Which leads to a question: What does seam do if it is looking for a MB and doesn't find one? Going over the log file I would have exepcted to see Seam looking for the MB "processFlowNameAct

[jboss-user] [JBoss Seam] - Pageflow Configuration?

2006-08-02 Thread connerjohn
I'm trying to follow the Number Guess example but can't seem to make pageflows work in an example applications. I took a shell from an application that I created earlier that works and added the pageflow configuration items. Any thoughts on what I'm missing. components.xml | |

[jboss-user] [JBoss Seam] - Re: Number Guess Example

2006-08-02 Thread connerjohn
nevermind, I figured it out. I use facelets so jsp errors are not what I'm used to troubleshooting in jboss/seam. My mistake was I replaced the jsf libraries in tomcat. I changed an entry in the web.xml pointing to the new library and everything worked. | | | MyFaces t

[jboss-user] [JBoss Seam] - Number Guess Example

2006-08-02 Thread connerjohn
I can't seem to get the number example to work. I am using the latest cvs (just grabbed it). When I go to http://localhost:9090/seam-numberguess (yes I change the tomcat port to 9090 in jboss) it redirects to http://localhost:9090/seam-numberguess/numberGuess.seam and displays only the words

[jboss-user] [JBoss Seam] - Pageflow - Dynamic viewID

2006-08-02 Thread connerjohn
I am about to replace a shopping cart application (struts->seam). The application is multi-tenat and one of the features we are hoping to be able to provide with a new architecture is the ability to customize which page is displayed for a given client. We have a standard page flow for checkout