Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Can the Maven Tomcat7 Plugin Be Used
Can the Maven Tomcat7 Plugin Be Used [message #1219598] Wed, 04 December 2013 20:21 Go to next message
Kevin Coy is currently offline Kevin CoyFriend
Messages: 7
Registered: December 2013
Junior Member
Can the tomcat7-maven-plugin be used with Virgo?

            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <version>${tomcat7.maven.version}</version>
                <configuration>
                    <!-- Tomcat 7 u40 changed from /manager/html to /manager/text -->
                    <url>localhost:8080/manager/text</url>
                    <server>TomcatServer</server>
                    <update>true</update>
                </configuration>
            </plugin>


I get a 404 ERROR when I attempt it:

[INFO] --- tomcat7-maven-plugin:2.1:deploy (default-cli) @ config-service ---
[INFO] Deploying war to localhost:8080/config-service  
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Uploading: localhost:8080/manager/text/deploy?path=%2Fconfig-service&update=true
Uploaded: localhost:8080/manager/text/deploy?path=%2Fconfig-service&update=true (37385 KB at 72732.9 KB/sec)

[INFO] tomcatManager status code:404, ReasonPhrase:Not Found


It works when pointed at Tomcat 7.0.42.

Thanks in advance!

Note: I had to remove http:// from the URLs above since I am a new member.
Re: Can the Maven Tomcat7 Plugin Be Used [message #1219605 is a reply to message #1219598] Wed, 04 December 2013 21:34 Go to previous messageGo to next message
Florian Waibel is currently offline Florian WaibelFriend
Messages: 166
Registered: June 2010
Senior Member
Hi Kevin,

did you try the Maven Plugin described in the Virgo Wiki under Virgo/Tooling?

Regards,
florian

Re: Can the Maven Tomcat7 Plugin Be Used [message #1219606 is a reply to message #1219605] Wed, 04 December 2013 21:45 Go to previous messageGo to next message
Kevin Coy is currently offline Kevin CoyFriend
Messages: 7
Registered: December 2013
Junior Member
No I did not see that Maven Plugin. I will give it a shot, but the documentation leads me to believe that it will only work with OSGi enabled WARs? At the moment, our applications have not leveraged OSGi at all.
Re: Can the Maven Tomcat7 Plugin Be Used [message #1223502 is a reply to message #1219606] Mon, 23 December 2013 15:34 Go to previous messageGo to next message
Kevin Coy is currently offline Kevin CoyFriend
Messages: 7
Registered: December 2013
Junior Member
This plugin looks like it only works with bundles. Is there a solution for deploying WARs remotely to Virgo?
Re: Can the Maven Tomcat7 Plugin Be Used [message #1241234 is a reply to message #1223502] Fri, 07 February 2014 17:18 Go to previous message
Frieder Heugel is currently offline Frieder HeugelFriend
Messages: 61
Registered: October 2010
Location: Basel, CH
Member
Hi Kevin

I'm sorry I didn't see your post before. I think it is possible to deploy war files via Virgo's JMX interface (just like the Maven plugin does). It looks like http://www.eclipse.org/forums/index.php/t/238714/ is what you are looking for.

BR
Frieder
Previous Topic:virgo servie with Apache Daemon (prunsrv.exe)
Next Topic:Configuration artifacts management
Goto Forum:
  


Current Time: Tue Apr 23 09:19:58 GMT 2024

Powered by FUDForum. Page generated in 0.03412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top