On Sun, Mar 18, 2018 at 2:04 PM, Loai Abdallatif
wrote:
> Dear Friends
>
> *root@appserver01:~# netstat -antp*
> I have started three tomcat instances on one debian server and I got the
> following netstat output:
> how I force the tomcat to bind to tcp instead of tcp6
>
>
> tcp6 0 0
On 9 Sep 2015 17:59, "Christopher Schultz"
wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Andrew,
>
> On 9/8/15 9:21 AM, Andrew M wrote:
> > Any idea why it is saying "401 Unauthorized"
>
> > I execute the following command: curl -1 --max-time 10 -s -k -u
> > tomcat_jmx:'eyFW$&$F
Hey Zoran,
On 3 Jul 2015 08:42, "Zoran Avtarovski" wrote:
>
> I went through the logs in much greater detail today and I noticed when
> the server starts I get multiple Spring loads in the log:
>
> org.apache.catalina.core.ApplicationContext.log Initializing Spring root
> WebApplicationContext
H
Hey Mayuresh,
On Wed, Apr 22, 2015 at 5:33 AM, Mayuresh
wrote:
> Hi Gurus,
>
> i am trying to make this combination and am stumbled at a place. After a
> lot of searching and experimenting I finally decided to post this question
> here.
>
Welcome to the mailing list!
>
> I am trying to load
Graham,
On Fri, Mar 13, 2015 at 4:49 PM, Graham Leggett wrote:
> On 13 Mar 2015, at 10:34 PM, Neven Cvetkovic
> wrote:
>
> >>> What doesn’t seem to fit is the realm definition - specifying
> userCredCol
> >>> is marked as mandatory, but this is
Graham,
On Fri, Mar 13, 2015 at 4:43 PM, Graham Leggett wrote:
> On 13 Mar 2015, at 9:58 PM, Neven Cvetkovic
> wrote:
>
> > Just to confirm, the 403 Forbidden page was rendered by Tomcat, not
> Apache
> > HTTPD?
>
> Yes, it is branded tomcat and appears in the
Graham,
On Fri, Mar 13, 2015 at 3:39 PM, Graham Leggett wrote:
>
>> What doesn’t seem to fit is the realm definition - specifying userCredCol
>> is marked as mandatory, but this is obviously not present with a client
>> certificate. What do you specify in this field?
>>
>
You define the password
Graham,
On Fri, Mar 13, 2015 at 3:39 PM, Graham Leggett wrote:
> Hi all,
>
> I have a basic authentication setup that works great as below.
>
>
> BASIC
> Patricia
>
>
>
>
> administrator
>
>
>
Graham,
On Fri, Mar 13, 2015 at 3:02 PM, Graham Leggett wrote:
> Hi all,
>
> I have a working realm installation using basic authentication, which I
> need to switch to client certificate authentication. Having done so it
> doesn’t work, I just get “forbidden”, with no indication of the error
>
Hey Carl,
On Tue, Mar 10, 2015 at 11:25 AM, Carl Dreher wrote:
> If I write a servlet such as the above, is there ever only once instance
>> of it running?
>>
>
> Don't confuse objects with threads. There is one instance of a
>>> particular servlet, but many threads may be executing in it conc
Carl,
Chris and Chuck have already provided great insights. Below are few
thoughts to consider.
On 3/9/15 12:04 PM, Carl Dreher wrote:
> > I need to restrict access to a website's images, to people that
> > have logged on, have authorization etc. I've searched though the
> > Tomcat user's mailin
Emir,
The actual list of steps is at the link you mentioned earlier:
http://tomcat.apache.org/native-doc/
On Fri, Mar 6, 2015 at 7:30 AM, Neven Cvetkovic
wrote:
>
> Let us know if you need help compiling the native Tomcat connectors
> (APR-based).
>
>
There might be others that
Hey Emir,
I've done a little test on my Ubuntu VM. Read below my additional comments:
On Fri, Mar 6, 2015 at 5:41 AM, Neven Cvetkovic
wrote:
>
> You have two choices:
>
> 1) Find a specific package that includes the required packages, e.g.
> apt-get install libapr1 libapr1-d
Thanks Konstantin for the clarification!
On Fri, Mar 6, 2015 at 5:41 AM, Neven Cvetkovic
wrote:
>
> It's exactly what the message says - the APR shared libraries are not
> found on the java.library.path.
>
>
I stand corrected: the message notifies that (APR-based) Tomcat N
Hey Emir,
On Thu, Mar 5, 2015 at 2:18 PM, Emir Ibrahimbegovic
wrote:
> I've got this message when starting a tomcat server :
>
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR
> based Apache Tomcat Native library which allows optimal performance in
> production environments
Richard,
On Sun, Nov 23, 2014 at 8:22 PM, Richard Aubry wrote:
> Neven
>
> Thank you very much. Your help was invaluable.
>
> You are welcome :)
> I looked at /etc/hosts and found and entry for the site I was trying to
> reach. I removed that entry and all is fine now. How, when and why that
>
!
Thanks
Neven
On Nov 23, 2014 8:51 AM, "Neven Cvetkovic"
wrote:
>
> Richard,
>
> On Nov 23, 2014 6:04 AM, "Richard Aubry" wrote:
> >
> > A few days ago, when I tried to access a web site that I frequently
access, I obtained an Apache Tomcat page that
Richard,
On Nov 23, 2014 6:04 AM, "Richard Aubry" wrote:
>
> A few days ago, when I tried to access a web site that I frequently
access, I obtained an Apache Tomcat page that said: "If you're seeing this
page via a web browser, it means you've set up Tomcat successfully.
Congratulations!"
>
You
Thanks Chris!
On Tue, Nov 4, 2014 at 10:41 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> > I guess, it's easy to add new directories to
> > TOMCAT/conf/catalina.properties file:
> >
> > common.loader=
> >
> ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${
Reply-to-my question:
On Mon, Nov 3, 2014 at 6:42 PM, Neven Cvetkovic
wrote:
>
> SLIGHTLY-OFFTOPIC:
>
> Although, I would love to see out-of-box setup for additional shared-lib
> folder, something other than TOMCAT/lib with Tomcat default libraries.
> Essentially, I would l
Chris, Leo, Vince,
On Mon, Nov 3, 2014 at 5:42 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
>> So, that's not all that complicated when you think about it, but
> >> to ask someone who knows nothing about a command-line, working
> >> effectively in an operating system, etc. and o
Vince,
On Mon, Nov 3, 2014 at 2:38 PM, wrote:
> On the subject of "Newbie-friendly", I think Tomcat would be a whole lot
> more friendly if CATALINA_HOME and CATALINA_BASE were always totally
> separate with a minimum of overlap.
>
>
Why is that?
I would argue current setup is very simple and "
Hey Ric,
Here's another thing you could do:
http://stackoverflow.com/questions/7195556/how-to-manage-connections-to-dynamically-created-databases
If your databases are all on the same db instance, but different
schema/database name, you could avoid connecting to the specific database
name, but ra
Hey Ric,
Thanks for asking these questions. Hopefully, this discussion will benefit
many on this list.
Here's the summary of your options obtaining connections in your
application.
As you suggested, database connections are typically obtained through a
javax.sql.DataSource object (wrapped pool o
Hey Aleks!
On Sat, Oct 18, 2014 at 6:48 PM, Aleksandar Lazic
wrote:
> Hi all.
>
> We have the need that the tomcat 7 connectors (ajp & http) only start
> listening on the configured port after the application is started.
>
> I have take a look at
>
> https://tomcat.apache.org/tomcat-7.0-doc/conn
Hey Janusz,
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz
wrote:
Follow the link Chris provided. It will give you some ideas about how
Realms work.
(Note that using JDBCRealm will give you terrible performance: use a
> DataSourceRealm instead with a JNDI DataSource.)
>
> You really need to re
Vishal,
>
> Hi,
>
> I have been struggling for days now to understand why my tomcat instance
created through RAD 8.5 Servers view not generating catalina.out and
tomcat.log log files at ${catalina.base}/logs.
> I only see localhost_access_log.-XX-XX.txt logs file?Why?
>
How did you crea
Hey Shawn,
On Fri, Aug 22, 2014 at 5:58 PM, NEW IT wrote:
> André, Chris and Neven,
>
>
> Sorry for the late response. Got stuck on other project and just come
> back now to read all
> your awesome helpful advices!
>
>
You are welcome!
> Neven, I got to try your "pseudocode". They are really d
Chris,
On Fri, Aug 22, 2014 at 4:50 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
>
> So just write a batch script that looks like this:
>
> @ECHO OFF
> SET CATALINA_BASE=whatever
> SET CATALINA_HOME=whatever
>
> CALL %CATALINA_HOME%\bin\catalina.sh start
>
You meant of course:
On Thu, Aug 21, 2014 at 9:40 PM, David Kerber wrote:
> On 8/21/2014 6:18 PM, André Warnier wrote:
>>
>> Now all that's left to do is for someone to make a version of this that
>> works for installing and starting the same as Windows Services.
>>
>> Despite what Christopher wrote - which is basica
On Thu, Aug 21, 2014 at 8:11 AM, André Warnier wrote:
>
The subject says "on the same pc". Now that is not a guarantee that
>>> we are talking about Windows here, but at least a strong
>>> suspicion. In such a case, there is the question of whether this
>>> relates to running Tomcat as
On Thu, Jun 12, 2014 at 5:10 AM, Francesco Viscomi
wrote:
> Hi,
> in this other case tomcat has started without the .keystore file:
>
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> 12-Jun-2014 11:07:52 org.apache.catalina.startup.Catalina start
> SEVERE: Catalina.st
On Mon, May 19, 2014 at 8:11 AM, David kerber wrote:
>
> I've uploaded code examples and the JmxExample.war:
>> https://wiki.apache.org/tomcat/Example%20Application%
>> 20Exposing%20Internals%20Using%20JMX
>>
>> So, just deploy JmxExample.war to your Tomcat instance, open up JMX
>> console
>> thr
On Sat, May 17, 2014 at 7:05 PM, Leon Rosenberg wrote:
> Really, there are about 1 gazzillion valid ways to setup an application
> consisting of n number of tomcats and m number of jbosses, running in same
> or separate processes/vms/datacenters and doing stuff.
>
+1. Agreed
> Maybe you should
On Sun, May 18, 2014 at 11:26 PM, Neven Cvetkovic wrote:
>
> > >> Which is "item 3"? I'd be happy to fix whatever is missing.
> > >>
> > >> - -chris
> > >
> > > Example Application Exposing Internals Using JMX
> &g
> >> Which is "item 3"? I'd be happy to fix whatever is missing.
> >>
> >> - -chris
> >
> > Example Application Exposing Internals Using JMX
> >
> > at the bottom of the page goes nowhere. More accurately, it goes to
> > a placeholder page.
>
> Aah. NevenCvetkovic added that link, not me, so I dunn
Hey Baldur,
On Mon, Apr 28, 2014 at 8:00 AM, Baldur wrote:
> Hi all,
>
> I'd like to get some help about my current architecture.
> The
> current scenario uses mod_jk to connect Apache httpd and Tomcat6. I have
> two
> Tomcat instances (using DeltaManager for session replication
On Mar 12, 2014 11:31 PM, "André Warnier" wrote:
>
> Lmhelp1 wrote:
>>
>> Hello and thank you for your answer.
>>
>> On 2014-03-12 11:54 AM, André Warnier wrote:
>>>
>>> If all you need to do, is to
>>> 1) read those files, to look at them
>>> 2) if they are ok, move them somewhere else
>>> 3) if
On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood wrote:
> It's probably worth asking what "full-fledged enterprise applications"
> means. I'm not aware of any specification with that title.
Mark, you are right - there is no specification named "full-fledged
enterprise JEE server". There is only o
On Mon, Mar 10, 2014 at 9:03 AM, Daniel Mikusa wrote:
> On Mar 9, 2014, at 11:05 AM, Neven Cvetkovic
> wrote:
> > Thus, if you run multiple instances of Tomcat - alone, virtual hosting
> will
> > not help you , since only one process can bind to a single IP address to
>
On Sun, Mar 9, 2014 at 6:36 PM, Terence M. Bandoian wrote:
> On 3/7/2014 4:45 PM, Leo Donahue wrote:
>
>> On Fri, Mar 7, 2014 at 3:41 PM, Konstantin Kolinko
>> wrote:
>>
>> 2014-03-08 2:30 GMT+04:00 Leo Donahue :
>>>
Any Spring developers on the list?
>>>
>>>
Leo, I've used Spring quite a lo
Ahmed,
On Sun, Mar 9, 2014 at 3:15 PM, Ahmed Dalatony wrote:
> I'm using win server 2008 running a combination of tomcat 6, tomcat 7, oc4j
> 10g on different ports
> the resources you supplied are very handy
> but they explain accessing http://www.myhost.com:/App1 from
> http://www.myhost.
On Sun, Mar 9, 2014 at 11:29 AM, Ahmed Dalatony wrote:
> On Sun, Mar 9, 2014 at 5:05 PM, Neven Cvetkovic
> wrote:
>
> > Ahmed,
> >
> > On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony <
> ahmed.dalat...@gmail.com
> > >wrote:
> >
> > > hel
Ahmed,
On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony wrote:
> hello,
>
can you help me little more with example or simpler doc
> i'm new to tomcat config
> and i don't understand virtual host
>
> thank you
>
Ultimately, if you don't want to show the port number to the end user, the
serving pro
On Fri, Mar 7, 2014 at 11:21 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
>
> Neven,
>
> On 3/5/14, 8:25 PM, Neven Cvetkovic wrote:
> > On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed
> >>
> > Ahmed, thanks for asking this question - it is sometime
On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed wrote:
> Hi,
>
> With jdbc pool, is each socket connection in the pool handled by a separate
> thread?
>
>
Ahmed, thanks for asking this question - it is sometimes very confusing
with all different kind of pools: connection pools, threadpools, etc...
Chris
On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard <
charle...@thelearningbar.com> wrote:
> On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
> > Can we still use Hibernate in our Spring application if we
> > > configure the Data Source through a context.xm
On Fri, Feb 14, 2014 at 6:37 PM, Pooja Swamy wrote:
> I started tomcat -
>
> test@17.198.48.77:/Users/test/software/runtime/bin>./startup.sh
> Using CATALINA_BASE: /Users/test/software/runtime
> Using CATALINA_HOME: /Users/test/software/runtime
> Using CATALINA_TMPDIR: /Users/test/software/ru
On Fri, Feb 14, 2014 at 5:31 PM, Pooja Swamy wrote:
> Yes. My tomcat is definitely not starting up :( I am not sure how to debug
> this issue though. I tried changing the port. It didn't help.
>
> For this error -
> SEVERE: Could not contact localhost:8005. Tomcat may not be running.
>
> When I d
On Fri, Feb 14, 2014 at 3:00 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Lance,
>
> On 2/13/14, 11:48 AM, Campbell, Lance wrote:
> > I am looking for free documentation for scaling Tomcat 7
> > horizontally. I currently hav
On Fri, Feb 14, 2014 at 3:10 PM, Pooja Swamy wrote:
> Yes I have tried that.
>
> When I kill, the process gets killed gracefully. After killing, if I do a
> ps -ef|grep tomcat, I don't see the process running.
> Like I said the issue is not with shutdown. The issue is with startup. When
> I start
On Feb 14, 2014 8:29 PM, "Pooja Swamy" wrote:
>
> Thank you so much for working with me on this. I am on mac OS, and I am
> using tomcat-7.0.50
>
> 1. Here is my server.xml without comments -
>
>
>
>
>SSLEngine="on" />
>
>className="org.apache.catalina.core.JreMemoryLeakPreventionList
On Fri, Feb 14, 2014 at 2:03 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Leo Medina [mailto:leo.medi...@gmail.com]
> > Subject: RE: Unable to shutdown Tomcat
>
> > Hello have you tried:
> > ps -ef | grep
> > kill -9
>
> You must have extremely odd implementations of p
On Fri, Feb 14, 2014 at 1:44 PM, Pooja Swamy wrote:
> I am unable to shutdown my tomcat gracefully. Everytime I try to shutdown
> tomcat, this is the error I get.
>
> test@17.198.48.77:/Users/test/software/tomcat/bin>./startup.sh
Using CATALINA_BASE: /Users/test/software/tomcat
> Using CATALIN
Ganeshh,
Are you familiar with any development tools (Eclipse, Netbeans, etc...)?
The reason I ask, is that would be easy to develop these applications (with
help) and build them yourself. Yes, someone could give you these WARs and
EARs - but do you trust them?
There are other alternatives, that
On Fri, Feb 7, 2014 at 11:59 PM, Jain, Shailesh wrote:
> Hello Chris,
>
> Iam getting very high memory utilization issue in tomcat 7 , which is
> installed on Windows (Vmware)
>
> Let me know if oyu want logs , and let me know the ftp link where I can
> upload the logs.
>
> Regards,
> Shailesh
On Fri, Feb 7, 2014 at 4:47 AM, Gaël THEROND wrote:
> Hello everyone,
>
> I'm facing a really strange issue since about two or three days now.
>
> I've got a Tomcat Server, which contain a virtualhost like this:
>
> http://pastebin.com/gDBhTTLH
>
>
I am surprised as your server.xml is not valid X
On Thu, Feb 6, 2014 at 11:02 AM, Shivam Mishra wrote:
> My directory structure is C:\Program Files\Apache Software
> Foundation\Tomcat 8.0\webapps\name\WEB-INF\Classes for .class file of
> Servlet
>
That should probably be lowercase "classes", e.g.
C:\Program Files\Apache Software Foundation\Tom
On Feb 6, 2014 4:21 PM, "Shivam Mishra" wrote:
>
> My tomcat and its example application is running but I got an error with
my
> own application .My port number is 8080 .I compile my servlet programme in
> jdk 7 .and my web.xml file is below
>
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web App
On Feb 6, 2014 9:58 AM, "Shivam Mishra" wrote:
>
> Hye I am using Tomcat 8.0.1 ,my operating system is Windows 8.1 and it is
> 64- bit configuration .I made a folder in webapps for my servlet but I am
> unable to access it Please help
Shivam,
Is your tomcat running? What port number? How did you
On Tue, Feb 4, 2014 at 6:22 PM, Franz <169...@gmail.com> wrote:
> > I assume you followed instructions for installation:
> >
> >
> http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20(latest%20versions)
> >
>
> >
> > After you get it working with catalina.sh run,
On Tue, Feb 4, 2014 at 3:13 PM, Franz <169...@gmail.com> wrote:
> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote:
>
> > On 04/02/2014 20:04, Franz wrote:
> >
> > > export JAVA_HOME="/opt/openemm/java"
> > > cd tomcat
> > > bin/startup.sh
> >
> >
> Using CLASSPATH: /opt/openemm/tomcat/bin
On Tue, Feb 4, 2014 at 4:08 AM, Ja kub wrote:
> in Manager app I see:
> after
> ab -k -n 100 -p post.txt http://localhost:18080/petclinic/session/fill
>
> on 18080 in petclinic 100 sessions
> on 28080 in petclinic 25 sessions
> on 38080 in petclinic 25 sessions
> on 48080 in petclinic 50 session
On Tue, Jan 28, 2014 at 3:54 PM, Howard W. Smith, Jr. <
smithh032...@gmail.com> wrote:
> > Thus I will probably never have to use clustering.
>
> Loving your responses on this topic, Chris. I do not want to hijack this
> thread, but i find this topic interesting, and your responses make it more
>
On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко wrote:
>
> About point 4 - this is main goal: as we have few Java-applications
> running
> in this very system - they must use "global" memory options, thats why I
> suggested set System variable JAVA_OPTS. But namely Tomcat - must use
> another me
On Mon, Jan 27, 2014 at 10:58 AM, Арсений Зинченко wrote:
>
> Set JAVA_OPTS as system variable (for all other applications); and create
> setenv.bat in /bin/ directory with CATALINA_OPTS whith Xmx/Xms for Tomcat?
>
> Will it be more correctly than set CATALINA_OPTS as System variable? Or -
> by th
On Sun, Jan 26, 2014 at 12:32 AM, Vicky B wrote:
> if I have a privilege to ask a question on this topic if can anyone help me
> on how an user fire a put request or delete request ( I am not a hacker)
> .All my life I just used post and get I never thought about these put and
> delete, so if som
On Dec 2, 2013 12:47 PM, "Tomcat Random" wrote:
>
> Neven, thank you.
>
> It was right there in my.cnf: 'wait_timeout=600'
>
You're welcome :)
I am curious why tomcat didn't renew expired (terminated) idle connections
though.
On Thu, Nov 28, 2013 at 12:32 PM, Nir A wrote:
> Hi,
> Ive set up a cluster of tomcats
> They use back up manager for session replication.
>
> The replication works on my web app.
>
> Today i added another web application, but when a new session is created,
> no replication takes place.
> The or
>
> On Wed, Nov 27, 2013 at 5:32 PM, Tomcat Random >wrote:
>
> > Everything behaves as expected, except after 600 seconds (10 minutes) all
> > the pooled connections expire. As far as I can tell the default is to not
> > remove/evict pooled connections below 'minIdle' but that's what's
> > happeni
On Fri, Nov 22, 2013 at 2:49 PM, srinivas yelamanchili wrote:
> I tried each of these lines and they don't work:
> Redirect /AppXyz /App
> Alias /AppXyz /App
>
> The apache access_log file shows:
> GET /AppXyz/javascript/mojo/js/source/...
>
> Shouldn't it be 'App' instead of 'AppXyz' ?
>
>
Sri, u
On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili wrote:
> So today Apache requests for /App and /AppXyz go to Tomcat /App and
> /AppXyz respectively.
>
> Now I want to change this redirection so all Apache requests of type /App*
> go to Tomcat /App only (and not AppXyz)
> How to accomplish t
On Wed, Nov 20, 2013 at 12:21 AM, Felipe wrote:
> Neven,
> First of all, I'd like to thank you for all the help. I can say I have
> learned a great deal through this experience. To clarify, the choice of
> using tomcat for this was not mine. I am trying to lend a hand to a
> professor of mine. Th
Felipe,
As noted in the web.xml comments, in order to make cgi-servlet working, you
need to package cgi scripts with your web application (e.g. yourapp.war):
"Common Gateway Includes (CGI) processing servlet, which supports execution
of external applications that conform to the CGI spec requireme
Felipe your form action seem to be wrong. Nothing is listening on port 80
as notwd in your html.
It should be more like http://localhost:8080/...
Depending how that default servlet has been mapped to cgi programs.
Hopefully that will get you going :)
On Nov 20, 2013 3:01 AM, "Felipe" wrote:
>
On Wed, Nov 13, 2013 at 10:53 AM, Gurkan Erdogdu wrote:
>
> Anyway, I closed the discussion from my side! If you are really feeling
> bad now because of receiving such email from me, please unsubscribe the
> list.
>
Gurkan, that seems to be an issue - people did not choose to be subscribed
to you
even
> Thanks for your reply.
> I didnt find anything about security filter in the tomcat docs, is this a
> common filter.
> important would be that the filter triggers only when users perform a
> j_security check, and not on every request.
>
> should i use /j_security_chec
> The problem:
>
>
>
> The user should have a password which should change after a time (eg one
> month).
>
> So how do i intercept a login request after j_security_check which
> redirects the user to a „change your password“ page before redirecting him
> (as it usually would be), to the url he req
On Thu, Sep 5, 2013 at 5:55 PM, John Beaulaurier -X (jbeaulau - ADVANCED
NETWORK INFORMATION INC at Cisco) wrote:
> Hello,
>
> I would like to know where to place JVM HostSpot parameter flags in the
> Tomcat config files. I have read that
> a file named setenv.sh should be created in CATALINA_HO
On Sat, Aug 10, 2013 at 12:02 PM, Mark Eggers wrote:
> Hopefully the original poster is just emulating what will be in
> production. In other words, rather than having an Apache HTTPD server with
> the static files on his development machine, as well as connecting Apache
> HTTP and Tomcat with AJ
As others pointed out, check out the list of companies that provide support
and training:
http://wiki.apache.org/tomcat/SupportAndTraining
I am sure that you can find others too:
http://bit.ly/13YsFrr
Good luck!
James,
Something else is listening on port 443 (SSL port). I am no AS/400 expert,
but you should be able to see listening processes, e.g.
Linux: netstat -vatpn | grep 443
Windows: netstat -aon | findstr "443"
Did you try connecting to the port 443?
Btw in your log "" is actual real IP address,
> >
> > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> >
> >
> >
> > Everything
> > *.jsp
> > *.html
> > *.js
> > /Servlet1
> > /Servlet2
> >
>
Jeffrey, why don't you just use "catch all" url pattern?
How about creating a fake manager application :)))
That takes X minutes/seconds to get back a 404 ;)))
Why would you want to reload the application? What are the motives behind
that?
There are few ways to do it... it all depends what do you want to
accomplish and what type of an app it... what is your current deployment
procedure?
Here are few ways:
1. Obvious one, remove app from webapps and cop
I believe asterisks are formated by the mailing list software after bolding
a selection of text ... so we should safely ignore them ;)
Saumil,
On Thu, Apr 11, 2013 at 1:09 AM, saumil shah wrote:
> Hello All,
> We are using Tomcat 6.0.35 for our production system with 64 bit JVM
> (1.6.33) on Windows 2008 R2 SP1. Our physical memory is 24gb. Load is ~ 100
> concurrent sessions.
> The Tomcat crashed again with OutOfMemoryError: J
David,
Here's an example application that has a CounterServlet that counts hits
for example... Here are the classes that I used
- CounterServlet - just counts number of hits, calls
MyCounter.incrementAndGet() static method
- MyCounter - class that implements the counter (static calls to reset
cou
On Tue, Apr 9, 2013 at 3:46 PM, David kerber wrote:
>
> Is there a "restart" command available? Obviously I need to do some more
> research now that you've gotten me started.
>
>
David,
I don't think you can "restart" Tomcat JVM process. Why do you want to do
that? What are you trying to do? Ma
Hey David,
Just one clarification - I assume TC refers to Apache Tomcat, and not
"tcat" (mulesoft) or "tc server" (vmware).
You could create a script that uses JMX to connect to each one of the
instances and polls for certain MBeans that have access to your runtime
data (your counters). You could
On Tue, Apr 9, 2013 at 10:15 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Neven,
>
> On 4/7/13 3:15 PM, Neven Cvetkovic wrote:
> > Mark,
> >
> > When connecting to local jmx, connec
nnect to it with jconsole,
>> but I cannot connect with jconsole to tomcat (although it is visible in
>> jconsole) ?
>>
>> both my main, and tomcat, and jconsole are running on the same laptop.
>>
>> regards,
>> Jakub
>>
>>
>>
>>
>>
Jakub,
I am not sure that I understand "when I start my own main ..." - I
assume you refer to your own Java class that has main() method and
that you start, e.g.
java com.mydomain.MyApp
What specific command do you use when starting up your Tomcat? Also,
include what version and what operating s
Jakub,
"You don't have to" configure Tomcat with above settings to get JMX. You
are correct that JMX works out of the box. However, that works only
locally, above commands are for REMOTE JMX access. You are opening up a jmx
port so external (not same machine) jconsole or jvirtualvm can access JMX
On Thu, Apr 4, 2013 at 3:03 PM, wrote:
>
> I just thought I'd post the solution I found in case anybody else runs
> into this trying to migrate an app from JBoss to Tomcat. Neven, I tried
> your last suggestion and was still getting an error. I then took another
> look at my localhost log and inv
OK, I looked it up again...
Your current hibernate.cfg.xml says:
*org.hibernate.
transaction.JTATransactionFactory
org.hibernate
.transaction.JBossTransactionManagerLookup
*
You should try replacing this with:
*org.hibernate.transaction.JDBCTransactionFactory
*
Give it a whirl, and see if that
David that helps a bit more... See comments below:
On Thu, Apr 4, 2013 at 12:44 PM, wrote:
>
>
> Here is the localhost log file also. This might be useful. This is after
> the app is deployed and the home page launched.
>
> Apr 04, 2013 12:36:48 PM org.apache.catalina.core.ApplicationContext log
Hey David,
I've misread that earlier - this is *java.lang.NoClassDefFoundError* -
which means the class that was available at the compile time is not
available now to the JVM.
I suspect it might be a problem with your *
com.systemsmadesimple.hibernate.HibernateUtil* class implementation. As per
s
David,
I would like to split troubleshooting into three steps:
- tomcat startup (no app deployed)
- deploy application war file (copy war to webapps)
- test application in browser
This way you can really isolate and nail down the problem. When does the
exception occur?
Can you give us theee con
David
My bad, I gave you the wrong code for testing database connections. I was
just typing the code from my head, I did not test it myself. I probably
should have used Eclipse before I gave you the code ;)
Here's a better version:
...
<%
javax.naming.InitialContext naming = null;
*java.
1 - 100 of 103 matches
Mail list logo