incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CLEREZZA-387) Login problem: Invalid byte 2 of 2-byte UTF-8 sequence.
Date Wed, 01 Jun 2011 08:13:47 GMT

    [ https://issues.apache.org/jira/browse/CLEREZZA-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042035#comment-13042035
] 

Reto Bachmann-Gmür edited comment on CLEREZZA-387 at 6/1/11 8:13 AM:
---------------------------------------------------------------------

As setting a file-encoding other than utf-8 shows the problem is still there, just try starting
clerezza with the jvm arg -Dfile.encoding=Cp858

      was (Author: reto):
    As setting a file-encoding other than utf-8 the problem is still there, just try starting
clerezza with the jvm arg -Dfile.encoding=Cp858
  
> Login problem: Invalid byte 2 of 2-byte UTF-8 sequence.
> -------------------------------------------------------
>
>                 Key: CLEREZZA-387
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-387
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: OSX, revision 1055072
>            Reporter: Henry Story
>
> After uploading the latest changes, rebuilding all changed projects, and rebuilding the
storageless launcher then the sesame lauchner, I start Clerezza with 
> java -Xmx512m -XX:MaxPermSize=248M -jar org.apache.clerezza.platform.launcher.sesame-0.5-incubating-SNAPSHOT.jar
--https_keystore_clientauth want  --https_port 8443 --https_keystore_path /Users/hjs/tmp/cert/KEYSTORE.jks
--https_keystore_password secret
> When I go to 
> http://localhost:8080/dashboard/overview#
> and click on "Login:" I end up at
> http://localhost:8080/login?referer=http%3A%2F%2Flocalhost%3A8080%2Fdashboard%2Foverview%23
> with the message
> [[
> HTTP ERROR: 500
> Problem accessing /login. Reason:
>     org.wymiwyg.wrhapi.HandlerException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 2 of 2-byte UTF-8 sequence.
> Powered by Jetty://
> ]]
> The logs show:
> [[
> Caused by: org.wymiwyg.wrhapi.HandlerException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 2 of 2-byte UTF-8 sequence.
> 	at org.apache.clerezza.triaxrs.JaxRsHandler.handleException(JaxRsHandler.java:592)
> 	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:340)
> 	... 29 more
> Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 2 of 2-byte UTF-8 sequence.
> 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
> 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:369)
> 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
> 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:487)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2687)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
> 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
> 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
> 	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:168)
> 	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:76)
> 	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:333)
> 	... 29 more
> ]]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message