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
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
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,
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
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
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
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
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
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
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,
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)
{
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
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,
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
uot; <[EMAIL PROTECTED]> wrote:
> Peter Shillan wrote:
>
> >
> >
> > parent
> >
> >
> > children
> >
> >
> >
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
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
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.
__
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
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
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
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
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
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
24 matches
Mail list logo