You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Stephen Eaton <se...@gateway.net.au> on 2004/01/30 07:07:45 UTC

Turbine under tomcat 5

G'day one and all,

I'm having a real problem trying to get an existing turbine 2.2 app running
app on a new development(winxp pro) machine with tomcat 4.1 or 5.0 .

Everything (turbine and velocity) seems to start successfully from the logs
i.e. no errors reported, however when I go to access the main page as normal
(or any other page) via http://localhost:8080/msw/servlet/msw I get a 404
error that the requested resource is not available, no errors are being
reported anywhere.  I should be getting the turbine login screen.

On tomcat 5 the only error I can find is one upon tomcat startup and I get
the following error: 

INFO:
validateJarFile(C:\java\Tomcat-5.0\webapps\msw\WEB-INF\lib\servletapi-2.2.
jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
jav
ax/servlet/Servlet.class
  
I have tried removing the offending jar and replacing it with one from the
tomcat lib directory, the error goes away but turbine app still does not
play ball.

Seeing that this is a new development machine I'm assuming that I have a
classpath or path issue or turbine config issue, however turbine is
starting, and velocity is starting, with no errors.  Just no access via the
servlet and velocity

[turbine.log]
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- ServiceBroker: LoggingService
enabled.
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
ResourceService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
LoggingService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
ComponentService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
FactoryService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
PoolService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
RunDataService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
ServletService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
AssemblerBrokerService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
LocalizationService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
MimeTypeService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
GlobalCacheService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
SchedulerService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
XmlRpcService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
UniqueIdService
[Fri Jan 30 13:54:07 WST 2004] -- INFO -- Added Mapping for Service:
UploadService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
SecurityService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
PoolBrokerService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
MapBrokerService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
PullService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
TemplateService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
XSLTService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added Mapping for Service:
VelocityService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Initializing all services using:
org.apache.catalina.core.StandardWrapperFacade
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): ResourceService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Finish Initializing service
(early): ResourceService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): LoggingService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Finish Initializing service
(early): LoggingService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): ComponentService
[Fri Jan 30 13:54:08 WST 2004] -- DEBUG -- Fixing up
/WEB-INF/conf/Torque.properties
[Fri Jan 30 13:54:08 WST 2004] -- DEBUG -- Now:
C:\java\Tomcat-5.0\webapps\msw\WEB-INF\conf\Torque.properties
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Added torque as a component
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Finish Initializing service
(early): ComponentService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): FactoryService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Finish Initializing service
(early): FactoryService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): PoolService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Finish Initializing service
(early): PoolService
[Fri Jan 30 13:54:08 WST 2004] -- INFO -- Start Initializing service
(early): RunDataService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): RunDataService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): ServletService
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- [TurbineServletService]
Initializing with ServletConfig
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): ServletService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): AssemblerBrokerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): AssemblerBrokerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): LocalizationService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): LocalizationService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): MimeTypeService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): MimeTypeService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): GlobalCacheService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): GlobalCacheService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): SchedulerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service (late):
MapBrokerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(late): MapBrokerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Finish Initializing service
(early): SchedulerService
[Fri Jan 30 13:54:09 WST 2004] -- INFO -- Start Initializing service
(early): XmlRpcService
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
java.protocol.handler.pkgs => com.sun.net.ssl.internal.www.protocol
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option: security.provider =>
com.sun.net.ssl.internal.ssl.Provider
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option: security.protocol =>
TLS
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.keyStore => /tmp/keystore
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.keyStoreType => jks
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.keyStorePassword => password
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.trustStore => /tmp/truststore
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.trustStoreType => jks
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
javax.net.ssl.trustStorePassword => password
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
sun.ssl.keymanager.type => SunX509
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option:
sun.ssl.trust.manager.type => SunX509
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option: javax.net.debug =>
none
[Fri Jan 30 13:54:09 WST 2004] -- DEBUG -- JSSE option: java.security.debug
=> none
[Fri Jan 30 13:54:10 WST 2004] -- DEBUG -- XmlRpcService: Using Apache
XML-RPC version greater than 1.1
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): XmlRpcService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): UniqueIdService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): UniqueIdService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): UploadService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): UploadService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): SecurityService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): SecurityService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): PoolBrokerService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): PoolBrokerService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): MapBrokerService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): MapBrokerService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): PullService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): PullService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): TemplateService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): TemplateService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): XSLTService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Finish Initializing service
(early): XSLTService
[Fri Jan 30 13:54:10 WST 2004] -- INFO -- Start Initializing service
(early): VelocityService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Start Initializing service (late):
PullService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Pull Model tools will be refreshed
on a per request basis.
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.services.pull.util.UIManager to add to the context as
'$ui'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.util.template.TemplateLink to add to the context as
'$link'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.util.template.TemplatePageAttributes to add to the
context as '$page'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.util.ContentURI to add to the context as '$content'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.services.localization.LocalizationTool to add to the
context as '$l10n'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
org.apache.turbine.flux.tools.FluxTool to add to the context as '$flux'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
mysouthwest.swim.tools.OrganisationTool to add to the context as '$org'
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Instantiated tool class
mysouthwest.swim.tools.SearchTool to add to the context as '$search'
[Fri Jan 30 13:54:11 WST 2004] -- DEBUG -- UI Manager scope is global
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Finish Initializing service
(late): PullService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Start Initializing service (late):
TemplateService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Finish Initializing service
(late): TemplateService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Finish Initializing service
(early): VelocityService
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Finished initializing all
services!
[Fri Jan 30 13:54:11 WST 2004] -- INFO -- Turbine: init() Ready to Rumble!


[velocity.log]
2004-01-30 13:54:10,577 - Starting Jakarta Velocity v1.3
2004-01-30 13:54:10,577 - RuntimeInstance initializing.
2004-01-30 13:54:10,577 - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
2004-01-30 13:54:10,577 - Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
2004-01-30 13:54:10,577 - Couldn't find class
org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting
classes in classpath. Exception : java.lang.NoClassDefFoundError:
org/apache/log/format/Formatter
2004-01-30 13:54:10,577 - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2004-01-30 13:54:10,577 - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2004-01-30 13:54:10,597 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2004-01-30 13:54:10,617 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-01-30 13:54:10,617 - FileResourceLoader : initialization starting.
2004-01-30 13:54:10,617 - FileResourceLoader : adding path
'C:\java\Tomcat-5.0\webapps\msw\/templates/app'
2004-01-30 13:54:10,617 - FileResourceLoader : adding path
'C:\java\Tomcat-5.0\webapps\msw\/templates/flux'
2004-01-30 13:54:10,617 - FileResourceLoader : initialization complete.
2004-01-30 13:54:10,617 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2004-01-30 13:54:10,627 - ClasspathResourceLoader : initialization starting.
2004-01-30 13:54:10,627 - ClasspathResourceLoader : initialization complete.
2004-01-30 13:54:10,627 - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2004-01-30 13:54:10,627 - Default ResourceManager initialization complete.
2004-01-30 13:54:10,637 - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
2004-01-30 13:54:10,647 - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
2004-01-30 13:54:10,657 - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
2004-01-30 13:54:10,677 - Loaded System Directive:
org.apache.velocity.runtime.directive.Include
2004-01-30 13:54:10,687 - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
2004-01-30 13:54:10,927 - Created: 20 parsers.
2004-01-30 13:54:10,927 - Velocimacro : initialization starting.
2004-01-30 13:54:10,927 - Velocimacro : adding VMs from VM library template
: GlobalMacros.vm
2004-01-30 13:54:11,048 - Velocimacro : added new VM : #text( text ) :
source = GlobalMacros.vm
2004-01-30 13:54:11,048 - Velocimacro : added new VM : #formLabel( label ) :
source = GlobalMacros.vm
2004-01-30 13:54:11,048 - Velocimacro : added new VM : #formTextField( name
value ) : source = GlobalMacros.vm
2004-01-30 13:54:11,048 - Velocimacro : added new VM : #textField( name
value size ) : source = GlobalMacros.vm
2004-01-30 13:54:11,048 - Velocimacro : added new VM : #listBox( list ) :
source = GlobalMacros.vm
2004-01-30 13:54:11,058 - Velocimacro : added new VM : #formPasswordCell(
label name value ) : source = GlobalMacros.vm
2004-01-30 13:54:11,068 - Velocimacro : added new VM : #formCell( label name
value ) : source = GlobalMacros.vm
2004-01-30 13:54:11,078 - Velocimacro : added new VM : #fileUploadField(
name ) : source = GlobalMacros.vm
2004-01-30 13:54:11,078 - Velocimacro : added new VM : #fileUpload( label
name ) : source = GlobalMacros.vm
2004-01-30 13:54:11,098 - Velocimacro : added new VM : #formCheckBox( label
name checked ) : source = GlobalMacros.vm
2004-01-30 13:54:11,098 - Velocimacro : added new VM : #formListBox( label
list ) : source = GlobalMacros.vm
2004-01-30 13:54:11,118 - Velocimacro : added new VM : #headerCell( body ) :
source = GlobalMacros.vm
2004-01-30 13:54:11,118 - Velocimacro : added new VM : #entryCell( body ) :
source = GlobalMacros.vm
2004-01-30 13:54:11,298 - ResourceManager : found GlobalMacros.vm with
loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-01-30 13:54:11,298 - Velocimacro :  VM library template macro
registration complete.
2004-01-30 13:54:11,298 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2004-01-30 13:54:11,298 - Velocimacro : allowInlineToOverride = false : VMs
defined inline may NOT replace previous VM definitions
2004-01-30 13:54:11,298 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be  global in scope if allowed.
2004-01-30 13:54:11,298 - Velocimacro : messages on  : VM system will output
logging messages
2004-01-30 13:54:11,298 - Velocimacro : autoload off  : VM system will not
automatically reload global library macros
2004-01-30 13:54:11,298 - Velocimacro : initialization complete.
2004-01-30 13:54:11,298 - Velocity successfully started.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org