weblogic从12.1.3.0到14.1.1.0

wz1wpwve  于 2021-08-20  发布在  Java
关注(0)|答案(0)|浏览(354)

我们正在尝试将weblogic从12.1.3.0升级到14.1.1.0。我们尝试复制同一个域,但在启动托管服务器时,托管服务器中的jdbc连接失败。
未拾取/config/jdbc下的jdbc连接文件,但数据源连接失败。
复制域中的lib文件夹具有ojdc6.jar。我们已经尝试用ojdbc8.jar、ojdbc7.jar、ojdbc14.jar替换它。所有这些都显示相同的错误。
我们的linux平台是rhel 8,我们也无法从linux运行reconfig.sh,因为gui功能在我们的服务器中被阻止
错误详细信息:

<Jul 8, 2021 8:55:03,448 PM EEST> <Info> <CONCURRENCY> <BEA-2162600> <Creating ManagedThreadFactory "DefaultManagedThreadFactory" (module="null", application="CP-OCMCPo
ol")>
<Jul 8, 2021 8:55:03,449 PM EEST> <Info> <CONCURRENCY> <BEA-2162610> <Creating ManagedExecutorService "DefaultManagedExecutorService" (module="null", application="CP-OC
MCPool", workmanager="default")>
<Jul 8, 2021 8:55:03,449 PM EEST> <Info> <CONCURRENCY> <BEA-2162611> <Creating ManagedScheduledExecutorService "DefaultManagedScheduledExecutorService" (module="null",
application="CP-OCMCPool", workmanager="default")>
<Jul 8, 2021 8:55:03,454 PM EEST> <Info> <JDBC> <BEA-001177> <Creating data source connection pool named CP-OCMCPool, URL = xxxxxx, Properties = xxxxxx.>
<Jul 8, 2021 8:55:03,469 PM EEST> <Info> <Common> <BEA-000626> <Free resources in pool "CP-OCMCPool" will be tested every "300" seconds.>

<Jul 8, 2021 8:55:05,487 PM EEST> <Info> <JDBC> <BEA-001508> <Destroying data source connection pool CP-OCMCPool.>
<Jul 8, 2021 8:55:05,490 PM EEST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "CP-OCMCPool" due to error weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Could not create pool connection for datasource 'CP-OCMCPool'. The DBMS driver exception was: null
weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Could not create pool connection for datasource 'CP-OCMCPool'. The DBMS driver exception was: null
        at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:406)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
        at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:37)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:77)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)
        at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
        at weblogic.deploy.internal.targetserver.SystemResourceDeployment.prepare(SystemResourceDeployment.java:66)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:41)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:193)
        at weblogic.management.deploy.internal.AppTransition$1.transitionAppInternal(AppTransition.java:32)
        at weblogic.management.deploy.internal.AppTransition.transitionApp(AppTransition.java:138)
        at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:741)
        at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:153)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:363)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:232)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)
        at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
        at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1268)
        at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:309)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:351)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
        at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:281)
        at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:65)

请查找我们正在使用的jdbc.xml文件。

<?xml version="1.0" encoding="UTF-8"?>
<jdbc-data-source xsi:schemaLocation="http://www.bea.com/ns/weblogic/jdbc-data-source http://www.bea.com/ns/weblogic/jdbc-data-source/1.0/jdbc-data-source.xsd" xmlns="http://xmlns.oracle.com/weblogic/jdbc-data-source" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <name>CP-OCMCPool</name>
  <internal-properties>
    <property>
      <name>LegacyType</name>
      <value>1</value>
    </property>
  </internal-properties>
  <jdbc-driver-params>
    <url>jdbc:oracle:thin:@XXX:1521:XXX</url>
    <driver-name>net.bull.javamelody.JdbcDriver</driver-name>
    <properties>
      <property>
        <name>user</name>
        <value>XXX</value>
      </property>
    </properties>
    <password-encrypted>XXX<password-encrypted>
  </jdbc-driver-params>
  <jdbc-connection-pool-params>
    <max-capacity>10</max-capacity>
    <capacity-increment>2</capacity-increment>
    <connection-creation-retry-frequency-seconds>600</connection-creation-retry-frequency-seconds>
    <test-frequency-seconds>300</test-frequency-seconds>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <inactive-connection-timeout-seconds>5400</inactive-connection-timeout-seconds>
    <test-table-name>dual</test-table-name>
    <login-delay-seconds>1</login-delay-seconds>
    <init-sql>SQL alter session set REMOTE_DEPENDENCIES_MODE = SIGNATURE</init-sql>
  </jdbc-connection-pool-params>
</jdbc-data-source>

你能在这个问题上帮助我们吗。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题