MOCCA Fehler 5004

  • Ich bekomme jetzt plötzlich bei Anmeldung zu einigen Diensten (Zustellung, meinbrief) eine Fehlermeldung, noch bevor die PIN-Abfrage kommt:
    Fehler beim Parsen: at.gv.egovernment.moa.id.ParseException: Fehler beim Parsen: at.gv.egovernment.moa.id.AuthenticationException: In der Bürgerkartenumgebung ist ein Fehler aufgetreten:
    Fehlercode 5004: Standardanzeigeformat: HTML ist nicht spezifikationskonform.
    Die verwendete Version von MOCCA ist 1.2.13-r637.
    Die Easybank meldet einfach nur "Die von Ihnen eingegebenen Auftragsdaten können in der Bürgerkartenumgebung nicht korrekt angezeigt werden. Bitte überprüfen Sie nochmals die Version und die Installation der Bürgerkartenumgebung.".


    Die Anmeldung bei Finanzonline (mit der lokalen BKU natürlich :-)) funktioniert tadellos.


    Any hints?


    Danke,
    --- Tom Kovar

  • Ich kann Ihr Problem leider nicht nachvollziehen. Sowohl meinbrief.at als auch zustellung und easybank verwenden spezifikationskonformes XHTML im Signaturrequest zur Anmeldung. Könnten Sie das Logfile <userHome>/.mocca/logs/webstart.log posten und eine detaillierte Beschreibung Ihres Systems geben (OS, Kartenleser, manuelle MOCCA Konfigurationen in .mocca/conf/)?


    Danke

  • Sorry, ich war die ganze Woche außer Landes.
    Konfiguration: W XP Professional SP3, build 2600.xpsp_sp3_gdr.091208-2036, Kartenleser Gemplus (GemPC USB-SL); die config-Files habe ich gar nicht angerührt.


    Logfile hier:


    17:25:16,437 INFO webstart.Launcher - BKU Web Start 1.2.13-r637
    17:25:16,484 INFO webstart.Launcher - Initializing Launcher
    17:25:17,812 INFO webstart.Launcher - launching MOCCA Web Start online
    17:25:17,968 INFO webstart.Launcher - init servlet container and MOCCA webapp
    17:25:18,140 INFO mortbay.log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
    17:25:22,687 INFO mortbay.log - jetty-6.1.19
    17:25:25,125 INFO mortbay.log - Extract C:DOCUME~1TATNEK~1LOCALS~1TempJettyContext3165066079413243838BKULocal.war to C:DOCUME~1TATNEK~1LOCALS~1TempJettyContext3165066079413243838webapp
    17:25:35,734 INFO mortbay.log - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
    17:25:36,859 INFO / - Initializing Spring root WebApplicationContext
    17:25:36,859 INFO context.ContextLoader - Root WebApplicationContext: initialization started
    17:25:37,000 INFO support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@15e2075: display name [Root WebApplicationContext]; startup date [Fri Apr 09 17:25:37 CEST 2010]; root of context hierarchy
    17:25:37,203 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
    17:25:38,328 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:C:/Documents and Settings/Tatínek/.mocca/conf/mocca-conf.xml]
    17:25:38,421 INFO support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@15e2075]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1cfb802
    17:25:38,687 INFO support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1cfb802: defining beans [STALFactory,bindingProcessorManager,org.springframework.web.context.support.ServletContextAttributeExporter#0,accessController,commandInvoker,slCommandFactory,infoboxFactory,certValidator,configurator,configuration,smccConfiguration,readerFactory]; root of factory hierarchy
    17:25:43,265 INFO conf.Configurator - loading trustStore from C:Documents and SettingsTatínek.moccacerts rustStore
    17:25:44,843 INFO pki - pki: Configure-PKI: Archiving disabled
    17:25:44,890 INFO pki - pki: Configure-PKI: PKI module successfully configured.
    17:25:44,968 INFO conf.Configurator - setting SignatureLayout header to 1.0
    17:25:44,968 INFO conf.Configurator - No proxy configured
    17:25:45,015 INFO accesscontroller.SpringSecurityManager - Loading resource: file:C:Documents and SettingsTatínek/.mocca/conf/accessControlConfig.xml
    17:25:46,328 INFO support.ServletContextAttributeExporter - Exported ServletContext attribute with name &#39;bindingProcessorManager&#39;
    17:25:48,218 INFO context.ContextLoader - Root WebApplicationContext: initialization completed in 11359 ms
    17:25:48,375 INFO mortbay.log - http-security-layer-request at http://127.0.0.1:3495/
    17:25:48,375 INFO mortbay.log - http-security-layer-request at http://127.0.0.1:3496/
    17:25:48,500 INFO mortbay.log - Started SelectChannelConnector@127.0.0.1:3495
    17:25:49,187 INFO mortbay.log - Started SslSocketConnector@127.0.0.1:3496
    17:25:49,281 INFO webstart.Launcher - BKU successfully started
    17:26:09,203 INFO binding.HTTPBindingProcessor - Starting Bindingprocessor in Thread: 65
    17:26:09,687 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: C:Documents and SettingsTatínek.moccacertscertStore83088DE9C9BE9F9A6A8480D16EB6FF155CB710BF49A8FD5E6443D20FB9C9FD587F546FFE1F6F7129
    17:26:09,750 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: C:Documents and SettingsTatínek.moccacertscertStoreC0FE0278FC99188891B3F212E9C7E1B21AB7BFC0C2F0087D01E686053A4D633E7E70D4EF65C2CC4F
    17:26:09,812 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: C:Documents and SettingsTatínek.moccacertscertStore48B76449F3D5FEFA1133AA805E420F0FCA643651742C3192E607E424EB4549542BE1BBC53E6174E2
    17:26:10,437 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Downloading crl from "http://crl.verisign.com/pca3.crl".
    17:26:14,250 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Archiving disabled.
    17:26:14,250 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Version 1 CRL, do not perform checks
    17:26:14,250 WARN pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: V1 CRL issuer certificate, don&#39;t perform key usage check
    17:26:14,359 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Sending ocsp request to: http://ocsp.verisign.com
    17:26:14,984 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: OCSP response successfully received
    17:26:14,984 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Archiving disabled.
    17:26:14,984 WARN pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Nonce not returned in server response
    17:26:14,984 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: "NoCheck" extension included in OCSP reponder certificate, thus does&#39;nt perform trust check
    17:26:15,000 INFO pki - pki: BPID#elY5ibrLg8+isrOHWvBM/T6b6IYv: Found valid cert chain
    17:26:16,468 INFO smccstal.AbstractSMCCSTAL - Processing: class at.gv.egiz.stal.InfoboxReadRequest
    17:26:16,468 INFO smccstal.AbstractSMCCSTAL - Retry #0 of 1
    17:26:16,765 INFO util.SmartCardIO - Found 2 card terminal(s):
    ActivCard S.A. ActivKey 0
    Gemplus USB Smart Card Reader 0
    17:26:17,171 INFO reader.ReaderFactory - creating reader Gemplus USB Smart Card Reader 0
    17:26:17,281 INFO smcc.STARCOSCard - e-card version=1.1 (<= G2)
    17:26:17,937 INFO xsect.DataObject - deriving filename from reference URI #Object-cd0b00d4-1
    17:26:19,937 INFO xsect.DataObject - Standard display format: HTML does not conform to specification.
    at.gv.egiz.bku.viewer.ValidationException: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element &#39;html&#39;.
    at at.gv.egiz.bku.slxhtml.SLXHTMLValidator.validate(SLXHTMLValidator.java:162)
    at at.gv.egiz.bku.slxhtml.SLXHTMLValidator.validate(SLXHTMLValidator.java:114)
    at at.gv.egiz.bku.slcommands.impl.xsect.DataObject.validateHashDataInput(DataObject.java:284)
    at at.gv.egiz.bku.slcommands.impl.xsect.STALSignature.engineSign(STALSignature.java:130)
    at java.security.Signature$Delegate.engineSign(Unknown Source)
    at java.security.Signature.sign(Unknown Source)
    at iaik.xml.crypto.dsig.SignatureMethodImpl.calculateSignatureValue(Unknown Source)
    at iaik.xml.crypto.dsig.SignedInfoImpl.calculateSignatureValue(Unknown Source)
    at iaik.xml.crypto.dsig.XMLSignatureImpl.calculateAndMarshalSignatureValue(Unknown Source)
    at iaik.xml.crypto.dsig.XMLSignatureImpl.selectKeyAndGenerateSignature(Unknown Source)
    at iaik.xml.crypto.dsig.XMLSignatureImpl.generateCore(Unknown Source)
    at iaik.xml.crypto.dsig.XMLSignatureImpl.sign(Unknown Source)
    at at.gv.egiz.bku.slcommands.impl.xsect.Signature.sign(Signature.java:414)
    at at.gv.egiz.bku.slcommands.impl.xsect.Signature.sign(Signature.java:546)
    at at.gv.egiz.bku.slcommands.impl.CreateXMLSignatureCommandImpl.signXMLSignature(CreateXMLSignatureCommandImpl.java:165)
    at at.gv.egiz.bku.slcommands.impl.CreateXMLSignatureCommandImpl.execute(CreateXMLSignatureCommandImpl.java:195)
    at at.gv.egiz.bku.binding.SLCommandInvokerImpl.invoke(SLCommandInvokerImpl.java:54)
    at at.gv.egiz.bku.binding.HTTPBindingProcessor.processRequest(HTTPBindingProcessor.java:250)
    at at.gv.egiz.bku.binding.HTTPBindingProcessor.run(HTTPBindingProcessor.java:603)
    at at.gv.egiz.bku.local.webapp.BKURequestHandler.doPost(BKURequestHandler.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
    at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element &#39;html&#39;.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown Source)
    at at.gv.egiz.bku.slxhtml.SLXHTMLValidator$ValidationHandler.startElement(SLXHTMLValidator.java:234)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at at.gv.egiz.bku.slxhtml.SLXHTMLValidator.validate(SLXHTMLValidator.java:157)
    ... 37 more
    17:26:20,296 INFO binding.HTTPBindingProcessor - Sending QUIT command to STAL
    17:26:20,296 INFO smccstal.AbstractSMCCSTAL - Processing: class at.gv.egiz.stal.QuitRequest
    17:26:20,296 INFO smccstal.AbstractSMCCSTAL - Retry #0 of 1
    17:26:20,296 INFO smccstal.AbstractSMCCSTAL - Got null response from handler, assuming quit
    17:26:20,296 INFO binding.HTTPBindingProcessor - Terminating Bindingprocessor; Thread: 65

  • Es könnte sich um eine irreführende Fehlermeldung handeln wenn MOCCA zb. versucht eine Fehlermeldung o.ä. als Signaturdaten zu parsen.


    Um das genauer zu untersuchen aktivieren Sie bitte das DEBUG logging in MOCCA und posten Sie das Logfile erneut. Zur Konfiguration des MOCCA log levels kopieren Sie bitte das Konfigurationsfile https://egovlabs.gv.at/frs/download.php/217/log4j.properties nach <UserHome>/.mocca/conf/ und starten Sie MOCCA neu. Sie können in diesem File auch selbständig Änderungen (des log levels zb. auf TRACE anstatt DEBUG) vornehmen, müssen danach MOCCA aber neu starten.

  • Nur eine Sicherstellung - in diesem Thread handelt es sich um Probleme, die ich mit MOCCA unter M$ Windows XP2 Prof habe. Es hat nichts zu tun mit dem Thema MOCCA und Fedora, das ich in diesem Forum auch eröffnet habe - unter Fecora ist nun alles in Ordnung.

  • Zitat

    Welche Java Version verwenden Sie? Haben Sie evtl. einen XML (SAX)Parser über den endorsed-Mechanismus geladen? Können Sie eine Listing der Files in <JAVA_HOME>/jre/lib/* geben (am besten per PM)?


    Getan - PM geschickt...