Hi,
Playing around a bit with embedded tomcat. It looks like there are
APIs to add all of the tomcat specific listeners, however how would I
add a ServletRequestListener?
John
-
To unsubscribe, e-mail:
);
if(!base.exists()) {
base.mkdirs();
}
Context ctx = tomcat.addContext(/,base.getAbsolutePath());
however, it doesn't look like Context here is a ServletContext.
On Sun, Jun 29, 2014 at 6:30 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: John D. Ament
)
at
org.apache.catalina.core.ApplicationContext.addListener(ApplicationContext.java:1307)
at
org.apache.catalina.core.ApplicationContextFacade.addListener(ApplicationContextFacade.java:636)
On Sun, Jun 29, 2014 at 8:21 PM, John D. Ament john.d.am...@gmail.com wrote:
Hi,
I'm on Tomcat
, John D. Ament wrote:
I spoke a little too quickly, ServletContext is avilable from ctx
(just didn't search hard enough). Adding the request listener here
though results in:
java.lang.NullPointerException
at
org.apache.catalina.core.ApplicationContext.createListener
... no questions asked. :-)
On Tue, Jul 1, 2014 at 12:37 PM, Mark Thomas ma...@apache.org wrote:
On 01/07/2014 17:16, John D. Ament wrote:
I looked for the source code, at least on github, there's no tag for
7.0.55 defined (see [1])
Given you are using 7.0.54, why would you look for a tag for 7.0.55?
How
Tomcat's a servlet container, not an app server. If you want SOAP APIs,
you need to use a SOAP runtime like CXF in your app.
On Sun, Oct 12, 2014 at 10:16 AM, Meeraj Kunnumpurath
mee...@servicesymphony.com wrote:
Hi,
I am porting an application from Weblogic 12 to Tomcat 8. The application
Concurrency utils is specific to app servers, where applications are
generally unable to create or manage threads. This is an old EJB
limitation.
This limitation is not present in servlet containers.
Why do you think you need them?
On Mon, Nov 24, 2014 at 9:58 PM, shailendra singh
(with
passwords obfuscated).
-Terence Bandoian
On Tuesday, February 17, 2015, James McEvoy tradingllc2...@gmail.com
wrote:
Ok if will check all
On Tuesday, February 17, 2015, John D. Ament johndam...@apache.org
javascript:_e(%7B%7D,'cvml','johndam...@apache.org'); wrote:
Check your
On Wed Feb 18 2015 at 12:48:32 PM John D. Ament johndam...@apache.org
wrote:
Thanks for providing!
The attribute name on the user is roles not role
user username=tomcat1 password=tomcat1 roles=manager-script /
user username=tomcat password=tomcat roles=manager-gui /
You should only define
Check your logs for why. Don't forget to include the manager-gui role in
the list of roles.
John
On Tue Feb 17 2015 at 8:15:45 AM James McEvoy tradingllc2...@gmail.com
wrote:
ok it wont take the shutdown command.
On Tue, Feb 17, 2015 at 6:59 AM, James McEvoy tradingllc2...@gmail.com
wrote:
What are the contents of your tomcat-users.xml?
On Mon Feb 16 2015 at 8:03:33 PM James McEvoy tradingllc2...@gmail.com
wrote:
hi
I've read every document I can and still after following all the steps it
will not authenticate me to the login manager. I am using tomcat7.
Thanks
James
And also make sure you bounce tomcat after updating the tomcat-users.xml
file. It is not read dynamically, it is read on start up.
John
On Tue Feb 17 2015 at 7:23:34 AM Mark Thomas ma...@apache.org wrote:
On 17/02/2015 12:17, James McEvoy wrote:
Mark
I did that one before and it didn't
When you say idle, is there an application deployed to tomcat, or is it
just the bare app server with nothing deployed?
On Tue Feb 24 2015 at 7:35:31 AM Peter Irbizon peterirbi...@gmail.com
wrote:
Hello,
I would like to know if it is normal that tomcat7 runs on 3.9% CPU when
idle? I saw all
Is it vendor software or in house?
On May 31, 2016 18:27, "Michael Hargis" wrote:
> Andre,
> Sorry, kinda shooting in the dark here.
>
> Apache Tomcat 5.5.20
> Java 1.6.0.60
> Windows 2003 R2 Standard Edition Service Pack 2
>
> Data Integrator Management Console is what
Well, Tomcat doesn't provide any support for JPA OOTB, so you'd probably
need to check w/ your JPA implementation on what they support.
John
On Sat, Mar 26, 2016 at 8:02 AM Kaouthar Ghorbel
wrote:
> hello,
>
> I have two database that have the same design and the same
Is it at all possible that you have some network level security that's
blocking your access to this port?
On Mon, Apr 4, 2016 at 10:03 PM Yin, Ivan wrote:
> Hi,
>
> I am sure this error message doesn't come from that webapp since there is
> no "incident ID" in the webapp.
> In
Rob,
What database are you trying to connect to? What version of the JDBC driver?
On Sun, May 8, 2016 at 9:07 PM Rob Clemens wrote:
> Hello all,
>
> We've had an application that was stable for several years, no changes for
> the last few aside from OS/java/tomcat
Hi,
I was wondering if there was some configuration option that I could enable
in an embedded Tomcat container to have it process web-fragment.xml files?
John
Hi,
I have this pretty straight forward case of starting an instance of tomcat
and bringing in a filter.
Tomcat tomcat = new Tomcat();
tomcat.setPort(8080);
File base = new File(".");
Context ctx = tomcat.addContext("", base.getAbsolutePath());
String
On Sun, Aug 28, 2016 at 5:07 AM Mark Thomas <m...@homeinbox.net> wrote:
> On 28 August 2016 02:33:00 BST, "John D. Ament" <johndam...@apache.org>
> wrote:
> >Hi,
> >
> >I have this pretty straight forward case of starting an instance of
> &g
Hi,
Looking for some external input. I've put together a simple tomcat
embedded instance designed to deploy an arbitrary set of servlets, filters,
etc.
For some reason, when I run tests with Tomcat the server never fully
launches. I can see the port in use, but connections to the server are
Hi,
I'm using Tomcat embedded to start a container. I need to set some
initParameters in that embedded runtime. However, when I try to set the
parameters I get the follow:
java.lang.IllegalStateException: Initialization parameters cannot be set
after the context has been initialized
at
On Thu, Dec 8, 2016 at 4:20 AM Mark Thomas <ma...@apache.org> wrote:
> On 07/12/2016 15:21, Christopher Schultz wrote:
> > John,
> >
> > On 12/7/16 7:19 AM, John D. Ament wrote:
> >> On Wed, Dec 7, 2016 at 3:58 AM Mark Thomas <ma...@apache.org>
> &g
On Wed, Dec 14, 2016 at 11:23 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Mark,
>
> On 12/8/16 4:19 AM, Mark Thomas wrote:
> > On 07/12/2016 15:21, Christopher Schultz wrote:
> >>
> >> Hmm... there is the "startStopThreads"
n,
> >>
> >> On 12/14/16 10:01 PM, John D. Ament wrote:
> >>> I was feeling ambitious so I gave this a shot. Here's what I
> >>> changed:
> >>> https://github.com/johnament/tomcat85/commit/a0281b2d4e0fea7cb0f7a9d
> 3c
> &l
On Wed, Dec 7, 2016 at 3:58 AM Mark Thomas <ma...@apache.org> wrote:
> On 06/12/2016 02:59, John D. Ament wrote:
>
>
>
> > So I was able to identify my issue. It's not specifically a tomcat
> > problem, but tomcat's bootstrapping makes it unique.
> >
I was feeling ambitious so I gave this a shot. Here's what I changed:
https://github.com/johnament/tomcat85/commit/a0281b2d4e0fea7cb0f7a9d3cd1e750b48498ff2
.
I get some failed tests, but generallys eems good (I broke it earlier, and
lots of things failed).
[concat] Testsuites with failed
Mark,
On Wed, Dec 14, 2016 at 3:10 AM Mark Thomas <ma...@apache.org> wrote:
> On 14/12/2016 03:13, John D. Ament wrote:
> > Hi,
> >
> > I'm using Tomcat embedded to start a container. I need to set some
> > initParameters in that embedded runtime. However, whe
On Wed, Nov 30, 2016 at 8:50 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> John,
>
> On 11/26/16 7:29 PM, John D. Ament wrote:
> > Hi,
> >
> > Looking for some external input. I've
Sorry missed a response..
On Sat, Dec 3, 2016 at 12:36 PM John D. Ament <john.d.am...@gmail.com>
wrote:
> On Wed, Nov 30, 2016 at 8:50 PM Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> John
On Sat, Dec 3, 2016 at 2:28 PM Mark Thomas <ma...@apache.org> wrote:
> On 03/12/2016 17:39, John D. Ament wrote:
> > Sorry missed a response..
> >
> > On Sat, Dec 3, 2016 at 12:36 PM John D. Ament <john.d.am...@gmail.com>
> > wrote:
> >
> >&g
Hash: SHA256
>
> John,
>
> On 12/15/16 5:03 PM, John D. Ament wrote:
> > On Thu, Dec 15, 2016 at 4:06 PM Christopher Schultz <
> > ch...@christopherschultz.net> wrote:
> >
> > Mark,
> >
> > On 12/15/16 2:44 PM, Mark Thomas wrote:
&
I use Maven for the actual build. I use these dependencies (with 9.0.0.M26):
org.apache.tomcat.embed
tomcat-embed-core
org.apache.tomcat.embed
tomcat-embed-el
org.apache.tomcat
33 matches
Mail list logo