On Tuesday, May 28, 2002, at 11:18  AM, Akmal Sarhan wrote:

> I get this Exception in the Fulcrum.log, and have the same problem 
> about the unknown service when trying to use it:
>
> 2002-05-28 18:36:47,899 [main] INFO  org.apache.fulcrum.Fulcrum- 
> org.apache.fulcrum.InitializationException: XMLRPCService failed to 
> initialize: Address in use: JVM_Bind

I think that's caused by
org.apache.turbine.services.xmlrpc.TurbineXmlRpc
initializing before the equivalent in Fulcrum.  Make
sure you comment out the xmlrpc configuration in
TurbineResources.properties.


The XML-RPC service typically starts a separate thread
to listen for incoming XML-RPC calls (that's
configurable, but I think the default is set up to
start a separate thread).  It gets bound to a specific
port.  The turbine services get initialized before the
fulcrum ones.  If you have not commented out the xmlrpc
config in TR.p then that port is taken by the turbine
xmlrpc service and when the fulcrum one initializes the
port is not available.


> 2002-05-28 18:36:47,909 [main] INFO  org.apache.fulcrum.Fulcrum- 
> org.apache.fulcrum.InstantiationException: Failed to instantiate 
> service VelocityService: Class 
> org.apache.turbine.services.velocity.TurbineVelocityService doesn't 
> implement the Service interface: 
> org.apache.turbine.services.velocity.TurbineVelocityService

org.apache.fulcrum.Fulcrum wants to talk to
org.apache.fulcrum.velocity.TurbineVelocityService
instead of
org.apache.turbine.services.velocity.TurbineVelocityService

You probably did a straight cut and paste of the config
from TurbineResources.properties to Fulcrum.properties,
or you might have told Fulcrum to look at the
TurbineResources.properties for its config (which won't
work).

Hope that helps.
-Eric

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to