Topic: jboss的deployer.bat怎么用

  Print this page

1.jboss的deployer.bat怎么用 Copy to clipboard
Posted by: zuohaosh
Posted on: 2004-01-13 10:07

我想用jboss的deployer.bat程序redeploy或undeploy一些war。可是总报以下错误。请问各位该批处理怎样用才ok?

D:\jboss\bin>deployer --server=localhost --undeploy=remoteinstall.war
Exception in thread "main" java.lang.NullPointerException
at javax.naming.InitialContext.getURLScheme(InitialContext.java:224)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:273)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.jmx.service.RemoteDeployer.lookupRemoteMBeanServer(RemoteDe
ployer.java:150)
at org.jboss.jmx.service.RemoteDeployer.init(RemoteDeployer.java:121)
at org.jboss.jmx.service.RemoteDeployer.<init>(RemoteDeployer.java:95)
at org.jboss.jmx.service.RemoteDeployer.<init>(RemoteDeployer.java:105)
at org.jboss.jmx.service.RemoteDeployer.main(RemoteDeployer.java:434)
请按任意键继续. . .

2.Re:jboss的deployer.bat怎么用 [Re: zuohaosh] Copy to clipboard
Posted by: Jove
Posted on: 2004-01-13 10:14

你直接把war扔到deploy目录,如jboss-3.2.3\server\default\deploy,就可以了

3.Re:jboss的deployer.bat怎么用 [Re: zuohaosh] Copy to clipboard
Posted by: zuohaosh
Posted on: 2004-01-13 10:51

能告诉我jbx的undeploy和redeploy是怎样实现的吗?
难道就仅仅是改目录名而已?


   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