Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
On January 14, 2004 07:29 pm, Adrian Brock wrote: > On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > > Hi All, > > > > I've recently been having problems with MDBs not receiving > > messages after my .EAR is redeployed. About the only thing that > > I'm doing differently, as far as I can tell, is

RE: [JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-14 Thread Barlow, Dustin
Yes. Some of the time the error did occur after redeploying. On occasions though, after restarting JBoss, the error would also occur on the first process that accessed the datasource from a cmt ssb. I would just have to bounce JBoss again (sometimes more then once) to get the error to stop occur

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
On January 14, 2004 07:29 pm, Adrian Brock wrote: > On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > > Hi All, > > > > I've recently been having problems with MDBs not receiving > > messages after my .EAR is redeployed. About the only thing that > > I'm doing differently, as far as I can tell, is

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Adrian Brock
On Thu, 2004-01-15 at 01:57, Poppe, Troy wrote: > The linux image will not respond to telnet, ssh, or ping. The CPU is being spin > so quickly that nothing is getting handled other than those java processes (and I > wonder if any real processing is being done with them). > > Technically speaking,

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Poppe, Troy
The linux image will not respond to telnet, ssh, or ping. The CPU is being spin so quickly that nothing is getting handled other than those java processes (and I wonder if any real processing is being done with them). Technically speaking, the jvm isn't crashing... Currently, the linux kernel im

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Adrian Brock
On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > Hi All, > > I've recently been having problems with MDBs not receiving messages > after my .EAR is redeployed. About the only thing that I'm doing > differently, as far as I can tell, is to set the JNDI name of the MDB > within the jboss deploym

[JBoss-user] Re: Shutdown multiple instances

2004-01-14 Thread cjohan
Hi Ben, We use the approach I outlined below for our severs. It DOES work. So, your problem may be some other network issue, such as firewall, NAT, or whatever. Good luck. You could run a sniffer such as Ethereal on your destination server to find out if the packets from the machine where yo

[JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
Hi All, I've recently been having problems with MDBs not receiving messages after my .EAR is redeployed. About the only thing that I'm doing differently, as far as I can tell, is to set the JNDI name of the MDB within the jboss deployment descriptors. Are there JBoss 3.2.2 problems with MDB re

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Rod Macpherson
Correction. According to the specification, the JSP dumps everything in a super-giant try-catch block so Exceptions and RuntimeException need not be declared. The solution is therefore to apply best practices: limit the amount of code in your JSPs to none or less if possible. I know that our appl

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Adrian Brock
So can you ping or telnet into the linux image? That will tell you whether linux is really dead. In principle a jvm should never crash, if it does it is a bug in the jvm. Of course the OS may decide to kill the process by sending it a signal (e.g. exceeded the cpu limit of ulimit or a segfault) bu

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
Right!but doesn't... Here's what the jsp looks like.. <% InitialContext context = new InitialContext(); Object ref = context.lookup("ejb/FactoryBean"); FactoryHome factoryHome = (FactoryHome) PortableRemoteObject.narrow ( ref, FactoryHome.class); Factory factory = factoryHome.c

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Poppe, Troy
Adrian, Again, thanks for your help. I've tried the runGarbageCollection invokation from the MBean inspector. It did reduce the current memory consumption, but didn't cause the 'desired' crash. I guess I should clarify what I mean by 'crash' because that is a rather overloaded and abused word.

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Rod Macpherson
The JSP compile should fail in that case. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:38 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Throwing exception question Yah, I have my MaxNumberOfRequestsException class exten

RE: [JBoss-user] Shutdown multiple instances

2004-01-14 Thread Rod Macpherson
I am not starting/stopping from Ant but the task otta work with the startup and shutdown scripts. -Original Message- From: Benjamin Cox [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:22 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Shutdown multiple instances Rod

Re: [JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-14 Thread Adrian Brock
The exception means the classloader has been undeployed. It no longer holds a reference to the repository Did you redeploy something? But something is holding a reference to the classloader. It looks like you've hit the caching done by Class.forName() in java 1.4 that breaks hot deployment? This i

[JBoss-user] JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?])

2004-01-14 Thread Darren Hartford
I have the paid-for docs, full google, and several days later I still do not know how to use the JbossQL to get a SUM. Could someone enlighten me please? It should have been simple... -D --__--__-- Subject: RE: [JBoss-user] RE: jboss4 and EJB2.1 ejb-ql? Date: Mon, 12 Jan 2004 16:25:24 -0600 Fr

RE: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread JD Brennan
You might try running the jvm under gdb. I've had mixed success with that in the past, but it might be worth a try. Then when it hangs you might be able to interrupt gdb and poke around at the threads. JD -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Wednesday, Ja

[JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-14 Thread Barlow, Dustin
I am using McKoi as an embedded database in JBoss-3.2.3. The mckoidb.jar is bundled in the application's ear file and uses the following in application.xml to deploy it. mckoidb.jar McKoi is registered via -ds.xml file and all code acquires a connection from the pool.

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Adrian Brock
On Wed, 2004-01-14 at 20:56, Poppe, Troy wrote: > Adrian, > 4. Is there any way that you know of to get JBoss to convince the JVM that it > needs to do a system-wide gc? Is it as simple as calling System.gc()? > Nearly that simple. System.gc() is just a hint, the VM can ignore it. If the VM tak

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread Poppe, Troy
Adrian, Thanks for the reply. Couple of comments to your response. 1. Unfortunately, when the instance of Linux crashes, it crashes hard. No response to any terminal input, no new terminals, nothing. So diagnosing what's going on is turning into a scenario where we gather some info, and then

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
Yah, I have my MaxNumberOfRequestsException class extending Exception already..still not sure what it is Still baffled! Russ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: Wednesday, January 14, 2004 2:46 PM To: [EMAIL PROTE

[JBoss-user] default container configuration

2004-01-14 Thread Joachim (PROGS)
If I want to use a user-defined container configuration for all the beans in a deployment unit, do I have to specify the configuration for each bean, or is it enough to define that configuration to have it used, or can I add a directive to set that configuration as default for my deployment? I

Re: [JBoss-user] Re: Shutdown multiple instances

2004-01-14 Thread Benjamin Cox
Thanks, Craig, for the response. Unfortunately, this doesn't work either. It just hangs, nothing in the server's log, and nothing on the console. I've also tried 1099 with the same effect. Any other ideas out there? Why is this difficult? Ben [EMAIL PROTECTED] wrote: Hi Ben and Tim, One

Re: [JBoss-user] Shutdown multiple instances

2004-01-14 Thread Benjamin Cox
Rod Macpherson wrote: "Has anyone mastered the intricacies of JBoss shutdown for multiple IPs?" I kill the process. Does shutdown accept the --host switch? If not that should be added as a feature request for symmetry if nothing else. That's what I've been forced to resort to, as well. Have you c

Re: [JBoss-user] Throwing exception question....

2004-01-14 Thread Adrian Brock
You'll need: public class MaxNumberOfRequestsException extends Exception rather than extends RuntimeException or whatever you are using to avoid declaring it as being thrown. RuntimeExceptions and Errors do not need to be handled. Regards, Adrian On Wed, 2004-01-14 at 19:07, Pitre, Russell wro

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Series

2004-01-14 Thread Adrian Brock
First have you tried kill -3 886 to get a threaddump? 886 is the pid of one the java threads. This will show you stacktraces of the current active threads on the console. You said it crashed, did the output from the crash include a threaddump? Second, it is generally a bad idea to run a java virtu

[JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
Hello All-   Using: jboss3.2.3-tomcat   I have a class that will throw a user defined exception.   My method: public ArrayList getPersistableObjects (String className, String keys) { if(cachelessKeyValues.length() > MAX_NUMBER_OF_REQUESTS) { throw new MaxNumberOfRequestsException("

[JBoss-user] JBoss 3.2.3 problems running in Linux for z/Series

2004-01-14 Thread Poppe, Troy
I am running into a curious problem running JBoss on SLES8 31-bit on VM4.3. The instance has been allocated 128Mb of physical memory and approx 512Mb of swap. We have the VM configured to use QDIO with the OSA adapter in the z/800. I'm currently testing this problem using IBMJava2-s390-131 and I

RE: [JBoss-user] JNDI question

2004-01-14 Thread Bret Kumler
Sorry for the confusion, I'm not writing a client. I have a class that's doing all the look ups. I'm trying to access it view a struts action, using the same VM. -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 9:39 AM To: [EMAIL PROTECTED

[JBoss-user] JBoss clustering with commit option B or C too slow

2004-01-14 Thread Boulatian, Misak
Hi,   I am trying to cluster JBoss 3.2.3 with CMP 2.0. Current clustering configuration doesn't allow me to use commit option A (Only with cache invalidation based clustering A can be used). So, I need to use commit option B or C. With CMP 1.1 there was a modified flag that allowed control o

RE: [JBoss-user] JNDI question

2004-01-14 Thread Adrian Brock
Which part don't you understand? In jboss you cannot access a datasource over the network, even if it is local sockets to a process on the same server. Your use of the provider url in the jndi settings makes the java:/ namespace (where the datasource is bound within jndi) inaccessible. Before yo

Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Yep Matt, that makes perfect sense and seems a very sensible approach. Thanks for the great tip! Brian From: "Matthew Oatham" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] Why does restart force recompile Date: Wed, 14 Jan 2004 12:23:40 - H

Re: [JBoss-user] archive for this list??

2004-01-14 Thread Juha Lindfors
mail-archive.com there are some others too On Wed, 14 Jan 2004, ed banfa wrote: > Hello all > > I am new to this mailing list and I got a lot of question to ask y'all but I would > like to first out if there is a publicly available archive of previous mails to this > list so that I could fi

[JBoss-user] archive for this list??

2004-01-14 Thread ed banfa
Hello all   I am new to this mailing list and I got a lot of question to ask y'all but I would like to first out if there is a publicly available archive of previous mails to this list so that I could first find out if my questionns have been asked b4.   Thanks   EdEdward Banfa Software Engineer Ne

[JBoss-user] Problems with deployment of EJB's in Jboss 3.2.3

2004-01-14 Thread Hans Lund
When I try to deploy an j2ee application on Jboss 3.2.x, I get a deployment error. Has anyone seen the same error, and knows the reason ( or possible reasons to this error )??? It seams only the SequenceEJB bean fails ( but it's a primary key generator bean - simple but needed ) Description:

[JBoss-user] Help with JBossQL

2004-01-14 Thread Luis
Hi everyone,I am trying to write a JBossQL query to get the entity with the maximun value of a certain field. Something similar to the SQL function MAX() but I can't get it to work. Can anybody tell me the right way to do this. Thanks in advance. __ Do you Yahoo!?

RE: AW: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested

2004-01-14 Thread shubhu mutta
Hi,   The Bug report at  https://sourceforge.net/tracker/?func=detail&atid=376687&aid=729719&group_id=22866 has a patch available in which the standard-jbosscmp-jdbc.xml has both jdbc-type mappings as follows :-     java.lang.Short     NUMERIC    SMALLINT NUM

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-14 Thread Mridul Jain
hi Ban, I added bind_addr attribute in both the servers with their respective ips and both the servers seem to identify each other. But I am getting this line: -- 18:10:52,399 INFO [DefaultPartition] New cluster view (

Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Matthew Oatham
Hi, I apply this to each web app that is deployed - i.e add it to the web app web.xml file - which over rides the default web.xml settings. The reason for this is in each web app you can set a sub directory. This is nesessary when 2 web apps are deployed which both contain a jsp file of the same n

Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Thanks Matt, looks like just what I need. Can I ask, did you define this in your web.xml file in your webapp, or did you edit the default jboss web.xml file in conf/web.xml thanks, Brian From: "Matthew Oatham" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: [

Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Matthew Oatham
Not sure about the logic but one way to prevent it is to add the scratddir attribute to the jspc servlet. This has to be defined in the web app web.xml file as follows: jsp2 org.apache.jasper.servlet.JspServlet logVerbosityLevel WARNING scratchdir

[JBoss-user] Setting up forums

2004-01-14 Thread Brian Styles
Hi all, another question :-). I wonder is it possible to add the forums module to my application without redesigning my entire system to run around nukes. I'd like to just deploy the forums. I'm sure there are others who would also like this, and I reckon it would be a big attraction towards J

[JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Just a simple question, Why when we restart JBoss does it force a recompile of all the jsps in every deployed war. What's the logic in this? The jsps haven't changed. Any way to avoid it? Brian _ Protect your PC - get McAfee.com V