Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
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\ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
Hi, --- Paul Spencer <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
Chris, For IE 5.5, the media type is NOT html? What is the agent, i.e. what follows "-- INFO -- Created a CapabilityMap for agent:" in jetspeed.log? Paul Spencer Chris Kimpton wrote: > > Hi, > > --- Paul Spencer <[EMAIL PROTECTED]> wrote: > > Chris, > > Am I summarizing the correctly: > > o Jetspeed works correctly with Tomcat 3.3. and Opera > > Yep - homepage comes up with content. > > > o Jetspeed is NOT displaying content with JBoss/Jetty and Opera. > > Yep (although I am just running with Jetty at this stage - it gets > worse with JBoss...) > > > > > Assuming the above: > > I would expect to see entries in jetspeed.log when you display the > > initial page. > > -- INFO -- Created a CapabilityMap for agent: ... > > -- DEBUG -- template exists: > > > >E:\apache\jakarta-tomcat-3.3-b1\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\column.vm > > returning /html/column.vm > > > > This tells me the Jetspeed, is getting the request, and the media > > type > > has been identified as HTML. > > > > Is this what you are seeing? > > > > For IE5.5, > > I see it creating the Capability Map. > > I then see it finding the Home and default.vm templates. > > A little further down is this error > > ERROR -- Error rendering Velocity template: screens/html/Home.vm: > Invocation of method 'getPane' in class > org.apache.jetspeed.util.template.JetspeedTool threw exception class > javax.xml.transform.TransformerFactoryConfigurationError : > java.lang.ClassNotFoundException: > org.apache.xalan.processor.TransformerFactoryImpl > > For Opera, it is very similar, it creates a capability map and finds > the Home and default vm's and then gets the above error. > > There is a jaxp jar in the jetty main classpath - I guess this is > forcing it to look in the main classpath for the xalan stuff... > > I added xerces and xalan to the main classpath and bingo - Opera now > looks great - content and all! > > ...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. > > Regards, > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
Hi, --- Paul Spencer <[EMAIL PROTECTED]> wrote: > Chris, > Am I summarizing the correctly: > o Jetspeed works correctly with Tomcat 3.3. and Opera Yep - homepage comes up with content. > o Jetspeed is NOT displaying content with JBoss/Jetty and Opera. Yep (although I am just running with Jetty at this stage - it gets worse with JBoss...) > > Assuming the above: > I would expect to see entries in jetspeed.log when you display the > initial page. > -- INFO -- Created a CapabilityMap for agent: ... > -- DEBUG -- template exists: > E:\apache\jakarta-tomcat-3.3-b1\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\column.vm > returning /html/column.vm > > This tells me the Jetspeed, is getting the request, and the media > type > has been identified as HTML. > > Is this what you are seeing? > For IE5.5, I see it creating the Capability Map. I then see it finding the Home and default.vm templates. A little further down is this error ERROR -- Error rendering Velocity template: screens/html/Home.vm: Invocation of method 'getPane' in class org.apache.jetspeed.util.template.JetspeedTool threw exception class javax.xml.transform.TransformerFactoryConfigurationError : java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl For Opera, it is very similar, it creates a capability map and finds the Home and default vm's and then gets the above error. There is a jaxp jar in the jetty main classpath - I guess this is forcing it to look in the main classpath for the xalan stuff... I added xerces and xalan to the main classpath and bingo - Opera now looks great - content and all! ...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. Regards, 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
Chris, Am I summarizing the correctly: o Jetspeed works correctly with Tomcat 3.3. and Opera o Jetspeed is NOT displaying content with JBoss/Jetty and Opera. Assuming the above: I would expect to see entries in jetspeed.log when you display the initial page. -- INFO -- Created a CapabilityMap for agent: ... -- DEBUG -- template exists: E:\apache\jakarta-tomcat-3.3-b1\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\column.vm returning /html/column.vm This tells me the Jetspeed, is getting the request, and the media type has been identified as HTML. Is this what you are seeing? Paul Spencer Chris Kimpton wrote: > > Hi, > > I am trying to run with the above combination. (cos we are using > jboss and the Jetty bundling is more compatible with jetspeed - the > tomcat bundle is version 3.2.3 which does not work with Jetspeed...) > > Jetty can be obtained from > > http://sourceforge.net/project/showfiles.php?group_id=7322&release_id=49332 > > ...but when I start up the standard CVS build war in Jetty I get a > few problems... > > In IE, it thinks its a file and open the download dialog - which if > you select open/IE, it then looks sort of like the homepage - just no > content - only the headers/footers. > > I presume the above is due to Jetspeed/turbine not telling Jetty that > the servlet results are text/html in the way it expects this (but > there is only 1 way - isn't there???) > > In Opera, it loads the page ok, but again has no content. But if you > login and customise the page, you can get content. This problem > maybe due to Opera not reporting the country/lang correctly and thus > the default content being blank? > > If I just GET the page from Jetty, using telnet, the base href looks > a little strange as the server name comes back as http://0.0.0.0 - > which also might the problem with IE... > > I've been trying to debug this by putting Log.notes in the URILookup > classes - but they don't seem to get printed in the jetspeed log - > which implies Jetty is caching the JSP taglib somewhere - but I can't > seem to find it... > > I presume this is a jetspeed problem - perhaps it uses new servlet > spec features that Jetty does not provide - but works with > tomcat-3.3, so it maybe a Jetty problem . > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)
Hi, I am trying to run with the above combination. (cos we are using jboss and the Jetty bundling is more compatible with jetspeed - the tomcat bundle is version 3.2.3 which does not work with Jetspeed...) Jetty can be obtained from http://sourceforge.net/project/showfiles.php?group_id=7322&release_id=49332 ...but when I start up the standard CVS build war in Jetty I get a few problems... In IE, it thinks its a file and open the download dialog - which if you select open/IE, it then looks sort of like the homepage - just no content - only the headers/footers. I presume the above is due to Jetspeed/turbine not telling Jetty that the servlet results are text/html in the way it expects this (but there is only 1 way - isn't there???) In Opera, it loads the page ok, but again has no content. But if you login and customise the page, you can get content. This problem maybe due to Opera not reporting the country/lang correctly and thus the default content being blank? If I just GET the page from Jetty, using telnet, the base href looks a little strange as the server name comes back as http://0.0.0.0 - which also might the problem with IE... I've been trying to debug this by putting Log.notes in the URILookup classes - but they don't seem to get printed in the jetspeed log - which implies Jetty is caching the JSP taglib somewhere - but I can't seem to find it... I presume this is a jetspeed problem - perhaps it uses new servlet spec features that Jetty does not provide - but works with tomcat-3.3, so it maybe a Jetty problem . 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]