Hi, i have a problem with the sample app. I see the login page but i can't login. The database is runnig but i think, there a some files missing. In the login page, there is some output like : ... Intake Validation Error $loginGroup.Username.Message ... I looked in the velocity.log and this is the output:
2004-06-29 15:36:10,119 [main] DEBUG velocity - SimpleLog4JLogSystem using category 'velocity' 2004-06-29 15:36:10,119 [main] INFO velocity - ************************************************************** 2004-06-29 15:36:10,119 [main] INFO velocity - Starting Jakarta Velocity v1.3.1 2004-06-29 15:36:10,119 [main] INFO velocity - RuntimeInstance initializing. 2004-06-29 15:36:10,119 [main] INFO velocity - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties 2004-06-29 15:36:10,119 [main] INFO velocity - Trying to use logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem 2004-06-29 15:36:10,119 [main] INFO velocity - Using logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem 2004-06-29 15:36:10,129 [main] INFO velocity - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) 2004-06-29 15:36:10,129 [main] INFO velocity - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:10,129 [main] INFO velocity - FileResourceLoader : initialization starting. 2004-06-29 15:36:10,129 [main] INFO velocity - FileResourceLoader : adding path 'D:\Java\ApacheGroup\Tomcat4.1\webapps\TurbinePortal\templates\app' 2004-06-29 15:36:10,129 [main] INFO velocity - FileResourceLoader : adding path 'D:\Java\ApacheGroup\Tomcat4.1\webapps\TurbinePortal\templates\flux' 2004-06-29 15:36:10,129 [main] INFO velocity - FileResourceLoader : initialization complete. 2004-06-29 15:36:10,139 [main] INFO velocity - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 2004-06-29 15:36:10,139 [main] INFO velocity - ClasspathResourceLoader : initialization starting. 2004-06-29 15:36:10,139 [main] INFO velocity - ClasspathResourceLoader : initialization complete. 2004-06-29 15:36:10,159 [main] INFO velocity - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) 2004-06-29 15:36:10,159 [main] INFO velocity - Default ResourceManager initialization complete. 2004-06-29 15:36:10,159 [main] INFO velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Literal 2004-06-29 15:36:10,159 [main] INFO velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Macro 2004-06-29 15:36:10,169 [main] INFO velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Parse 2004-06-29 15:36:10,169 [main] INFO velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Include 2004-06-29 15:36:10,179 [main] INFO velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach 2004-06-29 15:36:10,310 [main] INFO velocity - Created: 20 parsers. 2004-06-29 15:36:10,310 [main] INFO velocity - Velocimacro : initialization starting. 2004-06-29 15:36:10,310 [main] INFO velocity - Velocimacro : adding VMs from VM library template : GlobalMacros.vm 2004-06-29 15:36:10,370 [main] INFO velocity - Velocimacro : added new VM : #warning( msg ) : source = GlobalMacros.vm 2004-06-29 15:36:10,370 [main] INFO velocity - Velocimacro : added new VM : #error( msg ) : source = GlobalMacros.vm 2004-06-29 15:36:10,370 [main] INFO velocity - Velocimacro : added new VM : #intakeError( msg ) : source = GlobalMacros.vm 2004-06-29 15:36:10,380 [main] INFO velocity - Velocimacro : added new VM : #text( text ) : source = GlobalMacros.vm 2004-06-29 15:36:10,390 [main] INFO velocity - Velocimacro : added new VM : #formLabel( label ) : source = GlobalMacros.vm 2004-06-29 15:36:10,390 [main] INFO velocity - Velocimacro : added new VM : #formTextField( name value ) : source = GlobalMacros.vm 2004-06-29 15:36:10,390 [main] INFO velocity - Velocimacro : added new VM : #longFormTextField( name value ) : source = GlobalMacros.vm 2004-06-29 15:36:10,390 [main] INFO velocity - Velocimacro : added new VM : #textField( name value size ) : source = GlobalMacros.vm 2004-06-29 15:36:10,400 [main] INFO velocity - Velocimacro : added new VM : #listBox( list ) : source = GlobalMacros.vm 2004-06-29 15:36:10,410 [main] INFO velocity - Velocimacro : added new VM : #formPasswordCell( label name value ) : source = GlobalMacros.vm 2004-06-29 15:36:10,410 [main] INFO velocity - Velocimacro : added new VM : #formCell( label name value ) : source = GlobalMacros.vm 2004-06-29 15:36:10,410 [main] INFO velocity - Velocimacro : added new VM : #longFormCell( label name value ) : source = GlobalMacros.vm 2004-06-29 15:36:10,410 [main] INFO velocity - Velocimacro : added new VM : #fileUploadField( name ) : source = GlobalMacros.vm 2004-06-29 15:36:10,410 [main] INFO velocity - Velocimacro : added new VM : #fileUpload( label name ) : source = GlobalMacros.vm 2004-06-29 15:36:10,420 [main] INFO velocity - Velocimacro : added new VM : #formCheckBox( label name checked ) : source = GlobalMacros.vm 2004-06-29 15:36:10,420 [main] INFO velocity - Velocimacro : added new VM : #formListBox( label list ) : source = GlobalMacros.vm 2004-06-29 15:36:10,420 [main] INFO velocity - Velocimacro : added new VM : #headerCell( body ) : source = GlobalMacros.vm 2004-06-29 15:36:10,420 [main] INFO velocity - Velocimacro : added new VM : #entryCell( body ) : source = GlobalMacros.vm 2004-06-29 15:36:10,500 [main] INFO velocity - ResourceManager : found GlobalMacros.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:10,500 [main] INFO velocity - Velocimacro : VM library template macro registration complete. 2004-06-29 15:36:10,500 [main] INFO velocity - Velocimacro : adding VMs from VM library template : macros/TurbineMacros.vm 2004-06-29 15:36:10,540 [main] INFO velocity - Velocimacro : added new VM : #TurbineHtmlHead( ) : source = macros/TurbineMacros.vm 2004-06-29 15:36:10,540 [main] INFO velocity - Velocimacro : added new VM : #TurbineHtmlBodyAttributes( ) : source = macros/TurbineMacros.vm 2004-06-29 15:36:10,550 [main] INFO velocity - ResourceManager : found macros/TurbineMacros.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : VM library template macro registration complete. 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : allowInline = true : VMs can be defined inline in templates 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : messages on : VM system will output logging messages 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : autoload off : VM system will not automatically reload global library macros 2004-06-29 15:36:10,550 [main] INFO velocity - Velocimacro : initialization complete. 2004-06-29 15:36:10,550 [main] INFO velocity - Velocity successfully started. 2004-06-29 15:36:36,380 [http8080-Processor3] INFO velocity - ResourceManager : found screens/Login.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:36,380 [http8080-Processor3] ERROR velocity - RHS of #set statement is null. Context will not be modified. screens/Login.vm [line 9, column 1] 2004-06-29 15:36:36,380 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 14,column 30] : $loginGroup.Username.Key is not a valid reference. 2004-06-29 15:36:36,430 [http8080-Processor3] ERROR velocity - RHS of #set statement is null. Context will not be modified. screens/Login.vm [line 37, column 3] 2004-06-29 15:36:36,430 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 1,column 1] : $loginGroup.Username.Message is not a valid reference. 2004-06-29 15:36:36,430 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 1,column 1] : $loginGroup.Password.Message is not a valid reference. 2004-06-29 15:36:36,440 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 1,column 1] : $loginGroup.Username.Key is not a valid reference. 2004-06-29 15:36:36,440 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 1,column 1] : $loginGroup.Password.Key is not a valid reference. 2004-06-29 15:36:36,440 [http8080-Processor3] WARN velocity - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/Login.vm [line 63,column 18] : $intake.declareGroups() is not a valid reference. 2004-06-29 15:36:36,520 [http8080-Processor3] INFO velocity - ResourceManager : found layouts/Login.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:36,570 [http8080-Processor3] INFO velocity - ResourceManager : found navigations/DefaultTop.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:36,640 [http8080-Processor3] INFO velocity - ResourceManager : found navigations/DefaultBottom.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:41,988 [http8080-Processor3] INFO velocity - ResourceManager : found screens/Error.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:42,008 [http8080-Processor3] INFO velocity - ResourceManager : found layouts/Default.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:42,058 [http8080-Processor3] INFO velocity - ResourceManager : found navigations/DefaultTop.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:42,169 [http8080-Processor3] INFO velocity - ResourceManager : found navigations/Menu.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader 2004-06-29 15:36:42,269 [http8080-Processor3] INFO velocity - ResourceManager : found navigations/DefaultBottom.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader can anybody help? Greets Olli --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
