[ http://issues.apache.org/jira/browse/GERONIMO-433?page=all ]
Aaron Mulder updated GERONIMO-433:
----------------------------------
Fix Version: 1.1
Description:
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
com.sun.security.jgss.GSSUtil. The build stops with:
A compilation error occurred in the network module:
C:\apache\geronimo\modules\network\src\java\org\apache\geronimo\network\protocol\GSSAPIServerProtocol.java:29:
package com.sun.security.jgss does not exist import
com.sun.security.jgss.GSSUtil;
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/StaticJndiContextPlugin.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/connector/src/test/org/apache/geronimo/connector/outbound/ManagedConnectionFactoryWrapperTest.java:
env.put("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/geronimo/GeronimoRootContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/java/AbstractContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/java/ThreadContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/security/src/java/org/apache/geronimo/security/realm/providers/KerberosSecurityRealm.java:
AppConfigurationEntry entry = new
AppConfigurationEntry("com.sun.security.auth.module.Krb5LoginModule",
modules/security/src/test/org/apache/geronimo/security/jaas/LoginKerberosNonGeronimoTest.java:
gbean.setAttribute("loginModuleName",
"com.sun.security.auth.module.Krb5LoginModule");
modules/security/src/test/org/apache/geronimo/security/network/protocol/SubjectCarryingProtocolTest.java:import
com.sun.security.auth.login.ConfigFile;
modules/system/src/test/org/apache/geronimo/system/properties/NamingPropertiesTest.java:
private static final String NAMING_FACTORY_INITIAL =
"com.sun.jndi.rmi.registry.RegistryContextFactory";
was:
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
com.sun.security.jgss.GSSUtil. The build stops with:
A compilation error occurred in the network module:
C:\apache\geronimo\modules\network\src\java\org\apache\geronimo\network\protocol\GSSAPIServerProtocol.java:29:
package com.sun.security.jgss does not exist import
com.sun.security.jgss.GSSUtil;
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/StaticJndiContextPlugin.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/connector/src/test/org/apache/geronimo/connector/outbound/ManagedConnectionFactoryWrapperTest.java:
env.put("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/geronimo/GeronimoRootContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/java/AbstractContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/naming/src/test/org/apache/geronimo/naming/java/ThreadContextTest.java:
System.setProperty("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
modules/security/src/java/org/apache/geronimo/security/realm/providers/KerberosSecurityRealm.java:
AppConfigurationEntry entry = new
AppConfigurationEntry("com.sun.security.auth.module.Krb5LoginModule",
modules/security/src/test/org/apache/geronimo/security/jaas/LoginKerberosNonGeronimoTest.java:
gbean.setAttribute("loginModuleName",
"com.sun.security.auth.module.Krb5LoginModule");
modules/security/src/test/org/apache/geronimo/security/network/protocol/SubjectCarryingProtocolTest.java:import
com.sun.security.auth.login.ConfigFile;
modules/system/src/test/org/apache/geronimo/system/properties/NamingPropertiesTest.java:
private static final String NAMING_FACTORY_INITIAL =
"com.sun.jndi.rmi.registry.RegistryContextFactory";
Version: 1.0-M4
Environment:
> Tolerate non-Sun JREs
> ---------------------
>
> Key: GERONIMO-433
> URL: http://issues.apache.org/jira/browse/GERONIMO-433
> Project: Geronimo
> Type: Improvement
> Components: general
> Versions: 1.0-M4
> Reporter: Glyn Normington
> Assignee: Alan Cabrera
> Priority: Critical
> Fix For: 1.1
>
> 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
> com.sun.security.jgss.GSSUtil. The build stops with:
> A compilation error occurred in the network module:
> C:\apache\geronimo\modules\network\src\java\org\apache\geronimo\network\protocol\GSSAPIServerProtocol.java:29:
> package com.sun.security.jgss does not exist import
> com.sun.security.jgss.GSSUtil;
> 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/StaticJndiContextPlugin.java:
> System.setProperty("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/connector/src/test/org/apache/geronimo/connector/outbound/ManagedConnectionFactoryWrapperTest.java:
> env.put("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/geronimo/GeronimoRootContextTest.java:
> System.setProperty("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/java/AbstractContextTest.java:
> System.setProperty("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/naming/src/test/org/apache/geronimo/naming/java/ThreadContextTest.java:
> System.setProperty("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> modules/security/src/java/org/apache/geronimo/security/realm/providers/KerberosSecurityRealm.java:
> AppConfigurationEntry entry = new
> AppConfigurationEntry("com.sun.security.auth.module.Krb5LoginModule",
> modules/security/src/test/org/apache/geronimo/security/jaas/LoginKerberosNonGeronimoTest.java:
> gbean.setAttribute("loginModuleName",
> "com.sun.security.auth.module.Krb5LoginModule");
> modules/security/src/test/org/apache/geronimo/security/network/protocol/SubjectCarryingProtocolTest.java:import
> com.sun.security.auth.login.ConfigFile;
> modules/system/src/test/org/apache/geronimo/system/properties/NamingPropertiesTest.java:
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira