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 at
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
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-us
ngs mode uses shared 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
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] Sen
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]
[m
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]
[m
s is still spec compliant, 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 PRO
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
y, so 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.
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
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 Sco
rentThread().getContextClassLoader().loadClass().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
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
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: [JB
ive 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 200
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]
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-
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
I'm guessing here, but:
1) Can you remove the 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
Can't you just mark the method as requiring a transaction?
--
Danny Yates
-Original Message-
From: Ionel Gardais [mailto:[EMAIL PROTECTED]
Sent: 01 July 2003 15:51
To: [EMAIL PROTECTED]
Subject: [JBoss-user] SLSB atomicity
Hi,
I have a SLSB acting as a facade for all m
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 PROT
Hi Adrian,
Does your statement imply that any work done either directly or
indirectly by an MDB (such as, for example, accessing Entity Beans)
requries an XA datasource?
Rgds,
Dan.
--
Danny Yates
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: 07 July 2003
config)
to turn 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
ng...18:50:53,996 INFO [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 r
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]
Subject: [JBoss-user] Linkage error
Hello all,
I have the same ej
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 /Enter
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
: 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 Yates
-Original Me
ccur during
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
sar/9.jmx-ejb-connector-server.sar ), due to order(0>=0), accepted CodeSource:
(file:/C:/java/jboss-3.2.0/server/default/deploy/jmx-invoker-adaptor-server.
sar/ )
Needless to say, the JNDI namespaces are all but empty now!
Thanks,
--
Danny Yates
-Original Message-
From: Scott M St
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
e package names, 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 sor
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
ning this every 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:[
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
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
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
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
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 look
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/
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
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:[
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 with a
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
.
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
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
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 1
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
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: [
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]
Sen
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] &qu
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 ma
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
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 PROT
55 matches
Mail list logo