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
ate e-mail about it.
On 2/4/15, 8:13 PM, "Alexander Johnson" wrote:
>Original question here:
>http://stackoverflow.com/questions/28181602/whats-the-difference-between-w
>ebappclassloader-and-standardjarscanner
>
>I'm able to run my team's webapp on my local
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
eployment scheme. The size overhead of including your project's
> > > dependencies in the each war is so worth it when Maven can handle
> making
> > > sure the dependency artifacts are where they need to be.
> > >
> > > On Mon, Dec 1, 2014 at 8:17 AM, James Green
> > > wr
n Mon, Dec 1, 2014 at 8:17 AM, James Green
> > wrote:
> >
> > > 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:
> > >
gt; wrote:
>
> > 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:
> >
> >
> > org.apache.maven.p
mons-email. We use JNDI
> to look up a mail Session. We use the following in our POM:
>
>
> org.apache.maven.plugins
> maven-war-plugin
>
> false
>
>
>
lugin
false
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
tomcat/context.xml
9000
/foo
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 problem
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 tomcat-api-7.0.47
)
2013/11/7 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:
> ...
>
> ...
>
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:
...
...
org.apache.tomcattomcat-catalina
org.apache.tomcattomcat-coyote
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:
org.apache.tomcat.maven
tomcat7-maven-plugin
${project.basedir}/src/test/resources/META-INF/tomcat/certificates/truststore
XXX
)
> 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
> wrote:
> > Hello all,
> >
> > I'm trying
Olivier
On 9 September 2013 13:18, Greg Amerson 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
2013/9/9 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
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 wrote:
> Hello all,
>
> I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn
> tomcat7:run* 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 if it is possible with the
current tomcat7-maven-plugin.
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 t
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
the aspect of being able to deploy 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 :
Hi,
We're using tomcat7-mave
ance 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 :
>>>
>>> Hi,
>>> We're using t
2013/2/28 Jose María Zaragoza :
> 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
>
>
>
Tim
On 27/02/2013 6:46 PM, Olivier Lamy wrote:
2013/2/27 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 pl
Hello:
How is it possible that tomcat7-maven-plugin has got a 'deploy' goal
but not 'undeploy' goal ?
Regards
2013/2/27 Olivier Lamy :
> 2013/2/27 Richard McAleer :
>> Hi,
>> We're using tomcat7-maven-plugin 2.1 to build an executable war using the
>&
2013/2/27 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 stan
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
On Mon, Dec 17, 2012 at 8:13 AM, Josh Gooding wrote:
> 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
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
> >
> >>
> >> 2012/12/12 Josh Gooding :
> >> > I didn't want to come here to ask as I always hate to bother anyone,
> but
> >> > maybe I should have come here first. I'm coming up short on answers
> and
> >> > ideas. I'
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
&g
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
> >
> > He
n 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
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.
tomcat-users.xml -
in my M2_HOME/conf/settings.xml: (note not in my .m2/ directory)
(I'
g to deploy to a
>>> local Tomcat 7 server on http://localhost:8080. I can access 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 docum
guration 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
>> HTT
ials 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 the server is running on the plugin's default URL I get a 40
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 the
> -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
2012/8/30 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 under
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: 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]
> >
e entries
>> >> in your pom ?
>> >
>> > There's no duplicate. The one I have looks like this:
>> >
>> >
>> > org.apache.tomcat.maven
>> > tomcat7-maven-plugin
>> >
n your pom ?
> >
> > There's no duplicate. The one I have looks like this:
> >
> >
> > org.apache.tomcat.maven
> > tomcat7-maven-plugin
> > ${tomcat7MavenPlugin}
> > ...
> >
> > And my pro
2012/8/29 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
>>
> -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
>
> 20
Hi,
Inline
2012/8/28 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
> -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?
>
ave the placeholders replaced yet.
>>
>> 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,
> -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
2012/8/28 Knute Snortum :
> 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-beta-1
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
the patch to an issue ?
MTOMCAT-140 created.
>
>>
>> Thanks,
>> Leigh
>>
>> Index:
>>
>>tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7
>>/r
>> un/AbstractRunMojo.java
>> ==
which 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
> ===========
ed a small patch
below which demonstrates my intent.
I'd added
org.springframework.instrument.classloading.tomcat.Tomcat
InstrumentableClassLoader to the plugin configuration,
which was then picked up correctly and used by the WebAppLoader.
Thanks,
Leigh
Index:
tomcat7-maven-plugin/src/main/
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 :
> Hi Oliv
gt;>>with the
>>>>> -e switch.
>>>>>[ERROR] Re-run Maven using the -X switch to enable full debug
>>>>>logging.
>>>>>
>>>>> I have also tried
>>>>>* 'mvn tomcat:run-war&
application will not start because the 'additionalClasspathDir' property
>>>> is not supported by the 'run-war' goal.
>>>> * removing 'useSeparateTomcatClassLoader' which then doesn't
>>>>load the
>>>> Spring instrumenting class loader required to use Aspec
'run-war' goal.
>>> * removing 'useSeparateTomcatClassLoader' which then doesn't
>>>load the
>>> Spring instrumenting class loader required to use AspectJ LTW, specified
>>> in
>>> context.xml. I hav
assLoader' which then doesn't
>>load the
>> Spring instrumenting class loader required to use AspectJ LTW, specified
>> in
>> context.xml. I have confirmed that I get the same 'no such archiver'
>>error
; in
> context.xml. I have confirmed that I get the same 'no such archiver' error
> if I remove the
> context.xml, so I don't believe this to be the cause.
>
> Is there something I've missed in the configuratio
is to be the cause.
Is there something I've missed in the configuration?
Cheers,
Leigh
org.apache.tomcat.maven
tomcat7-maven-plugin
2.0-beta-1
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:
> name="jdbc/iviewDS" testQuery="select count(*) from T_ROLE&q
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Guofeng,
On 3/7/12 5:32 AM, Guofeng Zhang wrote:
> 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 RDBMS engines don't have great performance with
"
file I mean nothing in src\main\tomcatconf ) ?
Thanks,
2012/3/7 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
>
&g
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,
The server.xml is copied t
O.k. I will try today
pushed samples here: https://github.com/olamy/translate-puzzle .
2011/12/27 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 i
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 po
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
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
/
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 red
ven-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 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 650.228
75 matches
Mail list logo