尝试使用Weblogic 10.3连接Vertica DB

时间:2013-04-22 13:43:42

标签: jdbc database-connection weblogic-10.x vertica

使用Linux Redhat
我有两个以下的罐子 1 GT; Vertica的-JDBC-5.1.1.jar
2 - ; Vertica的-jdk5-6.1.1-0.jar

我遵循的步骤:
1将罐子复制到$WL_HOME/server/lib
2我将jar的路径设置为Linux Path,如下所示 导出WL_HOME=/usr/local/WL_Server10.3/sever
PATH= ${WL_HOME}/lib:${PATH}

3我修改了${WL_HOME}/common/bin/commEnv.sh

添加了我的jars条目,如下所示

# set up WebLogic Server's class path
WEBLOGIC_CLASSPATH="${JAVA_HOME}/lib/tools.
jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.
jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.
jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_13.1.1.0.
jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.
jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.
jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar
${CLASSPATHSEP}${WL_HOME}/server/lib/vertica-jdbc-5.1.1.jar
${CLASSPATHSEP}${WL_HOME}/server/lib/vertica-jdk5-6.1.1-0.jar"
export WEBLOGIC_CLASSPATH

//我也尝试了以下步骤谷歌搜索,.................可选步骤
4>已修改$ {WL_HOME}/server/lib/jdbcdrivers.xml

添加了必需参数
我没有得到填写URLClassPathName值的内容所以我忽略了它。

5>我重新启动了Weblogic服务器并登录到管理控制台
6个我添加了新的JDBC数据源

测试连接时我遇到错误:

Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error weblogic.application.ModuleException:
Message icon - Error weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: [Vertica][JDBC](10100) Connection Refused: (11640) Required Connection Key(s): user; (11480) Optional Connection Key(s): autocommit, connsettings, directbatchinsert, logintimeout, loglevel, lognamespace, logpath, readonly, resultbuffersize, sessionlabel, ssl, threepartnaming, transactionisolation

如果有人可以帮助我完成将Vertica数据库连接到Weblogic 10.3的步骤,那将会很棒

1 个答案:

答案 0 :(得分:0)

您提供了哪些连接设置:

"6> Added new JDBC Data Source
7>Followed the steps"

错误显示您缺少指定用户:

  [Vertica][JDBC](10100) Connection Refused:
  (11640) Required Connection Key(s): user;
  (11480) Optional Connection Key(s): autocommit, connsettings, directbatchinsert, logintimeout, loglevel, lognamespace, logpath, readonly, resultbuffersize, sessionlabel, ssl, threepartnaming, transactionisolation