The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java, Tomcat and CL 6.5 update failure

Discussion in 'CloudLinux' started by chrismfz, Dec 2, 2013.

  1. chrismfz

    chrismfz Well-Known Member

    Joined:
    Jul 4, 2007
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Greece
    cPanel Access Level:
    DataCenter Provider
    Is there anyone out there having the same problem or it's just me ?

    Updating a few servers to 6.5, all fine until I reached a server with tomcat installed.

    Update broken due to dependencies. Digging the errors I found it couldn't update because of the java package that is required by tomcat rpm packages.

    Even digging more and getting the rpm locally that the system thinks it doesn't exists, again I got the same error

    Code:
    ---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.45-2.4.3.2.el6_4 will be updated
    ---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.45-2.4.3.3.el6 will be an update
    --> Finished Dependency Resolution
    Error: Package: easy-mysql-connector-java-5.1.25-0.noarch (installed)
               Requires: java7 >= 1.7.0
               Removing: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64 (@cloudlinux-x86_64-server-6)
                   java7 = 1:1.7.0
               Updated By: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 (/java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64)
                   Not found
    
    It seems that the system searches for java7 instead of openjdk-1.7.


    Anyone else having same trouble when trying to update from 6.4 to 6.5 ?


    ---Edit---
    As I was writing this Ken Folse was kind enough to dig deeper and find an internal case (84205) with this issue, quoting the temporary solution:

     
    #1 chrismfz, Dec 2, 2013
    Last edited: Dec 2, 2013
  2. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    It seems the problem is with : easy-mysql-connector-java-5.1.25-0.noarch it has dependencies that conflict with RHEL 6.5 (and as the result CL6.5/CentOS6.5)
     
  3. MH-Stefan

    MH-Stefan Member

    Joined:
    Dec 3, 2013
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We're having the same issue. I assume we have to wait until Java is updated?
     

Share This Page