FW: IE Issues with JSPWiki JCIFS!!
That's awesome, cheers to everyone that's helped me on this - problem resolved!! :] I added the line -Djcifs.encoding=US-ASCII to 'Java Options' under the 'Java' tab in that configuration utility. Works fabulously now. Hopefully this be of help to others too who encounter similar problems! Regards Chris ICT Department St. Edward's School Cheltenham, UK -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 17:24 To: Tomcat Users List Subject: RE: IE Issues with JSPWiki JCIFS!! From: ICT Department [mailto:[EMAIL PROTECTED] Subject: RE: IE Issues with JSPWiki JCIFS!! For some reason I don't have the startup.bat file in my 'bin' folder - perhaps I don't have tomcat installed in the correct way You most likely installed it from the .exe download, which, for some reason, leaves out the .bat scripts and installs Tomcat as a service only. The .zip download does include the scripts. To manipulate the Java environment for Tomcat as a service, use the tomcat5w.exe in your bin directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IE Issues with JSPWiki JCIFS!!
Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit google: cp850 JCIFS, it seems a solution is to define a property jcifs.encoding to something that is nearly compatible with cp850, the US-ASCII Also, you might try to ensure you use the latest version of jcifs. Seems they added some code in 1.2.10b to switch from cp850 to US-ASCII in case cp850 is not supported by jvm.// try to add, in tomcat startup script, a JAVA_OPTS=-Djcifs.encoding=US-ASCII En l'instant précis du 01/25/07 17:50, ICT Department s'exprimait en ces termes: Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! This has happened since installing the JCIFS code into web.xml for user authentication. The JSPWiki developers can't help me, they said it sounds more like an interplay issue between Tomcat and IE. java.io.UnsupportedEncodingException: Cp850 sun.io.Converters.getConverterClass(Unknown Source) sun.io.Converters.newConverter(Unknown Source) sun.io.ByteToCharConverter.getConverter(Unknown Source) java.lang.StringCoding.decode(Unknown Source) java.lang.String.init(Unknown Source) java.lang.String.init(Unknown Source) jcifs.ntlmssp.Type1Message.parse(Type1Message.java:236) jcifs.ntlmssp.Type1Message.init(Type1Message.java:86) jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:88) jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160) jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71) Hope to hear from you soon..and well done on such a marvellous product! Please can you CC any response to [EMAIL PROTECTED] also!! Thanks! Regards Chris Tamburro ICT Department St. Edward's School Cheltenham, UK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: IE Issues with JSPWiki JCIFS!!
OK this is going to sound silly but, where do I change the Tomcat startup script? Is it the web.xml file in the conf folder? Also, I am using the latest version..jcifs1.2.13! This should be ok, shouldn't it? Regards Chris ICT Department St. Edward's School Cheltenham, UK -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 12:02 To: Tomcat Users List Subject: Re: IE Issues with JSPWiki JCIFS!! Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit google: cp850 JCIFS, it seems a solution is to define a property jcifs.encoding to something that is nearly compatible with cp850, the US-ASCII Also, you might try to ensure you use the latest version of jcifs. Seems they added some code in 1.2.10b to switch from cp850 to US-ASCII in case cp850 is not supported by jvm.// try to add, in tomcat startup script, a JAVA_OPTS=-Djcifs.encoding=US-ASCII En l'instant précis du 01/25/07 17:50, ICT Department s'exprimait en ces termes: Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! This has happened since installing the JCIFS code into web.xml for user authentication. The JSPWiki developers can't help me, they said it sounds more like an interplay issue between Tomcat and IE. java.io.UnsupportedEncodingException: Cp850 sun.io.Converters.getConverterClass(Unknown Source) sun.io.Converters.newConverter(Unknown Source) sun.io.ByteToCharConverter.getConverter(Unknown Source) java.lang.StringCoding.decode(Unknown Source) java.lang.String.init(Unknown Source) java.lang.String.init(Unknown Source) jcifs.ntlmssp.Type1Message.parse(Type1Message.java:236) jcifs.ntlmssp.Type1Message.init(Type1Message.java:86) jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:88) jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160) jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71) Hope to hear from you soon..and well done on such a marvellous product! Please can you CC any response to [EMAIL PROTECTED] also!! Thanks! Regards Chris Tamburro ICT Department St. Edward's School Cheltenham, UK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: IE Issues with JSPWiki JCIFS!!
depends on your OS :) have a look at startup.sh or startup.bat depending on your OS. You might also prefer to define a user environment variable JAVA_OPTS instead of adding it to startup script. En l'instant précis du 01/30/07 13:46, ICT Department s'exprimait en ces termes: OK this is going to sound silly but, where do I change the Tomcat startup script? Is it the web.xml file in the conf folder? Also, I am using the latest version..jcifs1.2.13! This should be ok, shouldn't it? Regards Chris ICT Department St. Edward's School Cheltenham, UK -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 12:02 To: Tomcat Users List Subject: Re: IE Issues with JSPWiki JCIFS!! Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit google: cp850 JCIFS, it seems a solution is to define a property jcifs.encoding to something that is nearly compatible with cp850, the US-ASCII Also, you might try to ensure you use the latest version of jcifs. Seems they added some code in 1.2.10b to switch from cp850 to US-ASCII in case cp850 is not supported by jvm.// try to add, in tomcat startup script, a JAVA_OPTS=-Djcifs.encoding=US-ASCII En l'instant précis du 01/25/07 17:50, ICT Department s'exprimait en ces termes: Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! This has happened since installing the JCIFS code into web.xml for user authentication. The JSPWiki developers can't help me, they said it sounds more like an interplay issue between Tomcat and IE. java.io.UnsupportedEncodingException: Cp850 sun.io.Converters.getConverterClass(Unknown Source) sun.io.Converters.newConverter(Unknown Source) sun.io.ByteToCharConverter.getConverter(Unknown Source) java.lang.StringCoding.decode(Unknown Source) java.lang.String.init(Unknown Source) java.lang.String.init(Unknown Source) jcifs.ntlmssp.Type1Message.parse(Type1Message.java:236) jcifs.ntlmssp.Type1Message.init(Type1Message.java:86) jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:88) jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160) jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71) Hope to hear from you soon..and well done on such a marvellous product! Please can you CC any response to [EMAIL PROTECTED] also!! Thanks! Regards Chris Tamburro ICT Department St. Edward's School Cheltenham, UK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IE Issues with JSPWiki JCIFS!!
Thanks for your help! But it seems setting it as a user environment variable doesn't do the job unfortunatyl For some reason I don't have the startup.bat file in my 'bin' folder - perhaps I don't have tomcat installed in the correct way..could I just drag this file into there for it to work or would I need to do a full binary installation of tomcat? Regards Chris ICT Department St. Edward's School -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 13:20 To: Tomcat Users List Subject: Re: FW: IE Issues with JSPWiki JCIFS!! depends on your OS :) have a look at startup.sh or startup.bat depending on your OS. You might also prefer to define a user environment variable JAVA_OPTS instead of adding it to startup script. En l'instant précis du 01/30/07 13:46, ICT Department s'exprimait en ces termes: OK this is going to sound silly but, where do I change the Tomcat startup script? Is it the web.xml file in the conf folder? Also, I am using the latest version..jcifs1.2.13! This should be ok, shouldn't it? Regards Chris ICT Department St. Edward's School Cheltenham, UK -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 12:02 To: Tomcat Users List Subject: Re: IE Issues with JSPWiki JCIFS!! Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit google: cp850 JCIFS, it seems a solution is to define a property jcifs.encoding to something that is nearly compatible with cp850, the US-ASCII Also, you might try to ensure you use the latest version of jcifs. Seems they added some code in 1.2.10b to switch from cp850 to US-ASCII in case cp850 is not supported by jvm.// try to add, in tomcat startup script, a JAVA_OPTS=-Djcifs.encoding=US-ASCII En l'instant précis du 01/25/07 17:50, ICT Department s'exprimait en ces termes: Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! This has happened since installing the JCIFS code into web.xml for user authentication. The JSPWiki developers can't help me, they said it sounds more like an interplay issue between Tomcat and IE. java.io.UnsupportedEncodingException: Cp850 sun.io.Converters.getConverterClass(Unknown Source) sun.io.Converters.newConverter(Unknown Source) sun.io.ByteToCharConverter.getConverter(Unknown Source) java.lang.StringCoding.decode(Unknown Source) java.lang.String.init(Unknown Source) java.lang.String.init(Unknown Source) jcifs.ntlmssp.Type1Message.parse(Type1Message.java:236) jcifs.ntlmssp.Type1Message.init(Type1Message.java:86) jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:88) jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160) jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71) Hope to hear from you soon..and well done on such a marvellous product! Please can you CC any response to [EMAIL PROTECTED] also!! Thanks! Regards Chris Tamburro ICT Department St. Edward's School Cheltenham, UK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IE Issues with JSPWiki JCIFS!!
From: ICT Department [mailto:[EMAIL PROTECTED] Subject: RE: IE Issues with JSPWiki JCIFS!! For some reason I don't have the startup.bat file in my 'bin' folder - perhaps I don't have tomcat installed in the correct way You most likely installed it from the .exe download, which, for some reason, leaves out the .bat scripts and installs Tomcat as a service only. The .zip download does include the scripts. To manipulate the Java environment for Tomcat as a service, use the tomcat5w.exe in your bin directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IE Issues with JSPWiki JCIFS!!
Chris, please take a look at what Christopher wrote - I guess this is the best guess. Your web.xml looks ok so far. Besides, I'd appreciate if you'd post your comments to the user-list only rather than to my personal email. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IE Issues with JSPWiki JCIFS!!
Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! This has happened since installing the JCIFS code into web.xml for user authentication. The JSPWiki developers can't help me, they said it sounds more like an interplay issue between Tomcat and IE. java.io.UnsupportedEncodingException: Cp850 sun.io.Converters.getConverterClass(Unknown Source) sun.io.Converters.newConverter(Unknown Source) sun.io.ByteToCharConverter.getConverter(Unknown Source) java.lang.StringCoding.decode(Unknown Source) java.lang.String.init(Unknown Source) java.lang.String.init(Unknown Source) jcifs.ntlmssp.Type1Message.parse(Type1Message.java:236) jcifs.ntlmssp.Type1Message.init(Type1Message.java:86) jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:88) jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160) jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71) Hope to hear from you soon..and well done on such a marvellous product! Please can you CC any response to [EMAIL PROTECTED] also!! Thanks! Regards Chris Tamburro ICT Department St. Edward's School Cheltenham, UK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IE Issues with JSPWiki JCIFS!!
That doesn't have to do with Tomcat, either. Sounds to me more than a character-set-problem, meaning you pasted something into your web.xml which is not supported by the code-page-setting in the xml-header of the web.xml. Would be helpful if you could post ypur web.xml Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IE Issues with JSPWiki JCIFS!!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, ICT Department wrote: Hi there, we have a problem running JSPWiki under Tomcat, when using Internet Explorer. It's fine in Firefox and doesn't display any exceptions as shown below! [snip] java.io.UnsupportedEncodingException: Cp850 Hmm. Is that a character set you were expecting? Is it one that is available in your JVM? I am unfamiliar with that one. Code Page 850?. Sounds like some Microsoft Windows game. Yep, it is: http://en.wikipedia.org/wiki/Code_page_850 It looks like it might be equivalent to WINDOWS-1252 or UTF-8 (except for higher characters, which will be hosed anyway). Note that CP850 doesn't have the € (euro) symbol. :( I wonder if the character set needs to be expressed as CP850 instead of Cp850. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFuQJE9CaO5/Lv0PARAmURAJ442ZcBKmA5rWDC/znoB9TGwroDKgCgpret koo/v8qp0FK6UmZiat7fAs0= =VufJ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]