shark建庫碰到的問題

coolfall發表於2005-05-17
配製好configure.properties和conf/Shark.conf,裝好ms的jdbc,並將幾個jar拷到lib/contrib,執行configure卻出現如下錯誤,何解??
Buildfile: configure.xml
init:
_copyNfilter:
[copy] Copying 35 files to D:\Shark
_winFileSeparator:
[replace] Replaced 19 occurrences in 2 files.
[delete] Deleting 11 files from D:\Shark
_linFileSeparator:
_recreateDB:
[delete] Deleting directory D:\Shark\db\hsql
[delete] Deleting directory D:\Shark\repository\internal\history
[delete] Deleting directory D:\Shark\repository\internal
[mkdir] Created dir: D:\Shark\db\hsql
[mkdir] Created dir: D:\Shark\repository\internal\history
[java] Default (Standard) Logger is load.
[java] Application is started.
[java] Loader loads XML file : conf/sql/msql/LoaderJob.olj
[java] XML document is valid.
[java] Import job No. 1 is started.
[java] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Er
ror establishing socket.
[java] at com.microsoft.jdbc.base.BaseExceptions.createException(Unknow
n Source)
[java] at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown S
ource)
[java] at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown S
ource)
[java] at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown
Source)
[java] at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unk
nown Source)
[java] at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(U
nknown Source)
[java] at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
[java] at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
[java] at java.sql.DriverManager.getConnection(Unknown Source)
[java] at java.sql.DriverManager.getConnection(Unknown Source)
[java] at org.webdocwf.util.loader.DBConnectionManager$DBConnectionPool
.newConnections(DBConnectionManager.java:225)
[java] at org.webdocwf.util.loader.DBConnectionManager$DBConnectionPool
.getConnection(DBConnectionManager.java:211)
[java] at org.webdocwf.util.loader.DBConnectionManager.getConnection(DB
ConnectionManager.java:149)
[java] at org.webdocwf.util.loader.Loader.load(Loader.java:1182)
[java] at org.webdocwf.util.loader.Loader.main(Loader.java:878)

BUILD FAILED
file:D:/Shark/configure.xml:124: Java returned: 1

Total time: 6 seconds

相關文章