[JBoss-user] [EJB/JBoss] - Re: problem with jboss and mysql

2004-05-17 Thread aquila125
Did you define the datasource? Take a look at chapter 8 of the JBoss Getting Started doc (using other databases) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835147#3835147 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Relationship Lazy Loading in jboss3.2.3 does not give expect

2004-05-13 Thread aquila125
Hi, I've got 2 tables: Price and Product, each product has some prices: Price table: * rowid * price * product * date Product table: *rowid *allproductinfo Now I would like to fetch all prices and the corresponding products on a certain date. So I create an eager-load-group in my price

[JBoss-user] [Persistence CMP/JBoss] - order by on cmr fields attribute

2004-05-12 Thread aquila125
Hi there, I'm running a jboss-ql query and I would like to sort the results on one of the cmr fields attributes like this: SELECT OBJECT(rpp) FROM ReferenceProductPrice WHERE rpp.pricelistRelease.row_id = ?1 ORDER BY rpp.product.code ASC But it doesn't seem to work (no error though).. Does

[JBoss-user] [Persistence CMP/JBoss] - Rollback Exception: Already marked for rollback

2004-05-12 Thread aquila125
Hi there, I'm developing a j2ee application with about 40 entity beans. When doing a finder query on one of the larger beans (that has 6 relationships with other beans), I get this error: 10:42:38,086 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho d: public abstract

[JBoss-user] [Persistence CMP/JBoss] - Re: Rollback Exception: Already marked for rollback

2004-05-12 Thread aquila125
Perhaps the few lines before this error are usefull too: 10:42:37,961 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format Id=257, GlobalId=HQ-ALL25//29, BranchQual=] timed out. status=STATUS_ACTIVE 10:42:37,961 WARN [TransactionImpl] Lock contention, tx=TransactionImpl:XidImpl

[JBoss-user] [Beginners Corner] - CMP question

2004-05-11 Thread aquila125
Hi there, I'm using CMP 2.x, and in my cmp log file I noticed that JBoss does some Update queries when I search for data with a finder method.. Why is that? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834428#3834428 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - How to access Groups from a SessionContext

2004-03-23 Thread aquila125
Hi there, So I created my own little LoginModule, based on the DatabaseServerLoginModule supplied by JBoss. All works fine and the login succeeds and fails when expected. In the loginmodule I add several groups of principals to the subject. I have a group called Roles, and 2 other groups. I use

[JBoss-user] [Persistence CMP/JBoss] - Reserved Words list not used for columnnames?

2004-03-22 Thread aquila125
Hi there, I've build an entity bean called ViewEJB and would like to put the data in a table called View. Since view is a reserved word, JBoss (3.2.3) will create a table called xView instead (no problem here, although backticks would be a nicer way). But if I add a cmp field called view, my

[JBoss-user] [Persistence CMP/JBoss] - Re: Reserved Words list not used for columnnames?

2004-03-22 Thread aquila125
Idd, but then the words defined in reserved-words have no use... I was hoping there was some way JBoss would take care of those... a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826854#3826854;View the original post/a a

[JBoss-user] [Persistence CMP/JBoss] - Re: Reserved Words list not used for columnnames?

2004-03-22 Thread aquila125
too bad.. perhaps something for a next release? Thanks for checking it out!! Kind regards, Sebastiaan a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826876#3826876;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826876Reply

[JBoss-user] [Security JAAS/JBoss] - Re: j2ee.clientName in jndi.properties

2004-03-17 Thread aquila125
Hmm.. I don't think I understand.. I'll descibe the steps i took... I've written some EJB's and deployed them, connecting to them went perfectly (CMP entitybeans).. I wrote a small client-application that create some beanse.. Now I would like to add security, so I read the documentation (both

[JBoss-user] [Security JAAS/JBoss] - j2ee.clientName in jndi.properties

2004-03-16 Thread aquila125
Hi there, I convinced my manager to give j2ee and jboss a try (although one of our departments is a reseller of a commercial j2ee implementation). I got some EJB's deployed and they are working just fine. But if I want to setup JAAS and try to login I get this error:

[JBoss-user] [Beginners Corner] - Re: Need a Simple Example

2004-03-15 Thread aquila125
Check out the Getting Started documentation http://www.jboss.org/docs/index#free-32x Good luck! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825642#3825642;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825642Reply to the

[JBoss-user] [Persistence CMP/JBoss] - ejbql question

2004-03-09 Thread aquila125
Hi there, I have three tables like this: Pricelistsheet: *row_id *name PricelistsheetItem *row_id *pricelistsheet *product *order Product *row_id *name Since PricelistsheetItem has several columns that can't be captured in a normal many-many relationship table, we've

[JBoss-user] [Persistence CMP/JBoss] - Re: Auto Increment primary key in postgresql: Functional ex

2004-03-09 Thread aquila125
I believe you have to make sure all your columns are nullable (except the PK column ofcourse) since JBoss will first create an empty record, and fill the fields up later... a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824912#3824912;View the original post/a a

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR with EJB2.0 + JBoss3.2

2004-03-08 Thread aquila125
try this in your jbosscmp-jdbc.xml file: ejb-relation ejb-relation-nameQuestion-Has-A-Choices/ejb-relation-name ejb-relationship-role ejb-relationship-role-nameQuestion-Of-A-Choice /ejb-relationship-role-name key-fields/ /ejb-relationship-role ejb-relationship-role

[JBoss-user] [Persistence CMP/JBoss] - EJB-QL error

2004-03-08 Thread aquila125
Hi there, when trying to deploy some entity beans I get an error about the query I was using to test the deployment. Why doesn't the ?1 work? Error compiling EJB-QL statement 'SELECT DISTINCT OBJECT(rpp) FROM ReferenceProductPriceCMPEJB AS rpp

[JBoss-user] [Persistence CMP/JBoss] - Re: EJB-QL error

2004-03-08 Thread aquila125
/me smashes head into keyboard.. found the problem... something application specific.. Sebastiaan a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824673#3824673;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3824673Reply to

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR with EJB2.0 + JBoss3.2

2004-03-08 Thread aquila125
I don't consider myself more intelligent then the next guy, but I've been sweating over the same problems these last few weeks :) About your problem with the auto-increment... are you sure you added the auto-increment/ tag to the correct fields in jbosscmp-jdbc.xml? Also, in the default

[JBoss-user] [Datasource Configuration] - XADatasource

2004-03-03 Thread aquila125
Hi there, I'm pretty new to the jboss scene. Can I use transactions without a XADatasource? If so, whats the difference between a normal an a XADatasource? tnx a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823973#3823973;View the original post/a a

[JBoss-user] [Beginners Corner] - Can't run several clients simultaniously

2004-02-16 Thread aquila125
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821675#3821675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821675 Hi there, I wrote a small application that uses some EJB's and a client that reads them through some

[JBoss-user] [Datasource Configuration] - MSSQL problem with JMS messages

2004-02-12 Thread aquila125
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821192#3821192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821192 Hi there, I just recently started using JBoss and I encountered this problem: I'm using MSSQL2K and