Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dave Smith
If you do not care how it is ordered then why bother with the order by clause? The database is correct , you are not. Dain Sundstrom wrote: On Monday, February 10, 2003, at 01:53 PM, Dave Smith wrote: No, it isn't. Consider SELECT DISTINCT x FROM tab ORDER BY y; Assuming there

[JBoss-user] 3.0.x, XDoclet, CMP and Optomistic Locking

2003-02-10 Thread Brian Wallis
I am porting an app from 2.4.4 JBoss to 3.0.4. The app uses xdoclet to generate various classes, in particular the CMP class for an Entity bean. It is using the "use-soft-locking" flag in the @ejb.bean tag to generate a version number field for optomistic locking. The version number is increme

Re: [JBoss-user] JavaGroups tracing in Jboss

2003-02-10 Thread Scott M Stark
The bottom of the conf/log4j.xml file tells you the categories that affect the cluster logging: Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: <[EMAIL PROTECTED]> To: "Java Groups"

RE: [JBoss-user] jboss.net wsdl error

2003-02-10 Thread Joe Hung
the other thing I noticed, the jboss xdoclet library gives me this in the web-service.xml so I changed the semicolon (;) to comma (,) in jboss-net.j, and the ?wsdl gives me method declaration instead of just the EJB decl. has it been fixed in the later release? again I'm on 3.2RC1. -joe -

[JBoss-user] Unsubscribe me

2003-02-10 Thread Dushyant Shrivastava
  __DUSHYANT SHRIVASTAVASoftware EngineerYAMBAYtel  +61 (0) 8 9323 6999mob  +61 (0) 402 902 652fax +61 (0) 8 9325 2688web   www.yambay.com Yambay Technologies Pty Ltd7th Floor, The Victoria, 14-16 Victoria Ave, Perth. WA, 6000, Australia_

[JBoss-user] Re: [javagroups-users] (no subject)

2003-02-10 Thread Bela Ban
[EMAIL PROTECTED] wrote: Ok, the problem I'm facing with javagroups is the fact the interface selected to send the multicast messages is the "loopback" (127.0.0.1) instead of the desired eth0. As far as I understood, I could get over this (directly at JBoss) by using the bind_addr attribute. The

[JBoss-user] Re: [javagroups-users] JavaGroups tracing in Jboss

2003-02-10 Thread Bela Ban
[EMAIL PROTECTED] wrote: How to activate JavaGroups tracing in JBoss? Can we get some attributes set in cluster-config.xml or something, similar to the ones placed in javagroups.properties file, to have the tracing messages enabled? You can use log4j. Scott wrote a log4j adapter some time ago.

[JBoss-user] (no subject)

2003-02-10 Thread jpcl
Ok, the problem I'm facing with javagroups is the fact the interface selected to send the multicast messages is the "loopback" (127.0.0.1) instead of the desired eth0. As far as I understood, I could get over this (directly at JBoss) by using the bind_addr attribute. The cluster-service.xml file s

[JBoss-user] JavaGroups tracing in Jboss

2003-02-10 Thread jpcl
How to activate JavaGroups tracing in JBoss? Can we get some attributes set in cluster-config.xml or something, similar to the ones placed in javagroups.properties file, to have the tracing messages enabled? Thanks Joao Clemente --- This SF.N

RE: [JBoss-user] jboss.net wsdl error

2003-02-10 Thread John Fawcett
I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday,

RE: [JBoss-user] jboss.net wsdl error

2003-02-10 Thread Joe Hung
Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all="true" That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to chan

RE: [JBoss-user] Axis generated wsdl -- possible to specifyparam eter names?

2003-02-10 Thread Joe Hung
IT WORKED!!! Thanks for the advice. I know I've come to the right place. I'll reply to Dr. Christoph and let him know this one. -joe -Original Message- From: John Fawcett [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 4:35 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Axi

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dain Sundstrom
On Monday, February 10, 2003, at 01:53 PM, Dave Smith wrote: No, it isn't. Consider SELECT DISTINCT x FROM tab ORDER BY y; Assuming there are multiple values of y for any given x, how would you expect the result to be sorted? It's ill-defined. There is nothing ill defined by this.

Re: [JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant,Maven, Centipede?

2003-02-10 Thread Kevin O'Neill
On Tue, 2003-02-11 at 04:53, David Jencks wrote: > On 2003.02.10 11:57 Darren Hartford wrote: > > Hi All, > > Been using Ant and Xdoclet, great tools, makes my life a LOT easier than > > good-ol' writing interfaces on my own :-) > > > > I have started migrating to the Maven build system, to suppor

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dave Smith
My request .. For this query .. SELECT DISTINCT t0_s.rec_num FROM sample_request t0_s, sample_request_line_item t1_li WHERE (t1_li.fulfillment_status = 'Shipped' AND t1_li.followup_date <= '2003-02-04 20:00:00.0+00' AND (t1_li.customer_prospect_feedback IS NULL OR t1_li.customer_prospec

Re: [JBoss-user] Correct way to call EJB on remote server from anEJB?

2003-02-10 Thread Muntean Horia
Rupp,Heiko wrote: From: Muntean Horia [mailto:[EMAIL PROTECTED]] I think u should switch to the Tyrex TM 'cause the JBoss implementation doesn't apear to handle distributed TXs. To me it currently looks like the bean is probably looked up on the remote server, but executed locally. Hm. A

RE: [JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant, Maven, Centipede?

2003-02-10 Thread John Fawcett
I am using maven for my current project, and I think it is (conceptually) an ideal system for a multi-faceted project like jboss. The caveat to my comments is I have only used maven for one project, and I am only using it for its artifact generation, not for building a distribution. I think maven

Re: [JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant,Maven, Centipede?

2003-02-10 Thread James Ward
On Mon, 2003-02-10 at 10:53, David Jencks wrote: > On 2003.02.10 11:57 Darren Hartford wrote: > > Hi All, > > Been using Ant and Xdoclet, great tools, makes my life a LOT easier than > > good-ol' writing interfaces on my own :-) > > > > I have started migrating to the Maven build system, to suppor

Re: [JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant, Maven, Centipede?

2003-02-10 Thread David Jencks
On 2003.02.10 11:57 Darren Hartford wrote: > Hi All, > Been using Ant and Xdoclet, great tools, makes my life a LOT easier than > good-ol' writing interfaces on my own :-) > > I have started migrating to the Maven build system, to support more > project management features, auto javadoc creation a

RE: [JBoss-user] JBossMQ, JMS & MDB

2003-02-10 Thread Kim, Yong
Thanks for sharing your valuable past experience with me. I will definately rethink my design. Originally I had a stateless session bean to send out emails to many people as some type of batch. More specifically, it was sending ONE email per contact; it didn't use CCs, BCCs, or anything else. T

RE: [JBoss-user] Correct way to call EJB on remote server from anEJB?

2003-02-10 Thread Rupp,Heiko
> From: Muntean Horia [mailto:[EMAIL PROTECTED]] > I think u should switch to the Tyrex TM 'cause the JBoss > implementation > doesn't apear to handle distributed TXs. To me it currently looks like the bean is probably looked up on the remote server, but executed locally. Hm. After removing it

Re: [JBoss-user] JBossMQ, JMS & MDB

2003-02-10 Thread David Ward
Yong, I don't know the answer to your question, but I thought I'd share with you something we learned on a past project: We also *thought* it would be a good idea to have an MDB receive messages for the sake of queing up email to send (the MDB used the JavaMail api inside it), thinking it woul

Re: [JBoss-user] Session Bean (Txn Required) commit error not being sent back to the client

2003-02-10 Thread David Jencks
Could you try 3.0.x from cvs? I ported (I think all of) the recent fixes plus some new ones last night. Perhaps we are slowly converging on reasonable behavior. What should be happening now is that any exceptions during synch.beforeCompletion, delist, prepare, or 1pc commit end up generating a Tr

[JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant, Maven, Centipede?

2003-02-10 Thread Darren Hartford
Hi All, Been using Ant and Xdoclet, great tools, makes my life a LOT easier than good-ol' writing interfaces on my own :-) I have started migrating to the Maven build system, to support more project management features, auto javadoc creation and deployment, changelog, blah blah blah. I know you

[JBoss-user] JBossMQ, JMS & MDB

2003-02-10 Thread Kim, Yong
Hi, I am really in a state of confusion with regards to JBossMQ, JMS & MDB. I am not sure if my configuration is screwed up or the fact that I have believed as true has turned out to be false! Please bear with me. I have created a MDB called EmailManagerMDB. Currently, it has nothing in it. It

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dave Smith
Send me the schema's and I'll post a question on the pg lists, asking why. On Fri, 2003-02-07 at 16:11, Hunter Hillegas wrote: > I am running my dev environment on JBoss 3.2 RC1... > > I am using JBossQL to override a query. > > My JBossQL statement is as follows: > > SELECT DISTINCT OBJECT(s)

Re: [JBoss-user] Session Bean (Txn Required) commit error not being sentback to the client

2003-02-10 Thread Jonathan . O'Connor
David, I finally got to try out 3.2.0RC1 and 3.0.6 today. As you probably know 3.0.6 still has problems with catching exceptions during the commit stage. 3.2.0RC1 has one of the problems fixed, but not the other. Here's what's fixed: Using Oracle 9i thi driver, we try writing a large blob to the

Re: [JBoss-user] Run Client Using RMI

2003-02-10 Thread Nicholas
For remote [and local] connections, I have never used the "decorated" URL you showed in your email. I simply used: java.naming.provider.url=: If it is timing out, make sure you can actually ping the server from your client box..:) Also, make sure all the "required stuff" (that is a technic

[JBoss-user] Bug in JBoss: StringIndexOutOfBoundsException on Char field

2003-02-10 Thread Brandon, Raymond
Hi all,   When creating a new row in the table below, where only the primary key has been filled in, JBoss throws a StringIndexOutOfBoundsException. I use JBoss 3.0.4, EJB 2.0 with a Solid database.The CMP deployment descriptor maps the field also to CHAR which seems logical to me.   Cheers

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dain Sundstrom
Let me restate my response. I think that the databases that do not support having columns in the order that are not in the select are lame. There is no reason why it can not figure out which column it will need to sort and add these to the select under the covers. This is simply a complaint o

Re: [JBoss-user] Correct way to call EJB on remote server from anEJB?

2003-02-10 Thread Muntean Horia
Rupp,Heiko wrote: Hi, -Original Message- From: Muntean Horia [mailto:[EMAIL PROTECTED]] Try to read JBoss.3.0QuickStart.Draft4.pdf ( around page 37 ). There is an example about accesing a remote EJB from another EJB. Ok, I tried this with the jndi-link, but this somehow calls

[JBoss-user] Run Client Using RMI

2003-02-10 Thread Hanson, Matthew
Hi-- OK - Please don't slam me too hard for this mail. I wanna move my jboss client from the machine where jboss is installed (i.e., localhost) to our hp machine. I just wanna make sure that the test client can make the call properly over the network. Someone has surely answered this question b

Re: [JBoss-user] Difficulty with declaration of M-2-M CMP relations

2003-02-10 Thread Joseph Barillari
> "AB" == Adrian Brock <[EMAIL PROTECTED]> writes: AB> Hi, AB> Try removing AB> @ejb:persistent-field AB> this is for cmp-fields not cmr-fields That worked. Thank you! AB> You should receive a warning about that ejb-name from 3.0.4+ AB> It is a hard error in 3.2 Unde

AW: [JBoss-user] jboss.net wsdl error

2003-02-10 Thread Jung , Dr. Christoph
Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly

Re: [JBoss-user] Difficulty with declaration of M-2-M CMP relations

2003-02-10 Thread Adrian Brock
Hi, Try removing @ejb:persistent-field this is for cmp-fields not cmr-fields You should receive a warning about that ejb-name from 3.0.4+ It is a hard error in 3.2 Regards, Adrian From: Joseph Barillari <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: jboss-user <[EMAIL PROTECTED]> Subject:

RE: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread KRALIK Vladimir
I think, this is another problem. Message say : > >> ERROR: For SELECT DISTINCT, ORDER BY expressions must appear in > >> target list Which mean, that columns used in "ORDER BY"-expression are not used in "TARGET". So in that select : > >> SELECT DISTINCT t0_s.rec_num FROM sample_request t0_s, >