• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error in struts appeared when go to run a script with LogFactory, Log classes but I continue run non

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the text:
Dynamic Web Application
Development using
XML and Java
David Parsons
ISBN: 9781844805419
well,
I build/compile war files success ...

yesterday, I was able to to the same for struts apps[app=changed name], but today I am getting errors for Struts only, i can NOT run struts completelly, I use TOMCAT, Well???
Error in struts appeared when go to run a script with LogFactory, Log classes but I continue run non-struts apps success!

ERRORS
HTTP Status 404 - /strutswebapp/page1.htm

--------------------------------------------------------------------------------

type Status report

message /strutswebapp/page1.htm

description The requested resource (/strutswebapp/page1.htm) is not available.

2222222222
HTTP Status 404 - /strutswebapp/home.jsp

--------------------------------------------------------------------------------

type Status report

message /strutswebapp/home.jsp

description The requested resource (/strutswebapp/home.jsp) is not available.


eg
Examples15\Examples\Example 15-3 Struts Global Forward App\java
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When diagnosing Struts issues it's really, really important to include the circumstances under which you get the error (like, what URL are you trying to access) and the configuration of the action in question--otherwise it's completely impossible to help, or often even guess. Setting the log level to DEBUG can also help, as well as including the *relevant* portions of the log file (startup errors, errors that occur during the request processing, etc.)
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
since I use build.xml for this text assignments in Struts etc chapters to build file.war, and in another Struts app non using build.xml tested now success (from another book), use only compilations manually javac, well may the problem be on build.xml? I compile success, but this for sure means success run?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's possible, but there's no way to tell without more information. It's more likely a configuration or deployment issue.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But, since not found neither file.htm/file.html, is this you refer error?
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any debug tip?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes--turn the log level up to DEBUG, check for startup errors, cross-check the URLs you're using against the configuration, check the actual deployment.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
problem solved--->moved app folder to a bath without "+"

C:\Users\User\Documents\TextBooksDataFiles\R+.ex+.Practice works as on\xml-java\Examples15\Examples\Example 15-1 Struts Routing App\strutswebapp

new
C:\Users\User\Documents\TextBooksDataFiles\JAVA\xml-java\Examples15\Examples15\Examples\Example 15-2 Struts Action Routing App\java
 
Slime does not pay. Always keep your tiny ad dry.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic