RE: [JBoss-user] Bug in 3.2.1?

2003-06-06 Thread Danny . Yates
create it } catch (FinderException fe) { // something else went wrong - perhaps a wrapped SQLException? } -- Danny Yates -Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 15:42 To: [EMAIL PROTECTED] Subject: [JBoss-user] Bug in 3.2.1? Look

RE: [JBoss-user] Bug in 3.2.1?

2003-06-06 Thread Danny . Yates
I should just add, that the exception handler you show below should work OK. -- Danny Yates -Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 15:42 To: [EMAIL PROTECTED] Subject: [JBoss-user] Bug in 3.2.1? Look at this fragment. The call

RE: [JBoss-user] JBoss 3.2.1: Enumerating JMS Queue JNDI names via JMX or ?

2003-05-29 Thread Danny . Yates
Why not check if the object's type is javax.jms.Queue? -- Danny Yates Assistant Vice President Derivatives/Risk Systems Bank of America -Original Message- From: Barlow, Dustin [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 18:36 To: '[EMAIL PROTECTED]' Subject: [JBoss-user] JBoss 3.2.1

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
memory to communicate. Rgds, Dan. -- Danny Yates -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 June 2003 08:07 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss XA transaction with WebSphere MQ Thanks for the reply. I am working on a complete readme

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Title: Message I'm afraid I never tried MQ with JBoss at all (XA or otherwise). We were using WebLogic and doing JTS transactions in client mode against a remote MQ server. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 June

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Factory. In this case, you use the Sun FileSystem JNDI implementation and IBM's jmsadmin (???) tool to manage the FileSystem JNDI. There are plenty of papers on the web about doing this. Good luck! Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Factory. In this case, you use the Sun FileSystem JNDI implementation and IBM's jmsadmin (???) tool to manage the FileSystem JNDI. There are plenty of papers on the web about doing this. Good luck! Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [JBoss-user] Multiple WARs; classloader ClassNotFoundExceptions

2003-06-13 Thread Danny . Yates
AFAIK). I *think* the correct technique is: Class clazz =Thread.currentThread().getContextClassLoader().loadClass(className); Object obj = clazz.newInstance(); Hope that helps, Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: [JBoss-user] EJB reference to external EJB

2003-06-17 Thread Danny . Yates
Title: Message Hi, I would guess you should be using a remote reference, not a local reference. Rgds, Dan. -- Danny Yates -Original Message-From: Burns, Jamie [mailto:[EMAIL PROTECTED] Sent: 16 June 2003 17:33To: [EMAIL PROTECTED]Subject: [JBoss-user] EJB

RE: [JBoss-user] EJB reference to external EJB

2003-06-17 Thread Danny . Yates
the overhead should be minimal. Dan. -- Danny Yates -Original Message-From: Burns, Jamie [mailto:[EMAIL PROTECTED] Sent: 17 June 2003 12:37To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] EJB reference to external EJB Ok. That works. Thanks Dan. Now l am using

RE: [JBoss-user] Developing and debuging

2003-06-18 Thread Danny . Yates
You could always move to WebSphere. I've seen that take upwards of an hour to deploy things! :-) -- Danny Yates -Original Message- From: Peng Zhao [mailto:[EMAIL PROTECTED] Sent: 17 June 2003 22:40 To: [EMAIL PROTECTED] Subject: [JBoss-user] Developing and debuging I met a big

RE: [JBoss-user] EJB reference to external EJB

2003-06-18 Thread Danny . Yates
Title: Message Seems pretty straight to me. -- Danny Yates -Original Message-From: Burns, Jamie [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 10:48To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] EJB reference to external EJB Thanks for your replies Scott and Dan

RE: [JBoss-user] MBean deployment ignores depends tag

2003-06-24 Thread Danny . Yates
().getContextClassLoader().loadClass(name).newInstance (); (Although there's an argument which says keeping the supporting JARs in the EAR file is the best place for them...) Rgds, Dan. -- Danny Yates -Original Message- From: Alex Hornby [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 10:12 To: jboss

RE: [JBoss-user] Run a class onStartup

2003-06-24 Thread Danny . Yates
I guessed at: http://java.sun.com/jmx How much more public would you like?! ;-) Rgds, Dan. -- Danny Yates -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 15:36 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Run a class onStartup Thanks

RE: [JBoss-user] Run a class onStartup

2003-06-25 Thread Danny . Yates
Sorry! You said that you didn't have documentation about this specification, so I figured that was what you were after... -- Danny Yates -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 23:34 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Run

RE: [JBoss-user] problem with file lookup from session bean

2003-06-25 Thread Danny . Yates
to the PROVIDER_URL you specified. Is there a reason you are trying to load the class file from the disk like this? You should really be using the ClassLoader, I would guess. Hope that helps, Dan. -- Danny Yates -Original Message- From: Arun [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 08:26

RE: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Danny . Yates
Another option would be to reverse the sense of your comparison: (x = y) == (y x) Then you can use the standard operator. Dan. -- Danny Yates -Original Message- From: Simone Milani [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 13:42 To: [EMAIL PROTECTED] Subject: Re: [JBoss

RE: [JBoss-user] EJBQL = for dates

2003-06-30 Thread Danny . Yates
Or... you didn't notice that I flipped x and y around in the righthand side... -- Danny Yates -Original Message- From: Marcin Gryszkalis [mailto:[EMAIL PROTECTED] Sent: 29 June 2003 16:28 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] EJBQL = for dates On 2003-06-25 15:03, [EMAIL

RE: [JBoss-user] EJBQL = for dates

2003-06-30 Thread Danny . Yates
Ooops... that's not right is it?! Oh well, you get the general idea! :-) -- Danny Yates -Original Message- From: Yates, Danny Sent: 30 June 2003 10:01 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] EJBQL = for dates Or... you didn't notice that I flipped x and y around

RE: [JBoss-user] Finder generating wrong SQL statement in Jboss-3.2.1

2003-07-01 Thread Danny . Yates
I'm guessing here, but: 1) Can you remove the query/ element? Does this stop JBoss from generating the where clause? 2) Can you set the query to something like 1=1? Dan. -- Danny Yates -Original Message- From: Janardhan Burugupalli [mailto:[EMAIL PROTECTED] Sent: 01 July 2003

RE: [JBoss-user] [JBoss-user]Container Transacted MDB ?

2003-07-04 Thread Danny . Yates
The only valid transaction settings for an MDB are requires and not supported. Change requires new to requires and see what happens. I'm surprised this is not picked up by the bean validator. Rgds, Dan. -- Danny Yates -Original Message- From: Magesh Prabhu [mailto:[EMAIL PROTECTED

RE: [JBoss-user] WARN [...] what they mean...

2003-07-07 Thread Danny . Yates
the warning off? Dan. -- Danny Yates -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 10:27 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] WARN [...] what they mean... On Mon, 2003-07-07 at 09:45, [EMAIL PROTECTED] wrote: Hi Adrian, Does your

[JBoss-user] Strange log message

2003-07-09 Thread Danny . Yates
[Manager] local scavenging...19:00:53,995 INFO [Manager] local scavenging...19:10:53,994 INFO [Manager] local scavenging... I'm using 3.2.0. Any ideas? Dan. -- Danny Yates _ Notice to recipient: The information

RE: [JBoss-user] Linkage error

2003-07-09 Thread Danny . Yates
, Xerces, Xalan, etc. It rather defeats the purpose of the EAR file being a completely standalone deployable unit. That said, it doesn't break the spec! Rgds, Dan. -- Danny Yates -Original Message- From: Oisin Kim [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 15:23 To: [EMAIL PROTECTED

RE: [JBoss-user] Rollback with side-effects, but /without/ a UserTransaction

2003-07-14 Thread Danny . Yates
in my edition) Dan. -- Danny Yates -Original Message- From: Joseph Barillari [mailto:[EMAIL PROTECTED] Sent: 14 July 2003 08:50 To: jboss-user Subject: [JBoss-user] Rollback with side-effects, but /without/ a UserTransaction Hi. I've read (namely in the O'Reilly /Enterprise Java

[JBoss-user] Error debugging 3.2.0

2003-07-14 Thread Danny . Yates
Hi all, I'm debugging my code using the following: JBoss 3.2.0 Eclipse 2.1.1 JBoss IDE 1.1.0 Every 10 seconds, I get the following console output: 14:54:35,603 INFO [DLQHandler] Destroying 14:54:35,603 INFO [DLQHandler] Destroyed 14:54:35,613 INFO [DLQHandler] Creating 14:54:35,613 ERROR

RE: [JBoss-user] Error debugging 3.2.0

2003-07-14 Thread Danny . Yates
(class: org.jboss.mq.SpyConnectionFactory) +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) As I mentioned previously, none of this occurs when I don't use debug. I also forgot to mention that I am using JDK 1.4.1_01. Rgds, Dan. -- Danny

RE: [JBoss-user] Error debugging 3.2.0

2003-07-14 Thread Danny . Yates
a debug. Rgds, Dan. -- Danny Yates -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: 14 July 2003 15:56 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Error debugging 3.2.0 What does the JNDI namespace show in terms of bound jms factories? What does the jms

RE: [JBoss-user] Error debugging 3.2.0

2003-07-14 Thread Danny . Yates
-connector-server.sar/9.jmx-ejb-connector-server.sar no certificates), due to order(0=0), accepted CodeSource: (file:/C:/java/jboss-3.2.0/server/default/deploy/jmx-invoker-adaptor-server. sar/ no certificates) Needless to say, the JNDI namespaces are all but empty now! Thanks, -- Danny Yates

RE: [JBoss-user] Error debugging 3.2.0

2003-07-15 Thread Danny . Yates
Thanks Scott. I think I'll leave it chalked up to the JDK bug for now. Rgds, Dan. -- Danny Yates -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 05:44 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Error debugging 3.2.0 I'm going to have

RE: [JBoss-user] Maximum length of class name/package?

2003-07-16 Thread Danny . Yates
, but I doubt it. Rgds, Dan. -- Danny Yates -Original Message- From: Robert HALL [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 23:00 To: [EMAIL PROTECTED] Subject: [JBoss-user] Maximum length of class name/package? I seem to recall running into an issue of this sort with Weblogic

RE: [JBoss-user] JMS usage and EJB rollback question

2003-07-17 Thread Danny . Yates
Hi, If you make sure that you are using an XA connection factory for your JMS (and, I guess, your database) then this should all happen automatically. Rgds, Dan. -- Danny Yates -Original Message- From: Michael Klem [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 22:31 To: [EMAIL

RE: [JBoss-user] Scheduler MBean

2003-07-18 Thread Danny . Yates
minute should be pretty minimal. Depending on how precisely at 1am you have to run, you could schedule your trigger every 30 seconds, or 5 seconds, or 5 mintues, or whatever. Hope that helps, Rgds, Dan. -- Danny Yates -Original Message- From: Phil Shrimpton [mailto:[EMAIL PROTECTED

RE: [JBoss-user] [urgent] CMR relationship between JAR inside an EAR

2003-07-21 Thread Danny . Yates
Your bean only has a local interface. AFAIK, it will not be visible to other bean JARs - even within the same EAR. -- Danny Yates -Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 13:09 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [JBoss

RE: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Danny . Yates
What, you mean like the line immediately above where he threw the exception? :-) -- Danny Yates -Original Message- From: Dan Christopherson [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 15:27 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss Transaction Problems Per the EJB

RE: [JBoss-user] Database JNDI Name Not Found

2003-07-24 Thread Danny . Yates
But it raises an interesting design point. Why not simply have an XML deployer which picks up all *.xml files, inspects the DOCTYPE and then uses that to delegate to the correct sub-deployer. Would that not be a cleaner design? Rgds, Dan. -- Danny Yates -Original Message- From

RE: [JBoss-user] Database JNDI Name Not Found

2003-07-25 Thread Danny . Yates
a mechanism similar to JDBC where each registered driver (or XML sub-deployer) would be offered the file in turn. This way, you could even decide which sub-deployer to used based on content other than the DOCTYPE. Anyway, it was just a suggestion! :-) Dan. -- Danny Yates -Original Message

RE: [JBoss-user] JNDI lookup failure, ... not bound.

2003-07-25 Thread Danny . Yates
That's because your code looks up java:comp/env/MyDS, not java:/MyDS. -- Danny Yates -Original Message- From: Rob Tomlin [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 17:23 To: [EMAIL PROTECTED] Sourceforge. Net (E-mail) Subject: [JBoss-user] JNDI lookup failure, ... not bound. Hi

RE: [JBoss-user] JNDI lookup failure, ... not bound.

2003-07-28 Thread Danny . Yates
Give or take a '/', yes. -- Danny Yates -Original Message- From: Rob Tomlin [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 18:33 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JNDI lookup failure, ... not bound. That's because your code looks up java:comp/env/MyDS, not java

RE: [JBoss-user] CachedConnectionManager and JMS (3.2.2RC2 v. 3.2.2RC1)

2003-08-01 Thread Danny . Yates
It would make sense if closing the connection closed all the sessions created from that connection. After all, I guess the sessions are useless once the connection has been closed? Rgds, Dan. -- Danny Yates -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: 01

RE: [JBoss-user] Gracefully shutdown JBoss

2003-08-14 Thread Danny . Yates
If you run it with no parameters, it tells you the correct syntax: shutdown -S (note that it doesn't appear to work if you are running the 'minimal' server - you get a javax.naming.NameNotFoundException) -- Danny Yates -Original Message- From: Magesh Prabhu [mailto:[EMAIL PROTECTED

RE: [JBoss-user] MDB Singleton retry semantics

2003-08-14 Thread Danny . Yates
How are you enforcing the singleton? -- Danny Yates -Original Message- From: Barlow, Dustin [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 19:00 To: [EMAIL PROTECTED] Subject: [JBoss-user] MDB Singleton retry semantics I have a singleton CMT MDB consuming on a JMS queue

RE: [JBoss-user] Adrian Brock's info on xa datasource for prepare()

2003-08-14 Thread Danny . Yates
Hypersonic does not support XA. You need to use one of the commercial databases or Firebird. Rgds, Dan. -- Danny Yates -Original Message- From: Philipp W. Kutter [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 14:55 To: [EMAIL PROTECTED] Cc: Philipp W. Kutter Subject: [JBoss-user

RE: [JBoss-user] MDB Singleton retry semantics

2003-08-15 Thread Danny . Yates
. Rgds, Dan. -- Danny Yates -Original Message- From: Barlow, Dustin [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 21:14 To: '[EMAIL PROTECTED] ' Subject: RE: [JBoss-user] MDB Singleton retry semantics In conf/standardjboss.xml I setup a new invoker-proxy-binding and a container

RE: [JBoss-user] Entity Context Error

2003-08-18 Thread Danny . Yates
As the exception says: Deprecated According to the documentation, EJBContext.getEnvironment() is deprecated (and, IIRC, it has been for some time). Deprecated. Use the JNDI naming context java:comp/env to access enterprise bean's environment. Dan. -- Danny Yates -Original Message

RE: [JBoss-user] Issue with the DQLHandler and multiple DLQs

2003-08-21 Thread Danny . Yates
I'm just guessing, but are the 'retries' cumulative? That is, when the message comes off the second queue (FlowErrorDLQ), does it already have a retry count of 3? -- Danny Yates -Original Message- From: Barlow, Dustin [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 18:34 To: [EMAIL

RE: [JBoss-user] JNDI Name

2003-08-27 Thread Danny . Yates
Title: Message The java:/ context is only available within the same VM as the server. -- Danny Yates -Original Message-From: Rod Macpherson [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 00:12To: [EMAIL PROTECTED]Subject: [JBoss-user] JNDI Name JBoss is binding

RE: [JBoss-user] Disabling hot deployment to limit open file handles

2003-09-01 Thread Danny . Yates
Today's lesson... never colo with a company that has different national holidays (and hence, different time priorities) to you! :-) -- Danny Yates -Original Message- From: Sheldon Hearn [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:20 To: [EMAIL PROTECTED] Subject: Re: [JBoss

[JBoss-user] RE: [JBoss-user]mssql-ds.xml,mssql-service.xml,mssql-xa-ds.xml,mssql-xa-service.xml; What touse?

2003-09-02 Thread Danny . Yates
of the MS JDBC drivers you need to install is not something I am able to answer. So, in summary, use: * mssql-ds.xml - if you don't need XA * mssql-xa-ds.xml - if you DO need XA Rgds, Dan. -- Danny Yates -Original Message- From: Carsten Hammer [mailto:[EMAIL PROTECTED] Sent: 02

RE: [JBoss-user] could not be found: jar in .ear file

2003-09-23 Thread Danny . Yates
Title: Message I don't think you need the "./" in the path. Just the JAR names. -- Danny Yates -Original Message-From: Bill Milbratz [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 18:00To: '[EMAIL PROTECTED]'Subject: [JBoss-user] "could not be foun

RE: [JBoss-user] mbean question

2003-09-25 Thread Danny . Yates
Where do you set running = false? Change running to a member (and probably mark it 'volatile' too) and then set it to false in stopService(). -- Danny Yates -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 09:09 To: jboss mailing list

RE: [JBoss-user] mbean question

2003-09-25 Thread Danny . Yates
- it must stop itself by returning from its run() method). Besides, Harm does do setDaemon(true) immediately before starting the thread. Dan. -- Danny Yates -Original Message- From: Andreas Mecky [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 11:20 To: [EMAIL PROTECTED] Subject: Re

RE: [JBoss-user] Pre compile jsps on jboss server

2003-10-06 Thread Danny . Yates
In WebLogic, there's a setting to make the container compile all the JSPs as they are deployed (rather than when they are first hit). Could a simple setting like this be introducted in JBoss? Rgds, Dan. -- Danny Yates -Original Message- From: Rod Macpherson [mailto:[EMAIL PROTECTED