geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-433) Tolerate non-Sun JREs
Date Fri, 23 Mar 2007 21:16:32 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483753
] 

Donald Woods commented on GERONIMO-433:
---------------------------------------

Seeing the following exception (which repeats until you kill the java process) during shutdown
with the IBM 1.5.0 SR4 SDK on SLED10 i386 with branches/1.2 Rev520250 from 3/19/07-
19:07:04,528 DEBUG [TomcatWebAppContext] TomcatWebAppContext stopped
19:07:04,549 DEBUG [MapperListener] Handle geronimo.config:name="org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car"
type : JMX.mbean.unregistered
19:07:04,549 DEBUG [MapperListener] Handle geronimo.config:name="org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car"
type : JMX.mbean.unregistered
19:07:04,549 DEBUG [MapperListener] Handle geronimo.config:name="org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car"
type : JMX.mbean.unregistered
19:07:05,103 DEBUG [DerbyNetwork] Stopped
19:07:05,817 DEBUG [DerbySystem] Stopped
19:07:11,453 WARN  [GeronimoConnectionEventListener] connectionErrorOccurred called with null
SQL Exception: No current connection.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown Source)
	at org.apache.derby.iapi.jdbc.BrokeredConnection.rollback(Unknown Source)
	at org.tranql.connector.jdbc.ManagedXAConnection.localTransactionRollback(ManagedXAConnection.java:121)
	at org.tranql.connector.AbstractManagedConnection$LocalTransactionImpl.rollback(AbstractManagedConnection.java:196)
	at org.tranql.connector.jdbc.ConnectionHandle.rollback(ConnectionHandle.java:135)
	at org.apache.activemq.store.jdbc.DefaultDatabaseLocker.stop(DefaultDatabaseLocker.java:80)
	at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.stop(JDBCPersistenceAdapter.java:202)
	at org.apache.activemq.store.journal.JournalPersistenceAdapter.stop(JournalPersistenceAdapter.java:254)
	at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:42)
	at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:443)
	at org.apache.activemq.gbean.BrokerServiceGBeanImpl.doStop(BrokerServiceGBeanImpl.java:106)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1148)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:337)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:311)
	at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668)
	at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645)
	at org.apache.geronimo.system.main.Daemon$1.run(Daemon.java:225)


> Tolerate non-Sun JREs
> ---------------------
>
>                 Key: GERONIMO-433
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-433
>             Project: Geronimo
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.0-M4
>            Reporter: Glyn Normington
>         Assigned To: Rick McGuire
>            Priority: Critical
>             Fix For: 1.2
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message