命令行界面如何管理Weblogic 6.1?

michelangelo 2002-09-30 11:37:56
我是按照手册一步一步来的:
1、Install and configure the WebLogic Server software, as described in the WebLogic Server Installation Guide

2、Set CLASSPATH correctly.

3、Enable the command-line interface by performing one of the following steps:
-Start the server from the directory in which it was installed.
-If you are not starting the server from its installation directory, enter the following command, replacing c:/weblogic with the name of the directory in which the WebLogic Server software is installed:
-Dweblogic.system.home=c:/weblogic
======================================
可是运行某个命令的帮助,
java weblogic.Admin HELP [XXX]
会有如下错误:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Admin
不知这是为什么,如何能正确执行?
...全文
59 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
michelangelo 2002-10-04
  • 打赏
  • 举报
回复
我把路径改成绝对路径后,运行:

java utils.dbping MSSQLSERVER4 sa "" TitanCom@localhost:1433

会有如下错误:

Exception in thread "main" java.lang.NoClassDefFoundError: utils/dbping

请问为什么?
favourl 2002-10-01
  • 打赏
  • 举报
回复
java -classpath . weblogic.Admin HELP [XXX]
littlecong 2002-10-01
  • 打赏
  • 举报
回复
如果你的classpath没有问题,那么要确定你是在哪个目录下执行的命令,因为你的classpath用的是相对路径,
michelangelo 2002-09-30
  • 打赏
  • 举报
回复
类路径应该没有问题吧?
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;C:\SQLServer\JDBC\lib\msbase.jar;C:\SQLServer\JDBC\lib\msbase.mssqlserver.jar;C:\SQLServer\JDBC\lib\msutil.jar;.\lib\wlepool.jar;.\lib\wleorb.jar;
zfluo 2002-09-30
  • 打赏
  • 举报
回复
没有设置好classpath

1,236

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧