Re: SLL Certificate Chain

2011-05-25 Thread Dipl.-Ing. Mag. Bernhard Hobiger
Thanks Christopher Schultz and Crypto Sal for your replies! The key hint was the certificate chain length. My problem seemed to be that I got the server certificate as PKS12 file (including the private key). I imported it using "-importkeystore -srcstoretype PKCS12". "-trustcacerts" doesnt seem

Tomcat 5.5.27, session lost, cookies

2011-05-25 Thread Diego Ruotolo
Hi, this is my first post to this list. Maybe it's a post more related to the developers list, if so please tell me so and I will send it to that list. Working with my company's webapp, I noticed a strange behaviour: sometimes http session, managed through JSESSIONID cookie, is lost. We use Tomca

Context path from ServletContextListener

2011-05-25 Thread Mateu Yabar
Hi to all, I've created a ServletContextListener, which needs to use get the current context path (as defined in web.xml): public class UpdateExecutionStartContextListener implements javax.servlet.ServletContextListener{ @Override public void contextInitialized(ServletContextEvent arg0) {

Re: Context path from ServletContextListener

2011-05-25 Thread Mateu Yabar
Sorry, I don't see how I did not see it: arg0.getServletContext().getContextPath() On 25 May 2011 10:53, Mateu Yabar wrote: > Hi to all, > > I've created a ServletContextListener, which needs to use get the current > context path (as defined in web.xml): > > public class UpdateExecutionStartCont

Deploying tomcat 6.0.10 as a windows service

2011-05-25 Thread arno.schaefer
Hi all, if I confiure an instance of tomcat as a windows service, I have to give this instance a unique name (tomcat6 //IS//servicename {params ...}). What signs are at least allowed in this name? It seems that dashes and under- scores are not allowed. What delimiter are possible to make the name

Expected behavior of Tomcat under load

2011-05-25 Thread Asankha C. Perera
Hi All During some performance tests, we've seen that Tomcat resets TCP connections under high load. To reproduce this rather consistently, a thread pool with a maximum of 300 threads could be configured on default Tomcat 6.0.32, and then 1280 ~ 2560 concurrent user requests simulated from a

Re: Deploying tomcat 6.0.10 as a windows service

2011-05-25 Thread André Warnier
arno.schae...@sqs.de wrote: Hi all, if I confiure an instance of tomcat as a windows service, I have to give this instance a unique name (tomcat6 //IS//servicename {params ...}). What signs are at least allowed in this name? It seems that dashes and under- scores are not allowed. What delimiter

Hosting a website

2011-05-25 Thread abdelghni belfkih
Dear, I'm using a distant tomcat server to host my JSP website via DirectAdmin. I already have my website worked in my local server ( in Ubuntu 10.10). But, now i want to host my website in a distant server and i don't know how to do it or where to put the directories which contains my website. P

Hosting a website

2011-05-25 Thread abdelghni belfkih
Dear, I'm using a distant tomcat server to host my JSP website via DirectAdmin. I already have my website worked in my local server ( in Ubuntu 10.10). But, now i want to host my website in a distant server and i don't know how to do it or where to put the directories which contains my website. P

Re: Hosting a website

2011-05-25 Thread Partha Goswami
i think you have to upload file tomcat root manager or public_html folder, 1st connect ftp using ftp client like filezilla then upload all files. On Wed, May 25, 2011 at 5:59 PM, abdelghni belfkih wrote: > Dear, > > I'm using a distant tomcat server to host my JSP website via DirectAdmin. I > alr

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
Thank you for your help. On Wed, May 25, 2011 at 1:32 PM, Partha Goswami wrote: > i think you have to upload file tomcat root manager or public_html > folder, 1st connect ftp using ftp client like filezilla then upload > all files. > > On Wed, May 25, 2011 at 5:59 PM, abdelghni belfkih > wrote:

Re: Overriding error page displayed when a context fails to initialize

2011-05-25 Thread Sai Pullabhotla
Thanks for the replies and suggestions. I don't think Tomcat falls back to the ROOT context if another context fails to start (unless I'm missing something). Just to try it out, I did create a subfolder called "context1" in ROOT, with an index page in the folder. I made the context1 to fail. The

RE: Hosting a website

2011-05-25 Thread Martin Gainty
assuming your provider configures tc on port 80 instead of apache or iis Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
Can you plz explain what do you mean by file tomcat root manager. Because, in my tomcat folder i have root folder and manager folder both in webapps folder. So which folder of these do you mean? On Wed, May 25, 2011 at 1:36 PM, Martin Gainty wrote: > > assuming your provider configures tc on por

Re: Hosting a website

2011-05-25 Thread Partha Goswami
Ok. Just go tomcat manager then upload your rar and deploy it you will find the link too On Wed, May 25, 2011 at 6:10 PM, abdelghni belfkih wrote: > Can you plz explain what do you mean by file tomcat root manager. Because, > in my tomcat folder i have root folder and manager folder both in webap

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
yeah thats what I think I should do. But, how can i deploy my .rar since I connect to the distant server via DirectAdmin? On Wed, May 25, 2011 at 1:44 PM, Partha Goswami wrote: > Ok. Just go tomcat manager then upload your rar and deploy it you will > find the link too > > On Wed, May 25, 2011 at

Re: Hosting a website

2011-05-25 Thread Partha Goswami
you need war On Wed, May 25, 2011 at 6:22 PM, abdelghni belfkih wrote: > yeah thats what I think I should do. But, how can i deploy my .rar since > I connect to the distant server via DirectAdmin? > > On Wed, May 25, 2011 at 1:44 PM, Partha Goswami > wrote: > >> Ok. Just go tomcat manager then up

problems get tomcat6 running

2011-05-25 Thread Christian Röttger
Dear List, i installed tomcat6.0.24 on a ubuntu 10.04 server with this installation guide ( https://help.ubuntu.com/10.04/serverguide/C/tomcat.html ) without changing the port. when i try to access the page on myserver:8080 it remains loading and loading. I don't what went wrong. i install

Re: Hosting a website

2011-05-25 Thread Mikolaj Rydzewski
On Wed, 25 May 2011 12:52:48 +, abdelghni belfkih wrote: yeah thats what I think I should do. But, how can i deploy my .rar since I connect to the distant server via DirectAdmin? Ask support guys? -- Mikolaj Rydzewski -

AW: Deploying tomcat 6.0.10 as a windows service

2011-05-25 Thread arno.schaefer
Hi Andre, that it is allowed to use any character, I want to use in windows, I know. Quoting the command and/or the service name doesn't help. But at least it seem's that it is nowhere described what a valid service name is for tomcat. So I will find out by trail and error. Thanks, Arno > > Hi

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
i have a track.war and i deploy it in my local tomcat server. but to do it via DirectAdmin for the distant sever that's the problem On Wed, May 25, 2011 at 1:56 PM, Mikolaj Rydzewski wrote: > On Wed, 25 May 2011 12:52:48 +, abdelghni belfkih wrote: > >> yeah thats what I think I should d

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
tks Mikolaj, so plz give me their mail :) On Wed, May 25, 2011 at 2:10 PM, abdelghni belfkih wrote: > i have a track.war and i deploy it in my local tomcat server. but to do it > via DirectAdmin for the distant sever that's the problem > > > On Wed, May 25, 2011 at 1:56 PM, Mikolaj Rydzewski

Re: JkExtractSSL not sending SSL information to tomcat

2011-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/24/2011 7:13 PM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Marc, >> >> On 5/24/2011 10:56 AM, Marc Boorshtein wrote: >>> I've setup a pretty generic httpd(2.2.19)+mod_jk to

Re: Performance & *SpareThreads

2011-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 McAfe, On 5/25/2011 2:24 AM, McAfe wrote: > Christopher Schultz-2 wrote: >> AJP expects to have persistent connections. What is your Apache httpd >> configuration for StartServers/MinSpareServers/MaxSpareServers (for >> prefork MPM) or startServers/Mi

Re: restricted utilization on "@WebServlet" annotation of Servlet 3.0

2011-05-25 Thread kerotan
Dear Sirs, Thank you for your replying. I would like to explain my questions in detail. --- Eclipse 3.6(Helios) Tomcat 7.0.14 Servlet 3.0 Windows XP SP3 x86 version What is the result? Is this webapp deployed into the /test context path? A browser s

Re: Hosting a website

2011-05-25 Thread David kerber
On 5/25/2011 9:13 AM, abdelghni belfkih wrote: tks Mikolaj, so plz give me their mail :) I believe he meant the support guys at your hosting service! On Wed, May 25, 2011 at 2:10 PM, abdelghni belfkih wrote: i have a track.war and i deploy it in my local tomcat server. but to do it via Di

Re: Expected behavior of Tomcat under load

2011-05-25 Thread Peter Crowther
Operating system and version? Java version? Tomcat version: 6.0.32 - thanks for this. Java or native connector? Pure Tomcat or something else in front? (I'm assuming pure Tomcat from what else you say) - Peter On 25 May 2011 12:51, Asankha C. Perera wrote: > Hi All > > During some performance

Re: problems get tomcat6 running

2011-05-25 Thread Pid
On 25/05/2011 13:55, Christian Röttger wrote: > Dear List, > > i installed tomcat6.0.24 on a ubuntu 10.04 server with this installation > guide ( https://help.ubuntu.com/10.04/serverguide/C/tomcat.html ) > without changing the port. > > when i try to access the page on myserver:8080 it remains lo

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
ah ok, i thought he meant support guys here On Wed, May 25, 2011 at 2:32 PM, David kerber wrote: > On 5/25/2011 9:13 AM, abdelghni belfkih wrote: > >> tks Mikolaj, so plz give me their mail :) >> > > I believe he meant the support guys at your hosting service! > > > > >> On Wed, May 25, 2011

Re: Overriding error page displayed when a context fails to initialize

2011-05-25 Thread Pid
On 25/05/2011 13:36, Sai Pullabhotla wrote: > Thanks for the replies and suggestions. > > I don't think Tomcat falls back to the ROOT context if another context > fails to start (unless I'm missing something). > > Just to try it out, I did create a subfolder called "context1" in > ROOT, with an i

Re: Hosting a website

2011-05-25 Thread David kerber
On 5/25/2011 10:01 AM, abdelghni belfkih wrote: ah ok, i thought he meant support guys here You already have contacted them, by posting here... What is DirectAdmin, btw? On Wed, May 25, 2011 at 2:32 PM, David kerber wrote: On 5/25/2011 9:13 AM, abdelghni belfkih wrote: tks Mikola

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
yeah thats right!!! but still dont get the right solution to my problem :( On Wed, May 25, 2011 at 3:10 PM, David kerber wrote: > On 5/25/2011 10:01 AM, abdelghni belfkih wrote: > >> ah ok, i thought he meant support guys here >> > > You already have contacted them, by posting here... > >

Re: Hosting a website

2011-05-25 Thread David kerber
On 5/25/2011 10:13 AM, abdelghni belfkih wrote: yeah thats right!!! but still dont get the right solution to my problem :( This doesn't appear to be a tomcat issue, but rather one that your hosting company will have to answer. If they don't provide the tomcat manager app, then they must ha

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
tks for the clarification On Wed, May 25, 2011 at 3:16 PM, David kerber wrote: > On 5/25/2011 10:13 AM, abdelghni belfkih wrote: > >> yeah thats right!!! >> >> but still dont get the right solution to my problem :( >> > > This doesn't appear to be a tomcat issue, but rather one that your hostin

JSP hosting

2011-05-25 Thread abdelghni belfkih
Hi everybody, I want to host a JSP website. the control panel used by the provider is DirectAdmin. I have access to my account there but since I'm new to hosting website i need help in this matter. Can someone send me a good tuto about this, or show me what to do? Tks in advance :) -- Élève Ing

Re: AW: Deploying tomcat 6.0.10 as a windows service

2011-05-25 Thread Mark Thomas
On 25/05/2011 15:07, arno.schae...@sqs.de wrote: > Hi Andre, > > that it is allowed to use any character, I want to use in windows, > I know. Quoting the command and/or the service name doesn't help. > > But at least it seem's that it is nowhere described what a valid > service name is for tomcat

Re: problems get tomcat6 running

2011-05-25 Thread Christian Röttger
Am 25.05.2011 16:00, schrieb Pid: On 25/05/2011 13:55, Christian Röttger wrote: Dear List, i installed tomcat6.0.24 on a ubuntu 10.04 server with this installation guide ( https://help.ubuntu.com/10.04/serverguide/C/tomcat.html ) without changing the port. when i try to access the page on myse

Re: problems get tomcat6 running

2011-05-25 Thread André Warnier
Christian Röttger wrote: Am 25.05.2011 16:00, schrieb Pid: On 25/05/2011 13:55, Christian Röttger wrote: Dear List, i installed tomcat6.0.24 on a ubuntu 10.04 server with this installation guide ( https://help.ubuntu.com/10.04/serverguide/C/tomcat.html ) without changing the port. when i try

RE: JSP hosting

2011-05-25 Thread Caldarale, Charles R
> From: abdelghni belfkih [mailto:belfkih.i...@gmail.com] > Subject: JSP hosting > I want to host a JSP website. the control panel used by the provider is > DirectAdmin. I have access to my account there but since I'm new to hosting > website i need help in this matter. Can someone send me a good

Re: Hosting a website

2011-05-25 Thread Peter Miklosko
Off topic: DirectAdmin http://www.directadmin.com/ is like cPanel which is web hosting control panel system @abdelghni belfkih check DirectAdmin FTP Menu. If your hosting provider is any good you should have there default FTP user account that you can use it to upload your application. Nevertheles

Re: restricted utilization on "@WebServlet" annotation of Servlet 3.0

2011-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerotan, On 5/25/2011 9:32 AM, kerotan wrote: > On "Package Explorer" of Eclipse, the file system is showed as follows: > > test > +--- WEB-INF/src > | +--- servlets > | +--- HelloServlet.java > +--- sample.txt > ---

Re: problems get tomcat6 running

2011-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/25/2011 11:06 AM, André Warnier wrote: > I believe that the following lines in the log give a further hint : >at > org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:409) > at > org.apache.catalina.us

Re: restricted utilization on "@WebServlet" annotation of Servlet 3.0

2011-05-25 Thread Mark Thomas
On 25/05/2011 18:14, Christopher Schultz wrote: > Kerotan, > > On 5/25/2011 9:32 AM, kerotan wrote: >> On "Package Explorer" of Eclipse, the file system is showed as follows: >> >> test >> +--- WEB-INF/src >> | +--- servlets >> | +--- HelloServlet.java >> +--- sa

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
Does anyone have any feeback? Do I need to report a bug? Nick *From:* Nick Williams [mailto:nicholas.willi...@puresafety.com] *Sent:* Friday, May 20, 2011 6:19 PM *To:* 'Tomcat Users List' *Subject:* JK Connector failure after IIS recycle - version 1.2.30 Environment: Windows Server 2008

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
tks Peter for ur help and sorry if this wasn't a tomcat issue. On Wed, May 25, 2011 at 4:14 PM, Peter Miklosko wrote: > Off topic: DirectAdmin http://www.directadmin.com/ is like cPanel which is > web hosting control panel system > > @abdelghni belfkih check DirectAdmin FTP Menu. If your hosting

Re: Hosting a website

2011-05-25 Thread André Warnier
abdelghni belfkih wrote: tks Peter for ur help and sorry if this wasn't a tomcat issue. At this point and with the information you have provided so far, it is not even clear that the host you are talking about even has a Tomcat installed on it. You might want to check that first. And if/when

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
First, I assure you that tomcat is already installed in that server, because i have seen the default page which shows that tomcat is successfully installed and works. But, my issue isn't with tomcat itself but with transferring a website from a local server ( Ubuntu 10.10) to a distant and a payabl

Re: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread André Warnier
Nick Williams wrote: Does anyone have any feeback? Do I need to report a bug? My own experience with this list, is that when someone reports an issue or asks a question which fits with the knowledge or experience of the people on the list, usually the reaction time is short. So the fact tha

Re: Hosting a website

2011-05-25 Thread André Warnier
abdelghni belfkih wrote: First, I assure you that tomcat is already installed in that server, because i have seen the default page which shows that tomcat is successfully installed and works. Good to know. We did not know that before, or did we ? But, my issue isn't with tomcat itself but wi

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
Thanks for the insight. I'll give it a little more time, but I'm being pushed by my superiors here for an answer that I can't give, so I'll have to file a bug before long. Does anyone know if there are any other (open source OR commercial/paid) alternatives to integrating Tomcat with IIS and/or Ap

Apache Tomcat under SELinux policy

2011-05-25 Thread Marcos Ortiz
Regards to all the list I'm a young Unix Administrator focused on this moment on the installation and configuration of a completed system under SELinux policies for MAC(Mandatory Access Control) and one of the services that we are using on it is Apache Tomcat (mainly the version 6.X). So Can yo

Re: Overriding error page displayed when a context fails to initialize

2011-05-25 Thread Sai Pullabhotla
I made the context fail by not having the database available. Basically, in the contextInitialized method, we need to load various application settings from the database and if the DB is not up, the context fails to load. The custom error pages are defined in the web.xml for ROOT and context1. All

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
I just don't know what to say or how to thank u André. But i should say it;thank you so much for the attention u showed for this matter and the time u spent to write the email. I do agreed with u that I didn't make myself clear so that people could help me easily. However, my problem is that I'm n

Re: Hosting a website

2011-05-25 Thread abdelghni belfkih
And to give more information, the website is the OpenGTS project if you knew it. It's an open source tracking GPS application. On Thu, May 26, 2011 at 1:10 AM, abdelghni belfkih wrote: > I just don't know what to say or how to thank u André. > But i should say it;thank you so much for the attenti

Re: Hosting a website

2011-05-25 Thread David Kerber
On 5/25/2011 8:10 PM, abdelghni belfkih wrote: I just don't know what to say or how to thank u André. But i should say it;thank you so much for the attention u showed for this matter and the time u spent to write the email. I do agreed with u that I didn't make myself clear so that people could

Re: Performance & *SpareThreads

2011-05-25 Thread McAfe
Hi Chris, The Apache MPM I was using the default configuration (believe is prefork MPM) StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 And I've changed to following (the result did not improve or any be