[JBoss-user] Is it OK to bind EEJB to local *and* remote JNDI name?

2002-10-22 Thread Peter Shillan
Hi Folks, I have an entry as follows in my jboss.xml file: UserBean forethought.UserHome forethought.UserLocalHome AccountTypeBean forethought.AccountTypeLocalHome Now AccountTypeBean's JNDI entry is as expected but UserBean is only bound to forethought.UserHome. Why is that? You

Re: [JBoss-user] Strange Problem on Linux

2002-10-17 Thread Peter Shillan
Hi All, Can the people who next respond to this thread *PLEASE* trim their posts? Digest format can be long enough but this is making it enormous. Many thanks, --gps E-mail is an informal method of communication and may

Re: [JBoss-user] CMR Problem: Chicken and Egg

2002-10-09 Thread Peter Shillan
Hi Alex, > Currently, CMR fields must be nullable Is this a JBoss (*cough*) feature? I don't believe the spec mandates this. --peter E-mail is an informal method of communication and may be subject to data corruption,

[JBoss-user] EJB-QL to SQL Translation Problem *IGNORE*

2002-10-09 Thread Peter Shillan
This was a mistake on my part ... I've fixed this ... plz ignore. Thanks if you tried to help already! --peter E-mail is an informal method of communication and may be subject to data corruption, interception and unauth

[JBoss-user] EJB-QL to SQL Translation Problem

2002-10-09 Thread Peter Shillan
Hi Folks, Having deployed a bean with an EJB-QL query in ejb-jar.xml, I was very surprised to find the following in the logs: 2002-10-09 14:45:12,508 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.UserTypeBean.findByType] EJB-QL: SELECT OBJECT(a) FROM USER_TYPES AS a WHERE a.type = ?1 200

[JBoss-user] CMR Problem: Chicken and Egg

2002-10-09 Thread Peter Shillan
Hi Folks, I've recently been implementing Brett McLaughlin's "Building Java Enterprise Architecture" examples on JBoss 3.0.3 and I'm having great (if frustrating!) fun doing it :-D. I have a problem regarding CMR fields though ... - CMR fields must be assigned in ejbPostCreate() - It makes sense

[JBoss-user] EJB-QL Comparison Operator Problem

2002-08-27 Thread Peter Shillan
Hi Folks, I am currently implementing the example code from Building Enterprise Java Applications concurrently on JBoss and Weblogic. Weblogic is looking good but I get the following error in JBoss (see below). The queries are simple enough and I believe JBoss is erroneously objecting to the >= o

[JBoss-user] Re: Still Can't Create a Bean

2002-04-19 Thread Peter Shillan
I really have been trying everything so I tried using transaction attribute "Mandatory" and using a client transaction. I got the same error I got when I used "Required", included below. This looks like a problem in the caching... after all, the container should simply work if I provide the tra

[JBoss-user] Still Can't Create a Bean

2002-04-19 Thread Peter Shillan
Hi there, I took the advice from yesterday when I had my simple bean creation test running a bean with transaction attribute "Supports". I changed this to "Required" and rebuilt everything clean and deployed my bean. Now, not only does the bean never appear in the database, but the following e

Re: [JBoss-user] Collections in CMP2.0

2002-04-18 Thread Peter Shillan
Erm... check *what* exactly... :">... Peter. On Wed, 17 Apr 2002 13:32:55 -0500 "Dain Sundstrom" <[EMAIL PROTECTED]> wrote: > Peter Shillan wrote: > > > Hi there, > > > > If I have a CMP 2.0 attribute which is a collection,

[JBoss-user] Collections in CMP2.0

2002-04-17 Thread Peter Shillan
Hi there, If I have a CMP 2.0 attribute which is a collection, I have public abstract void setChildren(java.util.Collection children); public abstract java.util.Collection getChildren(); My understanding was that if I want, I can write the following: public void addChild(MyBean child) {

Re: [JBoss-User] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan
Hi again, I forgot to say... I've tried this on the CVS from today (16th April 2002) and on RC1. I run RH7.2 with the Blackdown JVM (JDK 1.3.1). Peter. E-mail is an informal method of communication and may be subject to

[JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan
Hi there, I have a really simple bean and test for that bean. I'm building the test gradually. I've included what I have so far. The problem is that although the bean is created, findByPrimaryKey() never finds any beans and findAll() always returns 0. If I try to create the bean again though,

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Peter Shillan
On Wed, 03 Apr 2002 09:12:40 -0500 "David Ward" <[EMAIL PROTECTED]> wrote: > 1) Note to Peter - you can't have a message bean involved in a cmr > relationship (only entities can participate in cmr's), so I'm a bit > confused by your first statement. I call it a message bean because my entity b

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Peter Shillan
uot; <[EMAIL PROTECTED]> wrote: > Peter Shillan wrote: > > > > > > > parent > > > > > > children > > > > > >

[JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-03-28 Thread Peter Shillan
Hi David, I have managed to code this and I can deploy it. However, once deployed, if I call setParent() or addChild() on my bean, the relationships are not maintained (though the same code works in Orion server - up to a point as it's CMP 2.0 support is not complete). I've included my jbosscm

[JBoss-user] I'm the Invisible Man

2002-03-27 Thread Peter Shillan
Hi All, This is more of an 'moral' post than anything else and may be seen as a bit of a whinge but bear with me... I have been posting to the JBoss forums and can't get a single reply to my posts. I believe there is a problem with CMP 2.0 relationships and I can't seem to get anyone to take

[JBoss-user] Re: Load Failed Error on Simple Bean

2002-03-18 Thread Peter Shillan
Hi All, I have no idea exactly what I did as I've been making too many changes to recall including, getting JBoss 3.0 from CVS and rebuilding. Whatever I did, my problem has gone and I'd like to thank you all for your help, especially Eric. Regards, Peter. __

Re: [JBoss-user] Load Failed Error on Simple Bean

2002-03-18 Thread Peter Shillan
Hi Eric (et all), I am using JBoss "out of the box" so I'm using Hypersonic SQL as the database. The tables were created by JBoss deployment and the statements used look fine. I generated the whole lot (CMP Bean, ejb-jar.xml, JBoss XML) using xdoclet 1.2.2. Perhaps now I need to post up the EA

Re: [JBoss-user] Load Failed Error on Simple Bean

2002-03-15 Thread Peter Shillan
A couple of extracts are included below from the files Eric mentions. Thanks, Peter. On Fri, 15 Mar 2002 14:30:14 +0100 "Eric Jain" <[EMAIL PROTECTED]> wrote: > > Any idea what's going on? > > Perhaps the primary-key declaration in your ejb-jar.xml is faulty, or more > likely there is an erro

[JBoss-user] Load Failed Error on Simple Bean

2002-03-15 Thread Peter Shillan
Hi Guys, I'm writing a simple bean called MessageBean to get my head around using JBoss 3.0 and xdoclet. I have created a number of bean, I can retrieve them via findAll() and findById() - a finder that mimics what findByPrimaryKey() should do by returning beans that match a specified id (only

[JBoss-user] Clustering Problem in JBoss3.0

2002-03-13 Thread Peter Shillan
any ideas? Regards to all, Peter Shillan. P.S. I know clustering is in alpha... but maybe none of the testers have tried this before. E-mail is an informal method of communication and may be subject to data corruption

[JBoss-user] Forum for App Contribution

2001-12-07 Thread Peter Shillan
Hi all - esp. Marc, Is a forum going to be created for the application contribution? Peter. E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment fo

[JBoss-user] RE: contributing an app

2001-12-04 Thread Peter Shillan
Hi Guys, I would like to help produce such an application. I have experience in most of the bullet points mentioned below. Let me know (*please*) if I can be of help. Peter. -Original Message- Hello, * Hicks, James <[EMAIL PROTECTED]> [011204 03:37]: > featured application that runs w