Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
On lør, 2002-06-08 at 00:37, Brandon Knitter wrote: I checked out things with: cvs co -r JBoss_3_0_0 jboss-all So, after I apply that patch, then I go into jboss-all/build dir and run build.sh. Then what? What do I move and copy over the binary distro I downloaded? Is it an entire dir, or just a jar? the contents of build/output is the same that the precompiled versions you find at sourceforge. Just copy/move it somewhere and run it. Thanks in advance, -- -bk Quoting Marius Kotsbak [EMAIL PROTECTED]: I have reported it as bug (http://sourceforge.net/tracker/?func=detailaid=565279group_id=22866atid=376685), and submitted a patch to solve it (#562036 http://sourceforge.net/tracker/index.php?func=detailaid=562036group_id=22866atid=376687), , but noone seems to notice. So I have to apply it myself every time I build jboss :-( Without it, I get exception like this that doesn't tell me anything several times a week! On fre, 2002-06-07 at 20:29, Paul Kavanagh wrote: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
On lør, 2002-06-08 at 00:37, Brandon Knitter wrote: I checked out things with: cvs co -r JBoss_3_0_0 jboss-all So, after I apply that patch, then I go into jboss-all/build dir and run build.sh. Then what? What do I move and copy over the binary distro I downloaded? Is it an entire dir, or just a jar? the contents of build/output is the same that the precompiled versions you find at sourceforge. Just copy/move it somewhere and run it. Thanks in advance, -- -bk Quoting Marius Kotsbak [EMAIL PROTECTED]: I have reported it as bug (http://sourceforge.net/tracker/?func=detailaid=565279group_id=22866atid=376685), and submitted a patch to solve it (#562036 http://sourceforge.net/tracker/index.php?func=detailaid=562036group_id=22866atid=376687), , but noone seems to notice. So I have to apply it myself every time I build jboss :-( Without it, I get exception like this that doesn't tell me anything several times a week! On fre, 2002-06-07 at 20:29, Paul Kavanagh wrote: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
Near the bottom of the log4j.xml file there are two TRACE entries, I uncommented those and restarted jboss and have better errors now. Hope that's what you were looking for. -- -bk Quoting Paul Kavanagh [EMAIL PROTECTED]: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
Thanks Brandon, but unfortunately that didn't work - I still don't see any stack trace on the server (I've attached my log4j.xml also). I uncommented the TRACE entries, set the threshold level to All, but still no stack trace. Here is the code which I'm using to programmatically create a RuntimeException (inside a SLSB): Object o = null; System.out.println(); o.hashCode(); System.out.println(); On the client I get the NPE as expected: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: null Embedded Exception null javax.ejb.EJBException: null Embedded Exception null at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProx y.java:128) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 ) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInter ceptor.java:111) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) at $Proxy1.doTest(Unknown Source) at com.softface.framework.services.test.FrameworkTestMain.main(FrameworkTestMai n.java:17) java.lang.NullPointerException no stack trace available But on the JBoss console (and in the logs), all I see is: 569 TRACE [LogInterceptor] Start method=doTest 589 TRACE [TxInterceptorCMT] Current transaction in MI is null 619 TRACE [TxInterceptorCMT] TX_REQUIRED for doTest 639 TRACE [TxInterceptorCMT] Thread came in with tx null 659 TRACE [TxInterceptorCMT] Starting new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=pc-paul//3, BranchQual=] 679 TRACE [StatelessSessionInstancePool] Get instance org.jboss.ejb.plugins.StatelessSessionInstancePool@75ade6#true#class com.softface.framework.services.test.FrameworkTe 739 INFO [STDOUT] testing. 759 INFO [STDOUT] 799 TRACE [TxInterceptorCMT] TxInterceptorCMT: In finally 820 TRACE [LogInterceptor] End method=doTest ie the exception is somehow being gobbled up. Is anyone using JBoss 3.0.0 and seeing RuntimeExceptions ? If so, could you please post your log4j.xml ? Thanks in advance, -Paul -Original Message- From: Brandon Knitter [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 11:41 AM To: [EMAIL PROTECTED]; Paul Kavanagh Subject: Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ??? Near the bottom of the log4j.xml file there are two TRACE entries, I uncommented those and restarted jboss and have better errors now. Hope that's what you were looking for. -- -bk Quoting Paul Kavanagh [EMAIL PROTECTED]: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM log4j.dtd !-- = -- !-- -- !-- Log4j Configuration -- !-- -- !-- = -- !-- $Id: log4j.xml,v 1.5.2.2 2002/05/23 05:55:43 starksm Exp $ -- !-- | For more configuration infromation and examples see the Jakarta Log4j | owebsite: http://jakarta.apache.org/log4j -- log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=false !-- = -- !-- Preserve messages in a local file -- !-- = -- !-- A time/date based rolling appender -- appender name=FILE class
Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
I checked out things with: cvs co -r JBoss_3_0_0 jboss-all So, after I apply that patch, then I go into jboss-all/build dir and run build.sh. Then what? What do I move and copy over the binary distro I downloaded? Is it an entire dir, or just a jar? Thanks in advance, -- -bk Quoting Marius Kotsbak [EMAIL PROTECTED]: I have reported it as bug (http://sourceforge.net/tracker/?func=detailaid=565279group_id=22866atid=376685), and submitted a patch to solve it (#562036 http://sourceforge.net/tracker/index.php?func=detailaid=562036group_id=22866atid=376687), , but noone seems to notice. So I have to apply it myself every time I build jboss :-( Without it, I get exception like this that doesn't tell me anything several times a week! On fre, 2002-06-07 at 20:29, Paul Kavanagh wrote: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???
I have reported it as bug (http://sourceforge.net/tracker/?func=detailaid=565279group_id=22866atid=376685), and submitted a patch to solve it (#562036 http://sourceforge.net/tracker/index.php?func=detailaid=562036group_id=22866atid=376687), , but noone seems to notice. So I have to apply it myself every time I build jboss :-( Without it, I get exception like this that doesn't tell me anything several times a week! On fre, 2002-06-07 at 20:29, Paul Kavanagh wrote: Hi guys, hoping someone can shed some light on this. I'm using JBoss 3.0.0 (using default settings for everything) on Win2K, but when I run my test applciation (Java client connecting to a simple session bean) on it, JBoss is not showing us any RuntimeExceptions which are being thrown (neither on the console nor in the server.log). The client is getting a java.rmi.ServerException, but there's no stack trace or any info on the server. I'm using the default log4j.xml. Any ideas ? Thanks in advance, -Paul ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user