Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Performance proble for PluginRegistry.init() on eclipse/tomcat

  1. #1
    Join Date
    Sep 2012
    Posts
    19

    Default Performance proble for PluginRegistry.init() on eclipse/tomcat

    Hi,

    I initialize Kettle at the start of my j2ee application.
    On tomcat on my linux server it's pretty quick but on my developpement environment based on eclipse and tomcat it takes around 10 min.

    taken into debug it is struck on PluginRegistry.init() in the initialize sequence.

    Did somebody already seen this problem?

    Thx

    Jer

  2. #2
    Join Date
    Sep 2012
    Posts
    19

    Default

    I continue to seek for. It seems that it is the jar search for xml files which takes a very long time. It seraches into all eclipse jar : 943 in my case.
    Any idea to correct this?

  3. #3
    Join Date
    Sep 2012
    Posts
    19

    Default

    The plugin folder (this.getFolder of PluginFolder = plugin) returns the path of my eclipse plugins. How to avoid that?

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Specify a better working directory for your launch configuration in Eclipse perhaps?

    For example:

    Code:
    ${workspace_loc:Your Project/KettleHome/}

  5. #5
    Join Date
    Sep 2012
    Posts
    19

    Default

    Thx Matt
    My Launch configuration of my tomcat server in eclipse is "outside" of Eclispe :
    Code:
    -Dcatalina.base="C:\AppPortables\Tomcat6" -Dcatalina.home="C:\AppPortables\Tomcat6" -Dwtp.deploy="C:\AppPortables\Tomcat6\wtpwebapps" -Djava.endorsed.dirs="C:\AppPortables\Tomcat6\endorsed"
    Or I make a mistake : It's not that launch congiguration

  6. #6
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    I would expect an option like -Duser.dir=

  7. #7
    Join Date
    Sep 2012
    Posts
    19

    Default

    Quote Originally Posted by MattCasters View Post
    I would expect an option like -Duser.dir=
    Great it works! Many thanks. That will save my time.

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.