Hi Robert, did you recompile fulcrum-pool-1.0.4.jar? I get a similar
error, if PoolService.ROLE is not set (commented), but the exception is
thrown then from DefaultParserService:

ERROR avalon - Servicing the following service failed : parser
java.lang.NoSuchFieldError: ROLE
        at org.apache.fulcrum.parser.DefaultParserService.service
(DefaultParserService.java:311)

How could the parser service start, without the pool service??

Best regards, Georg



                                                                                
                                                   
  Von:        Robert Lee <[email protected]>                                 
                                                   
                                                                                
                                                   
  An:         Turbine Users List <[email protected]>,                     
                                                   
                                                                                
                                                   
  Datum:      30.10.2013 01:24                                                  
                                                   
                                                                                
                                                   
  Betreff:    Cannot get Turbine 4.0-M1 to initalize in Tomcat7                 
                                                   
                                                                                
                                                   





I am still trying running Turbine 4.0-M1.

I cannot find a way around the java.langNoSuchFieldError:ROLE
thrown by: in TurbineRunDataService

pool =
(PoolService)TurbineServices.getInstance().getService(PoolService.ROLE);

I have been trying the Pool and Factory Services as in

pom.xml
<dependency>
             <groupId>org.apache.fulcrum</groupId>
             <artifactId>fulcrum-pool</artifactId>
             <version>1.0.4</version>
         </dependency>
TR.props
services.PoolService.classname=org.apache.fulcrum.pool.DefaultPoolService

services.FactoryService.classname=org.apache.fulcrum.factory.FactoryService;

roleConfiguration.xml

<role
         name="org.apache.fulcrum.pool.PoolService"
         shorthand="pool"
         default-class="org.apache.fulcrum.pool.DefaultPoolService"/>

     <role
         name="org.apache.fulcrum.factory.FactoryService"
         shorthand="factory"

default-class="org.apache.fulcrum.factory.DefaultFactoryService"/>

What is the best workaround for this? I can go back to Turbine 2.4 or
4.0-M2 if none exist within M1.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to