Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001301 [Resin] minor always 08-21-06 11:05 11-20-06 10:19
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001301: EJB compilation on windows
Description (rep by Steve Baugus)

Using this configuration for the EJB
 
<!-- Caucho Hession Protocol EJB Servlet Mapping -->
    <servlet-mapping>
        <servlet-name>hessian</servlet-name>
        <url-pattern>/hessian/*</url-pattern>
    </servlet-mapping>
 
 
            <!-- Configure the Resin EJB server -->
            <ejb-server config-directory="WEB-INF"/>
 
            <!-- Configure Resin EJB JNDI lookup -->
            <jndi-link>
                <jndi-name>java:comp/env/ejb</jndi-name>
                <jndi-factory>com.caucho.hessian.HessianContextFactory</jndi-factory>
        <init-param>
           <param-name>java.naming.provider.url</param-name>
           <param-value>${app.url}/hessian</param-value>
        </init-param>
    </jndi-link>
 
Resin creates the following directory:
\WEB-INF\work\ejb\_ejb\CacheSession
This contains a single java file and several class files on windows.
On linux an additional directory is created.
\WEB-INF\work\ejb\_ejb\CacheSession
And
\WEB-INF\work\_ejb\CacheSession
 
The first directory above still contains the java file and the second directory contains the class files. What we are seeing on the linux boxes is that
Resin looks in the first directory for the class files does not find them and then throws an error saying the java file didn?t generate any class files.
 
Related to this, since introducing this single EJB we have to have a java compiler defined in in our apps.
 
 
Additional Information
Attached Files

- Relationships

- Notes
(0001593)
ferg
11-20-06 10:19

ejb/0c40
 

- Issue History
Date Modified Username Field Change
08-21-06 11:05 ferg New Issue
11-20-06 10:19 ferg Note Added: 0001593
11-20-06 10:19 ferg Assigned To  => ferg
11-20-06 10:19 ferg Status new => closed
11-20-06 10:19 ferg Resolution open => fixed
11-20-06 10:19 ferg Fixed in Version  => 3.1.0
11-20-06 10:19 ferg Description Updated


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