Hi,
according to http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html I am trying to enable friendly URLs in tapestry 4.0-beta-4.

After adding (to *hivemind.xml* ):
   <contribution configuration-id="tapestry.url.ServiceEncoders">
<direct-service-encoder id="direct" stateless-extension="direct" stateful-extension="sdirect"/>
    </contribution>

is thrown *exception*:

org.apache.hivemind.ApplicationRuntimeException: Unable to construct service 
tapestry.request.RequestCycleFactory: Error building service 
tapestry.request.RequestCycleFactory: Error at 
jar:file:/E:/tomcat/webapps/directlink/WEB-INF/lib/tapestry-4.0-beta-4.jar!/META-INF/tapestry.request.xml,
 line 212, column 88: Unable to read property serviceEncoders of object 
<SingletonProxy for 
tapestry.url.LinkFactory(org.apache.tapestry.services.LinkFactory)>: 
java.lang.reflect.InvocationTargetException 
[jar:file:/E:/tomcat/webapps/directlink/WEB-INF/lib/tapestry-4.0-beta-4.jar!/META-INF/tapestry.request.xml,
 line 209, column 21]
        
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:165)
        
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139)
        
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68)
        
$RequestCycleFactory_105ed6c3866._service($RequestCycleFactory_105ed6c3866.java)
        
$RequestCycleFactory_105ed6c3866.newRequestCycle($RequestCycleFactory_105ed6c3866.java)
        
$RequestCycleFactory_105ed6c3865.newRequestCycle($RequestCycleFactory_105ed6c3865.java)
        
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:230)
        ....
        ....

What does it mean:
Unable to read property serviceEncoders of object <SingletonProxy for 
tapestry.url.LinkFactory(org.apache.tapestry.services.LinkFactory)>
??
Is that *bug* of tapestry or have I missed something?


Thanks for any help.
Radim


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

Reply via email to