[JBoss-user] [Persistence & CMP/JBoss] - Collection and Compound Primary Key

2004-10-10 Thread ___martin___
Hallo! Once again: I think I've found a strange behavior of JBoss. I'm using a table with a compound primary key. I try to get a collection of values from the table via a find-method. This collection should contain Local Interfaces. If the returned collection contains a single row of the table I

[JBoss-user] [Advanced Documentation] - Re: Book to buy?

2004-10-01 Thread ___martin___
I figured out how some things work by using the openbook Mastering EJB 2.0 from TSS.com and the workbook examples of Enterprise JavaBeans(O'Reilly) by having a look at the JBoss source-examples. Having a look at the various JBoss books reveals that parts of the Administrators & Developpers gui

[JBoss-user] [Beginners Corner] - Re: EJBQL Problem

2004-10-01 Thread ___martin___
Hi. You should use the abstract-schema-name of the ejb-jar.xml deployment descriptor for the entity-bean. SELECT Object(a) from ProductBean a WHERE a.name = ?1 (I have not tested the statement.) cu, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38500

[JBoss-user] [Persistence & CMP/JBoss] - Compound Primary Keys / Strange Behavior

2004-10-01 Thread ___martin___
Hello Community! I've a little problem using JBoss 3.2.3 and compound primary keys(the sample uses cmp with added JAAS security, running without any troubles). My data-model (EER) contains a weak m-n relationship with additional attributes. So I created a single table containing a compound prim

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule - Bad Password

2004-09-20 Thread ___martin___
Sorry, I've forgot to post that I've finally solved the problem. I've added a column rolegroup to the database and set the rolesQuery in login-config.xml to: select role,'Roles' from customerejb where ucid=? One thing that confused me a little was the fact that when I set the query to select ro

[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule - Bad Password

2004-09-08 Thread ___martin___
Hello List/Forum! I've got a little problem using JBoss 3.2.3 with JAAS/DatabaseServerLoginModule. A sample swing-application (standalone; not web) should authenticate a user against the JBoss app-server; thus the client uses the ClientLoginModule whereas the JBoss-app-server uses the Database

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Howto: README FIRST

2004-06-07 Thread ___martin___
Hi. I've read the tutorial and done the "exploring" section of it. But I still didn't manage to get a gui-client authenticate using the DatabaseServerLoginModule. During reading other tutorials (http://minnigerode.org/CA-SF/dave/BasicJBossAAC.html) amongst others I noticed that some of them ha

[JBoss-user] [Security & JAAS/JBoss] - JAAS / DatabaseServerLoginModule / JBoss 3.2.3

2004-06-06 Thread ___martin___
Sorry, for cross-posting. I did the first posting to the wrong forum group. - Hallo List! I'd like to set up some security using JAAS and the DatabaseServerLoginModule for a small demo-application. In contras

[JBoss-user] [Beginners Corner] - Re: JBoss/(Entity Bean Beginner Question

2004-03-10 Thread ___martin___
Hi, sorry for bothering you with this question. I have found the error. I learn according to the book Enterprise JavaBeans 3rd Ed. I put the META-INF dir as said in the book and the picture on page 99 - which was an error. The book seems to have a few printing errors, but I discovered an errat

[JBoss-user] [Beginners Corner] - JBoss/(Entity Bean Beginner Question

2004-03-09 Thread ___martin___
hello I'm trying to deploy a simple entity bean that uses cmp and models a customer. Therefore I've written a CustomerBean, a CustomerRemote, CustomerHomeRemote. In addition I've also made CustomerLocal and CustomerHomeLocal interfaces (later the customer shall maintain a cmp-relationship with

[JBoss-user] [Beginners Corner] - Re: Problems installing JBoss 3.2.3 - Problem solved

2004-02-23 Thread ___martin___
Sorry, for causing trouble. It was my fault. thx, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822576#3822576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822576 ---

[JBoss-user] [Beginners Corner] - Problems installing JBoss 3.2.3

2004-02-23 Thread ___martin___
Hello community, I've just downloaded the bz2-file from the jboss.org homepage. Then I've unzipped the file in /usr/local with "root" permissions and afterwards started the server again with root permission from the /usr/local/jboss-3.2.3/bin directory (I'm running a SuSE 8.2 box with installe