ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp revisted

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp revisted

BJ Freeman
I did a search of the web.xmls in 9.04 frozen.
there is not one /error: in the allowedPaths parm.
is there a reason for this?
I kept porting a xml file into ofbiz and got no errors on UI
had to look in log to see the error about not going to error paqe.
I don't see any history in the svn as to this change.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>

Reply | Threaded
Open this post in threaded view
|

Re: ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp revisted

BJ Freeman
well I went back to 2003 and it is not in.
so is this something we want or should I just do it locally?

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


BJ Freeman sent the following on 6/3/2010 7:27 PM:

> I did a search of the web.xmls in 9.04 frozen.
> there is not one /error: in the allowedPaths parm.
> is there a reason for this?
> I kept porting a xml file into ofbiz and got no errors on UI
> had to look in log to see the error about not going to error paqe.
> I don't see any history in the svn as to this change.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp revisted

Scott Gray-2
Look at the code in the ControlServlet, error.jsp doesn't need to be in the allowed paths because when an error occurs the error page is included in the response.  It would only need to be in the allowed paths if it were a redirect after the error.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 4/06/2010, at 2:46 PM, BJ Freeman wrote:

> well I went back to 2003 and it is not in.
> so is this something we want or should I just do it locally?
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> BJ Freeman sent the following on 6/3/2010 7:27 PM:
>> I did a search of the web.xmls in 9.04 frozen.
>> there is not one /error: in the allowedPaths parm.
>> is there a reason for this?
>> I kept porting a xml file into ofbiz and got no errors on UI
>> had to look in log to see the error about not going to error paqe.
>> I don't see any history in the svn as to this change.
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>
>>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp revisted

BJ Freeman
so the controlservlet should remover the code that give this error.
as soon as I put the error path in for the component, I can see the real
error.
problems is this caused the JK to terminate and covers the real error
reporting.


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Scott Gray sent the following on 6/3/2010 11:44 PM:

> Look at the code in the ControlServlet, error.jsp doesn't need to be in the allowed paths because when an error occurs the error page is included in the response.  It would only need to be in the allowed paths if it were a redirect after the error.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 4/06/2010, at 2:46 PM, BJ Freeman wrote:
>
>> well I went back to 2003 and it is not in.
>> so is this something we want or should I just do it locally?
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>
>>
>> BJ Freeman sent the following on 6/3/2010 7:27 PM:
>>> I did a search of the web.xmls in 9.04 frozen.
>>> there is not one /error: in the allowedPaths parm.
>>> is there a reason for this?
>>> I kept porting a xml file into ofbiz and got no errors on UI
>>> had to look in log to see the error about not going to error paqe.
>>> I don't see any history in the svn as to this change.
>>>
>>> =========================
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat  Y! messenger: bjfr33man
>>> Linkedin
>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>
>>>
>