我在添加用戶到我的weblogic 12.2.1服務器時遇到了一些麻煩。要啓動服務器我用貨1.6.2將用戶添加到weblogic服務器
[INFO] [talledLocalContainer] Adding users and groups to WebLogic domain.
[WARNING] [talledLocalContainer] ERROR: transport error 202: bind failed: Address already in use
[WARNING] [talledLocalContainer] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[WARNING] [talledLocalContainer] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
[WARNING] [talledLocalContainer] org.codehaus.cargo.util.CargoException: Cannot execute WLST script.
[ERROR] Starting container [org.codeha[email protected]985696] failed
org.codehaus.cargo.util.CargoException: Cannot execute WLST script.
at org.codehaus.cargo.container.weblogic.WebLogic121xInstalledLocalContainer.executeScript(WebLogic121xInstalledLocalContainer.java:205)
at org.codehaus.cargo.container.weblogic.WebLogic121xInstalledLocalContainer.executePostStartTasks(WebLogic121xInstalledLocalContainer.java:147)
at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:233)
at org.codehaus.cargo.maven2.ContainerStartMojo.executeLocalContainerAction(ContainerStartMojo.java:84)
at org.codehaus.cargo.maven2.ContainerRunMojo.doExecute(ContainerRunMojo.java:96)
at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:462)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
我的貨物有趣的部分是地產板塊,當我離開了cargo.servlet.users
<properties>
<cargo.servlet.port>7001</cargo.servlet.port>
<cargo.port.offset>1</cargo.port.offset>
<cargo.jvmargs>
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6000 -Xnoagent
-Djava.compiler=NONE
</cargo.jvmargs>
<cargo.servlet.users>
test-clientid:passw0rd:advisor|customer1:passw0rd:
</cargo.servlet.users>
<cargo.logging>high</cargo.logging>
<deployable.location>${project.basedir}/lanc-application/target/land-register-connector.ear
</deployable.location>
<deployable.plan.env>${env}</deployable.plan.env>
</properties>
型材工作正常。我嘗試了另一個調試端口,但沒有運氣。
任何想法?
你想使用WLST腳本來創建用戶? – Ravi
不,我正試圖通過貨物插件來做到這一點 – stuf99
不知道關於貨物插件 – Ravi