[JBoss-user] [Installation Configuration] - Errors on building JBoss 3.2.5

2004-06-30 Thread sbocquet
: | [javac] Compiling 178 source files to C:\Documents and Settings\sbocquet\Bureau\jboss-3.2.5-src\varia\output\classes | C:\Documents and Settings\sbocquet\Bureau\jboss-3.2.5-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:44: package org.jboss.jmx.adaptor.snmp.config.manager

[JBoss-user] [EJB/JBoss] - EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, I have an 1-N relationship between 2 CMP EJBs, Matches and Leagues, which is set correctly (XDoclet generated). A league can have several matches, and a match can only have one league. I'm trying to retrieve the league name, which is a league EJB field, while I'm listing every matches.

[JBoss-user] [EJB/JBoss] - Re: EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, I'm thinking in getting the League FK, and then to do a Leagues.findByPrimaryKey() with it. Am I wrong ? How can I have the League Foreign Key in Matches, because the field is a relation field and it don't appears in my interface !!! View the original post :

[JBoss-user] [EJB/JBoss] - Re: EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, It's Ok now. I have just forgotten a tag with Xdoclet, and the relationship method was not generated in the interfaces. Bye View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838820#3838820 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-06-02 Thread sbocquet
All is about the @jboss.relation dbindex=xxx tag for the relation tables. It works with a mySQL database when you don't have the @jboss.relation dbindex=true tag set with XDoclet for the 2 fields of the relation (GROUPS ROLES here... and USERS GROUPS). Can't remenber what this tag generate in

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-06-01 Thread sbocquet
Hi, Just try with mySQL database, and have the same error : | org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (java.sql.SQLException: Invalid argument value, message from server: Duplicate key name 'roleId_idx0') | So I think that this is a

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss audit fields

2004-05-31 Thread sbocquet
Hi, Thanks a lot for all. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836946#3836946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836946 --- This SF.Net email is

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-31 Thread sbocquet
Hi, I'm surprise that JBoss drop the indexex at undeploy time !... I was thinking that if the table does not exist, it creates it, with the constraints and indexes, and if the table is already created, it just detects it, and uses it as it is. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-31 Thread sbocquet
Hi, Perhaps, but It deploys the same ear two times... with no change in it. Just start and stop the server two times. Can someone tests my ear if I send it to him, in order to see if it's a JBoss bug ? I'm trying to debug JDBCStartCommand.java to see what it does, but it's quite difficult

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-31 Thread sbocquet
Here is it |defaults | datasourcejava:/DefaultDS/datasource | datasource-mappingHypersonic SQL/datasource-mapping | | create-tabletrue/create-table | remove-tablefalse/remove-table | read-onlyfalse/read-only |

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-31 Thread sbocquet
Hi, In JDBCStartCommand.java... It seems that JBossCMP doesn't detects that there is an index already created. It detects that the tables are created, but still try to create indexes. Can't understand why ! View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Index already exists in statement

2004-05-30 Thread sbocquet
Hi, I use JBoss IDE (XDoclet) to generate my CMP EJBs, and HSQQLDB as database. I have 2 EJBs, Groups and Roles. A groups can have many roles and a role can have many groups. There is a relation table between them, GroupsRolesLink. The first time I deploy them, the container creates the tables,

[JBoss-user] [Persistence CMP/JBoss] - JBoss audit fields

2004-05-30 Thread sbocquet
Hi, I try to add audit fields on my EJBs. I've added the corresponding tags on my jbosscmp-jdbc.xml file for my beans. | entity | ejb-nameRoles/ejb-name | create-tabletrue/create-table | remove-tablefalse/remove-table |

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss audit fields

2004-05-30 Thread sbocquet
Hi, Thanks a lot for the quick answer... I know this isn't the right place, but do you know if it's possible to generate those fields automatically with JBoss IDE (XDoclet), because I can't find a jboss specific tag for it ? Cheers, View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread sbocquet
Hi, I'm trying to install mySQL to do some testing... Here is the complte log with HSQLDB | 2004-05-31 00:20:36,048 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/bet4fun/Evenments,service=EJB | org.jboss.deployment.DeploymentException: Error

[JBoss-user] [JCA/JBoss] - No suitable driver with HSQLDB !

2004-05-25 Thread sbocquet
Hi, I had a JBoss 3.2.3 installation, with HSQLDB. I've changed the hsqldb-ds.xml for this... | ?xml version=1.0 encoding=UTF-8? | datasources |local-tx-datasource | jndi-nameDefaultDS/jndi-name | connection-urljdbc:hsqldb:hsql://localhost:1701/connection-url |

[JBoss-user] [Security JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)

2004-05-20 Thread sbocquet
Hi, In debug mode, I see that the callbackHandler argument is null, when the initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) method is call in AbstractServerLoginModule ! Any idea why ? Can someone help me ? Thanks View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)

2004-05-20 Thread sbocquet
Hi, Allways in debug mode... It works perfectly with DatabaseServerLoginModule, I have the callbackHandler variable not null, and all works perfectly. But with my personal class which extends DatabaseServerLoginModule (or UsernamePasswordLoginModule), I can't have that variable not null. I

[JBoss-user] [Security JAAS/JBoss] - Extending DatabaseServerLoginModule... (urgent)

2004-05-19 Thread sbocquet
Hi all, I'm trying to extend DatabaseServerLoginModule. But I can't find the JAR file where the compiled class is stored. I can find the class in the sources tree, in org.jboss.security.auth.spi, but where is the compiled one ? I've searched in jbosssx-client.jar (JBoss/Tomcat v3.2.3), and find

[JBoss-user] [Security JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)

2004-05-19 Thread sbocquet
Thanks for the quick answers ;-))) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835571#3835571 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835571 --- This SF.Net

[JBoss-user] [Security JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)

2004-05-19 Thread sbocquet
Hi again, I've deployed my personal login class in a jar file in the specified JBoss lib directory. I can see (in debug mode) that it goes throw the initilize() method, but that's all !!! No getUsersPassword() ou getRoleSets() are called ! When I try to connect, I have this error in the log

[JBoss-user] [EJB/JBoss] - Re: How to use audit in entities?

2004-05-17 Thread sbocquet
Hi all, Can we add the AUDIT tag in the StandardJbosscmp-jdbc.xml file, in order to have those fields for all the tables generated ? I don't know where to add it. Any examples are welcome ;-) Thanks, Stphane View the original post :

[JBoss-user] [Installation Configuration] - Building JBoss with Jikes

2004-02-23 Thread sbocquet
Hi all, I have questions on building Jboss with Jikes... - Is it possible to build JBoss 3.2.x with Jikes? It seems that yes, but I have a lot of Semantic warnings when I try to build it. | - Is it interresting to do it ? Is there really better performances (I've seen 30% on heavy load in a