I have just installed tapestry and tomcat and have been having some CLASSPATH problems, etc. I have finally gotten to an error I don't know what to do with.

*description* _The server encountered an internal error () that prevented it from fulfilling this request._

*exception*

javax.servlet.ServletException: Unable to construct service 
tapestry.request.RequestCycleFactory: Error building service 
tapestry.request.RequestCycleFactory: Error at 
jar:file:/opt/tapestry-4.0-rc-2/tapestry-4.0-rc-2.jar!/META-INF/tapestry.request.xml, 
line 216, column 88: Unable to read property serviceEncoders of object 
<SingletonProxy for 
tapestry.url.LinkFactory(org.apache.tapestry.services.LinkFactory)>: 
java.lang.reflect.InvocationTargetException
        
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:60)
        
$ServletRequestServicer_1085512a871.service($ServletRequestServicer_1085512a871.java)
        
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
        
$ServletRequestServicerFilter_1085512a86d.service($ServletRequestServicerFilter_1085512a86d.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
        
$ServletRequestServicerFilter_1085512a86b.service($ServletRequestServicerFilter_1085512a86b.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
        
$ServletRequestServicerFilter_1085512a86f.service($ServletRequestServicerFilter_1085512a86f.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
$ServletRequestServicer_1085512a865.service($ServletRequestServicer_1085512a865.java)
        
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
        org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

*root cause*

org.apache.hivemind.ApplicationRuntimeException: Unable to construct service 
tapestry.request.RequestCycleFactory: Error building service 
tapestry.request.RequestCycleFactory: Error at 
jar:file:/opt/tapestry-4.0-rc-2/tapestry-4.0-rc-2.jar!/META-INF/tapestry.request.xml, 
line 216, 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:/opt/tapestry-4.0-rc-2/tapestry-4.0-rc-2.jar!/META-INF/tapestry.request.xml,
 line 213, 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_1085512a83c._service($RequestCycleFactory_1085512a83c.java)
        
$RequestCycleFactory_1085512a83c.newRequestCycle($RequestCycleFactory_1085512a83c.java)
        
$RequestCycleFactory_1085512a83b.newRequestCycle($RequestCycleFactory_1085512a83b.java)
        
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:224)
        
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
        
$WebRequestServicer_1085512a891.service($WebRequestServicer_1085512a891.java)
        
$WebRequestServicer_1085512a88d.service($WebRequestServicer_1085512a88d.java)
        
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
        
$ServletRequestServicer_1085512a871.service($ServletRequestServicer_1085512a871.java)
        
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
        
$ServletRequestServicerFilter_1085512a86d.service($ServletRequestServicerFilter_1085512a86d.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
        
$ServletRequestServicerFilter_1085512a86b.service($ServletRequestServicerFilter_1085512a86b.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
        
$ServletRequestServicerFilter_1085512a86f.service($ServletRequestServicerFilter_1085512a86f.java)
        
$ServletRequestServicer_1085512a873.service($ServletRequestServicer_1085512a873.java)
        
$ServletRequestServicer_1085512a865.service($ServletRequestServicer_1085512a865.java)
        
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
        org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

Here is the section of the xml file it refers to:

   <invoke-factory>
     <construct class="impl.RequestCycleFactoryImpl">
       <set-object property="encoders"
                   
value="service-property:tapestry.url.LinkFactory:serviceEncoders"/>
       <set-service property="monitorFactory" 
service-id="tapestry.monitor.MonitorFactory"/>
<set-service property="strategySource" service-id="tapestry.persist.PropertyPersistenceStrategySource"/> <set-service property="infrastructure" service-id="tapestry.Infrastructure"/>
                <set-service property="absoluteURLBuilder" 
service-id="AbsoluteURLBuilder"/>
<set-service property="requestGlobals" service-id="tapestry.globals.RequestGlobals"/> </construct>
   </invoke-factory>

The error is on the line that starts value=, but the column is one beyond
the last character.

I just don't know where to go from here. I googled and found similar errors
but no solutions. I don't think I've made any changes to this file.

Thanks.
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby



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

Reply via email to