Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
391 | minor | always | 09-20-05 00:00 | 11-30-05 14:42 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.15 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|