myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From betul aydın <betul56...@hotmail.com>
Subject Re: <t:inputCalendar java.lang.IllegalStateException: error
Date Wed, 07 May 2008 07:44:47 GMT

Hi on the web server log I saw this message 
142230: 10:30:32,987 ERROR [MyFacesResourceLoader] Unparsable lastModified :
@lastModified@

simon.kitching@chello.at wrote:
> 
> I think so this problem about my tomahawk web xml filter I use tomahawk
> 1.1.3 ang myfaces 1.1.3
> here is my web xml filter:
> 
>          <filter>
>                  <filter-name>MyFacesExtensionsFilter</filter-name>
> 
> 
> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>              <init-param>
>                  <description>Set the size limit for uploaded files.
>                     Format: 10 - 10 bytes
>                              10k - 10 KB
>                              10m - 10 MB
>                              1g - 1 GB
>                 </description>
>                  <param-name>maxFileSize</param-name>
>                  <param-value>20m</param-value>
>              </init-param>
>          </filter>
> 
> 
>          <filter-mapping>
>              <filter-name>MyFacesExtensionsFilter</filter-name>
>             <servlet-name>Faces Servlet</servlet-name>
>          </filter-mapping>
> 
> 
>          <filter-mapping>
>              <filter-name>MyFacesExtensionsFilter</filter-name>         
 
>              <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
>         </filter-mapping>
> 
> how can I configurete this filter Do You konow? Thanks
> betul ayd?n schrieb:
>> when I just display the t:inputCalendar component  this error has been
>> occured: 
>>
>> java.lang.IllegalStateException: Response already committed 
>>         at 
>> weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1345)

>>         at 
>> weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:570)

>>         at 
>> weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:549)

>>         at 
>> org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResource(DefaultAddResource.java:583)

>>  at 
>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:125)

>>
>> ............................ 
>> does anybody know what is problem? and here is my code for displaying
>> calendar: 
>>
>>  <t:inputCalendar id="ip" monthYearRowClass="yearMonthHeader"
>> weekRowClass="weekHeader" 
>>                         currentDayCellClass="currentDayCell" value=""
>> renderAsPopup="true" 
>>                   popupDateFormat="dd/MM/yyyy"/> 
>>         
>>   
> I think here that the html page is rendering correctly; the necessary
> html for the calendar is being output correctly, including a
> <script type="text/javascript" src="....">
> to load a javascript file the calendar needs.
> 
> This error is then occurring when the browser is trying to fetch that
> javascript file. Does this match what you see, ie you can "view source"
> on the page, and everything looks ok?
> 
> I suspect you have some kind of servlet-filter set up which is being run
> for the url that is supposed to fetch the javascript. And that your
> filter is writing some output, eg setting caching headers or similar.
> Then the tomahawk ExtensionsFilter cannot send back the javascript
> because something else has already been written.
> 
> Regards,
> Simon
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Ct%3AinputCalendar--java.lang.IllegalStateException%3A-error-tp17097704p17099133.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message