Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Address already in use: JVM_Bind. Unable to list jar files in plugin folder 'plugins'

  1. #1
    Join Date
    Nov 2017
    Posts
    7

    Default Address already in use: JVM_Bind. Unable to list jar files in plugin folder 'plugins'

    Hello, Pentaho seams to be always good for wasting time. Does someone see what is wrong and why I don't get any version? The mass on error messages overflows my brain.

    Execute command:

    c:\godesys\Server\Pentaho\design-tools\data-integration>Kitchen.bat /version

    Disturbing Result:


    DEBUG: Using PENTAHO_JAVA_HOME
    DEBUG: _PENTAHO_JAVA_HOME=C:\godesys\Server\Pentaho\java
    DEBUG: _PENTAHO_JAVA=C:\godesys\Server\Pentaho\java\bin\java.exe
    DEBUG: PENTAHO_INSTALLED_LICENSE_PATH=C:\godesys\Server\Pentaho\.installedLicens
    es.xml


    c:\godesys\Server\Pentaho\design-tools\data-integration>"C:\godesys\Server\Penta
    ho\java\bin\java.exe" "-Dpentaho.installed.licenses.file=C:\godesys\Server\Penta
    ho\.installedLicenses.xml" "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dht
    tps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTL
    E_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_
    PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" "-Dpentaho.in
    stalled.licenses.file=C:\godesys\Server\Pentaho\.installedLicenses.xml" -jar lau
    ncher\pentaho-application-launcher-7.1.0.0-12.jar -lib ..\libswt\win64 -main or
    g.pentaho.di.kitchen.Kitchen -initialDir "c:\godesys\Server\Pentaho\design-tools
    \data-integration"\ /version
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
    port was removed in 8.0
    11:40:08,944 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache
    is enabled
    11:40:10,121 ERROR [ServerSocketBasedKarafInstanceResolver] Error creating Serve
    rSocket
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.DualStackPlainSocketImpl.bind0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
    at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.pentaho.platform.osgi.ServerSocketBasedKarafInstanceResolver.reso
    lveInstanceNumber(ServerSocketBasedKarafInstanceResolver.java:207)
    at org.pentaho.platform.osgi.ServerSocketBasedKarafInstanceResolver.reso
    lveInstance(ServerSocketBasedKarafInstanceResolver.java:65)
    at org.pentaho.platform.osgi.KarafInstance.assignPortsAndCreateCache(Kar
    afInstance.java:148)
    at org.pentaho.platform.osgi.KarafBoot.createAndProcessKarafInstance(Kar
    afBoot.java:329)
    at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:224)
    at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.ini
    t(OSGIPluginRegistryExtension.java:109)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:5
    96)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironm
    ent.java:115)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironm
    ent.java:79)
    at org.pentaho.di.kitchen.Kitchen$1.call(Kitchen.java:91)
    at org.pentaho.di.kitchen.Kitchen$1.call(Kitchen.java:84)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    11:40:14,179 INFO [KarafInstance]
    *******************************************************************************
    *** Karaf Instance Number: 2 at c:\godesys\Server\Pentaho\design-tools\data ***
    *** -integration\.\system\karaf\caches\kitchen\data-1 ***
    *** FastBin Provider Port:52902 ***
    *** Karaf Port:8803 ***
    *** OSGI Service Port:9052 ***
    *******************************************************************************
    Mõr 28, 2018 11:40:15 AM org.apache.karaf.main.Main$KarafLockCallback lockAquire
    d
    INFORMATION: Lock acquired. Setting startlevel to 100
    2018/03/28 11:40:16 - Kitchen - Kettle version 7.1.0.0-12, build 1, build date :
    2017-05-16 17.18.02
    2018/03/28 11:40:16 - Kitchen - Start of run.
    ERROR: Kitchen can't continue because the job couldn't be loaded.
    org.pentaho.di.core.exception.KettleFileException:


    Unable to list jar files in plugin folder 'plugins'




    Unable to get VFS File object for filename 'plugins' : Could not find file with
    URI "c:\godesys\Server\Pentaho\design-tools\data-integration\plugins" because it
    is a relative path, and no base URI was provided.










    Unable to get VFS File object for filename 'plugins' : Could not find file with
    URI "c:\godesys\Server\Pentaho\design-tools\data-integration\plugins" because it
    is a relative path, and no base URI was provided.






    at org.pentaho.di.core.plugins.PluginFolder.findJarFiles(PluginFolder.ja
    va:144)
    at org.pentaho.di.core.plugins.PluginFolder.findJarFiles(PluginFolder.ja
    va:117)
    at org.pentaho.di.core.plugins.JarFileCache.getFileObjects(JarFileCache.
    java:67)
    at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(Ba
    sePluginType.java:253)
    at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePlu
    ginType.java:556)
    at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginTy
    pe.java:120)
    at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistr
    y.java:636)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:6
    08)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:5
    75)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:136
    )
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)


    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)


    c:\godesys\Server\Pentaho\design-tools\data-integration>

  2. #2
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    You have something that is already occupying one of the following ports on your computer:
    Port:52902
    Port:8803
    Port:9052

  3. #3
    Join Date
    Nov 2017
    Posts
    7

    Default

    Hello, thank you for trying to help me. I was running a batch file which calls about 30 etl jobs in a loop. Each of them runs kitchen.bat with different job entries as parameter. 10-20 times are ok. the next times these errors occurs in each logfile. Even if I run the job manually the next day again, theses locks are still there. I don't use the repository to store kettle jobs, can I prohibit to start the jvm server (or whatever it is) which is not needed? I cannot find a clear documentation. Or how can I stop these instances automatically?

  4. #4
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    Unfortunately, no - OSGI and Karaf are baked into PDI, and cannot easily be removed.

    You could try the steps from:
    https://blog.twineworks.com/improvin...n-78d0803c559b

    however, if you are using an OSGI step, it may cause problems.

  5. #5
    Join Date
    Nov 2017
    Posts
    7

    Default

    Fine, thank you for your help. Have a nice weekend.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.