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
-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
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
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
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.
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
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
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
...
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
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
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
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
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
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
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
)
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
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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
,
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
-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
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
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
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
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
-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
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
-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
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
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
[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
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
-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
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
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
-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
.
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
-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
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
-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
-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
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
.
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
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
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
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
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
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
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 |
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
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
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
(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
-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
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
O.k. I will try today
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
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
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
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
-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
/
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
75 matches
Mail list logo