Time or other hangs

Stephen McConnell mcconnell at dpml.net
Sat Nov 13 22:45:11 EST 2004



> -----Original Message-----
> From: support-dpml-bounces at lists.ibiblio.org [mailto:support-dpml-
> bounces at lists.ibiblio.org] On Behalf Of Dan Gould
> Sent: 14 November 2004 04:37
> To: support-dpml at lists.ibiblio.org
> Subject: Re: Time or other hangs
> 
> > Answer at;
> >
http://www.dpml.net/central/products/metro/composition/properties.html
> 
> If I add
> 
> dpml.composition.timeout = 10000
> 
> to $DPML_HOME/dpml.properties, I get a ClassCastException.  I think
that
> the problem is that it needs to be created as a Long in
> DefaultCompositionFactory.java:166

Will look into this - in the meantime just use '-timeout 0' on the
commandline (and substitute 0 for a reasonable timeout value).
 
> Also, is there a way to set the timeout on a per-component basis?

Yes.

Add the following tag to your component at class level (600 is just an
example):

@metro.attribute key=urn:composition:deployment.timeout" value="6000"


Steve.


> Thank you.
> _______________________________________________
> support-dpml mailing list
> support-dpml at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/support-dpml




More information about the support-dpml mailing list