Topic: Weblogic8.1+jbuilder2006,deploy的问题

  Print this page

1.Weblogic8.1+jbuilder2006,deploy的问题 Copy to clipboard
Posted by: adun
Posted on: 2005-10-27 18:34

在jbuilder里配置好weblogic8.1后,
作一个简单的j2ee应用,
服务器端正常启动(在jbuilder2006中启动weblogic),
deploy一个应用时,比如 Module1.jar
F:\bea\jdk141_05\bin\javaw -classpath F:\java\JBuilder2006\thirdparty\ws-axis\lib\jaxrpc.jar;F:\bea\weblogic81\server\lib\weblogic_sp.jar;F:\bea\weblogic81\server\lib\weblogic.jar;F:\bea\weblogic81\server\lib\webservices.jar;F:\java\JBuilder2006\lib\jds.jar;F:\java\JBuilder2006\lib\jdsremote.jar;F:\java\JBuilder2006\lib\jdsserver.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password system -activate -name Module1 -sourcerootforupload F:/java/jbproject/J2EEBean/ Module1.jar -targets myserver
Usage: java weblogic.Deployer [options] [actions] [FileMoon]

where options include:
-adminurl <<protocol>://<server>:<port>> Administration server URL:
default iiop://localhost:7001
-username <username> user name
-password <password> password for the user
-userconfigfile <userconfigfile> The user config file contains the
user security credentials; it is administered
by the weblogic.Admin tool
-userkeyfile <keyConfigFile> The users key file; it is administered
by the weblogic.Admin tool.
-examples Displays example usage of this tool.
-name <application name> Defaults to the basename of the deployment
file or directory.
-targets <<targetMoon>> A comma separated list of targets for the
current operation. If not specified, all
configured targets are used. For a new
application, the default target is the
administration server.
-deploy Make an application available for service.
-redeploy Replace a running application partially or
entirely.
-undeploy Take an application out of service.
Unrecognized option or flag, -sourcerootforupload

问题是weblogic在部署时不认识一个叫-sourcerootforupload的参数,
这个参数是jbuilder2006传过去的,
请问谁知道怎么修改这些参数,让jbuilder使用正确的参数。

最后我的解决办法是在WebLogic Server Administration Console,手动部署那个jar文件,
然后运行client端,
正常

2.Re:Weblogic8.1+jbuilder2006,deploy的问题 [Re: adun] Copy to clipboard
Posted by: joessy
Posted on: 2005-11-16 14:56

Weblogic8.1sp4才用-sourcerootforupload这个参数,所以
Weblogic8.1sp4+jbuilder2006,deploy没问题
以前的版本都没有这个参数,可是JB2006默认所有的Weblogic8.x都用这个参数
我也想知道JB2006里面怎么能设置这个参数:S


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923