From the Oracle (Java 8) documentation:
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html
Class Path Wild Cards
Class path entries can contain the base name wildcard character (*),
which is considered equivalent to specifying a list of all of the
files in
hi
first thank you for the insights. I did not realise that the wildcard
was expanded by the shell. I thought this was handled by java itself.
However in my instance the jvm is not being created by a shell but by
a JNI wrapper. Originally this JNI wrapper included myDir/lib/*.jar in
the classpath
Chuck,
On 6/7/24 10:02, Chuck Caldarale wrote:
On Jun 7, 2024, at 08:11, Christopher Schultz
wrote:
On 6/7/24 01:49, Mark Thomas wrote:
On 06/06/2024 18:48, Dave Breeze wrote:
Thanks Mark
appreciate that the url was for 8.0
With regards to classpath that was my first attempt - unfortunat
> On Jun 7, 2024, at 08:11, Christopher Schultz
> wrote:
>
> On 6/7/24 01:49, Mark Thomas wrote:
>> On 06/06/2024 18:48, Dave Breeze wrote:
>>> Thanks Mark
>>> appreciate that the url was for 8.0
>>>
>>> With regards to classpath that was my first attempt - unfortunately it
>>> would seem tha
Mark,
On 6/7/24 01:49, Mark Thomas wrote:
On 06/06/2024 18:48, Dave Breeze wrote:
Thanks Mark
appreciate that the url was for 8.0
With regards to classpath that was my first attempt - unfortunately it
would seem that Tomcat does not support wildcards in the classpath -
for example dirpath/lib/
On 06/06/2024 18:48, Dave Breeze wrote:
Thanks Mark
appreciate that the url was for 8.0
With regards to classpath that was my first attempt - unfortunately it
would seem that Tomcat does not support wildcards in the classpath -
for example dirpath/lib/*.jar - at least in version 9.
The require
Thanks Mark
appreciate that the url was for 8.0
With regards to classpath that was my first attempt - unfortunately it
would seem that Tomcat does not support wildcards in the classpath -
for example dirpath/lib/*.jar - at least in version 9.
Dave Breeze
Linkedin:https://uk.linkedin.com/in/dabre
On 06/06/2024 17:52, Dave Breeze wrote:
I have an issue with embedded Tomcat and classloaders.
I have a java servlet application that runs in an embedded
Tomcat(9.0.70) instance.
https://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html
Those are the Tomcat 8.0.x docs. You are us
On 23/12/2022 03:28, Tim N wrote:
Do you think this thread is useful info for any Tomcat-embedded Java 17
migration guide/how-to? I'm happy to tidy it up and contribute if there's
an official Tomcat-embedded place for it.
It is on the mailing list so it shoudl alreayd be findable. The wiki is
> This should be unnecessary. The classes in that package should be
> included in tomcat-embed-core
Nice - thanks. I was reading and using the catalina code, but after
trimming down my code it no longer needs that dependency.
Do you think this thread is useful info for any Tomcat-embedded Java 17
On 21/12/2022 22:37, Tim N wrote:
This was fixed by adding "--add-opens=java.base/java.lang=ALL-UNNAMED". Now
all applications are running, and various other issues have been fixed by
other "--add-opens" arguments. So these and the last couple of issues are
related to Java 17 and not the classloa
This was fixed by adding "--add-opens=java.base/java.lang=ALL-UNNAMED". Now
all applications are running, and various other issues have been fixed by
other "--add-opens" arguments. So these and the last couple of issues are
related to Java 17 and not the classloader code above.
Can a Tomcat expert
After sorting out the new dependencies (I think) 2 of the 3 web-apps are
now running!
One fails at startup with
Caused by: java.lang.LinkageError: loader java.net.URLClassLoader @2328c243
attempted duplicate class definition for
mypackage.MyUserDetailsService$$EnhancerBySpringCGLIB$$f761e392.
(myp
Looks like this is due to a conflict with EE JARs added to replace those
removed when moving from Java 8 to 17.
On Wed, Dec 21, 2022 at 3:33 PM Tim N wrote:
> Sorry - more of the stack-trace:
> Caused by: java.lang.IllegalAccessError: failed to access class
> com.sun.activation.registries.LogSup
Sorry - more of the stack-trace:
Caused by: java.lang.IllegalAccessError: failed to access class
com.sun.activation.registries.LogSupport from class
javax.activation.MimetypesFileTypeMap
(com.sun.activation.registries.LogSupport and
javax.activation.MimetypesFileTypeMap are in unnamed module of loa
I tried this:
List repositories = new ArrayList<>();
repositories.add(new ClassLoaderFactory.Repository(new
File("/dir1").getAbsolutePath(), ClassLoaderFactory.RepositoryType.DIR));
repositories.add(new ClassLoaderFactory.Repository(new
File("sub-mod1/target/classes").getAbsolutePath(),
ClassLoade
> The custom class loader approach described in one of the answers is a
> viable option.
Thanks.
> No. The same class loader hierarchy isn't constructed when running in
> embedded mode.
It looks like I would need to replicate all the classloading capabilities
of Tomcat (e.g. loading classes from
On 14/12/2022 03:20, Tim N wrote:
I'm currently using embedded Tomcat 9.0.68 and have encountered the
infamous compatibility issue with ClassLoader.getSystemClassLoader when
upgrading from Java 8 to Java 17.
See
https://stackoverflow.com/questions/46694600/java-9-compatability-issue-with-classloa
Thanks Christopher for detailed explanation with testing tools.
-Original Message-
From: Christopher Schultz
Sent: Sunday, March 21, 2021 9:02 AM
To: users@tomcat.apache.org
Subject: Re: Embedded Tomcat 9.0.33
Abirami,
On 3/20/21 11:36, S Abirami wrote:
> We have deployed embed
Abirami,
On 3/20/21 11:36, S Abirami wrote:
We have deployed embedded tomcat in RHEL 7 with jdk 1.8. For sweet32
vulnerability, we have configured jdk.tls.disabled.algorithm to
remove the encryption cipher have 64bit block size.
I need a clarification whether JDK configuration is enough for
em
On 11/03/2021 20:01, Doug Whitfield wrote:
I am working on a fix which I expect to be in the releases due out in ~1
month's time.
Thanks Mark! Is there any chance of a patch being available before then that we
might be able to backport locally?
It is fixed in 10.0.x, 9.0.x and 8.5.x now. I
> It exists in all 8.5.x, 9.0.x and 10.0.x versions. It has been there
> since the beginning of HTTP/2 support.
Based on our testing the issue was introduced in 9.0.19 and 8.5.55 (we haven’t
done any testing on the 10.x branch), which is slightly after the beginning of
HTTP/2 support. I don’t
>I am working on a fix which I expect to be in the releases due out in ~1
> month's time.
Thanks Mark! Is there any chance of a patch being available before then that we
might be able to backport locally?
This e-mail may contain information that is privileged or confidential. If you
are not t
On 11/03/2021 19:09, Doug Whitfield wrote:
Just FYI:
I was able to reproduce this issue on 8.5.64 and 9.0.44. I’m going to start
doing some testing in earlier versions of 8.5 to see if the issue exist there
as well as far as regressions.
It exists in all 8.5.x, 9.0.x and 10.0.x versions. I
-Original Message-
From: Mark Thomas
Sent: Wednesday, March 10, 2021 6:28 PM
To: users@tomcat.apache.org
Subject: Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving
http2 requests over unknown url
On 10/03/2021 05:26, Arshiya Shariff wrote:
> Hi All,
> We are
Thank you Mark . Please keep us posted regarding the fix .
-Original Message-
From: Mark Thomas
Sent: Wednesday, March 10, 2021 6:28 PM
To: users@tomcat.apache.org
Subject: Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving
http2 requests over unknown url
On 10/03/2021
On 10/03/2021 05:26, Arshiya Shariff wrote:
Hi All,
We are using embedded tomcat version 9.0.43 in our application to transport
http/2 packets between 2 systems (h2c connection). All parameters used are the
tomcat defaults.
We are facing the below issue :
1. Tomcat is not sending WINDOW_U
Rob,
On 12/3/20 17:46, Rob Sargent wrote:
Again, much appreciated feedback. (I never think what I'm doing is all
that special)
At this point, the fact that you are using embedded Tomcat is really
just a detail that doesn't affect the greater question of how to manage
your complex database p
Again, much appreciated feedback. (I never think what I'm doing is all
that special)
Though two concurrent users would really be "wildly successful", each of
those users will fire up hundreds (thousands if we get
permission/capacity) of EC2 instances and start pounding the db, so I
think con
Rob,
On 12/3/20 11:03, Rob Sargent wrote:
Thanks for you time. Your response goes a long way to explaining why
there is so little specific information on embedding tomcat.
Only programmers are interested in using embedded Tomcat, so having
"Tomcat Embedded For Dummies" isn't terribly useful. (I
Chris,
Thanks for you time. Your response goes a long way to explaining why there is
so little specific information on embedding tomcat.
Really, just as I said. I had convinced myself from several items encountered
on the web that an embedded tomcat instance would not read the standard
conf/*.x
Rob,
On 12/2/20 13:31, Rob Sargent wrote:
I'm old and easily confused: does an embedded tomcat server read (any)
context.xml file? I find conflicting answers /out there./
Using tomcat 9.0.40
embeddedTomcat =new Tomcat();
embeddedTomcat.setPort(tomcatPort);
embeddedTomcat.enableNa
typo: should read "none of which are named in the web.xml" (not "which
are NOT" as below)
On 12/2/20 11:31 AM, Rob Sargent wrote:
I'm old and easily confused: does an embedded tomcat server read (any)
context.xml file? I find conflicting answers /out there./
Using tomcat 9.0.40
embeddedT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Linus,
On 9/12/19 09:33, LINUS FERNANDES wrote:
> I have set up an embedded Tomcat server program on Arch Linux on
> Termux using OpenJDK version 12.
What version of Tomcat?
> However, I am unable to connect to the server using the browser.
> The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Abirami,
On 10/11/18 8:11 AM, S Abirami wrote:
> Hi All,
>
> I have checked the port is not in use before allocating to the
> connector and started the tomcat. During start , it's mentioning
> that Port already in use. It is going and binding to th
On 04/10/17 08:53, Brian Toal wrote:
> The chain [1] left of with:
> "The relevant language is in section 8.2.1
>
>
> If a framework wants its META-INF/web-fragment.xml honored in such a way
> that it augments a web application's web.xml, the framework must be bundled
> within the web application
Jetty also makes it very easy to scan jar for @WebServlet, @WebFilter,
@WebListener via AnnotationConfiguration.
http://www.eclipse.org/jetty/documentation/9.4.x/configuring-webapps.html
On Wed, Oct 4, 2017 at 12:53 AM, Brian Toal wrote:
> The chain [1] left of with:
> "The relevant language is
Hi Thomas,
Thanks for the response.
It worked for me.
Regards,
Abirami.S
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Friday, August 04, 2017 3:30 PM
To: users >> Tomcat Users List
Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner
u
HI Thomas,
Thanks for the response.
It worked for me.
Regards,
Abirami.S
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Friday, August 04, 2017 3:30 PM
To: users >> Tomcat Users List
Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner
u
he method call of = Tomcat.addwebapp(contextpath,docpath); itself
> triggering this exception.
> So whatever I need to do before addwebapp.
>
> Regards,
> Abirami.S
> -Original Message-
> From: S Abirami
> Sent: Friday, August 04, 2017 3:08 PM
> To: Tomcat Users List
&
ner or you want one of the addContext()
methods which won't do anything automatically and requires you to set
everything programmatically.
Mark
>
> Regards,
> Abirami.S
> -Original Message-
> From: S Abirami
> Sent: Friday, August 04, 2017 3:08 PM
> To: Tomcat
method call of = Tomcat.addwebapp(contextpath,docpath); itself
triggering this exception.
So whatever I need to do before addwebapp.
Regards,
Abirami.S
-Original Message-
From: S Abirami
Sent: Friday, August 04, 2017 3:08 PM
To: Tomcat Users List
Subject: RE: Embedded Tomcat throws
Hi
I tried that also .Still it's giving the same error msg. Please help me to
solve the issue.
Regards,
Abirami.S
-Original Message-
From: M. Manna [mailto:manme...@gmail.com]
Sent: Friday, August 04, 2017 2:24 PM
To: Tomcat Users List
Subject: Re: Embedded Tomcat t
o I don’t want to scan any jar files.
> I want to disable Jarscanner.
>
> Regards,
> Abirami.S
>
> -Original Message-
> From: M. Manna [mailto:manme...@gmail.com]
> Sent: Friday, August 04, 2017 1:26 PM
> To: Tomcat Users List
> Subject: Re: Embedded Tom
List
Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner
upgrade from 8.0.x to 8.0.x
Okay, where are you getting your contextPath from? The code you posted is
below:
3)Context context= Tomcat.addwebapp(contextpath,docpath);
StandardJarScanner scanner=new StandardJarScanner
.com]
> Sent: Friday, August 04, 2017 1:18 PM
> To: Tomcat Users List
> Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner
> upgrade from 8.0.x to 8.0.x
>
> Hi,
>
> What is in your context.xml file? You can find it in conf directory.
>
> Regar
: Embedded Tomcat throws FileNotFoundException for TldScanner
upgrade from 8.0.x to 8.0.x
Hi,
What is in your context.xml file? You can find it in conf directory.
Regards,
On 4 August 2017 at 08:43, S Abirami wrote:
> Hi ,
>
> I am using Embedded tomcat to create webapp. when I am
Hi,
What is in your context.xml file? You can find it in conf directory.
Regards,
On 4 August 2017 at 08:43, S Abirami wrote:
> Hi ,
>
> I am using Embedded tomcat to create webapp. when I am trying to add
> web app it is throwing the following exception but Server started
> successfully
Am 10.05.2017 um 19:59 schrieb Mark Thomas:
On 10/05/17 12:40, Michael Heinen wrote:
Am 10.05.2017 um 12:18 schrieb Mark Thomas:
On 10/05/17 10:26, Michael Heinen wrote:
Am 10.05.2017 um 00:40 schrieb Mark Thomas:
On 09/05/17 15:25, Michael Heinen wrote:
Hi all,
I am currently mirgating an
On 10/05/17 12:40, Michael Heinen wrote:
> Am 10.05.2017 um 12:18 schrieb Mark Thomas:
>> On 10/05/17 10:26, Michael Heinen wrote:
>>> Am 10.05.2017 um 00:40 schrieb Mark Thomas:
On 09/05/17 15:25, Michael Heinen wrote:
> Hi all,
>
> I am currently mirgating an application from Tom
Am 10.05.2017 um 12:18 schrieb Mark Thomas:
On 10/05/17 10:26, Michael Heinen wrote:
Am 10.05.2017 um 00:40 schrieb Mark Thomas:
On 09/05/17 15:25, Michael Heinen wrote:
Hi all,
I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43.
On development platforms we use an embedded t
On 10/05/17 10:26, Michael Heinen wrote:
> Am 10.05.2017 um 00:40 schrieb Mark Thomas:
>> On 09/05/17 15:25, Michael Heinen wrote:
>>> Hi all,
>>>
>>> I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43.
>>> On development platforms we use an embedded tomcat.
>>> On of the jars on
Am 10.05.2017 um 00:40 schrieb Mark Thomas:
On 09/05/17 15:25, Michael Heinen wrote:
Hi all,
I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43.
On development platforms we use an embedded tomcat.
On of the jars on the classpath contains a web-fragment.xml in it's
META-INF fol
On 09/05/17 15:25, Michael Heinen wrote:
> Hi all,
>
> I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43.
> On development platforms we use an embedded tomcat.
> On of the jars on the classpath contains a web-fragment.xml in it's
> META-INF folder.
> This jar file is NOT located
I've examined the issue more closely. The class (interface) is loaded twice,
once by WebappClassLoader and once by Launcher$AppClassLoader, both from
StandardContext.listenerStart() line: 4853
The WebappClassLoader one is reached via regular method calls, the other
through reflection:
On 1 June 2016 at 15:38, Mark Thomas wrote:
>
> On 01/06/2016 15:30, Fabrizio Cucci wrote:
> > Hi everyone,
> >
> > I was playing with embedded Tomcat 8.0.33 and I noticed something
> > unexpected.
> >
> > If I create my embedded Tomcat like this:
> >
> > Tomcat tomcat = new Tomcat();
> > tomcat.s
On 01/06/2016 15:30, Fabrizio Cucci wrote:
> Hi everyone,
>
> I was playing with embedded Tomcat 8.0.33 and I noticed something
> unexpected.
>
> If I create my embedded Tomcat like this:
>
> Tomcat tomcat = new Tomcat();
> tomcat.setPort(8080);
> tomcat.setBaseDir("myBaseDir");
>
> start the s
>> ... There should be only one static function / static
>> variable in the JVM!?
>
> That statement is incorrect.
>
> There is only one static function / variable per class instance.
>
> A class is uniquely identified by its name AND class loader.
>
> Hence in a multiple class-loader environment l
On 04/03/2015 18:15, Enke, Dr., Michael wrote:
> Hello all, I start a tomcat from my application and call the static
> ChatAnnotation.broadcast(String) (from examples) out of my
> application. This is possible but anyhow my application seems to
> access a "different" broadcast(String) method: If th
On 24/10/2014 23:30, Jason Ricles wrote:
> Does anyone happen to know if embedded tomcat is in Defense
> Information Systems Agency list? I know regular tomcat is but I have a
> need to use embedded tomcat for what I need to accomplish.
It is exactly the same code, just in fewer, larger JARs.
In
Hi Mark,
thanks for the pointer I think I've found the reason.
Could it be that the initialization of the servlets changed from 7 to 8 :)
I used to load the servlet in the initialization phase. So that's the part
I need to alter.
Need to move that part to the loadOnStartup method call.
just in ca
On 15/10/2014 11:38, Achim Nierbeck wrote:
> Hi Johan,
>
> 2014-10-15 12:22 GMT+02:00 Johan Compagner :
>
>> yes we tried to go that way with whiteboard registration also (jetty is
>> shipped by default in eclipse also with that)
>> but that was way to hard to control and to really configure the
Hi Johan,
2014-10-15 12:22 GMT+02:00 Johan Compagner :
> yes we tried to go that way with whiteboard registration also (jetty is
> shipped by default in eclipse also with that)
> but that was way to hard to control and to really configure the way we want
> so we decided to make tomcat a full osgi
yes we tried to go that way with whiteboard registration also (jetty is
shipped by default in eclipse also with that)
but that was way to hard to control and to really configure the way we want
so we decided to make tomcat a full osgi package itself.
On 15 October 2014 12:13, Achim Nierbeck wrote
Hi Johan,
thanks for the pointer. To me it looks like it does have a different scope.
Pax Web has been one of the first OSGi HttpService providers with
additional support for Web Application Bundles (std. war with OSGi Manifest)
This has been achieved so far very successfully with Jetty. Now we tr
maybe you are interested in this one:
https://github.com/Servoy/servoy-eclipse-tomcat
thats also a osgi enabled tomcat (but the full tomcat) we use that one
right in eclipse, where other plugins just contribute filters and servlets
On 14 October 2014 23:56, Achim Nierbeck wrote:
> Hi
>
> I'm
On 10/07/2014 03:13, John D. Ament wrote:
> Well, thanks for the helpful advice thus far..
>
> So, now that I've added a listener properly, I get this:
>
> java.lang.UnsupportedOperationException: Section 4.4 of the Servlet
> 3.0 specification does not permit this method to be called from a
> Ser
Well, thanks for the helpful advice thus far..
So, now that I've added a listener properly, I get this:
java.lang.UnsupportedOperationException: Section 4.4 of the Servlet
3.0 specification does not permit this method to be called from a
ServletContextListener that was not defined in web.xml, a
w
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 do I get access to a StandardContext? CAn I cast the Context object?
Yes. It wou
I looked for the source code, at least on github, there's no tag for
7.0.55 defined (see [1])
How do I get access to a StandardContext? CAn I cast the Context object?
[1]: https://github.com/apache/tomcat
On Mon, Jun 30, 2014 at 4:51 AM, Mark Thomas wrote:
> On 30/06/2014 01:27, John D. Ament
On 30/06/2014 01:27, 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
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(ApplicationContext.java:1402)
at
Hi,
I'm on Tomcat 7.0.54, though I would hope your APIs aren't volatile
enough that your internals should matter..
I tried this:
Wrapper wrapper =
Tomcat.addServlet(ctx,"Greeter",GreeterServlet.class.getName());
wrapper.addMapping("/*");
wrapper.getServlet().getServletConfig().getServletContext(
> From: John D. Ament [mailto:john.d.am...@gmail.com]
> Subject: Embedded Tomcat question
> 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?
Look in the servlet spec for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Edwin,
On 11/20/13, 5:27 PM, Ramirez, Edwin wrote:
> I am new to Tomcat and I was wondering if you could help me. I am
> trying to use tomcat in an embedded scenario, but I am unable to
> get the tomcat connector to support AJP connections.
What
On 16/05/2013 04:09, Chirag Dewan wrote:
>
>
> Sorry for the previous mail. Adding Subject.
>
> - Forwarded Message -
> From: Chirag Dewan
> To: Tomcat Users List
> Sent: Thursday, 16 May 2013 8:37 AM
> Subject:
>
>
>
> Hi All,
>
> I am upgrading my Embedded Tomcat 6 to Tomcat 7
On 18/03/2013 08:56, Jan Ehrhardt wrote:
> Hello,
>
> I want to use Tomcat embedded to my application, but I do not want to set a
> fixed port. Instead I want Tomcat to choose a free port itself. This works
> of cause by setting the port to 0, but asking the Tomcat object for the
> port, will retu
On Mar 15, 2013, at 3:15 PM, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Nick,
>
> On 3/15/13 3:56 PM, Nick Williams wrote:
>> I tried using a JAR URL. (If I remember correctly, it ended up
>> looking something like
>> jar:url://C:/Users/Nicholas/Desktop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 3/15/13 3:56 PM, Nick Williams wrote:
> I tried using a JAR URL. (If I remember correctly, it ended up
> looking something like
> jar:url://C:/Users/Nicholas/Desktop/Project/target/Test.jar!/Test.war.
That
>
doesn't look right.
> I tri
On Mar 15, 2013, at 2:15 PM, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Nick,
>
> On 3/13/13 2:19 PM, Nicholas Williams wrote:
>> On Wed, Mar 13, 2013 at 12:10 PM, Christopher Schultz
>> wrote:
>>> You mean addWebapp methods? They seem fairly self-expla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 3/13/13 2:19 PM, Nicholas Williams wrote:
> On Wed, Mar 13, 2013 at 12:10 PM, Christopher Schultz
> wrote:
>> You mean addWebapp methods? They seem fairly self-explanatory.
>
> Yes. I meant addWebapp methods. That was a typo.
>
> There
On Wed, Mar 13, 2013 at 12:10 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Nick,
>
> On 3/12/13 11:50 PM, Nick Williams wrote:
>>
>> On Mar 12, 2013, at 10:47 PM, Nick Williams wrote:
>>
>>> The JavaDoc for o.a.c.startup.Tomcat [1] is not complete.
>>> Imp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 3/12/13 11:50 PM, Nick Williams wrote:
>
> On Mar 12, 2013, at 10:47 PM, Nick Williams wrote:
>
>> The JavaDoc for o.a.c.startup.Tomcat [1] is not complete.
>> Importantly, it is lacking complete information about all three
>> addWebapp
On Mar 12, 2013, at 10:47 PM, Nick Williams wrote:
> The JavaDoc for o.a.c.startup.Tomcat [1] is not complete. Importantly, it is
> lacking complete information about all three addWebapp classes. Ultimately, I
> want to create one giant JAR file with my classes, Tomcat classes, servlet
> class
Awesome! Thanks a million Konstantin, it worked.
As for using the /tmp folder. "/tmp/images" is it actually just a place
where I give the images a uuid name, process them, and then save them
elsewhere immediately I then delete the original so it should be okay. I
will also add in the File.getAbs
2013/1/30 Jimmy Johnson :
> Ah, Okay, so I should use the addWebapp method to add a path to an external
> folder?
>
> e.g tomcat.addWebapp("/MyWebApp/images", "/tmp/images");
>
It should not matter whether it is an external folder or not, as you
are not relying on the autodeployment feature. There
Ah, Okay, so I should use the addWebapp method to add a path to an external
folder?
e.g tomcat.addWebapp("/MyWebApp/images", "/tmp/images");
Thanks,
Jimmy
On Tue, Jan 29, 2013 at 2:06 PM, Konstantin Kolinko
wrote:
> 2013/1/29 Jimmy Johnson :
> > System: Mac OS X 10.8
> > Tomcat Version: 7.0.30
2013/1/29 Jimmy Johnson :
> System: Mac OS X 10.8
> Tomcat Version: 7.0.30
> Language: Java
>
> I'm trying to set up the context in an embedded Tomcat instance to serve
> files from a local directory not within the deployed folder.
>
> In the standard server.xml when using the standard Tomcat confi
It is working. This is odd...
I changed from
*
*to
**
Notice I removed the leading slashes. It is now working with Tomcat Maven
plugin.
What caused the different behavior between standard Tomcat and maven plugin
Tomcat, I can't explain...
Regards,
J.
2012/10/1 Julien Martin
> I am still trying
I am still trying to work out how to fix this problem.
Can someone please explain to me what the difference is between standard
Tomcat and embedded Tomcat (maven plugin)? Especially where does the
embedded (maven plugin) Tomcat looks for the webapp resources?
Here is how I configured the plugin:
Thanks Daniel,
I've just deployed my app onto a standard Tomcat: it works ok.
My Spring config is as follows (the relevant parts at least):
Regards,
J.
2012/10/1 Daniel Mikusa
> On Oct 1, 2012, at 5:42 AM, Julien Martin wrote:
>
> > Hello,
> >
> > I am experiencing trouble with my e
On Oct 1, 2012, at 5:42 AM, Julien Martin wrote:
> Hello,
>
> I am experiencing trouble with my embedded tomcat: when I run my Spring app
> using the embedded Tomcat, it seems the properties are not resolved.
What about using a standard (i.e. not embedded, not part of Eclipse) Tomcat
installat
Thanks for clarifying it. That helped.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Embedded-Tomcat-6-7-logging-to-file-tp4984104p4984163.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
2012/7/16 Benjamin Muschko :
> Hi,
>
> I'd like to redirect the embedded Tomcat's startup logging messages to a
> file. What I am looking for is something like this:
>
> ...
> Initializing ProtocolHandler ["http-bio-8080"]
> Initializing ProtocolHandler ["http-bio-8091"]
> Starting service Tomcat
>
On 21/03/2012 07:31, Paul Middelkoop wrote:
> Hi,
>
> When I run Tomcat Embedded from Eclipse it is not able to detect
> my @HandlesTypes classes. This works fine when I run Tomcat non-embedded.
> This only happens if the classes that should be picked up by @HandlesTypes
> are not in a JAR file. I
UNCLASSIFIED
Thanks Chris!
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, 16 June 2011 5:01 AM
To: Tomcat Users List
Subject: Re: Embedded tomcat and unit testing.. Tomcat either stops or
my unit tests don't execute? [SEC=UNCLASS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
On 6/15/2011 12:09 AM, Fraser, James wrote:
> Thanks for your help. I got it working in the end. I suspect the main
> problem had to do with not terminating the running instance of Tomcat
> correctly in a tear-down method.
That might do it, de
cat.stop();
}
tomcat.destroy();
}
}
- James
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, 15 June 2011 11:27 AM
To: Tomcat Users List
Subject: RE: Embedded tomcat and unit testing.. Tomcat either stops or
my unit tests don't
> From: Fraser, James [mailto:james.fra...@dsto.defence.gov.au]
> Subject: RE: Embedded tomcat and unit testing.. Tomcat either
> stops or my unit tests don't execute? [SEC=UNCLASSIFIED]
> I read that Apache use embedded Tomcat for unit testing. Are there any
> examples flo
UNCLASSIFIED
I read that Apache use embedded Tomcat for unit testing. Are there any
examples floating around?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, 15 June 2011 10:01 AM
To: Tomcat Users List
Subject: RE: Embedded tomcat and
1 - 100 of 159 matches
Mail list logo