Re: Re: Dojo widgets not working on IE

2007-02-01 Thread Catalin Kormos

Hi Werner,

Many thanks for you efforts on resolving this issue, i realy appreciate it
:).

Cheers,
Catalin

On 2/1/07, Joshua Pheneger <[EMAIL PROTECTED]> wrote:


Werner,

Glad you were able to find the issue.  Please let me know when you have
a build I can test.

Regards,
Joshua Pheneger

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
Sent: Thursday, February 01, 2007 1:21 AM
To: users@myfaces.apache.org
Subject: Re: Dojo widgets not working on IE

Werner Punz schrieb:
> Joshua Pheneger schrieb:
>> Please update when this fix is available.  I am in the process of
>> testing a fix for scrolling dialog boxes and this error is now
>> preventing me from testing my fix.
>>
>> Regards,
>> Joshua Pheneger
>>
> Jousha I am still trying to figure some things out here, what is the
> configuration does your server run on?
> The reason why I am asking is, because I want to know if this is a
> dual core/multi core issue or some problems with the Mac JDK or (or a
> bug triggered in it)
>
>
Ok, I got a good indication of the cause of this problem it seems that
the cause is a content-length bug triggered in ie in certain conditions,
it has been readded, due to some speed optimizations in the resource
loader (thanks Mario for the hint)

the code at fault is :


if (lastModified == browserDate)
{
  // the browser already has the correct version

  response.setStatus(HttpURLConnection.HTTP_NOT_MODIFIED);
  return;
}
located in the MyFacesResourceLoader

It is probably a missing content length there, or a wrong one.

Problem is I cannot test fix and commit it now, only in the evening.
So another one has to do it for now, or you guys have to wait a little
bit.



RE: Re: Dojo widgets not working on IE

2007-02-01 Thread Joshua Pheneger
Werner,

Glad you were able to find the issue.  Please let me know when you have
a build I can test.

Regards,
Joshua Pheneger

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
Sent: Thursday, February 01, 2007 1:21 AM
To: users@myfaces.apache.org
Subject: Re: Dojo widgets not working on IE

Werner Punz schrieb:
> Joshua Pheneger schrieb:
>> Please update when this fix is available.  I am in the process of 
>> testing a fix for scrolling dialog boxes and this error is now 
>> preventing me from testing my fix.
>>
>> Regards,
>> Joshua Pheneger
>>
> Jousha I am still trying to figure some things out here, what is the 
> configuration does your server run on?
> The reason why I am asking is, because I want to know if this is a 
> dual core/multi core issue or some problems with the Mac JDK or (or a 
> bug triggered in it)
> 
> 
Ok, I got a good indication of the cause of this problem it seems that
the cause is a content-length bug triggered in ie in certain conditions,
it has been readded, due to some speed optimizations in the resource
loader (thanks Mario for the hint)

the code at fault is :


if (lastModified == browserDate)
{
  // the browser already has the correct version

  response.setStatus(HttpURLConnection.HTTP_NOT_MODIFIED);
  return;
}
located in the MyFacesResourceLoader

It is probably a missing content length there, or a wrong one.

Problem is I cannot test fix and commit it now, only in the evening.
So another one has to do it for now, or you guys have to wait a little
bit.


RE: Re: Dojo widgets not working on IE

2007-01-31 Thread Joshua Pheneger
Running jboss/myFaces-sandbox/winxp (dev env)/single core proc/ie6/ff2.

Regards,
Joshua Pheneger

 Original Message 
From: "Werner Punz" <[EMAIL PROTECTED]>
Date: 1/31/07 11:40 pm
To: "users@myfaces.apache.org" 
Subj:  Re: Dojo widgets not working on IE
Joshua Pheneger schrieb:
> Please update when this fix is available.  I am in the process of
> testing a fix for scrolling dialog boxes and this error is now
> preventing me from testing my fix.
> 
> Regards,
> Joshua Pheneger
> 
Jousha I am still trying to figure some things out here,
what is the configuration does your server run on?
The reason why I am asking is, because I want to know
if this is a dual core/multi core issue
or some problems with the Mac JDK or (or a bug triggered in it)


RE: Re: Dojo widgets not working on IE

2007-01-31 Thread Joshua Pheneger
Please update when this fix is available.  I am in the process of
testing a fix for scrolling dialog boxes and this error is now
preventing me from testing my fix.

Regards,
Joshua Pheneger

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
Sent: Wednesday, January 31, 2007 2:00 PM
To: users@myfaces.apache.org
Subject: Re: Dojo widgets not working on IE

Ok, I am getting closer,
I upgraded the tomcat versions, the problem still persists.
Funny thing is, it is only on a Mac (running an intel Dual Core) If I
serve the file from linux on a single core notebook in the same Tomcat
configuration the problems are gone.

This looks like a timing issue, i am not sure if the mac is at fault
here, or the Dual core is triggering something in the JVM, I got a
similar report from a user whom I am trying to fix some issues in the
Fisheye for.
Anyway, dojo is not at fault here, the problem either is the jdk or some
resource loader code going haiwire.

The funny thing is, once I switched tomcats the client abort exception
stopped (maybe it was ignored due to different settings) but the result
of not working dojo controls persisted.


I will add a note in the jira report, someone else has to take over
that, I have to say this is beyound the domain where I am good at :-(

Werner


Werner Punz schrieb:
> Ok I am ccing this into the devs list, some other people have to look 
> into the issue as well!
> 
> 
> I think I found the cause of all evil regarding the non initializing
> components:
> 
> 2007 21:46:29 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getStringInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value 
> /faces/myFacesExtensionResource
> 31.01.2007 21:46:29
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
> getCurrentInstance
> INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation
> 31.01.2007 21:46:30 
> org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using 
> default value true
> 31.01.2007 21:46:30 
> org.apache.myfaces.shared_impl.config.MyfacesConfig
> getStringInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value 
> /faces/myFacesExtensionResource
> 31.01.2007 21:46:30 
> org.apache.myfaces.shared_impl.config.MyfacesConfig
> getCurrentInstance
> INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation
> 31.01.2007 21:46:40
> org.apache.myfaces.renderkit.html.util.DefaultAddResource 
> serveResource
> SCHWERWIEGEND: Error while serving resource:
> dojo.DojoResourceLoader/dojo.js, message : null
> ClientAbortException:  java.net.SocketException: Broken pipe
>   at
>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
ava:366)
>   at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>   at
>
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314
)
>   at
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278)
>   at
>
org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStrea
m.java:103)
>   at
>
org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader.writeResour
ce(MyFacesResourceLoader.java:244)
>   at
>
org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader.serveResour
ce(MyFacesResourceLoader.java:217)
>   at
>
org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResource(
DefaultAddResource.java:606)
>   at
>
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:128)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
>   at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
>   at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
>   at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
>   at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
>   at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
>   at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
>   at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
>   at
>
org.apache.tomcat.util.threads.ThreadPool$Contro