Error : Weblogic Maven Plugin deployment WebLogic 12c

Error : Weblogic Maven Plugin deployment

i want to use weblogic-maven-plugin in my maven project in eclipse so i generated weblogic-maven-plugin.jar in weblogic server 12c 1.2.1 and i am using it.

    <plugin> 
    <groupId>com.oracle.weblogic</groupId> 
    <artifactId>weblogic-maven-plugin</artifactId> 
    <version>12.1.2.0</version> 
    <configuration>
        <adminurl>t3://weblogicServerIP:7001</adminurl>
        <user>weblogic</user> 
        <password>weblogic123</password> 
        <targets>Cluster-1</targets>
        <upload>true</upload> 
        <action>deploy</action> 
        <remote>true</remote> 
        <verbose>true</verbose>
        <source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source> 
        <name>myProject</name>
    </configuration> 
    <executions> 
        <execution> 
            <phase>install</phase> 
            <goals> 
                <goal>deploy</goal> 
            </goals>
        </execution> 
    </executions> 
</plugin>

But i have a problem about weblogic maven plugin. if i built my maven project in my local to deploy, built is failed;

The args for the deployer is: -noexit -adminurl t3://weblogicServerIP:7001 -user weblogic -password ******** -deploy -name myProject -source myProject.war -targets Cluster-1 -upload -remote -verbose 
weblogic.Deployer invoked with options:  -noexit -adminurl t3://weblogicServerIP:7001 -user weblogic -deploy -name myProject -source myProject.war -targets Cluster-1 -upload -remote -verbose
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.013s
[INFO] Finished at: Mon Jan 13 10:27:27 EET 2014
[INFO] Final Memory: 9M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.oracle.weblogic:weblogic-maven-plugin:12.1.2.0:deploy (default) on project myProject: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://weblogicServerIP:7001': weblogic.security.utils.KeyStoreConfiguration. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.

i enabled tunneling of server protocol but there is nothing to change in this error. By the way i run this cmd which is below in weblogicServer cmd line, i didn't get error message. Finally my deployment was succeed.

java weblogic.Deployer -noexit -adminurl t3://weblogicServerIP:7001 -user weblogic -password weblogic123 -deploy -name myProject -source myProject.war -targets Cluster-1 -upload -verbose -debug

By the way i extracted weblogic-maven-plugin.jar and i didn't find KeyStoreConfiguration.java. i didn't find anywhere.

So what should i do? is there a newtwork problem or weblogic-maven-plugin.jar is faulty?

Could you help me?

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

示例:

setDomainEnv.cmd

java weblogic.Deployer -noexit -adminurl t3://192.168.40.29:7001 -user weblogic -password weblogic_victop -deploy -name action-json -source F:/space_ee/action-json/target/action-json.war -targets AdminServer -upload -verbose -debug

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值