Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server » WebLogic  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Weblogic8.1+jbuilder2006,deploy的问题
adun





发贴: 10
积分: 0
于 2005-10-27 18:34 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在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端,
正常


adun edited on 2005-10-27 18:37


[转帖]面向对象的思维方法

话题树型展开
人气 标题 作者 字数 发贴时间
14637 Weblogic8.1+jbuilder2006,deploy的问题 adun 2454 2005-10-27 18:34
12720 Re:Weblogic8.1+jbuilder2006,deploy的问题 joessy 153 2005-11-16 14:56

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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