[ http://jira.codehaus.org/browse/MOJO-559?page=comments#action_81540 ] Scott Ryan commented on MOJO-559: ---------------------------------
You cannot use http protocol to contact the admin server on weblogic 8.1. Since you are using the 2.8.0 version of the plugin I assume you are also using weblogic 8.1. Change your protocol to t3 or take the default and you will be ok. Weblogic 9.0 will accept http protocol to the admin server however you must do some configuration to get this to work. See the Weblogic 9.0 documentation to understand how to configure that when you get to Weblogic 9.0 Try the t3 protocol and let me know how it works out. > 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
