Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 68711 invoked from network); 7 Jan 2011 19:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 19:20:06 -0000 Received: (qmail 33579 invoked by uid 500); 7 Jan 2011 19:20:06 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 33524 invoked by uid 500); 7 Jan 2011 19:20:06 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 33516 invoked by uid 99); 7 Jan 2011 19:20:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 19:20:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 19:20:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p07JJjB5019395 for ; Fri, 7 Jan 2011 19:19:46 GMT Message-ID: <31861131.218261294427985936.JavaMail.jira@thor> Date: Fri, 7 Jan 2011 14:19:45 -0500 (EST) From: "Henry Story (JIRA)" To: clerezza-dev@incubator.apache.org Subject: [jira] Commented: (CLEREZZA-387) Login problem: Invalid byte 2 of 2-byte UTF-8 sequence. In-Reply-To: <16509186.135431294156858884.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLEREZZA-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978924#action_12978924 ] Henry Story commented on CLEREZZA-387: -------------------------------------- It looks like the issue is no longer present if I remove the line {render(res, "naked")} from org.apache.clerezza.platform.security.auth.cookie/src/main/resources/org/apache/clerezza/platform/security/auth/cookie/login.xhtml If I then put that back but remove the " " from login_naked.xhtml then it works again > 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. - You can reply to this email to add a comment to the issue online.