RE: Un-authorized page 403

2003-10-22 Thread Shapira, Yoav

Howdy,
The error-page element (error-page*) does exist in the error message.
The message is telling you the DTD to which web.xml must comply.  As I
said, either validate your web.xml yourself or post it for us to
validate ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Thai Nguyen [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 22, 2003 2:54 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Un-authorized page 403
>
>Thanks so much Shapira,
>
>The element I added in is .
>This element does not exist in the element's list from the error
message.
>I guess my question now is how do I add that element.
>
>Thanks,
>
>Thai Nguyen
>>
>> Howdy,
>>
>>>SEVERE: Parse Error at line 72 column 11: The content of element type
>>> "web-app" must match
>>>"(icon?,display-name?,description?,distributable?,context-
>>>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,se
ss
>> ion-
>>>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource
-e
>> nv-
>>>ref*,resource-ref*,security-constraint*,login-config?,security-role*,
en
>> v-
>>>entry*,ejb-ref*,ejb-local-ref*)".
>>>
>>>The error only occurs once (when restart tomcat) but it's still an
>> error.
>>>Anyone know how to fix this error?
>>
>> Not only is it still an error, but a very significant error at that.
>> That's why it's a SEVERE-level message ;)
>>
>> You need to edit your web.xml so that its elements are in the order
>> specified in the error message above.  If you think your web.xml is
>> correct, validate it with a tool like XMLSpy or simply post it (all
of
>> it) here.
>>
>> Yoav Shapira
>>
>>
>>
>> This e-mail, including any attachments, is a confidential business
>> communication, and may contain information that is confidential,
>> proprietary and/or privileged.  This e-mail is intended only for the
>> individual(s) to whom it is addressed, and may not be saved, copied,
>> printed, disclosed or used by anyone else.  If you are not the(an)
>> intended recipient, please immediately delete this e-mail from your
>> computer system and notify the sender.  Thank you.
>>
>>
>> -
To
>> unsubscribe, e-mail: [EMAIL PROTECTED] For
>> additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Un-authorized page 403

2003-10-22 Thread Erik Wright
Look closer, it's listed in the error message you provided.

Cheers,

-erik

Thai Nguyen wrote:

Thanks so much Shapira,

The element I added in is .
This element does not exist in the element's list from the error message.
I guess my question now is how do I add that element.
Thanks,

Thai Nguyen
 

Howdy,

   

SEVERE: Parse Error at line 72 column 11: The content of element type
"web-app" must match
"(icon?,display-name?,description?,distributable?,context-
param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,sess
 

ion-
   

config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-e
 

nv-
   

ref*,resource-ref*,security-constraint*,login-config?,security-role*,en
 

v-
   

entry*,ejb-ref*,ejb-local-ref*)".

The error only occurs once (when restart tomcat) but it's still an
 

error.
   

Anyone know how to fix this error?
 

Not only is it still an error, but a very significant error at that.
That's why it's a SEVERE-level message ;)
You need to edit your web.xml so that its elements are in the order
specified in the error message above.  If you think your web.xml is
correct, validate it with a tool like XMLSpy or simply post it (all of
it) here.
Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.
- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



--
http://www.spectacle.ca/
The New Online Source for Live Music in Montreal
.::514.286.1699::.


RE: Un-authorized page 403

2003-10-22 Thread Thai Nguyen
Thanks so much Shapira,

The element I added in is .
This element does not exist in the element's list from the error message.
I guess my question now is how do I add that element.

Thanks,

Thai Nguyen
>
> Howdy,
>
>>SEVERE: Parse Error at line 72 column 11: The content of element type
>> "web-app" must match
>>"(icon?,display-name?,description?,distributable?,context-
>>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,sess
> ion-
>>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-e
> nv-
>>ref*,resource-ref*,security-constraint*,login-config?,security-role*,en
> v-
>>entry*,ejb-ref*,ejb-local-ref*)".
>>
>>The error only occurs once (when restart tomcat) but it's still an
> error.
>>Anyone know how to fix this error?
>
> Not only is it still an error, but a very significant error at that.
> That's why it's a SEVERE-level message ;)
>
> You need to edit your web.xml so that its elements are in the order
> specified in the error message above.  If you think your web.xml is
> correct, validate it with a tool like XMLSpy or simply post it (all of
> it) here.
>
> Yoav Shapira
>
>
>
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an)
> intended recipient, please immediately delete this e-mail from your
> computer system and notify the sender.  Thank you.
>
>
> - To
> unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Un-authorized page 403

2003-10-22 Thread Shapira, Yoav

Howdy,

>SEVERE: Parse Error at line 72 column 11: The content of element type
>"web-app" must match
>"(icon?,display-name?,description?,distributable?,context-
>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,sess
ion-
>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-e
nv-
>ref*,resource-ref*,security-constraint*,login-config?,security-role*,en
v-
>entry*,ejb-ref*,ejb-local-ref*)".
>
>The error only occurs once (when restart tomcat) but it's still an
error.
>Anyone know how to fix this error?

Not only is it still an error, but a very significant error at that.
That's why it's a SEVERE-level message ;)

You need to edit your web.xml so that its elements are in the order
specified in the error message above.  If you think your web.xml is
correct, validate it with a tool like XMLSpy or simply post it (all of
it) here.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Un-authorized page 403

2003-10-22 Thread Thai Nguyen
Hi there,

I search the archive and found that if I put these lines:


  403
  /to-a-correct-path/unauthorized.jsp


into /path/to/jakarta/webapps/myapps/WEB-INF/web.xml
it will overwrite the "Ugly" default error page.
Yes, it works.

However, I found this error in my catalina.out log file:

SEVERE: Parse Error at line 72 column 11: The content of element type
"web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".

The error only occurs once (when restart tomcat) but it's still an error.
Anyone know how to fix this error?

Thanks in advance

Thai Nguyen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]