geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <>
Subject [jira] Commented: (GERONIMO-433) Tolerate non-Sun JREs
Date Tue, 26 Jul 2005 15:36:23 GMT
    [ ] 

Alan Cabrera commented on GERONIMO-433:

Rick McGuire:

I've spent a bit of time looking at you to remove OpenEJB's Sun SDK dependencies, and have
arrived at the conclusion that replacing the Sun ORB with a truely portable ORB is the only
solution.  The Sun ORB class references cause problems with both IBM's SDK 1.4.2 and Suns
5.0 SDK, so this is not an easy problem to attack.  Unfortunately, there appear to be no portable
solutions available for the places where it was necessary to directly reference the Sun ORB
classes directly.

Right now, it looks like the Trifork ORB contribution may be the best means of achieving SDK

> Tolerate non-Sun JREs
> ---------------------
>          Key: GERONIMO-433
>          URL:
>      Project: Geronimo
>         Type: Improvement
>   Components: general
>     Reporter: Glyn Normington
>     Assignee: Alan Cabrera
>     Priority: Critical

> Geronimo fails to build against a non-Sun JRE (e.g. IBM's) because of the use of non-standard
Sun internal classes (in com.sun.* packages) such as The build
stops with:
> A compilation error occurred in the network module:
> C:\apache\geronimo\modules\network\src\java\org\apache\geronimo\network\protocol\
> package does not exist import;
> grep also found the following other references to com.sun in Java files, some of which
will need to be modified to tolerate non-Sun JREs.
> modules/client/src/java/org/apache/geronimo/client/    
   System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/connector/src/test/org/apache/geronimo/connector/outbound/
       env.put("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/geronimo/
       System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/java/   
    System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/java/     
  System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/security/src/java/org/apache/geronimo/security/realm/providers/
       AppConfigurationEntry entry = new AppConfigurationEntry("",
> modules/security/src/test/org/apache/geronimo/security/jaas/
       gbean.setAttribute("loginModuleName", "");
> modules/security/src/test/org/apache/geronimo/security/network/protocol/;
> modules/system/src/test/org/apache/geronimo/system/properties/
   private static final String NAMING_FACTORY_INITIAL = "com.sun.jndi.rmi.registry.RegistryContextFactory";

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message