geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siss...@insession.com
Subject Re: build failed Mon Nov 15 13:13:05 PST 2004
Date Tue, 16 Nov 2004 06:08:37 GMT
I also have the test failing.  On the topic of resources being temporarily 
unavailable..

Looked at the stack trace for the failed test and saw that 
org.apache.geronimo.remoting.transport.TransportLoader is doing the bind 
that failed.

Do you think TransportLoader (implements GBeanLifecycle) should support a 
configurable number of retries for the bind operation and a configurable 
retry interval?

It would be nice if GBeans (wrapping entities that can be temporarily 
unavailable) provide configurable retry processing. 

Providing a retry capability could:

  * improve the availability of the system .  E.G. a resource that is 
temporarily unavailable for a just a second or two doesn't require manual 
intervention by operations staff.  Without retry logic how much effort is 
it to start the resource and those that depend upon it?
  * remove the need for a management tool to perform the retries (which 
would be more expensive in terms of processing) 

If retry logic was placed in the doStart() method then in theory doStart() 
may not return for a while whilst retries are taking place. 

Can someone give some background on how the 
org.apache.geronimo.gbean.WaitingException was intended to be used and 
whether it could have a role here? 

I was picturing the GBean attempting a bind in doStart() and if the bind 
fails then it could start retry processing in a background thread and 
return WaitingException. 

What happens if the retry processing in the background thread hits a retry 
limit?  Can it call doFail()?

Thanks,

John 






Aaron Mulder <ammulder@alumni.princeton.edu> 
16/11/2004 08:43 AM
Please respond to
dev@geronimo.apache.org


To
dev@geronimo.apache.org
cc

Subject
Re: build failed Mon Nov 15 13:13:05 PST 2004






                 For what it's worth, I get this problem all the time -- 
I'm glad 
to see someone else have the problem, even if it is only an automated 
test.  :)  It's a test failure due to the test being unable to bind to a 
port -- perhaps we just need to pause a bit to let the last listener clean 

up?

Aaron

On Mon, 15 Nov 2004, i386-redhat-linux-gnu wrote:
> 
> ==[SUMMARY]====================================
> 
>     [junit] [ERROR] TEST 
org.apache.geronimo.security.network.protocol.SubjectCarryingProtocolTest 
FAILED
>     [junit] [ERROR] TEST 
org.apache.geronimo.security.bridge.MappingUserPasswordBridgeTest FAILED
>     [junit] [ERROR] TEST 
org.apache.geronimo.security.bridge.CallerIdentityUserPasswordBridgeTest 
FAILED
> BUILD FAILED
> BUILD FAILED
> 
> ==[UPDATED]====================================
> 
> U 
modules/core/src/java/org/apache/geronimo/proxy/SimpleRPCContainer.java
> U 
modules/core/src/java/org/apache/geronimo/core/service/SimpleInvocation.java
> U 
modules/jetty/src/java/org/apache/geronimo/jetty/JettyWebAppJACCContext.java
> U 
modules/jetty/src/java/org/apache/geronimo/jetty/JettyXMLConfiguration.java
> U 
modules/transaction/src/java/org/apache/geronimo/transaction/UserTransactionImpl.java
> A 
modules/common/src/java/org/apache/geronimo/common/GeronimoSecurityException.java
> U  modules/connector/project.xml
> U 
modules/connector/src/test/org/apache/geronimo/connector/outbound/ManagedConnectionFactoryWrapperTest.java
> U 
modules/connector/src/java/org/apache/geronimo/connector/outbound/ManagedConnectionFactoryWrapper.java
> U 
modules/connector/src/java/org/apache/geronimo/connector/outbound/security/PasswordCredentialRealm.java
> U 
modules/connector/src/java/org/apache/geronimo/connector/ConnectorMethodInterceptor.java
> U 
modules/derby-connector/src/java/org/apache/geronimo/derby/connector/DerbyXAManagedConnectionFactory.java
> U  modules/client-builder/src/schema/geronimo-application-client.xsd
> U  modules/axis/maven.xml
> U 
modules/security/src/test/org/apache/geronimo/security/remoting/jmx/RemoteLoginTest.java
> U 
modules/security/src/test/org/apache/geronimo/security/bridge/TestRealm.java
> U 
modules/security/src/test/org/apache/geronimo/security/jaas/LoginSQLTest.java
> U 
modules/security/src/java/org/apache/geronimo/security/jacc/AbstractModuleConfiguration.java
> U 
modules/security/src/java/org/apache/geronimo/security/jacc/ModuleConfiguration.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/SecurityRealm.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/providers/SimpleSecurityRealm.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/providers/PropertiesFileSecurityRealm.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/providers/KerberosSecurityRealm.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/providers/SQLSecurityRealm.java
> U 
modules/security/src/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
> U 
modules/security/src/java/org/apache/geronimo/security/SecurityService.java
> U 
modules/security/src/java/org/apache/geronimo/security/SecurityServiceMBean.java
> U 
modules/security/src/java/org/apache/geronimo/security/jaas/RemoteLoginModuleRemoteWrapper.java
> U 
modules/security/src/java/org/apache/geronimo/security/jaas/LoginService.java
> U 
modules/security/src/java/org/apache/geronimo/security/jaas/LocalLoginModule.java
> U 
modules/security/src/java/org/apache/geronimo/security/jaas/RemoteLoginModule.java
> U 
modules/security/src/java/org/apache/geronimo/security/jaas/LoginServiceMBean.java
> D 
modules/security/src/java/org/apache/geronimo/security/GeronimoSecurityException.java
> 
> 



Mime
View raw message