]
David Chia commented on JBDS-2253:
----------------------------------
If anyone running on JDK 1.7 and running into issue of not being able to create any
"new projects" from "JBoss Central", and if you see these errors in
the log:
!ENTRY org.jboss.tools.central 4 0 2012-10-23 15:28:27.086
!MESSAGE Permission denied: connect
!STACK 0
java.net.SocketException: Permission denied: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1142)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:710)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:889)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.transfer(ECFExamplesTransport.java:319)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.performDownload(ECFExamplesTransport.java:246)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.download(ECFExamplesTransport.java:206)
at org.jboss.tools.central.jobs.AbstractRefreshJob.run(AbstractRefreshJob.java:186)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!ENTRY org.jboss.tools.central 4 0 2012-10-23 15:28:27.132
!MESSAGE Permission denied: connect
!STACK 0
java.net.SocketException: Permission denied: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1142)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:710)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:889)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.transfer(ECFExamplesTransport.java:319)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.performDownload(ECFExamplesTransport.java:246)
at
org.jboss.tools.project.examples.filetransfer.ECFExamplesTransport.download(ECFExamplesTransport.java:206)
at org.jboss.tools.central.jobs.AbstractRefreshJob.run(AbstractRefreshJob.java:186)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!ENTRY org.jboss.tools.project.examples 4 0 2012-10-23 15:28:27.165
!MESSAGE Premature end of file.
!STACK 0
org.xml.sax.SAXParseException; Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:348)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:305)
at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:53)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
There's a possibility you're running into a JDK7 bug related to IPV6. A workaround
is to add the following VM argument at the end of /studio/jbdevstudio.ini config file:
-Djava.net.preferIPv4Stack=true
And restart JBDS
Support installing JBDS 6 into Eclipse 4.2 ("BYOE")
---------------------------------------------------
Key: JBDS-2253
URL:
https://issues.jboss.org/browse/JBDS-2253
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Build, updatesite
Affects Versions: 6.0.0.Alpha1
Reporter: Nick Boldt
Assignee: Len DiMaggio
Labels: respin-b
Fix For: 4.0.0.Beta1, 6.0.0.Beta1
Attachments: BYOE-Juno42-JBDS6Nightly-central1.png,
BYOE-Juno42-JBDS6Nightly-central2.png, core-site-option1.png,
JBDS-2253.40x.branch.patch.txt, JBDS2253-add-update-sites-for-m2e-and-egit.png,
JBDS2253-egit2.0-installed.png,
JBDS2253-install-entire-JBDS-BrandedProduct-feature-to-EclipsePlatformRuntimeBinary4.2.1-note-changed-icons-and-About-screen.png,
JBDS2253-install-entire-JBDS-BrandedProduct-feature-to-EclipsePlatformRuntimeBinary4.2.1-uncheck-group-by-category.png,
JBDS2253-install-entire-JBDS-core-site-to-EclipsePlatformRuntimeBinary4.2.1-About-after-with-Central.png,
JBDS2253-install-entire-JBDS-core-site-to-EclipsePlatformRuntimeBinary4.2.1-About-before.png,
JBDS2253-install-entire-JBDS-core-site-to-EclipsePlatformRuntimeBinary4.2.1-available-sites.png,
JBDS2253-install-entire-JBDS-core-site-to-EclipsePlatformRuntimeBinary4.2.1.png,
JBDS2253-install-updated-to-egit2.2-and-m2e1.3.png,
JBDS2253-install-updates-to-egit2.2-and-m2e1.3.png,
JBDS2253-splash-screen-has-version-6.0.0-but-wrong-image.png,
JBDS2253_install_core_features-whole-category.png, JBDS2253_install_core_features.png,
JBDS2253_install_everything.png, techpreview-site-option1.png,
techpreview-site-option2.png
BYOE JBDS 6 Nightly
1. Launch clean Eclipse 4.2
2. Help > Install new
3. Add the following sites (sorry, VPN required!)
http://www.qa.jboss.com/binaries/RHDS/updates/jbds-target-platform_4.0.ju...
(target platform)
http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio-6.0_trunk....
(extras)
http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio-6.0_trunk....
(product)
4. Select all categorized features on the /product/ site. Click Next. Install. Restart
when prompted.
Once we have a first Early Access release of JBDS 6, the above process will change to:
1. Launch clean Eclipse 4.2
2. Help > Install new
3. Add the following site (will be public, no VPN required)
https://devstudio.jboss.com/updates/6.0-staging/central/core/ (target platform + product
+ extras)
4. Select all categorized features. Click Next. Install. Restart when prompted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: