Re: Test, Migrating to Turbine 4.0-M1

[email protected] Thu, 03 May 2012 09:44:13 +0200
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
Hi Thomas,

yes of course, find my sample webapp attached, which has to be 
incomplete in some way, I think, too.

For a quick start and defect analysis, I think it would be helpful if 
you get this small sample working.

We are still working for a Scarab-Turbine-Migration open source branch, 
but which should use a bit more features, as there is a new Maven build 
and else.

Is there any special support for maven from turbine 4.0, e.g. a project 
template?

cheers,
Johannes


Am 02.05.2012 19:59, schrieb Thomas Vandahl:
> On 26.04.12 09:41, [email protected] wrote:
>>
>> Hi Thomas and all,
>>
>> maybe late, but here are the stack traces for the mentioned error cases.
>>
>
> Could I have a look at your configuration files, please? Especially the
> TurbineResources.properties and the Avalon files roleConfiguration.xml
> and componentConfiguration.xml
>
> I suspect that some services are not configured as they should.
>
>
> Bye Thomas.
>
>>> * "java.lang.NoSuchFieldError: ROLE" Maybe a class file is missing here?
>>> I think this is about PoolService in fulcrum 3.0-b1, we found no fulcrum
>>> 3.0 to download.
>>
>> javax.servlet.ServletException: Servlet execution threw an exception
>>
>> root cause
>>
>> java.lang.NoSuchFieldError: ROLE
>>      org.apache.turbine.services.rundata.TurbineRunDataService.init(TurbineRunDataService.java:146)
>>
>>      org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:476)
>>
>>      org.apache.turbine.Turbine.getRunDataService(Turbine.java:1000)
>>      org.apache.turbine.Turbine.doGet(Turbine.java:766)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>
>>> * Using fulcrum-pool 1.0.4 instead of fulcrum 3.0-b1, we got the
>>> following "java.lang.ClassCastException:
>>> org.apache.fulcrum.pool.DefaultPoolService cannot be cast to
>>> org.apache.turbine.services.Service"
>>
>>
>> Horrible Exception: org.apache.turbine.services.InstantiationException:
>> Failed to instantiate service PoolService
>>      at
>> org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:607)
>>
>>      at
>> org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:468)
>>
>>      at org.apache.turbine.Turbine.init(Turbine.java:516)
>>      at org.apache.turbine.Turbine.doGet(Turbine.java:746)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>
>>      at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>
>>      at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>
>>      at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>
>>      at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>
>>      at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>
>>      at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>      at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>>      at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>
>>      at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>      at java.lang.Thread.run(Thread.java:662)
>> Caused by: org.apache.turbine.services.InstantiationException: Class
>> org.apache.fulcrum.pool.DefaultPoolService doesn't implement the Service
>> interface
>>      at
>> org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:595)
>>
>>      ... 17 more
>> Caused by: java.lang.ClassCastException:
>> org.apache.fulcrum.pool.DefaultPoolService cannot be cast to
>> org.apache.turbine.services.Service
>>      at
>> org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:551)
>>
>>      ... 17 more
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
TurbineEval.zip (application/x-zip-compressed, 8.6 KB) - not displayed