Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Jack Green
When you try to start `11.0.3` via: ``` new Tomcat(); ``` An error is thrown: ``` Exception in thread "main" java.lang.ExceptionInInitializerError at TomcatReproducer.main(TomcatReproducer.java:6) Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field static final

Apache Tomcat 7 on windows 2008: how to host mutiple domains

2015-07-10 Thread Joe Green
Hi there, I’m new to Apache Tomcat. I have been asked to point new domain name to the existing domain name. E.g. We have https://xyz.abc.com, we want new domain name http://123.abc.com to point to xyz.abc.com. The Apache Tomcat 7 server is installed Windows 2008 R2 server. We have created the DN

Re: tomcat7-maven-plugin and mail

2014-12-03 Thread James Green
spath, yes? > > You mentioned integration testing... Your war works with other servlet > containers? Perhaps there is a dependency that the other containers provide > as a standard that tomcat does not. > > > > > On Tue, Dec 2, 2014 at 4:52 AM, James Green > wrote:

Re: tomcat7-maven-plugin and mail

2014-12-02 Thread James Green
rhead 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 &

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: org.apache.maven.plugins maven-war-plugin

Documentation on Connectors needs updating

2014-11-28 Thread James Green
Ref http://tomcat.apache.org/tomcat-8.0-doc/connectors.html Those new to Tomcat will not know what a "connector" is. I presume it's the network protocol used to listen and respond to external requests... For HTTP it is suggested to use AJP clustering as performance is higher than that of mod_prox

Maven Plugin: Documentation error?

2014-03-21 Thread James Green
Referencing http://tomcat.apache.org/maven-plugin-trunk/executable-war-jar.html The question I find most obvious when reading this is about the packaging. The war module apparently needs to be war or jar; the pom module apparently needs to be war. Confused! Also, having both listed on the same p

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-14 Thread James Green
I received this too. This is deeply wrong. I subscribed to Apache lists, not a commercial one. I look forward to seeing what the investigation reveals and what actions take place. On 14 November 2013 08:25, Pid wrote: > On 13/11/2013 14:53, Gurkan Erdogdu wrote: > > > > Hello all, > > > Wh

Non-invasive configuration by extension?

2013-05-23 Thread James Green
Hi, I need to configure TomEE to work with SSL connections. I see Tomcat documentation talking about how to edit the server.xml file. Is it possible to supply a small fragment XML file that Tomcat's configuration includes, similar to the way Linux distros now have software that looks in conf.d fi

Re: Inno Setup Script?

2013-04-11 Thread James Green
omcat\logs" --LogLevel=DEBUG The difference is that in the working line the value for JavaHome does NOT end with a backslash. This was finally identified by comparing registry data between our custom installer and the official one. Now to build much the same but for HSQL... James On 11 A

Re: Inno Setup Script?

2013-04-11 Thread James Green
Getting quite frustrated now. Here's the line the installer is now running: C:\Program Files\Our Local Services\tomcat\bin\tomcat7.exe //IS//Tomcat7 --DisplayName="Apache Tomcat 7" --JavaHome="C:\Program Files\Our Local Services\tomcat\..\java-7-32bit\" --Install="C:\Program Files\Our Local Servi

Re: Inno Setup Script?

2013-04-10 Thread James Green
On 10 April 2013 12:47, Konstantin Kolinko wrote: > 2013/4/10 James Green : > > On 10 April 2013 11:55, Konstantin Kolinko > wrote: > > > >> 2013/4/10 James Green : > >> > I was hoping I could avoid that. > >> > > >> >(...) >

Re: Inno Setup Script?

2013-04-10 Thread James Green
On 10 April 2013 11:55, Konstantin Kolinko wrote: > 2013/4/10 James Green : > > I was hoping I could avoid that. > > > >(...) > > > > While this installs a service, as soon as I attempt to start it I get a > > failure. Nothing is logged by Tomcat, but in th

Re: Inno Setup Script?

2013-04-10 Thread James Green
led. I am therefore lost as to what I'm looking at as a problem. Any ideas where to go? Thanks, James On 8 April 2013 18:38, Konstantin Kolinko wrote: > 2013/4/8 James Green : > > I have a need to distribute an application that works inside Tomcat to a > > number of custom

Inno Setup Script?

2013-04-08 Thread James Green
I have a need to distribute an application that works inside Tomcat to a number of customers. I can build an Inno Setup script to most of the work, but rather than re-inventing what looks like quite a complex wheel, has anyone build an installer script for Tomcat already that they could share? In

Re: Context.xml ignored.

2013-03-03 Thread James Green
On 3 March 2013 19:44, Mark Thomas wrote: > On 03/03/2013 19:25, James Green wrote: > > I am clearly inferring too much. An explicit statement would certainly > help > > reduce confusion, and perhaps cause the Netbeans people to avoid putting > > the path attribute

Re: Context.xml ignored.

2013-03-03 Thread James Green
On 3 March 2013 17:58, Mark Thomas wrote: > On 03/03/2013 16:22, James Green wrote: > > On 3 March 2013 15:51, Mark Thomas wrote: > > > > >> The base file name controls the context path. If you want to change the > >> context path, the simplest solu

Re: Context.xml ignored.

2013-03-03 Thread James Green
On 3 March 2013 15:51, Mark Thomas wrote: > On 03/03/2013 15:29, James Green wrote: > > On 3 March 2013 14:32, Mark Thomas wrote: > > > >> On 03/03/2013 14:24, James Green wrote: > >>> On 3 March 2013 11:34, Konstantin Kolinko > >> wrote: > >&

Re: Context.xml ignored.

2013-03-03 Thread James Green
On 3 March 2013 14:32, Mark Thomas wrote: > On 03/03/2013 14:24, James Green wrote: > > On 3 March 2013 11:34, Konstantin Kolinko > wrote: > > > >> 2013/3/3 James Green : > > > So now I have a war deployed. Easy enough. Now to set the URL path. >

Re: Context.xml ignored.

2013-03-03 Thread James Green
On 3 March 2013 11:34, Konstantin Kolinko wrote: > 2013/3/3 James Green : > > We have a war archive that includes a netbeans-generated context.xml for > tomcat deployment. > > > > If we drop this war into webapps, the context root remains that of the > war filename.

Context.xml ignored.

2013-03-03 Thread James Green
We have a war archive that includes a netbeans-generated context.xml for tomcat deployment. If we drop this war into webapps, the context root remains that of the war filename. Has there been a regression in recent 7.x releases in this regard? Interestingly, a colleague confirms that this is h

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
> Try this link. It's a tomcat mirror for the binary distribution: > > http://mirror.overthewire.com.au/pub/apache/tomcat/tomcat-7/v7.0.28/bin/apache-tomcat-7.0.28.tar.gz > > > On 21/06/2012, at 11:46 AM, Samuel V Green III wrote: > >> That's exactly what I&#

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
ome how my system is messed up and have no idea how. the Java -v command produced results yesterday ? Doing some googling now for a fix. Samuel. On Jun 20, 2012, at 6:35 PM, Hassan Schroeder wrote: > On Wed, Jun 20, 2012 at 6:29 PM, Samuel V Green III > wrote: > >> I can't down

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
te: > Yes. > Save yourself some pain. > Download the binary distribution unless you need it for a specific reason. > Oz > > > On 21/06/2012, at 10:57 AM, Samuel V Green III wrote: > >> Feeling like an idiot, but since I'm downloading apache-tomcat-7.0.28-src… >

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
Feeling like an idiot, but since I'm downloading apache-tomcat-7.0.28-src… Do I have to do a build first ? Thanks, Samuel. On Jun 20, 2012, at 3:50 PM, Hassan Schroeder wrote: > On Wed, Jun 20, 2012 at 3:28 PM, Samuel Green wrote: >> This afternoon I did a reinstall at /us

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
Loader.java:247) So still no start. On Jun 20, 2012, at 3:50 PM, Hassan Schroeder wrote: > On Wed, Jun 20, 2012 at 3:28 PM, Samuel Green wrote: >> This afternoon I did a reinstall at /usr/local >> and still am not able to get it started. > > 15:41 ~/Downloads $ ta

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel Green
y it won't load from /usr /local where "others" apparently have no problem. Thanks again ! Samuel. On Wed, Jun 20, 2012 at 3:17 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Samuel, > > On 6/20/12 11:55 AM, Samuel Green wrote: &

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel Green
Thanks guys , I'll try a fresh install tonight and attempt to run JUST from my /usr/local and report back to the list my results. Samuel. On Wed, Jun 20, 2012 at 5:30 AM, Daniel Mikusa wrote: > > - Original Message - > > > From: Samuel V Green III [mailt

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-19 Thread Samuel V Green III
ory to match my user id instead of "root" ? On Jun 19, 2012, at 6:57 PM, Caldarale, Charles R wrote: >> From: Samuel V Green III [mailto:macun...@gmail.com] >> Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion" > >> Java(TM) SE Runtime Envi

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-19 Thread Samuel V Green III
user "myusr name" and owner "wheel". So I have to either change permission to match at the symbolic link to the /usr/local install or vise versa ? Thanks, Samuel. On Jun 19, 2012, at 6:57 PM, Caldarale, Charles R wrote: >> From: Samuel V Green III [mailto:macun...

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-19 Thread Samuel V Green III
java -version java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode) Thanks Charles ! Samuel. On Jun 19, 2012, at 6:09 PM, Caldarale, Charles R wrote: >> From: Samuel V Green I

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-19 Thread Samuel V Green III
to you, but there is something I'm missing. Thank you, Samuel. On Jun 19, 2012, at 8:40 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Samuel, > > On 6/18/12 11:34 PM, Samuel V Green III wrote: >> I followed directions for inst

apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-18 Thread Samuel V Green III
I followed directions for install and config here: http://wolfpaulus.com/journal/mac/tomcat7 and here: http://www.janhellevik.no/blog/?p=323 When attempting to start Tomcat I get the following error…. ( I've googled the _ _ it out of this error and can't find a fix. sudo $CATALINA_HOME/bin/cat

mod_jk configuration woes

2008-10-17 Thread Virgil Green
I have the following configuration (config files below) and am encountering the error “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong message format 0x4854 from 127.0.0.1:8082” when attempting to access a URL that matches one of my JKMounted entries. My versions are listed below,

Re: cant't log in to tomcat manager

2007-05-14 Thread green
Martin Gainty schrieb: > login with username which has %CATALINA_HOME%/conf/tomcat-users.xml > with roles="admin,manager" defined.. > M-- > > > >> helo, >> >> i have tried all manager roles form the tomcat-users.xml file, to login. >> but it doesen't work. >> My tomcat server works normal. i use to

cant't log in to tomcat manager

2007-05-13 Thread green
helo, i have tried all manager roles form the tomcat-users.xml file, to login. but it doesen't work. My tomcat server works normal. i use tomcat 5.5.16 where is the problem? thank you achi ases - To start a new topic, e-mail:

Re: Can't view examples

2007-03-27 Thread Joe Green
Yes the folders are there but they are empty. Does Apache Tomcat/6.0.10 come JSP/Servlet examples? >--- Original Message Follows --- >From: "reno" >To: Tomcat Users List >Subject: Re: Can't view examples >Date: Tue, 27 Mar 2007 09:37:47 +0200 > >are you sure that the folders that you

Can't view examples

2007-03-26 Thread Joe Green
Hi, I installed Apache Tomcat/6.0.10 on Win XP Pro. Tomcat Web Application Manager shows status is OK. But when I click on Servlets and JSP Examples link on http://127.0.0.1:8080/, I get a 404 error. I also get 404 errors when I click on links /examples/, /host-manager and /manager. I do som

Re: Changing the webapps directory

2006-10-28 Thread Aaron Green
yes, I have Tomcat 5.5 on Windows also, and I don't have these problems. I'm trying to set this up on a Linux machine though, because developing and hosting on my laptop just isn't working. The wars are open-source apps that deploy fine on my Windows box, so I'm guessing it must be a config or p

Re: Changing the webapps directory

2006-10-28 Thread Aaron Green
nal Message - From: "Aaron Green" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, October 28, 2006 10:46 AM Subject: Changing the webapps directory > I'd like to change my webapps directory to be in my home directory. > I've look around and can

Re: Changing the webapps directory

2006-10-28 Thread Aaron Green
Thanks for the reply. I did find the webapps reference in webapps, but again, didn't know the correct implementation for changing the directory. I was also unaware that I hijacked a thread. My thread does contain text from another thread, but the list created a new thread in my mailbox and the

Changing the webapps directory

2006-10-28 Thread Aaron Green
be very much appreciated. Thanks, -vivek - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Aaron Green Web Content Coord

Realm static variables always return null

2006-10-27 Thread Jamie Green
I have written a Realm that uses LDAP to login to racf. When a user enters their username and password incorrectly or their password has expired I want to give them feedback so they can take appropriate action. I am trying to use a static ThreadLocal within the realm I created to store any error