, and return that. Of course,
that's just one (common) design pattern among other viable options.
Hope this helps,
David
--
Brandon Knitter wrote:
Okay, I know this is not JBoss specific, but I got a good response from my
last
question, and this is a question in the context of EJB
Can you post your actual config section? I'm trying to get this working and I
just can't get the config file format right.
Thanks,
--
-bk
Quoting Emmanuel Charpentier [EMAIL PROTECTED]:
I've managed to get exploded directories working, with:
- directory is called /project/web.war/
Okay, I have a 1-to-many relationship set up, and I'm thinking I did it right! ;-)
I have patched the server to supposedly un hide exceptions on the server, but
I'm not actually getting any stacks in my server.log output.
Patch:
);
}
return(rc);
}
Ignore the fact that I have all the naming stuff hardcoded and such! Is this
the proper way to do things?
Thanks in advance!!
--
-bk
Quoting Brandon Knitter [EMAIL PROTECTED]:
Okay, I have a 1-to-many relationship set up, and I'm thinking I did it
right! ;-)
I
I have the 6 month subscription. Has the CMP documentation in that package been
updated as well? Should I download the AllDocumentation.zip again?
--
-bk
Quoting Dain Sundstrom [EMAIL PROTECTED]:
JBossCMP documentation for the JBoss 3.0 release is now available at
FlashLine.
(rc);
}
Ignore the fact that I have all the naming stuff hardcoded and such! Is
this
the proper way to do things?
Thanks in advance!!
--
-bk
Quoting Brandon Knitter [EMAIL PROTECTED]:
Okay, I have a 1-to-many relationship set up, and I'm thinking I did it
right
a custom finder to return
the collection of remote objects directly from the (User) home interface.
This applies whenever you find yourself iterating over a collection of
entities. The performance improvement can be dramatic.
On Wednesday, June 12, 2002, at 10:42 AM, Brandon Knitter
Okay, I know this is not JBoss specific, but I got a good response from my last
question, and this is a question in the context of EJB.
When returning a java.util.Collection, what object is the best to return? I'm
assuming that returning a Vector is not really a good idea as it is able to be
Do you have the DOCTYPE XML header at the top of your files? This will also
help in placement and accidental misspellings tags. I learned that one the hard
way! :)
--
-bk
Quoting Gary S. Cuozzo [EMAIL PROTECTED]:
To: Christofer Sandberg
I would like to personally thank you for helping
in the log4j.xml file. It has
examples and good comments.
If you can't figure it out, post a bug report at sourceforge and I'll
take a look at it.
-dain
Brandon Knitter wrote:
I'm tailing server.log, the only thing showing up during my request is:
2002-06-06 22:05:51,731 DEBUG
to
datasource-mapping between alpha and beta 2.
-dain
Brandon Knitter wrote:
I added the following to the top of my jbosscmp-jdbc.xml file and was met
with
TONS of errors, including errors from things I copied from the cmp2
commerce
example:
!DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD
If you bought a subscription which has not expired (6 months and 12 months are
available), then you should get them. If you bought them straight away ($10),
then no.
--
-bk
Quoting Ricardo Argüello [EMAIL PROTECTED]:
I bought the CMP docs from Flashline in January.
Am I elegible for an
Would making an EAR make it possible to package an ejb.jar file with other
necessary supporting jars?
--
-bk
Quoting JD Brennan [EMAIL PROTECTED]:
If you are trying to put a .jar inside your EJB jar, you can
extract the contents of the jar into your jar. That's what
we do. One stop
to use is the one included with
the release in docs/dtd. Also type-mapping was changed to
datasource-mapping between alpha and beta 2.
-dain
Brandon Knitter wrote:
I added the following to the top of my jbosscmp-jdbc.xml file and was
met
with
TONS of errors, including
Near the bottom of the log4j.xml file there are two TRACE entries, I
uncommented those and restarted jboss and have better errors now.
Hope that's what you were looking for.
--
-bk
Quoting Paul Kavanagh [EMAIL PROTECTED]:
Hi guys,
hoping someone can shed some light on this.
I'm using
:
http://www.onjava.com/pub/a/onjava/2001/07/25/ejb.html
Hope that helps, I was enlightened! :)
--
-bk
Quoting David Jencks [EMAIL PROTECTED]:
yes
david jencks
On 2002.06.07 14:26:16 -0400 Brandon Knitter wrote:
Would making an EAR make it possible to package an ejb.jar file
I know that the JBoss group is working on a new document release, but in my
frustration (read: no more hair) I was hoping to get a working CMP example which
has CMR relationships as well. If you have something that will build, and has
all the deployment descriptors and works on JBoss 3.0, I'd
I just noticed that you are working on an example for all of us! :) Do you have
this ready, perhaps with the changes below? I got the zip from your site below
about an hour ago, and I'm happy to see an example! :)
Thanks,
--
-bk
Quoting David Jones [EMAIL PROTECTED]:
Greg Turner [EMAIL
a zip file that
contains source
and deployment files. I've tested this in Win2000 using RC2 version of
JBoss. Enjoy.
Brandon Knitter wrote:
I just noticed that you are working on an example for all of us! :) Do you
have
this ready, perhaps with the changes below? I got the zip from
mean that I cann't
run cmp2.0 with jboss-sapdb?
Thanks
-Original Message-
From: Brandon Knitter [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 3:14 PM
To: [EMAIL PROTECTED]; Arthur Wang
Subject: Re: [JBoss-user] SapDB and Jboss
I grepped the binary distro, nothing
I checked out things with: cvs co -r JBoss_3_0_0 jboss-all
So, after I apply that patch, then I go into jboss-all/build dir and run
build.sh. Then what? What do I move and copy over the binary distro I
downloaded? Is it an entire dir, or just a jar?
Thanks in advance,
--
-bk
Quoting
about it.
It's actually:
Playlist to User
--
many to one
none to one
Meaning that a User can have 0+ Playlists. How is that represented? I'll keep
playing!
--
-bk
Quoting Brandon Knitter [EMAIL PROTECTED]:
Well, I'm on with my learning and now
/multiplicity
relationship-role-source
ejb-nameUserBean/ejb-name
/relationship-role-source
/ejb-relationship-role
/ejb-relation
/relationships
--
-bk
Quoting Brandon Knitter [EMAIL PROTECTED]:
I did notice one other thing. When I try to get a User, I
=?)
Which looks about right for a prepared statement...any ideas? Is there a way to
turn up vebosity?
--
-bk
Quoting Dain Sundstrom [EMAIL PROTECTED]:
What is the exception you are getting on the server? It should be
printed into the server.log file.
-dain
Brandon Knitter wrote:
I did
I am trying to set up an EJB installation (for dev purposes) without the need
for a war, jar, or ear. So what I have done so far is to set in the jboss.jcml
the deployment url to be my path hierarchy which contains a META-INF dir with my
ejb-jar.xml file in it. So far so good, JBoss tries to
for each
one
2) point it to a directory where your classes are, at the root of the
package -
so if you have /build/my/foo/bar/test.class (package is my.foo.bar), point
the extension to /build.
Easy as that.
rp
Brandon Knitter [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED
questions?
--
-bk
Quoting Brandon Knitter [EMAIL PROTECTED]:
I have done both.
1) This works great, thanks for the confirmation! :)
2) This is not working. I have added the path to the top level.
My class: org.blandsite.music.play.PlaylistBean.java
My dir:
/home/knitterb/lib
First off, thanks a bunch! :) This seems to get me closer...and I need the CMP
2.0 stuff!
What is the principal? Is that like the security requested (another user)? I'm
assuming I should just set this to my username as per your description below?
Next, how do I reference this in my
]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brandon
Knitter
Sent: Wednesday, June 05, 2002 3:00 PM
To: [EMAIL PROTECTED]; Neal Sanche
Subject: Re: [JBoss-user] JBoss 3.0 - How do I set up datasources?
First off, thanks a bunch! :) This seems to get me closer...and
I need the CMP
2.0
I'm getting closer! :)
First question, I'm looking through these massive logs and trying to see if my
EJB was deployed. I don't see any errors on the deployment, but that doesn't
mean it's working. What will the logs say? I've looked through almost every
line, and I'm searching for my EJB
I starting to just give up on the notion that WARs are not required, so I
finally just built a damned WAR file and deployed it. If you know of a way to
get a directory to act as the deployment path, please do let me know.
So, when I drop this WAR into my deploy/ dir, I'm getting the following:
1. Please use the 3.0 final or later.
Grabbing...
2. To deploy an unpacked structure you may need to put it in a directory
like
/usr/blah/myear.ear/
myejb-jar.jar
/META-INF
/ejb-jar.xml
[EMAIL PROTECTED]:
Check your ejb-jar.xml file. I think it has the ejb 1.1 dtd.
war != jar. Making unsupported and obviously wrong claims about jboss is
unlikely to get you much help.
david jencks
On 2002.06.05 20:50:47 -0400 Brandon Knitter wrote:
I starting to just give up
Thank you for the confirmation! :)
I replied specifically for mail list archive purposes! :)
--
-bk
Quoting Dain Sundstrom [EMAIL PROTECTED]:
Brandon Knitter wrote:
Cool, thanks for your patience, and I apologize for my frustrations. I
should
not let them get the best of me
ejb 1.1. I thought the
abstract warning you got might be from using the wrong cmp engine.
david jencks
On 2002.06.05 22:56:00 -0400 Brandon Knitter wrote:
I had the entry:
cmp-version2.x/cmp-version
And even tried 2.0.
Turns out, in my haste I forgot to add the XML
When trying to get an initial context I get the following:
env
a similar problem last night and for some
reason, that seemed to fix the problem.
hth,
gary.
Brandon Knitter wrote:
When trying to get an initial context I get the following:
env
CLASSPATH=:.:/usr/java/lib/tools.jar:/usr/java/jre/lib/rt.jar:/home/knitterb/lib/java:/home/knitterb/lib/java
://localhost:1099/ changed to
java.naming.provider.url=jnp://machinename or ip address:1099/
Not sure if this is on the right track but it may help
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brandon
Knitter
Sent: Thursday, 6 June 2002
.
Each time you rebuild e.g. classes within the war, touch the
WEB-INF/web.xml - This will cause JBoss to reload this module.
I assume that touching the META-INF/application.xml will reload the
whole J2EEApp - but haven't tried it.
Jules
Brandon Knitter wrote:
How can I make
From: Brandon Knitter [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
Jules Gosnell [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Deploy an EJB *without* a jar, war, or ear?
Date: Tue, 4 Jun 2002 12:18:18 -0700
Cool, now...how do I point JBoss to my directory? :) I come from a Resin
(Caucho
How can I make jboss look into a directory structure and allow me to deploy my
ejbs without building out a jar, war, or ear? Also, does JBoss automagically
reload the classes when they change (i.e. I make a change to my EJB), I want to
be able to develop in place without a) redeploying a couple
41 matches
Mail list logo