Hi all,

as suggested in
http://portals.apache.org/jetspeed-1/config_guide.html#Override_any_properti
es_in_default_property_files, I want to use my own properties-file
my.properties. I use the one which came out of the CVS which includes the
two required entries:
services.ResourceService.classname =
org.apache.jetspeed.services.resources.JetspeedResourceService
include = TurbineResources.properties

I also edited my web.xml like this:
        <init-param>
            <param-name>properties</param-name>
            <param-value>
              WEB-INF/conf/my.properties
            </param-value>            
        </init-param>

Building the portal with maven works fine, but when pointing at the portal
within my browser I get the following error:
There has been an Error!
Reason:

        org.apache.turbine.services.InstantiationException: Service Registry
failed to initialize
      


Get/Post Data:
template        = ShowError.vm

Stacktrace:

      
          org.apache.turbine.services.InitializationException: Unable to
initialize LateInitCastorRegistryService, missing config keys
        at
org.apache.jetspeed.services.registry.LateInitCastorRegistryService.init(Lat
eInitCastorRegistryService.java:369)
        at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:304)
rethrown as org.apache.turbine.services.InstantiationException: Service
Registry failed to initialize
        at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:322)
        at
org.apache.jetspeed.services.Registry.getService(Registry.java:63)
        at org.apache.jetspeed.services.Registry.get(Registry.java:81)
        at
org.apache.jetspeed.capability.CapabilityMapFactory.getCapabilityMap(Capabil
ityMapFactory.java:85)
        at
org.apache.jetspeed.util.parser.DefaultJetspeedParameterParser.setRequest(De
faultJetspeedParameterParser.java:87)
        at
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa
ultTurbineRunData.java:493)
        at org.apache.turbine.Turbine.doGet(Turbine.java:472)
...




Any ideas?


Regards

--
Daniel Brose

http://www.daniel-brose.de
mailto:[EMAIL PROTECTED]
ICQ-UIN: 5366841
Mobil: 0173/2903411


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

Reply via email to