我有治理注册表4.1.1正常运行。当我尝试从开发人员工作室版本2.1.0附加到它时,我无法浏览注册表,下面的错误是在http_access日志中。
[17/Oct/2012:08:12:16 -0600] "GET //carbon HTTP/1.1" 302 - "-" "Java/1.6.0_34"
赞赏任何想法
更新
步骤:进入eclipse,转到,WSO2注册表工作空间,创建与注册表的连接,输入凭据并获取"特定远程服务器未运行" 。验证服务器正在运行似乎是一个证书。问题,但我没有登录到GREG控制台的证书问题。记录下面的条目。
!ENTRY org.wso2.developerstudio.eclipse.greg.base 4 0 2012-11-26 08:25:47.615!消息javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:无法 找到所请求目标的有效证书路径!STACK 0 java.lang.RuntimeException:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:无法 找到所请求目标的有效证书路径 org.apache.abdera.protocol.client.AbderaClient.execute(AbderaClient.java:805) 在 org.apache.abdera.protocol.client.AbderaClient.get(AbderaClient.java:235) 在 org.wso2.carbon.registry.app.RemoteRegistry.get(RemoteRegistry.java:160) 在 org.wso2.developerstudio.eclipse.greg.base.core.Registry.getResourcesPerCollection(Registry.java:350) 在 org.wso2.developerstudio.eclipse.greg.base.model.RegistryResourceNode.getResourceType(RegistryResourceNode.java:258) 在 org.wso2.developerstudio.eclipse.greg.base.ui.controls.RegistryTreeContentProvider.hasChildren(RegistryTreeContentProvider.java:135) 在 org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2146) 在 org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:588) 在 org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2176) 在 org.eclipse.jface.viewers.AbstractTreeViewer.optionallyPruneChildren(AbstractTreeViewer.java:2808) 在 org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2608) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1923) 在 org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1930) 在 org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1930) 在 org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1930) 在 org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1898) 在 org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1855) 在 org.eclipse.jface.viewers.StructuredViewer $ 8.run(StructuredViewer.java:1535) 在 org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443) 在 org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) 在 org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404) 在 org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1533) 在 org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548) 在 org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1490) 在 org.wso2.developerstudio.eclipse.greg.manager.remote.views.RegistryBrowserView $ 51.run(RegistryBrowserView.java:2584) 在org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) 在 org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) 在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) 在 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $ 9.run(PartRenderingEngine.java:1022) 在 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 在 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916) 在 org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) 在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:585)at at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 在 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540) 在 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 在 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 在 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(未知来源)at sun.reflect.DelegatingMethodAccessorImpl.invoke(未知来源)at java.lang.reflect.Method.invoke(未知来源)at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)at at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)at at org.eclipse.equinox.launcher.Main.run(Main.java:1438)引起: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:无法 找到所请求目标的有效证书路径 com.sun.net.ssl.internal.ssl.Alerts.getSSLException(未知来源) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) 在 com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(未知 来源)at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(未知 来源)at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(未知来源) 在com.sun.net.ssl.internal.ssl.Handshaker.process_record(未知 来源)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(未知来源) 在 com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(未知 来源)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(未知来源) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source) 在java.io.BufferedOutputStream.flushBuffer(未知来源)at java.io.BufferedOutputStream.flush(未知来源)at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) 在 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager $ HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565) 在 org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) 在 org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) 在 org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) 在 org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 在 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 在 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 在 org.apache.abdera.protocol.client.AbderaClient.execute(AbderaClient.java:791) ... 53更多引起:sun.security.validator.ValidatorException: PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:无法 找到所请求目标的有效证书路径 sun.security.validator.PKIXValidator.doBuild(未知来源)at sun.security.validator.PKIXValidator.engineValidate(未知来源) 在sun.security.validator.Validator.validate(未知来源)at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(未知 来源)at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(未知 来源)at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(未知 来源)... 72更多引起: sun.security.provider.certpath.SunCertPathBuilderException:无法 找到所请求目标的有效证书路径 sun.security.provider.certpath.SunCertPathBuilder.engineBuild(未知 来自java.security.cert.CertPathBuilder.build(未知来源) ... 78更多
答案 0 :(得分:1)
此限制现已在Developer Studio(3.2.0)版本的最新版本中修复,方法是通过Developer Studio的首选项引入可配置的SSL客户端存储。
要设置自定义SSL信任存储,
然后申请并确认。
现在,您可以尝试执行相同的一组步骤,并使用更新的证书成功连接到服务器。
/ Harshana