Re: TCP6

2018-03-18 Thread Neven Cvetkovic
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

Re: Unable to get the jmx information for tomcat 8 from command line(curl command)

2015-09-09 Thread Neven Cvetkovic
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

Re: Spring Scheduled Task is triggered multiple times

2015-07-03 Thread Neven Cvetkovic
Hey Zoran, On 3 Jul 2015 08:42, Zoran Avtarovski zo...@sparecreative.com 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

Re: Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Neven Cvetkovic
Hey Mayuresh, On Wed, Apr 22, 2015 at 5:33 AM, Mayuresh mayuresh.kshirsa...@gmail.com 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!

Re: Tomcat7: debugging realms - a howto?

2015-03-13 Thread Neven Cvetkovic
Graham, On Fri, Mar 13, 2015 at 3:02 PM, Graham Leggett minf...@sharp.fm 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

Re: Switching basic auth to client-cert with realms - how?

2015-03-13 Thread Neven Cvetkovic
Graham, On Fri, Mar 13, 2015 at 3:39 PM, Graham Leggett minf...@sharp.fm wrote: Hi all, I have a basic authentication setup that works great as below. login-config auth-methodBASIC/auth-method realm-namePatricia/realm-name /login-config

Re: Switching basic auth to client-cert with realms - how?

2015-03-13 Thread Neven Cvetkovic
Graham, On Fri, Mar 13, 2015 at 3:39 PM, Graham Leggett minf...@sharp.fm 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

Re: Tomcat7: debugging realms - a howto?

2015-03-13 Thread Neven Cvetkovic
Graham, On Fri, Mar 13, 2015 at 4:43 PM, Graham Leggett minf...@sharp.fm wrote: On 13 Mar 2015, at 9:58 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: Just to confirm, the 403 Forbidden page was rendered by Tomcat, not Apache HTTPD? Yes, it is branded tomcat and appears

Re: Switching basic auth to client-cert with realms - how?

2015-03-13 Thread Neven Cvetkovic
Graham, On Fri, Mar 13, 2015 at 4:49 PM, Graham Leggett minf...@sharp.fm wrote: On 13 Mar 2015, at 10:34 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: What doesn’t seem to fit is the realm definition - specifying userCredCol is marked as mandatory, but this is obviously

Re: restricting access to images

2015-03-10 Thread Neven Cvetkovic
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 mailing

Re: threads vs. servlets

2015-03-10 Thread Neven Cvetkovic
Hey Carl, On Tue, Mar 10, 2015 at 11:25 AM, Carl Dreher focus...@arn.net 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

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
Thanks Konstantin for the clarification! On Fri, Mar 6, 2015 at 5:41 AM, Neven Cvetkovic neven.cvetko...@gmail.com 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

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
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 neven.cvetko...@gmail.com wrote: Let us know if you need help compiling the native Tomcat connectors (APR-based). There might be others

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
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 neven.cvetko...@gmail.com wrote: You have two choices: 1) Find a specific package that includes the required packages, e.g. apt-get install libapr1 libapr1

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
Hey Emir, On Thu, Mar 5, 2015 at 2:18 PM, Emir Ibrahimbegovic eibrahim@gmail.com 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

Re: How to get rid of that Tomcat page? Please help!

2014-11-24 Thread Neven Cvetkovic
Richard, On Sun, Nov 23, 2014 at 8:22 PM, Richard Aubry aubry...@gmail.com 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

Re: How to get rid of that Tomcat page? Please help!

2014-11-23 Thread Neven Cvetkovic
! Thanks Neven On Nov 23, 2014 8:51 AM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: Richard, On Nov 23, 2014 6:04 AM, Richard Aubry aubry...@gmail.com 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

Re: How to get rid of that Tomcat page? Please help!

2014-11-22 Thread Neven Cvetkovic
Richard, On Nov 23, 2014 6:04 AM, Richard Aubry aubry...@gmail.com 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.

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Neven Cvetkovic
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=

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Vince, On Mon, Nov 3, 2014 at 2:38 PM, vince.w...@thomsonreuters.com 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

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
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 only knows

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Reply-to-my question: On Mon, Nov 3, 2014 at 6:42 PM, Neven Cvetkovic neven.cvetko...@gmail.com 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

Re: Tomcat 7 JDBC Connection Pool - question about usage from Java code

2014-10-26 Thread Neven Cvetkovic
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

Re: Tomcat 7 JDBC Connection Pool - question about usage from Java code

2014-10-26 Thread Neven Cvetkovic
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

Re: Question about delaying startup of connector

2014-10-18 Thread Neven Cvetkovic
Hey Aleks! On Sat, Oct 18, 2014 at 6:48 PM, Aleksandar Lazic al-tomcatu...@none.at 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

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Neven Cvetkovic
Hey Janusz, On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com 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

RE: Tomcat 7.0.55, OS: 64-bit Windows 7

2014-08-29 Thread Neven Cvetkovic
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 create

Re: question on different version of tomcat running on the same pc

2014-08-22 Thread Neven Cvetkovic
On Thu, Aug 21, 2014 at 9:40 PM, David Kerber dcker...@verizon.net 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

Re: question on different version of tomcat running on the same pc

2014-08-22 Thread Neven Cvetkovic
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: CALL

Re: question on different version of tomcat running on the same pc

2014-08-22 Thread Neven Cvetkovic
Hey Shawn, On Fri, Aug 22, 2014 at 5:58 PM, NEW IT newi...@gmail.com 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

Re: question on different version of tomcat running on the same pc

2014-08-21 Thread Neven Cvetkovic
On Thu, Aug 21, 2014 at 8:11 AM, André Warnier a...@ice-sa.com 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 a

Re: starting tomcat

2014-06-12 Thread Neven Cvetkovic
On Thu, Jun 12, 2014 at 5:10 AM, Francesco Viscomi fvisc...@gmail.com 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

Re: Application monitoring

2014-05-19 Thread Neven Cvetkovic
On Sun, May 18, 2014 at 11:26 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: 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

Re: Tomcat dependency on application server

2014-05-19 Thread Neven Cvetkovic
On Sat, May 17, 2014 at 7:05 PM, Leon Rosenberg rosenberg.l...@gmail.comwrote: 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

Re: Application monitoring

2014-05-19 Thread Neven Cvetkovic
On Mon, May 19, 2014 at 8:11 AM, David kerber dcker...@verizon.net 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

Re: Application monitoring

2014-05-18 Thread Neven Cvetkovic
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 dunno what he was

Re: Tomcat configuration with multiple webapps

2014-04-28 Thread Neven Cvetkovic
Hey Baldur, On Mon, Apr 28, 2014 at 8:00 AM, Baldur baldur@gmail.com 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

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Neven Cvetkovic
On Mar 12, 2014 11:31 PM, André Warnier a...@ice-sa.com 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 they are

Re: simple way to access application in multi instance envirnoment

2014-03-10 Thread Neven Cvetkovic
On Mon, Mar 10, 2014 at 9:03 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Mar 9, 2014, at 11:05 AM, Neven Cvetkovic neven.cvetko...@gmail.com 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

Re: Tomcat and Spring Framework

2014-03-10 Thread Neven Cvetkovic
On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood mw...@iupui.edu 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

Re: simple way to access application in multi instance envirnoment

2014-03-09 Thread Neven Cvetkovic
Ahmed, On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony ahmed.dalat...@gmail.comwrote: 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

Re: simple way to access application in multi instance envirnoment

2014-03-09 Thread Neven Cvetkovic
On Sun, Mar 9, 2014 at 11:29 AM, Ahmed Dalatony ahmed.dalat...@gmail.comwrote: On Sun, Mar 9, 2014 at 5:05 PM, Neven Cvetkovic neven.cvetko...@gmail.comwrote: Ahmed, On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony ahmed.dalat...@gmail.com wrote: hello, can you help me

Re: simple way to access application in multi instance envirnoment

2014-03-09 Thread Neven Cvetkovic
Ahmed, On Sun, Mar 9, 2014 at 3:15 PM, Ahmed Dalatony ahmed.dalat...@gmail.comwrote: 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

Re: Tomcat and Spring Framework

2014-03-09 Thread Neven Cvetkovic
On Sun, Mar 9, 2014 at 6:36 PM, Terence M. Bandoian tere...@tmbsw.comwrote: On 3/7/2014 4:45 PM, Leo Donahue wrote: On Fri, Mar 7, 2014 at 3:41 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2014-03-08 2:30 GMT+04:00 Leo Donahue donahu...@gmail.com: Any Spring developers on the

Re: understanding jdbc pool

2014-03-08 Thread Neven Cvetkovic
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 sahmed1...@gmail.com Ahmed, thanks for asking this question - it is sometimes very confusing with all

Re: understanding jdbc pool

2014-03-05 Thread Neven Cvetkovic
On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed sahmed1...@gmail.com 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,

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Neven Cvetkovic
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.xml?

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 1:44 PM, Pooja Swamy poojasw...@gmail.com 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

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
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 port number kill -9 port number You must have extremely odd

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Feb 14, 2014 8:29 PM, Pooja Swamy poojasw...@gmail.com 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 - ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 3:10 PM, Pooja Swamy poojasw...@gmail.com 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

Re: documentation resource suggestions for scaling tomcat 7 horizontally

2014-02-14 Thread Neven Cvetkovic
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 have three

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 5:31 PM, Pooja Swamy poojasw...@gmail.com 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

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 6:37 PM, Pooja Swamy poojasw...@gmail.com 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:

Re: Versioned WAR Application

2014-02-13 Thread Neven Cvetkovic
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,

Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

2014-02-08 Thread Neven Cvetkovic
On Fri, Feb 7, 2014 at 11:59 PM, Jain, Shailesh shj...@suncor.com 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,

Re: Tomcat 7 and manager issues on VirtualHost environnement

2014-02-07 Thread Neven Cvetkovic
On Fri, Feb 7, 2014 at 4:47 AM, Gaël THEROND gael.ther...@gmail.com 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

Re: Http Status 404

2014-02-06 Thread Neven Cvetkovic
On Feb 6, 2014 9:58 AM, Shivam Mishra shmishra...@gmail.com 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

Re: Http Status 404

2014-02-06 Thread Neven Cvetkovic
On Feb 6, 2014 4:21 PM, Shivam Mishra shmishra...@gmail.com 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 ?xml version=1.0 encoding=ISO-8859-1?

Re: Http Status 404

2014-02-06 Thread Neven Cvetkovic
On Thu, Feb 6, 2014 at 11:02 AM, Shivam Mishra shmishra...@gmail.comwrote: 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

Re: backupManager - backup on all nodes and slowly

2014-02-04 Thread Neven Cvetkovic
On Tue, Feb 4, 2014 at 4:08 AM, Ja kub jjaku...@gmail.com 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

Re: Installing tomcat 6

2014-02-04 Thread Neven Cvetkovic
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 ma...@apache.org wrote: On 04/02/2014 20:04, Franz wrote: export JAVA_HOME=/opt/openemm/java cd tomcat bin/startup.sh Using CLASSPATH:

Re: Installing tomcat 6

2014-02-04 Thread Neven Cvetkovic
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, you probably

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Neven Cvetkovic
On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко setev...@gmail.comwrote: 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

Re: Clustering without Apache in the front

2014-01-28 Thread Neven Cvetkovic
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

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Neven Cvetkovic
On Mon, Jan 27, 2014 at 10:58 AM, Арсений Зинченко setev...@gmail.comwrote: 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

Re: Deny Put Delete

2014-01-26 Thread Neven Cvetkovic
On Sun, Jan 26, 2014 at 12:32 AM, Vicky B vickyb2...@gmail.com 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

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-12-02 Thread Neven Cvetkovic
On Dec 2, 2013 12:47 PM, Tomcat Random tomcat.ran...@gmail.com 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.

Re: Tomcat sessiin replication not working

2013-11-28 Thread Neven Cvetkovic
On Thu, Nov 28, 2013 at 12:32 PM, Nir A n...@netomedia.com 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

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-11-27 Thread Neven Cvetkovic
On Wed, Nov 27, 2013 at 5:32 PM, Tomcat Random tomcat.ran...@gmail.com 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

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili y_sr...@yahoo.comwrote: 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

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 2:49 PM, srinivas yelamanchili y_sr...@yahoo.comwrote: 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' ?

Re: Issue with cgi/perl webpage

2013-11-20 Thread Neven Cvetkovic
On Wed, Nov 20, 2013 at 12:21 AM, Felipe felipeh...@gmail.com 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

Re: Issue with cgi/perl webpage

2013-11-19 Thread Neven Cvetkovic
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

Re: Issue with cgi/perl webpage

2013-11-19 Thread Neven Cvetkovic
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

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

2013-11-13 Thread Neven Cvetkovic
On Wed, Nov 13, 2013 at 10:53 AM, Gurkan Erdogdu gurkanerdo...@yahoo.comwrote: 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

Re: use password expiration with datasource realm

2013-09-16 Thread Neven Cvetkovic
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 requested

Re: use password expiration with datasource realm

2013-09-16 Thread Neven Cvetkovic
-mapping ? Cheers Stefan 2013/9/16 Neven Cvetkovic neven.cvetko...@gmail.com 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

Re: JVM options (where to configure)

2013-09-05 Thread Neven Cvetkovic
On Thu, Sep 5, 2013 at 5:55 PM, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) jbeau...@cisco.com 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

Re: Tomcat 7.0.39 - Embedded Tomcat within Eclipse Juno doesn’t pick assets from DOC ROOT

2013-08-10 Thread Neven Cvetkovic
On Sat, Aug 10, 2013 at 12:02 PM, Mark Eggers its_toas...@yahoo.com 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

Re: FW: Reg. Tomcat Support Cost

2013-05-29 Thread Neven Cvetkovic
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!

Re: SEVERE: Failed to initialize end point associated with ProtocolHandler [http-bio-443]

2013-04-24 Thread Neven Cvetkovic
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 null is actual real IP

Re: Question on servlet determination

2013-04-23 Thread Neven Cvetkovic
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] web-app security-constraint web-resource-collection web-resource-nameEverything/web-resource-name url-pattern*.jsp/url-pattern url-pattern*.html/url-pattern

Re: tomcat reload single application command

2013-04-15 Thread Neven Cvetkovic
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

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Neven Cvetkovic
How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;)))

Re: path attribute from Context.xml is not working

2013-04-14 Thread Neven Cvetkovic
I believe asterisks are formated by the mailing list software after bolding a selection of text ... so we should safely ignore them ;)

Re: RE : Tomcat 6.0.35 Crashed again

2013-04-11 Thread Neven Cvetkovic
Saumil, On Thu, Apr 11, 2013 at 1:09 AM, saumil shah saumil...@hotmail.com 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

Re: tomcat jmx disabled by default ?

2013-04-09 Thread Neven Cvetkovic
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, connection is not over the network interface but through

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
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

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
On Tue, Apr 9, 2013 at 3:46 PM, David kerber dcker...@verizon.net 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

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
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

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
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

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
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

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
to tomcat (although it is visible in jconsole) ? both my main, and tomcat, and jconsole are running on the same laptop. regards, Jakub On Sun, Apr 7, 2013 at 3:49 PM, Neven Cvetkovic neven.cvetko...@gmail.com**wrote: Jakub, You don't have to configure Tomcat with above settings to get

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-04 Thread Neven Cvetkovic
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

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-04 Thread Neven Cvetkovic
David that helps a bit more... See comments below: On Thu, Apr 4, 2013 at 12:44 PM, dvosbu...@aol.com 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

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-04 Thread Neven Cvetkovic
OK, I looked it up again... Your current hibernate.cfg.xml says: *property name=hibernate.transaction.factory_classorg.hibernate. transaction.JTATransactionFactory/property property name=hibernate.transaction.manager_lookup_classorg.hibernate .transaction.JBossTransactionManagerLookup/property *

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-04 Thread Neven Cvetkovic
On Thu, Apr 4, 2013 at 3:03 PM, dvosbu...@aol.com 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

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread Neven Cvetkovic
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;

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread Neven Cvetkovic
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

  1   2   >