[SOLVED] - cannot perform Update and Extensions (Marketplace)...

luisll
luisll New Altair Community Member
edited November 5 in Community Q&A
Dear Experts at this Forum,

I'm new to RapidMiner, but couldn't find any report of this problem in the forum or the internet
so any help will be appreciated.

My configuration is:
 Windows 8.1
 Running RapidMiner 5.3.015
 Java Version 7 Update 25 (build 1.7.0_25-b17)

Using RapidMinerGUI.bat to extract details I get:
Jan 20, 2014 5:52:54 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Jan 20, 2014 5:52:56 PM com.rapidminer.tools.OperatorService init
INFO: Number of registered operator classes: 452; number of registered operator descriptions: 578; number of replacements: 407
Jan 20, 2014 5:52:56 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Jan 20, 2014 5:52:56 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Jan 20, 2014 5:52:59 PM com.rapidminer.gui.OperatorDocLoader parseDocumentForOperator
WARNING: Could not open http://rapid-i.com/wiki/index.php?title=Process: Permission denied: connect
Jan 20, 2014 5:53:00 PM com.rapid_i.deployment.update.client.UpdateManager$3 run
INFO: Checking for updates.
Jan 20, 2014 5:53:00 PM com.rapid_i.deployment.update.client.UpdateManager$3 run
WARNING: Error checking for updates: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl. It failed with:
       Got Permission denied: connect while opening stream from http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl.
javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl. It failed with:
       Got Permission denied: connect while opening stream from http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl.
       at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
       at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
       at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
       at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
       at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
       at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
       at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
       at javax.xml.ws.Service.<init>(Unknown Source)
       at com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:42)
       at com.rapid_i.deployment.update.client.UpdateManager.getService(UpdateManager.java:566)
       at com.rapid_i.deployment.update.client.UpdateManager$3.run(UpdateManager.java:869)
       at com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:200)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Got Permission denied: connect while opening stream from http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl
       at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Unknown Source)
       at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unknown Source)
       ... 14 more
Caused by: java.net.SocketException: Permission denied: connect
       at java.net.DualStackPlainSocketImpl.connect0(Native Method)
       at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
       at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
       at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
       at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
       at java.net.PlainSocketImpl.connect(Unknown Source)
       at java.net.SocksSocketImpl.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at sun.net.NetworkClient.doConnect(Unknown Source)
       at sun.net.www.http.HttpClient.openServer(Unknown Source)
       at sun.net.www.http.HttpClient.openServer(Unknown Source)
       at sun.net.www.http.HttpClient.<init>(Unknown Source)
       at sun.net.www.http.HttpClient.New(Unknown Source)
       at sun.net.www.http.HttpClient.New(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
       at java.net.URL.openStream(Unknown Source)
       ... 16 more

Thanks in advance
Luis

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    can you open the URL in the error message via the browser? If so, it might be this problem: http://stackoverflow.com/questions/13029295/got-permission-denied-connect-while-opening-stream
    Can you try to add

    -Djava.net.preferIPv4Stack=true
    when launching the .bat file from the commandline. If that does not start RapidMiner afterwards, you can edit the .bat file and add above parameter to the "%JAVA%" -jar line.

    Regards,
    Marco
  • luisll
    luisll New Altair Community Member
    Thank you very much for your reply, Marco.

    Bottom line, it solved my problem!

    details: 
    - yes I could browse the URL using browser.
    - RapidMiner doesn't start if I send the parameter to the batch
    - Yes RapidMiner starts and works when adding the option
    -Djava.net.preferIPv4Stack=true
    at the begining of the "%JAVA%" -jar line(s)!

    Thanks again
    Luis
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    thank you for the feedback! Glad it helped, I will write the problem down because I've never heard of it before ;)

    Regards,
    Marco