• 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

Configuration Problem

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

I have written a sample application using struts. While running the application, I'm getting following error on the screen

type Status report

message Configuration error: Cannot perform access control without an authenticated principal

description The server encountered an internal error (Configuration error: Cannot perform access control without an authenticated principal) that prevented it from fulfilling this request.

and on the console the following error is printed :-
Mar 3, 2005 10:47:21 AM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 214 column 1: XML document structures must sta
rt and end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end within
the same entity.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)

I have copied all the .tlds and jars in to WEB-INF and lib directory.

Can anyone help me out

Thanks & Regards,

Grishma
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds to me like there may be an xml error in your struts-config.xml. I'd try installing one of the struts sample apps just to see if they work OK on your app server. If they don't, then there's some configuration problem with your app server. If they do, then most likely there's a problem with your struts configuration file. Go through it with a fine-tooth comb looking for xml errors.
 
reply
    Bookmark Topic Watch Topic
  • New Topic