首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

WEbService服务端-用Axis客户端测试遇到的问题Exception in thread “main“ AxisFault

Exception in thread “main” AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException  faultSubcode:   faultString: org.xml.sax.SAXParseException: Premature end of file.  faultActor:   faultNode:   faultDetail:  {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1058) 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:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) 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:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(Mu

01

hadoop搭建好后出现的format异常

14/07/10 18:50:47 FATAL conf.Configuration: error parsing conf file: com.sun.org                                                                                                                                                 .apache.xerces.internal.impl.io.MalformedByteSequenceException: 1 ▒ֽڵ▒ UTF-8 ▒▒▒е                                                                                                                                                 ▒▒ֽ▒ 1 ▒▒Ч▒▒ 14/07/10 18:50:47 ERROR namenode.NameNode: java.lang.RuntimeException: com.sun.o                                                                                                                                                 rg.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1 ▒ֽڵ▒ UTF-8 ▒▒                                                                                                                                                 ▒е▒▒ֽ▒ 1 ▒▒Ч▒▒         at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:                                                                                                                                                 1243)         at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java                                                                                                                                                 :1107)         at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1053                                                                                                                                                 )         at org.apache.hadoop.conf.Configuration.set(Configuration.java:420)         at org.apache.hadoop.hdfs.server.namenode.NameNode.setStartupOption(Name                                                                                                                                                 Node.java:1374)         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNo

04

org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection 问题处理

1.首先看到的报错信息org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; 怀疑是项目配置的链接数据库的地址或者用户名, 密码错误导致,后仔细核查数据库ip ,端口号,数据库用户名,密码均未发现异常。 2.考虑到1中未排查出异常,故继续往下找,发现javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target,查询了一下错误信息的意义,发现这个应该是缺少认证证书的问题,但是连接数据库并不是通过https连接,怎么会触发证书认证的情况?可以错误日志也没有再提供其他的方向了,这个时候跟程序发现报了mysql的08001的错误码,查询得知代表的是数据库连接时区配置问题,再次检查时区配置,并按社区小伙伴提供的时区配置后问题仍然没有解决。 3.基于2中缺少证书的问题,给自己的tomcat安装了认证证书,但是问题仍然存在 4.问题再次回到1,检查数据库连接,发现原来的数据库连接有参数userSSL=true,这个参数是过去到现在一直存在的,查询参数意义发现如果这个参数开启,需要应用端和服务端同时配置证书,查看mysql服务端

01
领券