2017-02-28 10 views
1

スキーマXSDファイルをリソースブラウズ/ _system/configにアップロードする際に例外があります。WSO2 AM(1.10.0および2.1.0)スキーマファイルエラーのエラー

p1

p2

シンプルなXSDファイル:

enter image description here

エラーログ:

TID: [-1234] [] [2017-02-28 14:57:47,746] ERROR {org.wso2.carbon.registry.resource.ui.processors.AddResourceProcessor} - File upload failed. {org.wso2.carbon.registry.resource.ui.processors.AddResourceProcessor} 

org.apache.axis2.AxisFault:リソースの追加に失敗しました/ _syste m/config/validation.xsd。ハンドラチェーンの実行中に例外が発生しました。 org.apache.axis2.descriptionでヌルorg.apache.axis2.description.OutInAxisOperationClient.handleResponseでorg.apache.axis2.util.Utils.getInboundFaultFromMessageContextで (Utils.java:531) (OutInAxisOperation.java:370) .OutInAxisOperationClient.send(OutInAxisOperation.java:445) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) ) at org.wso2.carbon.registry.resource.stub.ResourceAdminServiceStub.addResource(ResourceAdminServiceStub.java:4818) at org.wso2.carbon.registry.resource.ui.clients.ResourceServiceClient.addResource(ResourceServiceClient.java:683) ) at org.wso2.carbon.registry.resource.ui.processors.Addプロパティ値。 CarbonXmlFileUploadExecHandler.execute(FileUploadExecutorManager.java:392) 、org.wso2.carbon.ui.transports.fileupload.FileUploadExecutorManager $ FileUploadExecutionHandlerManager.startExec(FileUploadExecutorManager.java:276) at org.wso2.carbon.ui.transports.fileupload。 FileUploadExecutorManager.execute(FileUploadExecutorManager.java:125) at org.wso2.carbon.ui.transports.FileUploadServlet.doPost(FileUploadServlet.java:57) (javax.servlet.http.HttpServlet.service(HttpServlet.java:646)) javax.servlet.http.HttpServlの org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37) (org.eclipse.equinox.http.servlet.internal.ServletRegistration.service)のet.service(HttpServlet.java:727) ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet。 java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org。 (org.apache.catalina.core.ApplicationFilterChain.doFilter) (ApplicationFilterChain.java:201) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) (CSRFPreventionFilter.java:88) (org.apache.catalina.core) .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain。java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreventionFilter.java:59) at org。 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) (org.apache.catalina.core.ApplicationFilterChain.java:241) (org.wso2.carbon.tomcat.ext.filter)でapache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)を呼び出します。 (CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) .co.jp: rdWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org。 apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.wso2.carbon.tomcat.ext.valves。 CompositeValve.continueInvocation(CompositeValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke (TenantLazyLoaderValve.java:57) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java :47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) ) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) at org.apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor .java:1074) at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol。 java:611) (org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1739) at org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java: 1698) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util。 (Thread.java:745)

最新のバージョン2.1.0で同じエラーが発生しました。

2.1.0

2.1.0 error

+0

wso2carbon.logにもエラーを添付できますか。これは /repository/logs/wso2carbon.logにあります。 –

答えて

0

あなたはtext/plainにするためにメディアタイプを設定する必要があります。

関連する問題