jfc wrote:

Greg Turner wrote:

You don't need anything special. the CMR will do it for you. See this link:

http://www.tiburon-e-systems.com/nl20030101/article.html

Greg



jfc wrote:

Hi,

I'll use the well known jboss 3 example to explain. I have a one to many unidirectional relationship i.e. organization 1:N gangster.

The organization has a cmr field gangsters which is of type 'Set'.

My question is how can I use ejb-ql to find out which organization a particular gangster belongs to?

Thanks in advance.

jfc




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



I followed your link in an attempt to find an answer to my question and I have run into a slight problem.

I am running jboss304tomcat406 and have all others setup as per instructions but below is what I get when I try to get going....
(I printed out the jbossDir and path variables)

myprompt:/usr/local/TesExample/resources > ant -buildfile bootstrap.xml
Buildfile: bootstrap.xml

compile:
[javac] Compiling 1 source file to /usr/local/TesExample/build/classes

bootstraptask:
[BootstrapTask] jbossDir = \usr\local\jb304tc406, path = /lib!

BUILD FAILED
java.lang.NullPointerException
at com.tes.framework.bootstrap.BootstrapTask.getJarInfo(BootstrapTask.java:92)
at com.tes.framework.bootstrap.BootstrapTask.execute(BootstrapTask.java:43)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 7 seconds
java.lang.NullPointerException
at com.tes.framework.bootstrap.BootstrapTask.getJarInfo(BootstrapTask.java:92)
at com.tes.framework.bootstrap.BootstrapTask.execute(BootstrapTask.java:43)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Any ideas why its not picking up the os's forward slash as a file seperator?

jfc



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

ok, I got it working but it needed one little tweak.

the jboss home var didn't need to have the slashes reversed in bootstrap. (for linux anyway)

thanks - I will be looking at how you have set this up in the near future when I try to get xdoclet integrated into our app.

jfc




-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to