奇怪的部署问题!

friday1103 2003-09-14 09:27:57
weblogic正确启动后,"deploy" jsp时,发生这种问题。
而其他的"redeploy","undeploy"都是好的。
我用的是jbuilder9,这是怎么回事啊?奇怪!

D:\bea\jdk131_02\bin\javaw -classpath D:\bea\weblogic700\server\lib\weblogic_sp.jar;D:\bea\weblogic700\server\lib\weblogic.jar;D:\bea\weblogic700\server\lib\webservices.jar; weblogic.Deployer -user system -adminurl http://znn:7001 -password 11111111 -deploy -name test1 -upload -source D:/myJSP/test1/test1.war -targets myserver
WebLogic Application Deployment Utility



Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]



where options include:

-help Print this help message.

-version Print version information.

-adminurl <https://<server>:<port>> The URL of the administration server: default

http://localhost:7001

-user <user> A user other than the default of

"installadministrator"

-password <password> Specifies the password on the command line.

If this option is absent the user is

prompted.

-verbose Displays additional status during the

deployment process, including notifications

when the application is prepared and

activated on each target.

-debug Displays debug level messages to the standard

output.

-examples Display example usage of this tool.

-upload Causes the specified source file(s) to be

transferred to the adminstration server. This

is used when the Deployer tools is not being

used on the same machine as the adminstration

server and the user does not otherwise have

access to place the targeted files on the

adminstration server.

-delete_files Causes the server to remove the files that

are specified in the file list and leave the

application activated. This option is valid

only for unarchived web applications.

-remote Signals that the tools is not runnning on the

same machine as the adminstration server and

that the source path should be made passed

through unchanged as it represents the path

on the remote server.

-nostage Sets the stagingMethod attribute on the

application mbean when it is created so that

the application will not be staged and the

original source is be used.

-external_stage Sets the stagingMethod attribute on the

application mbean when it is created so that

the application will not be staged but the

value of the staging path will be used when

preparing the application.

-stage Sets the stagingMethod staging attribute on

the application when it is created so that

the application will always be staged. This

value will override the stagingMethod

attribute on any targeted servers.

-nowait Once the action is initiated the tool will

print the task id and exit. This is used to

initiate multiple tasks and then monitor them

later using the -list action.

-timeout <seconds> The maximum time in seconds to wait for the

completion of the deployment task. When the

time expires the current status is printed

and the program exits.

-source <archive file or directory> Location of the file or directory that

represents the enterprise component or

application tha is being (re)activated. If

the source file is relative it is relative to

the current directory, unless the -remote

option is used. To specify individual files

within an application for reployment or

addition list them at the end of the command

line.

-name <application name> The name of the application being deployed.

-targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or

cluster names. Each target may be qualified

with a J2EE component name. This enables

different components of the archive to

deployed on different servers.

-id <task identifier> Optional client supplied unique identifier

for the deployment task. The id is first

specified to -activate, -deactivate,

-unprepare or -remove. It is then used later

as an argument to -cancel or -list.

-activate (Re)activates the <source> application on the

<targets> with the <name>.

-deactivate Deactivates the application <name> on the

<targets> leaving an staged application files

in a state where the may be quickly

reactivated.

-unprepare Deactivates and unloads classes for the

application <name> on the <targets> leaving

an staged application files in a state where

the may be quickly reloaded.

-remove Deactivates the application <name> on the

<target> and removes any files that were

staged for this application. If there are no

longer any targets for the application, the

associated configuration is completely

removed.

-cancel Atempts to cancel the task <id> if it is has

not yet completed.

-list Lists the target status of each task <id>

-deploy a convenient alias for activate.

-undeploy a convenient alias for unprepare.


Optionally a list of the specific files in the archive that are to be
redeployed may be specified. If a directory is specified the entire subtree is
redeployed.

Full documentation on this tool is available at:
http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475



No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.

Type java weblogic.Deployer -examples for example usage.
...全文
76 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
friday1103 2003-09-15
  • 打赏
  • 举报
回复
不是war的问题,因为别的war包也出现相同的问题。
我觉得可能是jbuilder9的问题。
lydong 2003-09-15
  • 打赏
  • 举报
回复
与Weblogic内置的Sample程序冲突,把你的war包改成其他名字,把test1.war 改成 myweb1.war试试。
friday1103 2003-09-15
  • 打赏
  • 举报
回复
为什么没人帮忙啊?呜呜!

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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