I am trying to install Jet speed in tomcat environment. Tomcat is installed in 
c:\tomcat. I change the file c:\tomcat\server.xml to add the following lines

        <Context path="/webapps" docBase="webapps"
            defaultSessionTimeOut="100" isWARExpanded="true"
            isWARValidated="false" isInvokerEnabled="true"
            isWorkDirPersistent="false"/>


I installed jetspeed in c:\tomcat\webapps directory and expanded jetspeed.war. I have 
updated the classpath to pickup all the jar files. The following is the contents of  
C:\tomcat\webapps\WEB-INF\web.xml file.

  <?xml version="1.0" encoding="ISO-8859-1" ?> 
  <!DOCTYPE web-app (View Source for full doctype...)> 
- <web-app>
- <servlet>
  <servlet-name>jetspeed</servlet-name> 
  <servlet-class>org.apache.turbine.Turbine</servlet-class> 
- <init-param>
  <param-name>properties</param-name> 
  <param-value> 
C:\tomcat\webapps\WEB-INF\conf\TurbineResources.properties</param-value> 
  </init-param>
- <init-param>
  <param-name>classname</param-name> 
  
<param-value>org.apache.jetspeed.services.resources.VariableResourcesService</param-value>
 
  </init-param>
  <load-on-startup>1</load-on-startup> 
  </servlet>
- <servlet-mapping>
  <servlet-name>jetspeed</servlet-name> 
  <url-pattern>/portal/*</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>jetspeed</servlet-name> 
  <url-pattern>/jetspeed/*</url-pattern> 
  </servlet-mapping>
  </web-app>
 
I am getting the following exception:
 
 
default: init
jsp: init
jetspeed: init
initializing all services using org.apache.tomcat.core.ServletConfigImpl
initializing service: ResourcesService
org.apache.turbine.services.InitializationException: java.lang.Exception: Turbin
e::init(ServletConfig) - The Turbine Resources File - 'null' does not exist. Ple
ase create it or change the 'properties' Init Parameter Value to a file name tha
t exists and contains the TurbineResources.
        at org.apache.turbine.services.resources.TurbineResourceService.property
FileErrorCheck(TurbineResourceService.java:590)
        at org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:140)
        at org.apache.jetspeed.services.resources.VariableResourcesService.init(
VariableResourcesService.java:124)
        at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseServic
e.java:113)
        at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitable
Broker.java:151)
        at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServic
eBroker.java:167)
        at org.apache.turbine.services.TurbineServices.getInstance(TurbineServic
es.java:152)
        at org.apache.turbine.Turbine.init(Turbine.java:155)
        at org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:27
8)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:534)
        at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java
:275)
        at org.apache.tomcat.core.Context.loadServlets(Context.java:964)
        at org.apache.tomcat.core.Context.init(Context.java:483)
        at org.apache.tomcat.server.HttpServer.start(HttpServer.java:509)
        at org.apache.tomcat.shell.Startup.configure(Startup.java:206)
        at org.apache.tomcat.shell.Startup.main(Startup.java:355)
end initializing all services
initializing service: ResourcesService
cannot load servlet name: jetspeed
Configuring web service using "default"
 
 

I used the properties param value as "WEB-INF/conf/TurbineResources.properties" as 
available from the download instead of the absolute path. Even then I am getting the 
same error. Kindly help me in resolving the above issue.


Thanks,
Suresh G
[EMAIL PROTECTED]
I am trying to install Jet speed in tomcat environment. Tomcat is installed in c:\tomcat. I change the file c:\tomcat\server.xml to add the following lines
 
        <Context path="/webapps" docBase="webapps"
            defaultSessionTimeOut="100" isWARExpanded="true"
            isWARValidated="false" isInvokerEnabled="true"
            isWorkDirPersistent="false"/>
 
 
I installed jetspeed in c:\tomcat\webapps directory and expanded jetspeed.war. I have updated the classpath to pickup all the jar files. The following is the contents of  C:\tomcat\webapps\WEB-INF\web.xml file.
 
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  <!DOCTYPE web-app (View Source for full doctype...)>
- <web-app>
- <servlet>
  <servlet-name>jetspeed</servlet-name>
  <servlet-class>org.apache.turbine.Turbine</servlet-class>
- <init-param>
  <param-name>properties</param-name>
  <param-value> C:\tomcat\webapps\WEB-INF\conf\TurbineResources.properties</param-value>
  </init-param>
- <init-param>
  <param-name>classname</param-name>
  <param-value>org.apache.jetspeed.services.resources.VariableResourcesService</param-value>
  </init-param>
  <load-on-startup>1</load-on-startup>
  </servlet>
- <servlet-mapping>
  <servlet-name>jetspeed</servlet-name>
  <url-pattern>/portal/*</url-pattern>
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>jetspeed</servlet-name>
  <url-pattern>/jetspeed/*</url-pattern>
  </servlet-mapping>
  </web-app>
 
I am getting the following exception:
 
 
default: init
jsp: init
jetspeed: init
initializing all services using org.apache.tomcat.core.ServletConfigImpl
initializing service: ResourcesService
org.apache.turbine.services.InitializationException: java.lang.Exception: Turbin
e::init(ServletConfig) - The Turbine Resources File - 'null' does not exist. Ple
ase create it or change the 'properties' Init Parameter Value to a file name tha
t exists and contains the TurbineResources.
        at org.apache.turbine.services.resources.TurbineResourceService.property
FileErrorCheck(TurbineResourceService.java:590)
        at org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:140)
        at org.apache.jetspeed.services.resources.VariableResourcesService.init(
VariableResourcesService.java:124)
        at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseServic
e.java:113)
        at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitable
Broker.java:151)
        at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServic
eBroker.java:167)
        at org.apache.turbine.services.TurbineServices.getInstance(TurbineServic
es.java:152)
        at org.apache.turbine.Turbine.init(Turbine.java:155)
        at org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:27
8)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:534)
        at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java
:275)
        at org.apache.tomcat.core.Context.loadServlets(Context.java:964)
        at org.apache.tomcat.core.Context.init(Context.java:483)
        at org.apache.tomcat.server.HttpServer.start(HttpServer.java:509)
        at org.apache.tomcat.shell.Startup.configure(Startup.java:206)
        at org.apache.tomcat.shell.Startup.main(Startup.java:355)
end initializing all services
initializing service: ResourcesService
cannot load servlet name: jetspeed
Configuring web service using "default"
 
 
 
I used the properties param value as "WEB-INF/conf/TurbineResources.properties" as available from the download instead of the absolute path. Even then I am getting the same error. Kindly help me in resolving the above issue.
 
 
Thanks,
Suresh G
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to