Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000391 [Resin] minor always 09-20-05 00:00 11-30-05 14:42
Reporter ferg View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.15 Product Version
  Product Build
Summary 0000391: EJB 2.0 Stateless Session compilation
Description RSN-437
(rep by Marcus Richardson)

I have attached an example. I added a HelloException and modified the hello method signature in Hello.java and HelloBean.java to throw the exception. The servlet has been modified to handle the exception.

The following is the error that I receive from resin:

[14:49:42.131] Compiling _ejb/HelloBean/HelloBean__EJB.java
[14:49:42.743] com.caucho.config.ConfigException: com.caucho.java.JavaCompileException: /tmp/resin-3.0.14/webapps/test/ejb3/tutorial/stateless/WEB-INF/work/ejb/_ejb/HelloBean/HelloBean__EJB.java:183: unreported exception example.HelloException; must be caught or declared to be thrown
[14:49:42.743] return ptr.hello();
[14:49:42.743] ^
[14:49:42.743] 1 error
[14:49:42.743] at com.caucho.ejb.cfg.EjbConfig.configure(EjbConfig.java:419)
[14:49:42.743] at com.caucho.ejb.EjbServerManager.build(EjbServerManager.java:563)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0000449)
ferg
09-20-05 00:00

ejb/0f06
 

- Issue History
Date Modified Username Field Change
09-20-05 00:00 ferg New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker