Mantis - Resin
Viewing Issue Advanced Details
1828 minor always 06-26-07 10:40 09-05-07 17:21
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.1.3  
0001828: EJB/CMP compile error in 3.1
(rep by Andrew Barton)

I gave resin 3.1.1 an test to see if it would work for may application. It seems to compile most of my EJBs, but I ran into a error which looks like a bug you might be interested.

I am attaching the bean that cause the issue.

WEB-INF/web.xml:476: com.caucho.java.JavaCompileException: /Applications/resin-pro-3.1.1/webapps/foo/WEB-INF/work/ejb/_ejb/ProjectThumbnail/ProjectThumbnailBean__Amber.java:560:
unclosed string literal
    String sql;sql = "
                     ^
/Applications/resin-pro-3.1.1/webapps/foo/WEB-INF/work/ejb/_ejb/ProjectThumbnail/ProjectThumbnailBean__Amber.java:560:
';' expected
    String sql;sql = "
                      ^
/Applications/resin-pro-3.1.1/webapps/foo/WEB-INF/work/ejb/_ejb/ProjectThumbnail/ProjectThumbnailBean__Amber.java:7:
_ejb.ProjectThumbnail.ProjectThumbnailBean__Amber is not abstract and does
not override abstract method __caucho_afterRollback() in com.caucho.amber.entity.Entity
public class ProjectThumbnailBean__Amber extends foo.quicksample.project.ProjectThumbnailBean
implements com.caucho.amber.entity.Entity {
       ^
/Applications/resin-pro-3.1.1/webapps/foo/WEB-INF/work/ejb/_ejb/ProjectThumbnail/ProjectThumbnailBean__EJB.java:230:
cannot find symbol
symbol : method __caucho_afterCommit()
location: class _ejb.ProjectThumbnail.ProjectThumbnailBean__EJB.Bean
        __caucho_afterCommit();
        ^

There are no notes attached to this issue.