Tomcat7-maven-plugin: Failed to initialize end point associated with ProtocolHandler

2016-02-03 Thread Simon Schabel
Hello @all, we were using tomcat-maven-plugin which uses Tomcat 6 until last week to run our API written in Java and to test around with it. This worked very well for ages and we got used to it but now we decided to switch to tomcat7-maven-plugin. We used the Jersey Java Framework to build

Re: tomcat7-maven-plugin using standardjarscanner instead of webappclassloader

2015-02-06 Thread Alexander Johnson
-plugin. Unfortunately when I attempt to do the same on the build server it breaks. This is a blocking issue for our team, but none of us are able to figure it out. Nobody on Stack Overflow has been able to help either. Here is the tomcat7-maven-plugin configuration in our project: profiles

tomcat7-maven-plugin using standardjarscanner instead of webappclassloader

2015-02-04 Thread Alexander Johnson
Original question here: http://stackoverflow.com/questions/28181602/whats-the-difference-between-webappclassloader-and-standardjarscanner I'm able to run my team's webapp on my local machine using the tomcat7-maven-plugin. Unfortunately when I attempt to do the same on the build server

Re: tomcat7-maven-plugin and mail

2014-12-03 Thread James Green
The war itself deploys to a Tomcat instance on a testing machine just fine - that Tomcat includes the javamail and activation in it's installation hence they are declared as provided in our project's POM. This boils down to not knowing if the extra dependencies within the maven plugin are

Re: tomcat7-maven-plugin and mail

2014-12-02 Thread James Green
What you wrote as a set of suggestions was my original attempt. Then I read (possibly spuriously) that Tomcat ignored either mailx or activation when shipped inside a WAR, and that if both Tomcat (via it's lib/) and the WAR contained either of those then the duplicate JAR would result in an error.

Re: tomcat7-maven-plugin and mail

2014-12-02 Thread Chris Gamache
Unless you're doing something unconventional, it shouldn't be painful. We may getting off-topic, but if you would like to post your project pom and any parents, I'll take a peek and see if there's anything that leaps out at me. My gut says your build is omitting dependencies that Maven expects to

tomcat7-maven-plugin and mail

2014-12-01 Thread James Green
Is there a way of getting this to work? We have a Maven project that depends on Apache's commons-email. We use JNDI to look up a mail Session. We use the following in our POM: plugin groupIdorg.apache.maven.plugins/groupId

Re: tomcat7-maven-plugin and mail

2014-12-01 Thread Chris Gamache
A few things you might take a look at. I don't think the Tomcat plugin requires javax.mail or activation by itself. That part of the plugin definition probably isn't doing what you intended it to do. I think you might want to remove the extraDependencies section. By including project ...

tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
Hello, I am migrating my websocket application to the new API with version 7.0.47. How can correctly make a configuration of tomcat7-maven-plugin to use tomcat7-websocket on localhost. Here what I have in my pom: ... dependencies ... dependencygroupIdorg.apache.tomcat/groupIdartifactIdtomcat

Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
7.0.47. How can correctly make a configuration of tomcat7-maven-plugin to use tomcat7-websocket on localhost. Here what I have in my pom: ... dependencies ... dependencygroupIdorg.apache.tomcat/groupIdartifactIdtomcat-catalina/artifactId/dependency dependencygroupIdorg.apache.tomcat

Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
While debuging I see that httpUpgradeHandlerClass in upgrade of org.apache.catalina.connector.Request is class org.apache.tomcat.websocket.server.WsHttpUpgradeHandler InstanceManager is org.apache.catalina.core.DefaultInstanceManager in the source code of my maven dependency of

Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
In tomcat's svn history I see that looked method was added to InstanceManager (tomcat-api) when Back-porting JSR-356: + public Object newInstance(Class? clazz) + throws IllegalAccessException, InvocationTargetException, NamingException, + InstantiationException; + However, I solved the

tomcat7-maven-plugin enable auto deployment under webapps

2013-09-18 Thread Greg Amerson
Hello fellow tomcat7-maven-plugin users, Is there a way to configure the embedded tomcat launched via the tomcat7-maven-plugin in such a way that the ${project.build.directory}/tomcat/webapps folder will be monitored for automatic deployments like it is with a standard tomcat bundle? I dug

tomcat7 maven plugin and X509TrustManager

2013-09-11 Thread Loïc Guerrin
Hello, I use tomcat7-maven-plugin:2.1 with SSL config and client authentication. My plugin configuration: plugin groupIdorg.apache.tomcat.maven/groupId artifactIdtomcat7-maven-plugin/artifactId configuration systemProperties javax.net.ssl.trustStore

Re: Deploying war from dependency with tomcat7-maven-plugin

2013-09-10 Thread Olivier Lamy
Olivier On 9 September 2013 13:18, Greg Amerson gregory.amer...@liferay.com wrote: Hello all, I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn tomcat7:run* command. However, in my case I have two requirements that are different than the documentation provides for and I'm

Re: Deploying war from dependency with tomcat7-maven-plugin

2013-09-10 Thread Greg Amerson
) for 2) I understand you simply want to run a war (and maybe run unit tests) so unpacking with the dependency looks to be the solution. HTH Olivier On 9 September 2013 13:18, Greg Amerson gregory.amer...@liferay.com wrote: Hello all, I'm trying to use the tomcat7-maven-plugin, specifically

Re: Deploying war from dependency with tomcat7-maven-plugin

2013-09-09 Thread Mak Pandian
Hi Greg, Your requirement is quite interesting and I am looking forward some fine recommendation from our users. On Mon, Sep 9, 2013 at 8:48 AM, Greg Amerson gregory.amer...@liferay.comwrote: Hello all, I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn tomcat7:run

Re: Deploying war from dependency with tomcat7-maven-plugin

2013-09-09 Thread Cédric Couralet
2013/9/9 Greg Amerson gregory.amer...@liferay.com: Hello all, I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn tomcat7:run* command. However, in my case I have two requirements that are different than the documentation provides for and I'm wondering

Deploying war from dependency with tomcat7-maven-plugin

2013-09-08 Thread Greg Amerson
Hello all, I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn tomcat7:run* command. However, in my case I have two requirements that are different than the documentation provides for and I'm wondering if it is possible with the current tomcat7-maven-plugin. 1. need

tomcat7-maven-plugin and async supported

2013-05-15 Thread Bas Ven
I created a filter class and forgot to set the async supported property to true. This resulted that my war didn't deploy/work when running inside tomcat 7. I fixed that and it runs fine now, but I am surprised that I didn't see this earlier since I am using the tomcat7-maven-plugin to start

Re:[OT] tomcat7-maven-plugin: Build on executable war file

2013-03-05 Thread André Warnier
Timothy Astle wrote: ... Additionally, we have a Selenium grid set up. When our Jenkins build system makes a build, cargo to grabs the war and failsafe runs our selenium integration tests. All tests must pass before any artifact is deployed to Nexus. So in a sense, it feels like cheating to

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-28 Thread Olivier Lamy
On 27/02/2013 6:46 PM, Olivier Lamy wrote: 2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-28 Thread Timothy Astle
to any type of container via cargo. I haven't had a chance to dig into this yet, perhaps Rich has, but any expert advice is always much appreciated. Tim On 27/02/2013 6:46 PM, Olivier Lamy wrote: 2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1

tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Richard McAleer
Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created by the plugin. However, since the standalone-war-only goal generates a war that is both

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Olivier Lamy
2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created by the plugin. However, since the standalone-war

[OT] tomcat7-maven-plugin

2013-02-27 Thread Jose María Zaragoza
Hello: How is it possible that tomcat7-maven-plugin has got a 'deploy' goal but not 'undeploy' goal ? Regards 2013/2/27 Olivier Lamy ol...@apache.org: 2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Timothy Astle
/2013 6:46 PM, Olivier Lamy wrote: 2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created by the plugin

Re: [OT] tomcat7-maven-plugin

2013-02-27 Thread Olivier Lamy
2013/2/28 Jose María Zaragoza demablo...@gmail.com: Hello: How is it possible that tomcat7-maven-plugin has got a 'deploy' goal but not 'undeploy' goal ? sure ? http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/undeploy-mojo.html :-) Regards 2013/2/27 Olivier Lamy ol

Re: tomcat7-maven-plugin

2012-12-18 Thread Josh Gooding
On Mon, Dec 17, 2012 at 8:13 AM, Josh Gooding josh.good...@gmail.comwrote: As far as this goes, there is definitely something strange going on, and I think it points to the SSL self signed cert. Can someone verify that the tomcat7 maven plugin works with self signed SSL? I have setup

Re: tomcat7-maven-plugin

2012-12-17 Thread Josh Gooding
As far as this goes, there is definitely something strange going on, and I think it points to the SSL self signed cert. Can someone verify that the tomcat7 maven plugin works with self signed SSL? I have setup another TC7 server on a remote BSD VM with the absolute basic configuration. Since

Re: tomcat7-maven-plugin

2012-12-13 Thread Josh Gooding
on answers and ideas. I'm having an issue with using maven and the tomcat7 plugin. Maven version -3.0.4 Tomcat version - 7.0.29 .jdk version - 1.6 tomcat7-maven-plugin version - 2.0 Hey group, I am having an issue here with using the tomcat7-maven-plugin in conjunction with the tomcat

Re: tomcat7-maven-plugin

2012-12-13 Thread Olivier Lamy
tomcat7-maven-plugin version - 2.0 Hey group, I am having an issue here with using the tomcat7-maven-plugin in conjunction with the tomcat 7 manager. here's what I have so far. tomcat-users.xml - tomcat-users role rolename=manager-gui/ role rolename=manager-script

Re: tomcat7-maven-plugin

2012-12-13 Thread Josh Gooding
, but maybe I should have come here first. I'm coming up short on answers and ideas. I'm having an issue with using maven and the tomcat7 plugin. Maven version -3.0.4 Tomcat version - 7.0.29 .jdk version - 1.6 tomcat7-maven-plugin version - 2.0 Hey group, I am having an issue

tomcat7-maven-plugin

2012-12-12 Thread Josh Gooding
-plugin version - 2.0 Hey group, I am having an issue here with using the tomcat7-maven-plugin in conjunction with the tomcat 7 manager. here's what I have so far. tomcat-users.xml - tomcat-users role rolename=manager-gui/ role rolename=manager-script/ role rolename=admin/ user

Re: tomcat7-maven-plugin

2012-12-12 Thread Olivier Lamy
an issue with using maven and the tomcat7 plugin. Maven version -3.0.4 Tomcat version - 7.0.29 .jdk version - 1.6 tomcat7-maven-plugin version - 2.0 Hey group, I am having an issue here with using the tomcat7-maven-plugin in conjunction with the tomcat 7 manager. here's what I have so far

Re: tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-12 Thread Olivier Lamy
settings.xml configuration file. I follow the documentation about the tomcat7:deploy goal: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html Although the server is running on the plugin's default URL I get a 403 HTTP error. I have tried to add the .text using

tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Gert van Spijker
this server with my browser and deploy the web app manually. I also set the correct credentials in the maven settings.xml configuration file. I follow the documentation about the tomcat7:deploy goal: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html Although

Re: tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Olivier Lamy
settings.xml configuration file. I follow the documentation about the tomcat7:deploy goal: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html Although the server is running on the plugin's default URL I get a 403 HTTP error. I have tried to add the .text using

Re: tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Gert van Spijker
-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html Although the server is running on the plugin's default URL I get a 403 HTTP error. I have tried to add the .text using the url parameter, but this is completely ignored (I can see in the plugin output that it always uses the default URL

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-31 Thread Olivier Lamy
2012/8/30 Knute Snortum ksnor...@catalystitservices.com: See below: -Original Message- From: Knute Snortum [mailto:ksnor...@catalystitservices.com] Sent: Wednesday, August 29, 2012 3:05 PM To: Tomcat Users List Subject: RE: tomcat7-maven-plugin doesn't understand Maven filtering

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-31 Thread Knute Snortum
-Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Friday, August 31, 2012 6:58 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? 2012/8/30 Knute Snortum ksnor...@catalystitservices.com: See below

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-30 Thread Knute Snortum
See below: -Original Message- From: Knute Snortum [mailto:ksnor...@catalystitservices.com] Sent: Wednesday, August 29, 2012 3:05 PM To: Tomcat Users List Subject: RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files? -Original Message- From

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-29 Thread Olivier Lamy
2012/8/29 Knute Snortum ksnor...@catalystitservices.com: -Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Tuesday, August 28, 2012 2:17 PM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? Hi, Inline

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-29 Thread Knute Snortum
[part of message deleted] [INFO] [INFO] tomcat-maven-plugin:1.1:run (default-cli) @ dpt you are using an old version here ? Don't you have duplicate entries in your pom ? There's no duplicate. The one I have looks like this: plugin

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-29 Thread Olivier Lamy
2012/8/29 Knute Snortum ksnor...@catalystitservices.com: [part of message deleted] [INFO] [INFO] tomcat-maven-plugin:1.1:run (default-cli) @ dpt you are using an old version here ? Don't you have duplicate entries in your pom ? There's no duplicate. The one I have looks like

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-29 Thread Knute Snortum
-Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Wednesday, August 29, 2012 9:32 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? [section deleted] What cli are you using ? If I understand

tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin 2.0-beta-1 to help in development by running the app in Tomcat inside of the IDE -- or I'm

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
2012/8/28 Knute Snortum ksnor...@catalystitservices.com: If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? Yes, this is the list. I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin 2.0

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, August 28, 2012 11:15 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? 2012/8/28 Knute Snortum ksnor

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
. Usually it is Spring job to resolve those. (It has nothing to to with Tomcat or Maven). See org.springframework.beans.factory.config.PropertyPlaceholderConfigurer Well, I'm using Maven filtering, but regardless, I thought the whole point of the tomcat7-maven-plugin was to run the *war

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, August 28, 2012 12:02 PM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? 2012/8/28 Knute Snortum ksnor

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Olivier Lamy
Hi, Inline 2012/8/28 Knute Snortum ksnor...@catalystitservices.com: If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin 2.0-beta-1 to help

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Tuesday, August 28, 2012 2:17 PM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? Hi, Inline 2012/8/28 Knute Snortum ksnor

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Leigh Anderson
-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/r un/AbstractRunMojo.java === --- tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/r un/AbstractRunMojo.java (revision 1) +++ tomcat7-maven-plugin

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Olivier Lamy
was then picked up correctly and used by the WebAppLoader. Could you attach the patch to an issue ? Thanks, Leigh Index: tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/r un/AbstractRunMojo.java

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Leigh Anderson
. Thanks, Leigh Index: tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7 /r un/AbstractRunMojo.java === --- tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7 /r un

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-12 Thread Olivier Lamy
Hello, Apologize for delay. That should be fixed now (I have deployed 2.0-SNAPSHOT). If you could try with your use case. Thanks, 2012/4/8 Olivier Lamy ol...@apache.org: Hello Leigh, Thanks for creating issue. Until now I tried to reproduce the issue but I failed. I wonder if you could attach

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-12 Thread Leigh Anderson
Hi Olivier, That's solved the problem, thanks. Unfortunately, declaring a custom class loader in a context.xml causes Tomcat to use that one, instead of the one set up with the correct class path by the plugin. I'll keep looking to see if I can find a way around this. Thanks for your prompt help

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-12 Thread Olivier Lamy
The plugin has an option to setup context.xml to use see [1]. You can try to write an other context.xml only for using with the plugin ? -- Olivier [1] http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/run-mojo.html#contextFile 2012/4/12 Leigh Anderson leigh.ander

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-08 Thread Olivier Lamy
Hello Leigh, Thanks for creating issue. Until now I tried to reproduce the issue but I failed. I wonder if you could attach a build log using -e mvn flag. 2012/4/5 Leigh Anderson leigh.ander...@betfair.com: Hi Olivier, I'm not able to run this with tomcat6 as it's a Servlet 3.0 project. I'll

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-05 Thread Leigh Anderson
Hi Olivier, I'm not able to run this with tomcat6 as it's a Servlet 3.0 project. I'll get the issue created -- should have some time next week to put together a sample project. Thanks, Leigh On 04/04/2012 11:36, Olivier Lamy ol...@apache.org wrote: Hello, Looks to be an issue (does that work

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-04 Thread Olivier Lamy
Hello, Looks to be an issue (does that work with tomcat6:run ?) Could you create an issue here: https://issues.apache.org/jira/browse/MTOMCAT (if possible with a small sample project to reproduce). Thanks -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy |

Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-03 Thread Leigh Anderson
Hi All, I'm trying to start a web application with 'mvn tomcat7:run'. It seems that with the configuration below it fails with the following error: [INFO] [ERROR] Failed to execute goal

RE: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-09 Thread Guofeng Zhang
Subject: Re: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guofeng, On 3/7/12 5:32 AM, Guofeng Zhang wrote: Resource auth=Container maxPoolSize=100 minPoolSize=10 name=jdbc/iviewDS

Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Guofeng Zhang
Hi, I try tomcat7-maven-plugin/2.0-beta-1. When I use mvn tomcat7:run to launch my app, I got: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context I configured the datatsource as global naming datasource in server.xml, GlobalNamingResources Resource auth

Re: Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Olivier Lamy
(and not with a server.xml file I mean nothing in src\main\tomcatconf ) ? Thanks, 2012/3/7 Guofeng Zhang guof...@radvision.com: Hi, I try tomcat7-maven-plugin/2.0-beta-1. When I use mvn tomcat7:run to launch my app, I got:  javax.naming.NameNotFoundException: Name jdbc is not bound

Re: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guofeng, On 3/7/12 5:32 AM, Guofeng Zhang wrote: Resource auth=Container maxPoolSize=100 minPoolSize=10 name=jdbc/iviewDS testQuery=select count(*) from T_ROLE You might want to use a simper testQuery (like SELECT 1 FROM DUAL, for instance). Some

Re: tomcat7 maven plugin (frustration) - probably a simple question

2011-12-27 Thread Olivier Lamy
pushed samples here: https://github.com/olamy/translate-puzzle . 2011/12/27 PS M. transparentpolit...@gmail.com: Hi there -- I am frustrated with the tomcat7 maven plugin. I am trying to create an executable jar from my war project. The problem is that none of the war's dependencies are included

Re: tomcat7 maven plugin (frustration) - probably a simple question

2011-12-27 Thread Patrick Moore
O.k. I will try today

tomcat7 maven plugin (frustration) - probably a simple question

2011-12-26 Thread PS M.
Hi there -- I am frustrated with the tomcat7 maven plugin. I am trying to create an executable jar from my war project. The problem is that none of the war's dependencies are included in the executable jar even though the corresponding war created at the same time is complete. In the pom.xml

Re: tomcat7-maven-plugin redeploy

2011-11-16 Thread Olivier Lamy
Hello, Did you try update parameter to true [1] ? Thanks -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy [1] http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html#update 2011/11/16 Hodchenkov, Paul

RE: tomcat7-maven-plugin redeploy

2011-11-16 Thread Hodchenkov, Paul
Thanks, it works. -Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Wednesday, November 16, 2011 11:35 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin redeploy Hello, Did you try update parameter to true [1] ? Thanks -- Olivier Lamy Talend: http

tomcat7-maven-plugin redeploy

2011-11-15 Thread David Yu
Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy a war file that has already been deployed and built to my remote tomcat server. Thanks. David Yu | Sales Engineer | CollabNet, Inc. 8000 Marina Blvd. Suite 600 | Brisbane, CA 94005 | USA Skype david.yongshin.yu | O

Re: tomcat7-maven-plugin redeploy

2011-11-15 Thread Jesse Farinacci
-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/plugin-info.html Old deprecated plugin is at: http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html -Jesse -- There are 10 types of people in this world, those that can read binary

RE: tomcat7-maven-plugin redeploy

2011-11-15 Thread Hodchenkov, Paul
/ Is it possible to undeploy/redeploy app using apache tomcat7 plugin? Should I revert back to codehaus plugin? -Original Message- From: Jesse Farinacci [mailto:jie...@gmail.com] Sent: Wednesday, November 16, 2011 4:21 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin redeploy