• Comments
  • ojdbc6.jar Deployment error

    Posted on

    I ask for help.

    After deploying ojdbc6.jar to Server Groups from the web console and enabling it, the log written below appears and an error occurs.


    Failed to enable ojdbc6.jar.

    Unexpected HTTP response: 500

    Request
    {
    "address" => [
    ("server-group" => "vts-it02-group"),
    ("deployment" => "ojdbc6.jar")
    ],
    "operation" => "deploy"
    }

    Response

    Internal Server Error
    {
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true,
    "server-groups" => {"vts-it02-group" => {"host" => {"master" => {"vts-it02-server" => {"response" => {
    "outcome" => "failed",
    "failure-description" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.ojdbc6.ojdbc6.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]},
    "rolled-back" => true
    }}}}}}
    }


    ExampleDS is not included in JDBC Datasources in Configuration Datasources.
    I'm setting up vtsItDs, the data source for the connection.
    If you enable this vtsItDs, the log written below will appear and an error will occur.


    Unknown error

    Unexpected HTTP response: 500

    Request
    {
    "name" => "vtsItDs",
    "user-name" => "VTS",
    "password" => "********",
    "security-domain" => "",
    "enabled" => false,
    "jndi-name" => "java:/jdbc/vts",
    "pool-name" => "",
    "transaction-isolation" => "",
    "new-connection-sql" => "",
    "connection-url" => "jdbc:oracle:thin:@146.51.23.81:1523:VTS01Q",
    "driver-class" => "",
    "datasource-class" => "",
    "use-ccm" => true,
    "driver-name" => "ojdbc6.jar",
    "valid-connection-checker-class-name" => "",
    "check-valid-connection-sql" => "",
    "background-validation" => false,
    "background-validation-millis" => -1L,
    "validate-on-match" => false,
    "stale-connection-checker-class-name" => "",
    "jta" => true,
    "exception-sorter-class-name" => "",
    "prepared-statements-cache-size" => -1L,
    "share-prepared-statements" => false,
    "use-try-lock" => 0L,
    "blocking-timeout-wait-millis" => 0L,
    "idle-timeout-minutes" => 0L,
    "set-tx-query-timeout" => false,
    "query-timeout" => 0L,
    "allocation-retry" => 0,
    "allocation-retry-wait-millis" => 0L,
    "statistics-enabled" => false,
    "operation" => "enable",
    "address" => [
    ("profile" => "full-vts-it02"),
    ("subsystem" => "datasources"),
    ("data-source" => "vtsItDs")
    ]
    }

    Response

    Internal Server Error
    {
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true,
    "server-groups" => {"vts-it02-group" => {"host" => {"master" => {"vts-it02-server" => {"response" => {
    "outcome" => "failed",
    "failure-description" => {"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
    "Services that were unable to start:" => [
    "jboss.data-source.reference-factory.vtsItDs",
    "jboss.naming.context.java.jdbc.vts"
    ],
    "Services that may be the cause:" => ["jboss.jdbc-driver.ojdbc6_jar"]
    }},
    "rolled-back" => true
    }}}}}}

    }

    How do I set ojdbc6.jar to Enable?

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.