Hi Scott -- I can confirm this is still an issue with http://snapshots.repository.codehaus.org/org/codehaus/mojo/weblogic-maven-plugin/2.9.2-SNAPSHOT/weblogic-maven-plugin-2.9.2-20090126.222231-5.jar which appears to be the latest.
Quick summary: if you run this plugin on windows and issue weblogic:deploy, it errors out with: [INFO] Weblogic Deployment parameters [-adminurl, http://localhost:7001, -username, weblogic, -password, weblogic, -name, sl-ear, -targets, ServiceLinkNode, -source, C:\SVN\servicelink\sl-ear\target/servicelink.ear, -deploy] weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -username weblogic -name sl-ear -targets ServiceLinkNode -source C:\SVN\servicelink\sl-ear\target/servicelink.ear -deploy <May 18, 2009 1:40:26 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, sl-ear [archive: C:\SVN\servicelink\sl-ear\target\servicelink.ear], to ServiceLinkNode .> no protocol: and This appears to be coming from the local maven repo being located at C:\Documents and Settings\<user>\.m2\repository One workaround is to force everyone to move their local repository to a path without the space. This is a big problem for us. A JIRA has already been issued --> http://jira.codehaus.org/browse/MOJO-1239 Confirmed that this is not a problem on the Linux platform where spaces are not in the repo path. I'll fix this myself if you tell me where to look. We need this pretty quickly. Regards, Davis On Wed, Mar 4, 2009 at 6:38 PM, Davis Ford <[email protected]> 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 > -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977
