You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Chris Kimpton <ki...@yahoo.com> on 2001/09/03 13:13:30 UTC

Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

Hi,


--- Paul Spencer <pa...@mikon.com> wrote:
> Chris,
> For IE 5.5, the media type is NOT html?

Well, it appears this way from the client   ;-)

> 
> What is the agent, i.e. what follows "-- INFO -- Created a
> CapabilityMap
> for agent:"  in jetspeed.log?
> 

INFO -- Created a CapabilityMap for agent:  Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 4.0)


> > 
> > ...but Internet Explorer still thinks its not html and offers you
> a
> > Download dialog... which when downloaded is the home page...
> > 
> > There are no obvious errors in the jetspeed.log.
> > 


Some sample messages from jetspeed.log

[Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
resource:anon\html\en\GB\default.psml. Base:
C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\psml
[Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- CastorPsmlManager:
about to return null doc: 
[Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
resource:anon\html\en\default.psml. Base:
C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\psml
[Mon Sep 03 11:57:20 GMT+01:00 2001] -- DEBUG --
JetspeedTemplatePage: requested template = Home.vm
[Mon Sep 03 11:57:20 GMT+01:00 2001] -- DEBUG -- template exists:
C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\templates\vm\screens\html\Home.vm
returning /html/Home.vm
[Mon Sep 03 11:57:20 GMT+01:00 2001] -- DEBUG --
JetspeedTemplatePage: calculated template = /html/Home.vm
[Mon Sep 03 11:57:20 GMT+01:00 2001] -- DEBUG -- template exists:
C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm
returning /html/default.vm
[Mon Sep 03 11:57:20 GMT+01:00 2001] -- DEBUG --
JetspeedTemplatePage: layoutTemplate is finally /html/default.vm


[Mon Sep 03 11:57:23 GMT+01:00 2001] -- WARN -- Cache getEntry Called
with /WEB-INF/xsl/rss.xsl
[Mon Sep 03 11:57:23 GMT+01:00 2001] -- INFO -- Adding Local to cache
list: file:/C:/Jetty-3.1.RC8/webapps/jetspeed/WEB-INF/xsl/rss.xsl
[Mon Sep 03 11:57:23 GMT+01:00 2001] -- INFO -- Returning local
cached URL
[Mon Sep 03 11:57:24 GMT+01:00 2001] -- DEBUG -- template exists:
C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\templates\vm\controls\html\jetspeed.vm
returning /html/jetspeed.vm
[Mon Sep 03 11:57:59 GMT+01:00 2001] -- DEBUG -- Updating the
MediaType registry
[Mon Sep 03 11:57:59 GMT+01:00 2001] -- DEBUG -- Adding entry html of
class class org.apache.jetspeed.om.registry.base.BaseMediaTypeEntry
to registry Registry
[Mon Sep 03 11:57:59 GMT+01:00 2001] -- DEBUG -- Adding entry wml of
class class org.apache.jetspeed.om.registry.base.BaseMediaTypeEntry
to registry Registry
[Mon Sep 03 11:57:59 GMT+01:00 2001] -- DEBUG -- Adding entry vxml of
class class org.apache.jetspeed.om.registry.base.BaseMediaTypeEntry
to registry Registry
[Mon Sep 03 11:57:59 GMT+01:00 2001] -- DEBUG -- Merged 3 entries
into the Registry



Thanks,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

> > 
> > When you login in using IE 5.5, do the "resource:" entries
> contain
> > "html"?  
> > What mime-type and file name is being returned to IE?
> > 
> 
> Not sure - if I choose "open" from the download dialog, and select
> ie
> to view it with, it reports it as a local file....
> 
> When I connect via telnet client, the Content-Type seems to be
> coming
> back as text/html - but then it seems to use "null" CapabilityMap
> for
> that anyway - so this probably does not help.
> 
> I tried running it on a linux box - but then got a path problem
> loading the turbine configs...
> 

Ok - solved the path problem (see mail about turbine upgrade).

I've now installed it on this server 

http://kimptoc.net:8080

If you pull the page using "wget -Ss http://kimptoc.net:8080"

It comes back with a blank content type.

In the log you can see it building a CapabilityMap for wget and seems
to look fine.

It also does not work correctly in IE5.5.

You can see the jetspeed log on this url:

http://kimptoc.net/cvslocal/jakarta-jetspeed/bin/webapp/WEB-INF/log/jetspeed.log

It seems to me that either Jetspeed/Turbine is not setting the
content type correctly for Jetty or Jetty is not accepting it...

Thanks for any insights.

Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

> 
> When you login in using IE 5.5, do the "resource:" entries contain
> "html"?  
> What mime-type and file name is being returned to IE?
> 

Not sure - if I choose "open" from the download dialog, and select ie
to view it with, it reports it as a local file....

When I connect via telnet client, the Content-Type seems to be coming
back as text/html - but then it seems to use "null" CapabilityMap for
that anyway - so this probably does not help.

I tried running it on a linux box - but then got a path problem
loading the turbine configs...


> Is this IE problem limited to JBoss/Jetty or does it also exist
> with
> Tomcat?
> 

Jetty only - works for tomcat.

> I have a working site with IE 5.01, 5.5 and 6.0 users.

on Jetty?

Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

Posted by Paul Spencer <pa...@mikon.com>.
Chris,
Chris Kimpton wrote:
> 
> Hi,
> 
> > What is the agent, i.e. what follows "-- INFO -- Created a
> > CapabilityMap
> > for agent:"  in jetspeed.log?
> >
> 
> INFO -- Created a CapabilityMap for agent:  Mozilla/4.0 (compatible;
> MSIE 5.5; Windows NT 4.0)

Although IE 5.5 is not explicitly defined in ClientCapibilityMap.java,
it default to IE 5.0, thus it is has a media_type of HTML.

> [Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\GB\default.psml. Base:
> C:\Jetty-3.1.RC8\webapps\jetspeed\WEB-INF\psml
> [Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- CastorPsmlManager:
> about to return null doc:
> [Mon Sep 03 11:57:19 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\default.psml. Base:

Jetspeed has identified the media_type = html, language en_GB.  It is
looking for the default PSML file for a non-logged in user.  This is
what I would expect, i.e. no error here.

I would expect to see similar entries when the user logs in.  The
resource should begin user\<username> instead of anon.  

When you login in using IE 5.5, do the "resource:" entries contain
"html"?  
What mime-type and file name is being returned to IE?

Is this IE problem limited to JBoss/Jetty or does it also exist with
Tomcat?

I have a working site with IE 5.01, 5.5 and 6.0 users.

Paul Spencer

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org