[JBoss-user] exception handling problem

2001-04-24 Thread swarajit


hi,
 i am using jboss as my ejbserver in which i have a chain like jsp
- essionbean-entitybean(bmp)-writing to   directory server(Netscape
Directory server 4.2). i want to obtain exception information for three
differnt conditions 1. nds not running 2. name already bound 3. name not
bound , in each case i am throwing
my own exception class from the bmp. but the container is also throwing
transaction roll back exception for
the same exception conditions, so in session beans i am only getting
transaction rollback exception.. 

am i doing something wrong? is there a way to sort it out? 

thanx in advance
swarajit

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Segmentation violation on Linux ....

2001-04-03 Thread swarajit

thanx a lot juha, but with the same BMPs and sessionbeans are working
can u give me more light on this
thanx in advance
swarajit

Juha-P Lindfors wrote:
 
 Hi,
 
 Seg faults are problems with your JVM. Try upgrading to 1.3 for example.
 
 -- Juha
 
 On Mon, 3 Apr 2000, swarajit wrote:
 
  Hi,
  I'm using JBOSS on Linux and jdk1.2.2. I tried to run Enitity
  Bean(CMP) but it's giving the following dump 
  Thanks and regards
  Swarajit
 
  RegistrationEntityBean] in setEntityContext
  [RegistrationEntityBean] in ejbActivate
  method unknown (eip = 0)
  SIGSEGV   11*  segmentation violation
  si_signo [11]: SIGSEGV   11*  segmentation violation
  si_errno [0]: Success
  si_code [0]: SI_USER [pid: 0, uid: 0]
  stackpointer=0x44ba1450
 
  Full thread dump Classic VM (1.2.2-RC2-K, green threads):
  "Thread-12" (TID:0x40e62890, sys_thread_t:0x81a0a50, state:CW)
  prio=5
  at java.lang.Object.wait(Native Method)
  at
  org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:506)
  at
  org.jboss.util.timeout.TimeoutFactory.access$1(TimeoutFactory.java:4)
  RegistrationEntityBean] in setEntityContext
  [RegistrationEntityBean] in ejbActivate
  method unknown (eip = 0)
  SIGSEGV   11*  segmentation violation
  si_signo [11]: SIGSEGV   11*  segmentation violation
  si_errno [0]: Success
  si_code [0]: SI_USER [pid: 0, uid: 0]
  stackpointer=0x44ba1450
 
  Full thread dump Classic VM (1.2.2-RC2-K, green threads):
  "Thread-12" (TID:0x40e62890, sys_thread_t:0x81a0a50, state:CW)
  prio=5
  at java.lang.Object.wait(Native Method)
  at
  org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:506)
  at
  org.jboss.util.timeout.TimeoutFactory.access$1(TimeoutFactory.java:4)
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Segmentation violation on Linux ....

2001-04-03 Thread swarajit

Hi Robert,
I'm using jdk1.2.2 and I've kept the bare minimum in the classpath.
Moreover, the BMP's and session beans are running perfectly. Also, with
jdk1.2.2 on Win NT, everything is working fine. The problem is only with
CMP's. Is it a bug ?
Thanks,
Swarajit

Robert Schulz wrote:
 
 I used to get seg faults when running hotspot and stuffing
 up classpaths / class versions - however, your's seems to
 be "classic", ie. non hotspot ... nevertheless, make sure
 your classpath is correct and everything in the classpath
 can be serialized back and forth as needed.
 
 R.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Segmentation violation on Linux ....

2001-04-02 Thread swarajit

Hi,
I'm using JBOSS on Linux and jdk1.2.2. I tried to run Enitity
Bean(CMP) but it's giving the following dump 
Thanks and regards
Swarajit

RegistrationEntityBean] in setEntityContext
[RegistrationEntityBean] in ejbActivate
method unknown (eip = 0)
SIGSEGV   11*  segmentation violation
si_signo [11]: SIGSEGV   11*  segmentation violation
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid: 0]
stackpointer=0x44ba1450

Full thread dump Classic VM (1.2.2-RC2-K, green threads):
"Thread-12" (TID:0x40e62890, sys_thread_t:0x81a0a50, state:CW)
prio=5
at java.lang.Object.wait(Native Method)
at
org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:506)
at
org.jboss.util.timeout.TimeoutFactory.access$1(TimeoutFactory.java:4)
RegistrationEntityBean] in setEntityContext
[RegistrationEntityBean] in ejbActivate
method unknown (eip = 0)
SIGSEGV   11*  segmentation violation
si_signo [11]: SIGSEGV   11*  segmentation violation
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid: 0]
stackpointer=0x44ba1450

Full thread dump Classic VM (1.2.2-RC2-K, green threads):
"Thread-12" (TID:0x40e62890, sys_thread_t:0x81a0a50, state:CW)
prio=5
at java.lang.Object.wait(Native Method)
at
org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:506)
at
org.jboss.util.timeout.TimeoutFactory.access$1(TimeoutFactory.java:4)

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user