[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem with datasource + mysql + jboss

2009-01-28 Thread rhinosystemsinc
so you got me thinking on the right track... it was due to a persistence.xml config that had hibernate login info overriding the datasource config. I removed the username/passwd from the persistence.xml and all it good now. Thanks! View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem with datasource + mysql + jboss

2009-01-28 Thread rhinosystemsinc
Hi, I've configured two datasources in /server/default/deploy, as shown below, and one goes to oracle, and the other goes to mysql. Problem is this... I can connect to mysql via a java test program, but it won't connect from jboss. Funny thing is that it is using a username that I've taken o

[jboss-user] [JNDI/Naming/Network] - Re: Why does jbossall-client.jar cause

2007-08-22 Thread rhinosystemsinc
I figured out the problem I was having, and hopefully this may help you... Make sure to put a try-catch around the entire body of code for your EJB interfaces. Basically I was having a problem with the SLSB.method, when it tried to invoke a SFSB.method2. I my body of code for "SLSB.method" I

[jboss-user] [JNDI/Naming/Network] - Re: Why does jbossall-client.jar cause

2007-08-22 Thread rhinosystemsinc
I am interested in solving this problem as well - I have worked on this for the last 1.5 days, and searched the forums for a solution, but can't find any? Has anyone been able to get a REMOTE EJB3 client working with jboss? If so please explain the steps... If I include my jar file that has th

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

2007-06-08 Thread rhinosystemsinc
Georges, I am having almost the same problem. My scenario is different, but the DataModel is being cached... and if I change the datamodel to stateless or the SFSB to SLSB, it complains w/ exceptions. How did you solve your problem? Can you give me code samples? Thanks! View the original post :

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-15 Thread rhinosystemsinc
my xml didn't show up in the previous post - I will enclose in "code" tags - this is what I had to get rid of : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045823#4045823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-15 Thread rhinosystemsinc
I fixed the problem - it was that the persistance.xml had the following defined. I needed this to run the "seam generate-entities" or else all the tables in the system space were being generated to. Thank you for your code suggestion. -Joel View the original post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-15 Thread rhinosystemsinc
I fixed the problem - it was that the persistance.xml had the following defined. I needed this to run the "seam generate-entities" or else all the tables in the system space were being generated to. Thank you for your code suggestion. View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-14 Thread rhinosystemsinc
Sorry. I know this is slightly off topic of your question - please forgive me. but I am still having the same problem whereby, it says the sequence does not exists... I am using jboss-4.0.5.GA w/EJB installed on Window XP runing 10g XE on same machine. This one issue is enough to kill my proj

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-11 Thread rhinosystemsinc
Thanks for the info on the sequence - but it still gives me the same problem: 12:15:22,362 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:ear=naturalmed2.ear,unitName=naturalmed2 State: FAILED Reason: javax.pe

[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-11 Thread rhinosystemsinc
Hello, can someone give me some advice on how to setup a generated ID with Oracle, hibernate and SEAM... I have been trying to do a variety of ways - like "before insert" triggers and coupled with @GeneratedValue(strategy=GenerationType.IDENTITY) or @GeneratedValue(strategy=GenerationType.AUTO)

[jboss-user] [JBoss Seam] - Re: many-to-many (dynamically shown) on same JSF page

2007-04-20 Thread rhinosystemsinc
I'd like some help with how the JSF dataTable and single/multi selects are setup and how to setup the SLSB to handle the SAVE on this scenario. Here are the objects and tables roughed in . public class Person { String FNAME=""; List preferences=null; @ManyToMany @JoinTable (name="Per

[jboss-user] [JBoss Seam] - Re: generate-entities generating all the tables including sy

2007-04-16 Thread rhinosystemsinc
thanks! I'll check that out (hibernate.default_schema) - I redid my "setup" and specified the schema and that worked. You'd think it would default to the "user", if not specified - but perhaps that may be too specific behaviour to Oracle and not other database vendors. View the original post :

[jboss-user] [JBoss Seam] - Re: many-to-many (dynamically shown) on same JSF page

2007-04-16 Thread rhinosystemsinc
Hello Petemuir - thanks for replying - I just gave these as examples of a many-to-many relationship. I don't have them to post, but besides it is a bit irrelevant since the question is really about what is the best way to manage dynamically generated jsf-seam components that have a master-detail

[jboss-user] [JBoss Seam] - generate-entities generating all the tables including system

2007-04-16 Thread rhinosystemsinc
for some reason "seam generate-entities" is giving all the tables (including system tables) in my oracle 9i database (w/ 10g jdbc driver). How can I limit it to just the tables in my user's schema? [hibernate] WARNING: The JDBC driver didn't report any primary key columns in US | ER_REPCOLUM

[jboss-user] [JBoss Seam] - many-to-many (dynamically shown) on same JSF page

2007-04-13 Thread rhinosystemsinc
Hello, Lets say i have a user that has a M-M relationship with preferences. The preferences should show up as "Checkboxes" or "RadioButtons" on the screen. I create the POJO user class with a Set of preferences annotated with Many-to-Many. The list of available preferences (from the system) are