1
@rem Add PointBase classes to the classpath, so we can start the examples
2
@rem database. Also add the examples directories specified above to the
3
@rem classpath to be picked up by WebLogic Server.
4
set CLASSPATH=d:\bea\weblogic81\server\lib\webservices.jar;%POINTBASE_CLASSPATH%;%CLIENT_CLASSES%;%SERVER_CLASSES%;%COMMON_CLASSES%;%CLIENT_CLASSES%\utils_common.jar;
5
6
@rem Start PointBase 4.4.
7
start "PointBase" cmd /c ""%JAVA_HOME%\bin\java" com.pointbase.net.netServer /port:9092 /d:3 /pointbase.ini="pointbase.ini"" > "pointbase.log" 2>&1
8
@rem *************************************************************************
9
10
@rem Call WebLogic Server
11
12
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
13

2

3

4

5

6

7

8

9

10

11

12

13

看一下line 4,受不了,竟然classpath設置后面沒有加上“;%classpath%”
害我折騰了一下午,怎么自己在classpath中已經設置了驅動程序,怎么還找不到的?
在weblogic啟動菜單的“Launch WebLogic Server Examples”的屬性里面,才找到了其真正啟動的command的位置:
D:\bea\weblogic81\common\bin\console.exe /k "d:\bea\weblogic81\samples\domains\examples\startExamplesServer.cmd"
做個記號, :(