Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

issue while using struts-core-1.3.5

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I’m facing issue while using velocity engine 1.6.2 and tools-1.3 and struts-core-1.3.5 with tomcat/6.0.14 but every thing is working fine when i'm using struts.
following error


Feb 12, 2010 12:17:01 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0_05\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.6.0_05/bin/client;C:/Program Files/Java/jre1.6.0_05/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Windows Imaging\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\IBM\Installation Manager\eclipse\lib;C:\Program Files\Borland\StarTeam SDK 10.0\Lib;C:\Program Files\Borland\StarTeam SDK 10.0\Bin;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications
Feb 12, 2010 12:17:01 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 12, 2010 12:17:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 359 ms
Feb 12, 2010 12:17:01 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 12, 2010 12:17:01 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /struts-velocity threw load() exception
javax.servlet.UnavailableException: java.net.ConnectException: Connection refused: connect

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:399)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] VelocityViewServlet: Looking for custom properties at '/WEB-INF/velocity.properties'
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] VelocityViewServlet: No custom properties found. Using default Velocity configuration.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : *******************************************************************
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Starting Apache Velocity v1.6.2 (compiled: 2009-02-19 16:29:46)
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : RuntimeInstance initializing.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Trying to use logger class org.apache.velocity.tools.view.servlet.ServletLogger
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] LogSystem has been deprecated. Please use a LogChute implementation.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] ResourceLoader instantiated: org.apache.velocity.tools.view.servlet.WebappLoader
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] WebappLoader : initialization starting.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] WebappLoader : initialization complete.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : Default ResourceManager initialization complete.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Define
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Break
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Include
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Created '20' parsers.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : Velocimacro : initialization starting.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : "velocimacro.library" is not set. Trying default library: VM_global_library.vm
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Could not load resource 'VM_global_library.vm' from ResourceLoader org.apache.velocity.tools.view.servlet.WebappLoader:
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] org.apache.velocity.exception.ResourceNotFoundException: WebappLoader : Resource 'VM_global_library.vm' not found.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : Default library not found.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : allowInline = true : VMs can be defined inline in templates
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Velocimacro : autoload off : VM system will not automatically reload global library macros
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : Velocimacro : Velocimacro : initialization complete.
Feb 12, 2010 12:17:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity : RuntimeInstance successfully initialized.
Feb 12, 2010 12:17:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [info] VelocityViewServlet: Default content-type is: text/html
Feb 12, 2010 12:17:03 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 12, 2010 12:17:03 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 12, 2010 12:17:03 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/25 config=null
Feb 12, 2010 12:17:03 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1825 ms
Feb 12, 2010 12:17:04 AM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet action is currently unavailable


Any ideas?
reply
    Bookmark Topic Watch Topic
  • New Topic