There are instructions in the documentation FAQ. You need to enable
http from the console to respond to 7001.
Scott Ryan
President/CTO
Soaring Eagle L.L.C.
www.soaringeagleco.com
sc...@theryansplace.com
(303) 263-3044
On Mar 4, 2009, at 3:38 PM, Davis Ford wrote:
Hi, I'm trying to use weblogic-maven-plugin. plugin config below. I
have done a manual mvn install for all the dependencies and they are
satisfied. I started weblogic, and I can go to http://localhost:7001
in my browser and see the start page. I logged into the admin console
with weblogic/weblogic
However, when I run mvn weblogic:start it says this -- any ideas?
[INFO] [weblogic:start]
[INFO] Weblogic artifact start beginning with parameters
DeployMojoBase[adminServerHostName = localhost, adminServerProtocol =
http, adminServerPort = 7001, userId = weblogic, password = weblogic,
artifactPath = C:\SVN\servicelink\drm-webapp\target/drm-webapp,
projectPackaging = war, name =
drm-webapp, targetNames = AdminServer, remote = false]
[INFO] Weblogic Deployment parameters [-adminurl,
http://localhost:7001, -username, weblogic, -password, weblogic,
-verbose, -name, drm-webapp, -targets, AdminServer, -start]
weblogic.Deployer invoked with options: -adminurl
http://localhost:7001 -username weblogic -verbose -name drm-webapp
-targets AdminServer -start
Unable to connect to 'http://localhost: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. 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.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<configuration>
<adminServerHostName>localhost</adminServerHostName>
<adminServerPort>7001</adminServerPort>
<adminServerProtocol>http</adminServerProtocol>
<userId>weblogic</userId>
<password>weblogic</password>
<upload>false</upload>
<remote>false</remote>
<verbose>true</verbose>
<debug>false</debug>
<targetNames>AdminServer</targetNames>
<exploded>false</exploded>
</configuration>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar
</systemPath>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>weblogic</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>webservices</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>xbean</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>javelinx</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>bcel</artifactId>
<version>5.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>wlw-util</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>wlw-langx</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>weblogic-container-binding
</artifactId>
<version>${weblogic.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</plugin>
--
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email