Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Dropped JAXP from libext and the classpath, Java 6

  1. #1
    Jens Bleuel Guest

    Default Dropped JAXP from libext and the classpath, Java 6

    Hi all,

    since we use Java 5, JAXP (API for XML Processing) is included by the
    JRE. In libext the jaxp-ri.jar and jaxp-api.jar (both JAXP 1.4) have
    been there and the classpath referenced to them.

    The method
    com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl is only
    implemented since JAXP 1.4, so I tried to call it and it failed. So
    obviously JAXP 1.3 is used from Java 5, and not the jars in libext are
    used. I changed the loading sequence with java.endorsed.dirs and I got
    XMLDocumentScannerImpl from JAXP 1.4 to work, but I got issues by the
    new step loaders (posts about similar problems with the coexistence of
    the JAXP jars and Java 5 can be found here
    http://forums.java.net/jive/thread.j...32219&tstart=0).

    PDI is only using JAXP 1.3 features so Java 5 has included this
    (therefor I dropped the two jars and the references in classpath). When
    someone needs JAXP 1.4 and PDI I would suggest to use Java 6.

    I tried to run PDI with Java 6 and all went well, also the new step loaders.

    Did someone run into problems with Java 6 and PDI?

    Thanks for any suggestions on this!

    Good kettling,
    Jens


    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
    To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
    -~----------~----~----~----~------~----~------~--~---

  2. #2
    Matt Casters Guest

    Default Re: Dropped JAXP from libext and the classpath, Java 6

    I have a BIG problem with that logic since Java6 is NOT available for all
    platforms. (many OSX versions, etc)

    On top of that, Java 6 is reportedly not as stable as it should. I have
    personally experienced problems with the 1st stable releases.

    In short: we have to find a better solution, Java 6 reliance is not an option.

    I know that pretty soon we'll all be on the open sourced version Java 7, but
    until then we should be conservative.

    Just my EURO.02,

    Matt


    On Thursday 06 September 2007 23:29:31 Jens Bleuel wrote:
    > Hi all,
    >
    > since we use Java 5, JAXP (API for XML Processing) is included by the
    > JRE. In libext the jaxp-ri.jar and jaxp-api.jar (both JAXP 1.4) have
    > been there and the classpath referenced to them.
    >
    > The method
    > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl is only
    > implemented since JAXP 1.4, so I tried to call it and it failed. So
    > obviously JAXP 1.3 is used from Java 5, and not the jars in libext are
    > used. I changed the loading sequence with java.endorsed.dirs and I got
    > XMLDocumentScannerImpl from JAXP 1.4 to work, but I got issues by the
    > new step loaders (posts about similar problems with the coexistence of
    > the JAXP jars and Java 5 can be found here
    > http://forums.java.net/jive/thread.j...32219&tstart=0).
    >
    > PDI is only using JAXP 1.3 features so Java 5 has included this
    > (therefor I dropped the two jars and the references in classpath). When
    > someone needs JAXP 1.4 and PDI I would suggest to use Java 6.
    >
    > I tried to run PDI with Java 6 and all went well, also the new step
    > loaders.
    >
    > Did someone run into problems with Java 6 and PDI?
    >
    > Thanks for any suggestions on this!
    >
    > Good kettling,
    > Jens
    >
    >
    >



    --
    Matt
    ____________________________________________
    Matt Casters, Chief Data Integration
    Pentaho, Open Source Business Intelligence
    http://www.pentaho.org -- mcasters (AT) pentaho (DOT) org
    Tel. +32 (0) 486 97 29 37

    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
    To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
    -~----------~----~----~----~------~----~------~--~---

  3. #3
    Jens Bleuel Guest

    Default Re: Dropped JAXP from libext and the classpath, Java 6

    Yes, my feeling with Java 6 is the same. I searched for a solution for
    the JAXP problem and the good thing is: I made a mistake and used the
    hole libext for the java.endorsed.dirs and this produced the problem
    with other jars.

    When I copy the two JAXP jars in a directory like libext/jaxp and use
    this with the java.endorsed.dirs it works fine.

    So my proposal for using the JAXP version 1.4 would be to copy them to
    libext/jaxp and set the java.endorsed.dirs to this. So this would be
    used with Java 5 and 6.
    And if a customer needs special jars, we could add this to our bat/sh
    files like java.endorsed.dirs=libext/custom and release an empty
    libext/custom dir.

    What you think?

    Cheers,
    Jens

    Matt Casters schrieb:
    >
    > I have a BIG problem with that logic since Java6 is NOT available for all
    > platforms. (many OSX versions, etc)
    >
    > On top of that, Java 6 is reportedly not as stable as it should. I have
    > personally experienced problems with the 1st stable releases.
    >
    > In short: we have to find a better solution, Java 6 reliance is not an option.
    >
    > I know that pretty soon we'll all be on the open sourced version Java 7, but
    > until then we should be conservative.
    >
    > Just my EURO.02,
    >
    > Matt
    >
    >
    > On Thursday 06 September 2007 23:29:31 Jens Bleuel wrote:
    >> Hi all,
    >>
    >> since we use Java 5, JAXP (API for XML Processing) is included by the
    >> JRE. In libext the jaxp-ri.jar and jaxp-api.jar (both JAXP 1.4) have
    >> been there and the classpath referenced to them.
    >>
    >> The method
    >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl is only
    >> implemented since JAXP 1.4, so I tried to call it and it failed. So
    >> obviously JAXP 1.3 is used from Java 5, and not the jars in libext are
    >> used. I changed the loading sequence with java.endorsed.dirs and I got
    >> XMLDocumentScannerImpl from JAXP 1.4 to work, but I got issues by the
    >> new step loaders (posts about similar problems with the coexistence of
    >> the JAXP jars and Java 5 can be found here
    >> http://forums.java.net/jive/thread.j...32219&tstart=0).
    >>
    >> PDI is only using JAXP 1.3 features so Java 5 has included this
    >> (therefor I dropped the two jars and the references in classpath). When
    >> someone needs JAXP 1.4 and PDI I would suggest to use Java 6.
    >>
    >> I tried to run PDI with Java 6 and all went well, also the new step
    >> loaders.
    >>
    >> Did someone run into problems with Java 6 and PDI?
    >>
    >> Thanks for any suggestions on this!
    >>
    >> Good kettling,
    >> Jens
    >>
    >>
    >>

    >
    >


    --
    Jens Bleuel

    Pentaho
    The Open Source Business Intelligence Company
    Citadel International, Suite 340, 5950 Hazeltine National Dr., Orlando,
    FL 32822, USA

    Emmerich-Josef-Str. 7, 55116 Mainz, Germany

    Phone: (+49) 6131 9017 946
    Fax: (+49) 721 151478824
    Mobile: (+49) 171 79 65 661
    Skype: JensBleuel

    Download the latest release today
    <http://www.sourceforge.net/projects/pentaho>

    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
    To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
    -~----------~----~----~----~------~----~------~--~---

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.