Options

SOLVED: Working offline possible ?

kicker74kicker74 Member Posts: 6 Contributor II
edited November 2018 in Help
Hi there,

while traveling a lot through Germany I need a possibility to work offline.

Rapidminer 5.1.006 starts up but hangs with the following message:

INFO: Cannot download news: java.net.UnknownHostException: news.rapidminer.com
(WelcomeScreen$2.run())

When I work online everything works fine. I looked up the preferences, but didn't find a way to switch into an offline modus.Is there a possibility?

Thanks for any advice

Holm

Answers

  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,995 RM Engineering
    Hi,

    RapidMiner should work offline just as well as online (except for more up to date operator descriptions/updates/news/bugreports).
    However, I have an idea of what might be causing this issue. It's probably not the cause, but no harm in ruling it out.. It would be very helpful if you could help me here, as I cannot reproduce the problem.

    I'm assuming you're using Windows?
    I don't know your background, so maybe you don't need this explanation, but here we go anyway ;)
    If so, open the command console via cmd, right-click the header bar of the console, select properties and on the right side check quick-edit mode. This will allow you to select the desired output with your mouse and just ctrl+c to copy&paste from the command console.
    After you've done that, navigate via command line (The following commands will be helpful: "cd .." navigates to the parent folder, "cd xyz" navigates to the xyz subfolder, "d:" switches directy to partition D:\) to the folder where you installed RapidMiner in, go to the lib subdirectory and type in java -jar rapidminer.jar.
    This will start RapidMiner from the command line. Now wait until it hangs up, and press Ctrl+Break on your keyboard. This will create some hopefully enlightening thread dumps ;)
    Post all contents of your command console in this thread, and I will take a look at it.

    Regards,
    Marco
  • Options
    kicker74kicker74 Member Posts: 6 Contributor II
    Hi Marco,

    thanks for reply and sorry about the delay: but because of public holidays I haven't been online.

    First of all: no, I am using Linux, a Gentoo distribution. So we can talk a bit "in detail"  ;)
    But Linux will not cause the problem. Before I read your message I tried to reproduce it: now it went through (only with the warnings)

    2011-06-14 12:55:42 INFO: Cannot download news: java.net.UnknownHostException: news.rapidminer.com (WelcomeScreen$2.run())
      java.net.UnknownHostException: news.rapidminer.com
          java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
          java.net.Socket.connect(Socket.java:519)
          java.net.Socket.connect(Socket.java:469)
          sun.net.NetworkClient.doConnect(NetworkClient.java:157)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:515)
          sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
          sun.net.www.http.HttpClient.New(HttpClient.java:306)
          sun.net.www.http.HttpClient.New(HttpClient.java:318)
          sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
          sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)
          java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
          javax.swing.JEditorPane.getStream(JEditorPane.java:777)
          javax.swing.JEditorPane.setPage(JEditorPane.java:418)
          com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:240)
    2011-06-14 12:55:44 SEVERE: Could not open http://rapid-i.com/wiki/index.php?title=Process: rapid-i.com (OperatorDocLoader.parseDocumentForOperator())
    2011-06-14 12:55:46 CONFIG: Loading perspectives. (ApplicationPerspectives.loadAll())
    2011-06-14 12:55:47 INFO: Checking for updates. (UpdateManager$1.run())
    2011-06-14 12:55:47 WARNING: Error checking for updates: javax.xml.ws.WebServiceException: java.net.UnknownHostException: rapidupdate.de (UpdateManager$1.run())
      javax.xml.ws.WebServiceException: java.net.UnknownHostException: rapidupdate.de
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:164)
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:190)
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:68)
          com.sun.xml.internal.ws.wsdl.WSDLContext.<init>(WSDLContext.java:59)
          com.sun.xml.internal.ws.client.ServiceContextBuilder.build(ServiceContextBuilder.java:62)
          com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:125)
          com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:52)
          javax.xml.ws.Service.<init>(Service.java:57)
          com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:37)
          com.rapid_i.deployment.update.client.UpdateManager.getService(UpdateManager.java:318)
          com.rapid_i.deployment.update.client.UpdateManager$1.run(UpdateManager.java:413)
          com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
          java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
          java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
          java.lang.Thread.run(Thread.java:619)
    Caused by:
      java.net.UnknownHostException: rapidupdate.de
          java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
          java.net.Socket.connect(Socket.java:519)
          java.net.Socket.connect(Socket.java:469)
          sun.net.NetworkClient.doConnect(NetworkClient.java:157)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:515)
          sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
          sun.net.www.http.HttpClient.New(HttpClient.java:306)
          sun.net.www.http.HttpClient.New(HttpClient.java:318)
          sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
          sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)
          java.net.URL.openStream(URL.java:1009)
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:161)
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:190)
          com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:68)
          com.sun.xml.internal.ws.wsdl.WSDLContext.<init>(WSDLContext.java:59)
          com.sun.xml.internal.ws.client.ServiceContextBuilder.build(ServiceContextBuilder.java:62)
          com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:125)
          com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:52)
          javax.xml.ws.Service.<init>(Service.java:57)
          com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:37)
          com.rapid_i.deployment.update.client.UpdateManager.getService(UpdateManager.java:318)
          com.rapid_i.deployment.update.client.UpdateManager$1.run(UpdateManager.java:413)
          com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
          java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
          java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
          java.lang.Thread.run(Thread.java:619)
    2011-06-14 12:55:55 INFO: Running shutdown sequence. (RapidMinerGUI$ShutdownHook.run())
    2011-06-14 12:55:55 CONFIG: Saving perspectives. (ApplicationPerspectives.saveAll())
    2011-06-14 12:55:55 CONFIG: Saving operator usage. (UsageStatistics.save())


    But before it hanged after

    2011-06-14 12:55:42 INFO: Cannot download news: java.net.UnknownHostException: news.rapidminer.com (WelcomeScreen$2.run())
      java.net.UnknownHostException: news.rapidminer.com
          java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
          java.net.Socket.connect(Socket.java:519)
          java.net.Socket.connect(Socket.java:469)
          sun.net.NetworkClient.doConnect(NetworkClient.java:157)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:515)
          sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
          sun.net.www.http.HttpClient.New(HttpClient.java:306)
          sun.net.www.http.HttpClient.New(HttpClient.java:318)
          sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
          sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)
          java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
          javax.swing.JEditorPane.getStream(JEditorPane.java:777)
          javax.swing.JEditorPane.setPage(JEditorPane.java:418)
          com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:240)



    Maybe you need localhost for some reason and it cycles.

    Maybe you have an idea. Otherwise I will try to reproduce it in the train (as last week), strace it and send it to you.

    Thanks for any advice,

    Holm






  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,995 RM Engineering
    Hi,

    great :)
    I think you can use this command on linux to generate the thread dump when RapidMiner should hang itself up again.

    kill -3 process_id

    Where the process_id is the process number of the running Java process. The thread dump will be sent to wherever standard out is redirected too.

    Regards,
    Marco
  • Options
    kicker74kicker74 Member Posts: 6 Contributor II
    Hi Marco,

    today I could reproduce the problem: Interesting thing: after exact 20 seconds I will get the first error message (so logs), than - after 7 minutes - rapidminer starts. Sorry for the long post but here are the logs: I started it twice, first try I interrupted with kil -3 , second try started after 7 minutes.
    All important thing are bold:

    - starting with
    - java -Xms5m -Xmx700m -Dorg.jpedal.jai=true -jar /usr/local/rapidminer/lib/rapidminer.jar


    2011-06-16 10:06:46 CONFIG: Loading renderers from 'ioobjects.xml'.  (RendererService.init())
    2011-06-16 10:07:07 INFO: Cannot download news: java.net.UnknownHostException: news.rapidminer.com (WelcomeScreen$2.run())
      java.net.UnknownHostException: news.rapidminer.com                                                                                                                         
          java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)                                                                                                             
          java.net.Socket.connect(Socket.java:519)                                                                                                                               
          java.net.Socket.connect(Socket.java:469)                                                                                                                               
          sun.net.NetworkClient.doConnect(NetworkClient.java:157)                                                                                                                 
          sun.net.www.http.HttpClient.openServer(HttpClient.java:388)                                                                                                             
          sun.net.www.http.HttpClient.openServer(HttpClient.java:515)                                                                                                             
          sun.net.www.http.HttpClient.<init>(HttpClient.java:233)                                                                                                                 
          sun.net.www.http.HttpClient.New(HttpClient.java:306)                                                                                                                   
          sun.net.www.http.HttpClient.New(HttpClient.java:318)                                                                                                                   
          sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)                                                                               
          sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)                                                                                   
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)                                                                                         
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)                                                                                 
          java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)                                                                                                 
          javax.swing.JEditorPane.getStream(JEditorPane.java:777)                                                                                                                 
          javax.swing.JEditorPane.setPage(JEditorPane.java:418)
          com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:240)


    - rapidminer hangs with "Creating Frame" in the logo
    - kill -3 process_id


    2011-06-16 12:08:55
    Full thread dump Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode):

    "Thread-3" daemon prio=10 tid=0x8432a400 nid=0x85a runnable [0x84247000..0x84247e00]
      java.lang.Thread.State: RUNNABLE
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
            at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
            at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
            - locked <0x8599aba0> (a java.io.BufferedInputStream)
            at sun.net.www.MeteredStream.read(MeteredStream.java:116)
            - locked <0x8599f220> (a sun.net.www.http.KeepAliveStream)
            at java.io.FilterInputStream.read(FilterInputStream.java:116)
            at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2364)
            at java.io.DataInputStream.read(DataInputStream.java:132)
            at sun.print.IPPPrintService.readIPPResponse(IPPPrintService.java:1600)
            at sun.print.CUPSPrinter.getAllPrinters(CUPSPrinter.java:323)
            at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:186)
            - locked <0x8594c1a8> (a sun.print.UnixPrintServiceLookup)
            at sun.print.UnixPrintServiceLookup$PrinterChangeListener.run(UnixPrintServiceLookup.java:730)

    "UpdateQueue-ResultDisplayDataTableViewUpdater" daemon prio=10 tid=0x84324400 nid=0x859 in Object.wait() [0x84298000..0x84298d80]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at com.rapidminer.gui.tools.UpdateQueue.run(UpdateQueue.java:88)
            - locked <0x89b26cb8> (a java.lang.Object)

    "AWT-EventQueue-0" prio=10 tid=0x08728c00 nid=0x854 waiting for monitor entry [0x846d7000..0x846d7f00]
      java.lang.Thread.State: BLOCKED (on object monitor)
            at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:491)
            - waiting to lock <0x8594c1a8> (a sun.print.UnixPrintServiceLookup)
            at javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:166)
            at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:430)
            at sun.print.RasterPrinterJob.defaultPage(RasterPrinterJob.java:1516)
            at java.awt.print.PrinterJob.defaultPage(PrinterJob.java:372)
            at com.rapidminer.gui.tools.PrintingTools.<clinit>(PrintingTools.java:49)
            at com.rapidminer.gui.operatortree.OperatorTreePanel.<init>(OperatorTreePanel.java:67)
            at com.rapidminer.gui.MainFrame.<init>(MainFrame.java:408)
            at com.rapidminer.gui.RapidMinerGUI$1.run(RapidMinerGUI.java:239)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    "AWT-Shutdown" prio=10 tid=0x08727c00 nid=0x853 in Object.wait() [0x84728000..0x84728e80]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x88f35ac8> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:485)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
            - locked <0x88f35ac8> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:619)

    "TimerQueue" daemon prio=10 tid=0x086d3400 nid=0x852 in Object.wait() [0x84779000..0x84779e00]
      java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at javax.swing.TimerQueue.run(TimerQueue.java:236)
            - locked <0x8909c150> (a javax.swing.TimerQueue)
            at java.lang.Thread.run(Thread.java:619)

    "AWT-XAWT" daemon prio=10 tid=0x0855dc00 nid=0x851 runnable [0x84951000..0x84951d80]
      java.lang.Thread.State: RUNNABLE
            at sun.awt.X11.XToolkit.waitForEvents(Native Method)
            at sun.awt.X11.XToolkit.run(XToolkit.java:585)
            at sun.awt.X11.XToolkit.run(XToolkit.java:560)
            at java.lang.Thread.run(Thread.java:619)

    "Java2D Disposer" daemon prio=10 tid=0x0853ec00 nid=0x850 in Object.wait() [0x849be000..0x849bf100]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
            - locked <0x88f76450> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
            at sun.java2d.Disposer.run(Disposer.java:125)
            at java.lang.Thread.run(Thread.java:619)

    "Low Memory Detector" daemon prio=10 tid=0x080be800 nid=0x84e runnable [0x00000000..0x00000000]
      java.lang.Thread.State: RUNNABLE

    "CompilerThread0" daemon prio=10 tid=0x080bd000 nid=0x84d waiting on condition [0x00000000..0x850e2a18]
      java.lang.Thread.State: RUNNABLE

    "Signal Dispatcher" daemon prio=10 tid=0x080bbc00 nid=0x84c waiting on condition [0x00000000..0x00000000]
      java.lang.Thread.State: RUNNABLE

    "Finalizer" daemon prio=10 tid=0x080a8c00 nid=0x84b in Object.wait() [0x853bd000..0x853bde80]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
            - locked <0x88f0fbb0> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

    "Reference Handler" daemon prio=10 tid=0x080a7800 nid=0x84a in Object.wait() [0x8540e000..0x8540ee00]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
            - locked <0x88f0fc40> (a java.lang.ref.Reference$Lock)

    "main" prio=10 tid=0x08058800 nid=0x848 in Object.wait() [0xb7677000..0xb76781d8]
      java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:992)
            - locked <0x8988fbd0> (a java.awt.EventQueue$1AWTInvocationLock)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
            at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:236)
            at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:504)
            at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:487)

    "VM Thread" prio=10 tid=0x080a4800 nid=0x849 runnable

    "VM Periodic Task Thread" prio=10 tid=0x080c0000 nid=0x84f waiting on condition

    JNI global references: 1156

    Heap
    def new generation  total 1280K, used 643K [0x85920000, 0x85a80000, 0x88ef0000)
      eden space 1152K,  44% used [0x85920000, 0x859a0fc0, 0x85a40000)
      from space 128K, 100% used [0x85a60000, 0x85a80000, 0x85a80000)
      to  space 128K,  0% used [0x85a40000, 0x85a40000, 0x85a60000)
    tenured generation  total 16668K, used 12659K [0x88ef0000, 0x89f37000, 0xb1520000)
      the space 16668K,  75% used [0x88ef0000, 0x89b4cc58, 0x89b4ce00, 0x89f37000)
    compacting perm gen  total 24832K, used 24783K [0xb1520000, 0xb2d60000, 0xb5520000)
      the space 24832K,  99% used [0xb1520000, 0xb2d53e38, 0xb2d54000, 0xb2d60000)
    No shared spaces configured.







    - Trying it again




    2011-06-16 10:06:46 CONFIG: Loading renderers from 'ioobjects.xml'. (RendererService.init())
    2011-06-16 10:07:07 INFO: Cannot download news: java.net.UnknownHostException: news.rapidminer.com (WelcomeScreen$2.run())
      java.net.UnknownHostException: news.rapidminer.com
          java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
          java.net.Socket.connect(Socket.java:519)
          java.net.Socket.connect(Socket.java:469)
          sun.net.NetworkClient.doConnect(NetworkClient.java:157)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:515)
          sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
          sun.net.www.http.HttpClient.New(HttpClient.java:306)
          sun.net.www.http.HttpClient.New(HttpClient.java:318)
          sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
          sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)
          java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
          javax.swing.JEditorPane.getStream(JEditorPane.java:777)
          javax.swing.JEditorPane.setPage(JEditorPane.java:418)
          com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:240)
    2011-06-16 10:14:01 SEVERE: Could not open http://rapid-i.com/wiki/index.php?title=Process: rapid-i.com (OperatorDocLoader.parseDocumentForOperator())
    2011-06-16 10:14:04 CONFIG: Loading perspectives. (ApplicationPerspectives.loadAll())
    2011-06-16 10:14:04 CONFIG: Ignoring update check. Last update check was on Tue Jun 14 13:12:07 GMT 2011 (UpdateManager.checkForUpdates())

    ... now it starts (after 7 minutes)

    I am pretty sure it is just a missing timeout check.

    Thanks for any advice,

    Holm


  • Options
    wesselwessel Member Posts: 537 Maven
    Hey.

    I worked on both Gentoo Linux and Ubuntu Linux, never had this problem. :-/

    Maybe you should give it more memory?

    5m is rather little.

    Best regards,

    Wessel
  • Options
    kicker74kicker74 Member Posts: 6 Contributor II
    Hi Wessel,

    has absolutely nothing to do with that:

    Xms is for the swap, xmx is for executing.

    So I give rapidminer 700 megabyte (not 5).The more you give for Xms the more the harddisc is busy (because it has to write the swap - and writing 700 megabyte after every change will takes some time.)

    Once again (to reproduce it):

    - Plug of your eth0 cable (just all net connection)
    - boot your distribution (in my case Gentoo)
    - start rapidminer
    - it takes 7 minutes to start

    If I would in the cable e.g. after 2 minutes (not waiting 7) immediately it starts.

    Also the log will show it: SEVERE: Could not open http://rapid-i.com/wiki/index.php?title=Process: rapid-i.com (OperatorDocLoader.parseDocumentForOperator())


    Thanks for any advice,

    Holm










  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,995 RM Engineering
    Hi,

    very helpful thread dump, thanks :)
    The problem might be this java bug on unix.
    You could try to append -Dsun.java2d.print.polling=false when starting RapidMiner, which seems to be the workaround for said bug. Hopefully that will help :)

    Regards,
    Marco
  • Options
    wesselwessel Member Posts: 537 Maven
    Hey,

    Okay, so memory probably has nothing to do with it.
    kicker74 wrote:

    Xms is for the swap, xmx is for executing.
    So I give rapidminer 700 megabyte (not 5).The more you give for Xms the more the harddisc is busy (because it has to write the swap - and writing 700 megabyte after every change will takes some time.)
    My computer does not have a swap.
    So how can it be busy swapping to a hard disk?

    I run with java -Xms2G -Xmx12G.
    I'm not sure what is the recommended setting.
    But growing the heap can also take time.
    So probably you want to set -Xms to roughly twice the size of your data set?

    If you profile a Java program you can see the heap growing at run time.
    Java often creates a bigger Heap then it actually needs.
    This might be beneficial to Java garbage collection.
  • Options
    kicker74kicker74 Member Posts: 6 Contributor II
    Hi Wessel, hi Boeck,

    thanks for your reply. I will give it a try with the Workaround and will post it to this topic.

    @Wessel and all other users who read this topic: as Wessel wrote: has nothing to do with the memory. About 5 minutes ago I tested with

    java  java -Xms2G -Xmx12G -Dorg.jpedal.jai=true -jar /usr/local/rapidminer/lib/rapidminer.jar

    as Wessel suggested: still the same problem.

    OK, will post soon whether the workaround helped.

    Thanks

    Holm


  • Options
    kicker74kicker74 Member Posts: 6 Contributor II
    Hi Wessel, hi Marco,

    ok: it is solved. It was a bug in my Sun JDK. I used the first version of Sun JDK 1.6.0. Yesterday I started rapidminer on another computer: also offline, But in contrast to my home computer rapidminer started really quick (...did not wait for a response of news.rapidminer.com)

    So I deleted my jdk1.6.0_01/ and installed the newest jdk1.6.0_26.

    Everything works now like clockwork.

    Thanks for all your tips, I try to change the Subject to SOLVED: Re: Working offline possible ?

    Holm
  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,995 RM Engineering
    Hi,

    glad to hear that :)

    Regards,
    Marco
  • Options
    wesselwessel Member Posts: 537 Maven
    Ah,

    Well that explains why I can't reproduce the error! :-D

    Best regards,

    Wessel
Sign In or Register to comment.