java.lang.IllegalArgumentException 
-----------------------------------

                 Key: MOJO-559
                 URL: http://jira.codehaus.org/browse/MOJO-559
             Project: Mojo
          Issue Type: Bug
          Components: weblogic
            Reporter: Stefano Apostolico


java.lang.IllegalArgumentException: Failed to contact http://127.0.0.1:7001, 
javax.naming.CommunicationException [Root exception is 
java.net.ConnectException: http://127.0.0.1:7001: Destination unreachable; 
nested exception is:
        java.net.ProtocolException: Tunneling result unspecified - is the HTTP 
server at host: 'localhost' and port: '7001' a WebLogic Server?; No available 
router to destination]

I got this error when tried to deploy to local weblogic 8.1 sp 4 server.

- the server is online 
- i can deploy via console 
- same error with any goal
- It's a standalone server (no managed)
- no firewall

what's wrong ? 
Thanks
-------- plugin config ------------------
<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>weblogic-maven-plugin</artifactId>
                                <version>2.8.0-SNAPSHOT</version>
                                <configuration>
                                        
<adminServerHostName>127.0.0.1</adminServerHostName>
                                        <adminServerPort>7001</adminServerPort>
                                        
<adminServerProtocol>http</adminServerProtocol>
                                        <userId>weblogic</userId>
                                        <password>weblogic</password>
                                        <upload>false</upload>
                                        <remote>false</remote>
                                        <verbose>true</verbose>
                                        <debug>true</debug>
                                        <targetNames>myserver</targetNames>
                                </configuration>
                        </plugin>
 ------------------- FULL StackTrace -----------
[INFO] Running the requested task with infoDeployMojoBase[adminServerHostName = 
127.0.0.1
 adminServerPort = 7001
 adminServerProtocol = http
 name = gedap-webapp
 artifactPath = gedap-webapp.war
 password = weblogic
 remote = false
 targetNames = myserver
 userId = weblogic
 project packaging = war]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] IllegalArgumentException thrown getting deployment runtime MBean

Embedded error: Failed to contact http://127.0.0.1:7001, 
javax.naming.CommunicationException [Root exception is 
java.net.ConnectException: http://127.0.0.1:7001: Destination unreachable; 
nested exception is: 
        java.net.ProtocolException: Tunneling result unspecified - is the HTTP 
server at host: 'localhost' and port: '7001' a WebLogic Server?; No available 
router to destination]
[INFO] ------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to