Re: Tomcat-4.0.6 failed to startup

2003-12-16 Thread Jeppy Suparto
Hi, I try starting with catalina.bat, but there's no error and still the tomcat failed to startup. In the command prompt, only show message F:\H2HTest\servers\jakarta-tomcat-4.0.6\bincatalina.bat start Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using

RE: strange error messages in tomcat log and mod_jk2 log

2003-12-16 Thread Altankov Peter
My production server setup is Apache/1.3.19 (built on HP-UX)mod_ssl/mod_jk/tomcat 4.1.29 on a separate machine I have a moderate loads of 5-10 hits per second and no really big responses (no more than 300k) What I know so far is that this is caused by an attempt by the coyote connector to write

Re: Default context for web app

2003-12-16 Thread Adam Hardy
On 12/16/2003 12:00 AMnbsp;Kent Boogaart wrote: When I do that, I get a context at / and a context at eSM. In $TOMCAT_HOME/work/Standalone/localhost/ tomcat makes both _ and eSM. I use exactly the same context config as you, except some I don't declare since the defaults are the same. The only one

Re: Default context for web app

2003-12-16 Thread Adam Hardy
On 12/16/2003 10:15 AMnbsp;Adam Hardy wrote: I'll experiment: if I put all my context info in the server.xml, then maybe it will work. Didn't work. So I can't do what you're doing. Strange. Are you dead certain you don't have an /eSM/ context? Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2

Re: REPOST : Tomcat Manager App Question

2003-12-16 Thread Adam Hardy
On 12/16/2003 01:30 AMnbsp;Swaminathan Gurumoorthy wrote: I am posting this again since I could not figure out how to solve this. I wud really appreciate any help. *** Problem statement *** I need to use Tomcat's manager app to install my webapp with its context file. I was playing with the

servlet mappings

2003-12-16 Thread Carlos Pereira
Yes there any way i can programatically find out the servlet mappings defined in web.xml? Best regards, Carlos Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems starting Tomcat 5.0.16 with an application that works fine with Tomcat 4.1.26

2003-12-16 Thread Michael Dempfle
Hi, I have written a application that works fine under Tomcat 4.1.24. I want to use Tomcat 5.0.16 instead of 4.1.24. I have modified my server.xml to my needs. When I want to deploy my war file I get the following Exception: SCHWERWIEGEND: Error in dependencyCheck java.util.zip.ZipException:

Re: Tomcat-4.0.6 failed to startup

2003-12-16 Thread Ben Souther
Are you sure it didn't start? After doing this, type the following in your browser's address bar: http://localhost:8080 On Tuesday 16 December 2003 02:32 am, you wrote: Hi, I try starting with catalina.bat, but there's no error and still the tomcat failed to startup. In the command prompt,

Tomcat 5.0.16 DeployTask on NT4.0 behind proxy

2003-12-16 Thread Lucian Comanescu
Hi! I am trying to deploy a webapp directly from my build.xml using the DeployTask from catalina-ant.jar. I am using Tomcat 5.0.16 on NT4.0 and I am behind the company firewall. I've took the sample app build.xml and changed for my env and I've followed all the instructions, but I cannot deploy.

RE: CGI not working on Tomcat 5.0.16?

2003-12-16 Thread Edson Alves Pereira
Just a question, CGI isn´t a Apache server matter? -- De: Jonathan Eric Miller[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 15 de dezembro de 2003 20:52 Para: Tomcat Users List Assunto: Re: CGI not working on Tomcat

Deploy failure with Tomcat 5.0.16 adding security constraints

2003-12-16 Thread jose
Hi, I'm getting the following error log trying to install my webapp in tomcat 5.0.16. When I remove the security constraints section in web.xml the app install and runs ok, but when I restore de security section in web.xml I can't install the app. I have tested this issue on Tomcat 5.0.16

Problems with HTTPS in Tomcat 5

2003-12-16 Thread denis.berto
Hi, I have some problems, when I acess my page in web server with HTTPS, the web server show me a message saying: this certificate is not trust, and asking for download the certificate. My question is how Am I made a Trust certificate without buying a verisign??? thanks in advance.

starting tomcat at start-up

2003-12-16 Thread Arniel Pepito
Hi Guys, I am a tomcat user, I am planning to make my tomcat start everytime my server reboots.. I tried putting it at /etc/rc.d/rc.local and tried jsvc also but to no avail. Maybe I missed something, can anyone help me on how to deal with this problem? Thanks.. arniel

Re: Problems with HTTPS in Tomcat 5

2003-12-16 Thread Merrill Cornish
If you really want a trusted certificate, shop around. There are companies other than VeriSign. I found one for $50/year. Merrill Cornish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

JK2: APR not loaded,... : Can't find dependent libraries

2003-12-16 Thread Baumgaertel, Till {VN-H~Mannheim}
Hi, I am trying to connect my OpenSA server (which is baiscally an Apache 1.3.27 httpd) with my Tomcat 5.0 using jk2 and Java 1.4.2 on a Windows XP machine. I thought I were following the documentation, but I get this error which most probably prevents the servers from being connected:

finding hs_err_pid files on windows 2003 as a service with specif ic user

2003-12-16 Thread Cox, Charlie
While this is slightly off topic, I wasted enough time on it that I felt it necessary to share with others. I am running tomcat 4.1 as a service on windows 2003(requirement) and I was having a problem with it crashing. Usually it left an hs_err_pid*.log file which pointed to a JNI library that I

RE: Manager Valve

2003-12-16 Thread Shapira, Yoav
Howdy, Ahhvery nice..i was ripping my hair out, I used everything but a comma.Thank you.. No problem. The documentation is really clear on this, so I'm surprised you didn't see it, but that happens ;) Filter eh? Good idea...which is more secure? Same security.

RE: Manager Valve

2003-12-16 Thread Shapira, Yoav
Howdy, Don't hijack threads. Start your own even if you think your question is related. Yoav Shapira Millennium ChemInformatics -Original Message- From: Pedro Garcia [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 5:01 PM To: Tomcat Users List Subject: Re: Manager Valve

RE: servlet mappings

2003-12-16 Thread Shapira, Yoav
Howdy, Not in a portable manner. It's not even easy if you're willing to have highly tomcat-specific code. Yoav Shapira Millennium ChemInformatics -Original Message- From: Carlos Pereira [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 5:30 AM To: Tomcat Users List Subject:

Having problems with stored PrintWriter.

2003-12-16 Thread derrick.robertson
Im having a problem with PrintWriter in a servlet. I am trying to store users PrintWriter and use them again at a later date to output javascript commands to the browsers at a later date. it store as a coyotewriter - [EMAIL PROTECTED] To do this they are dumped in a hashtable. But they dont

general security question about public / private keys

2003-12-16 Thread Adam Hardy
Is it possible to configure tomcat to use public / private key pairs that implement the java.security API for authentication a la ssh? I assume it is but haven't found out how yet. I'm using SSL at the moment but I need to implement a higher security environment in the same shape and form as

RE: Having problems with stored PrintWriter.

2003-12-16 Thread Shapira, Yoav
Howdy, Your design is flawed. The writer (whatever it's type is -- certainly don't use a tomcat-specific type) is invalid after the response is done. Don't store it, don't try to reuse it. What happens in practice is that the server closes the underlying writer when the response is sent to the

Re: Having problems with stored PrintWriter.

2003-12-16 Thread Ben Souther
I am trying to store users PrintWriter and use them again at a later date Just out of curiosity, why? On Tuesday 16 December 2003 10:12 am, [EMAIL PROTECTED] wrote: Im having a problem with PrintWriter in a servlet. I am trying to store users PrintWriter and use them again at a later date

REPOST: /devices/pseudo/mm@0:null

2003-12-16 Thread Hollerman Geralyn M
While using Tomcat, I have often encountered a problem (a java.net.SocketException) with Too many open files. I understand that to combat this, I need to up the limit on file descriptors in my Solaris 8 system (ulimit command). The system went from 256 - 1024 descriptors, but I still get the

Using jdk... message box

2003-12-16 Thread Cocalea, Eugen
Hello, I am trying to use the installer for tomcat 4.1.12 for windows from another windows program. It works well in silent mode, but the only thing is that I get that message box that says that Tomcat will use 'jdk that was found in...', which seems to be the point where the installer stalls

RE: Having problems with stored PrintWriter.

2003-12-16 Thread derrick.robertson
Im trying to create a servlet that is able to push back to the browser rather than just operate a a pull mechanism. To create this, there is a piece of javascript embedded within the html outputted to the browser, so when additional javascript code is written in at a later stage calling that

Re: Having problems with stored PrintWriter.

2003-12-16 Thread Ben Souther
HTTP is a stateless environment. You have no way of hanging on to the browser connection from the server. Usually, if a user has to wait more than a few seconds for a response from the server you would forward them to a page that refreshes itself every n seconds via a META-REFRESH tag. Each

RE: Having problems with stored PrintWriter.

2003-12-16 Thread Shapira, Yoav
Howdy, Im trying to create a servlet that is able to push back to the browser rather than just operate a a pull mechanism. To create this, there is a piece of javascript embedded within the html outputted to the browser, so when additional javascript code is written in at a later stage calling

RE: Having problems with stored PrintWriter.

2003-12-16 Thread Alan Czajkowski
very true, if u try to make the browser hang on for too long then eventually something will timeout (either on the client side or server side) so as many here have suggested the best way is to refresh with javascript or a meta-refresh but ... an even nicer solution is to create a hidden frame

RE: Having problems with stored PrintWriter.

2003-12-16 Thread derrick.robertson
I like the idea of this additional hidden frame. Is there any pointers to where I could start to look at some code for hidden frames as I have never had the pleasure to create them? I suppose they would need to be able to communicate with each other aswell. must be able i suppose. Ok Ill go have

Re: Having problems with stored PrintWriter.

2003-12-16 Thread Ben Souther
On Tuesday 16 December 2003 11:11 am, [EMAIL PROTECTED] wrote: I like the idea of this additional hidden frame. Is there any pointers to where I could start to look at some code for hidden frames as I have never had the pleasure to create them? Do Google search on IFRAME. They can be hidden

RE: Having problems with stored PrintWriter.

2003-12-16 Thread Alan Czajkowski
i went to google and searched for: hidden frames and this is the first page i found, http://www.15seconds.com/issue/991230.htm , which i found pretty good for an intro into using hidden frames, read it and then go back to google if u need more info, if u want more help on the javascript in the

Exception loading sessions from persistent storage

2003-12-16 Thread L.Karam
Can anyone tell me what this error means, and what I need to fix. (Tomcat 4.1.24) Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: servlet.beanParametro Thanks! Leandro Karam Quintas Desenvolvedor WEB EBS

Re: Having problems with stored PrintWriter.

2003-12-16 Thread Alan Czajkowski
i'm not too sure on the full support of IFRAMEs on both Netscape and IE but if they have standardized IFRAMEs by now then by all means use it, it's a great way to communicate with the server while not disturbing the user and it's an even cleaner way then creating frame tags and trying to hide

RE: Exception loading sessions from persistent storage

2003-12-16 Thread Shapira, Yoav
Howdy, Don't use non-Serializable session attributes. Yoav Shapira Millennium ChemInformatics -Original Message- From: L.Karam [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 11:19 AM To: Tomcat Users List Subject: Exception loading sessions from persistent storage Can

Precompile webapp

2003-12-16 Thread Felipe Ramos
I have webapp in a directory c:/myWeb and the tomcat in c:/tomcat .In the conf/catalina/localhost I have a xml pointing to my web. Now I have to precompile my web¿what must I do? The ant task in this link: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html doesn.t

RE: Precompile webapp

2003-12-16 Thread Shapira, Yoav
Howdy, Don't hijack other threads -- start your own. And in it, provide more information about what's failing. If you just say it doesn't work we can't help. Yoav Shapira Millennium ChemInformatics -Original Message- From: Felipe Ramos [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Tomcat performance on Windows versus Linux

2003-12-16 Thread Sean Dockery
David Rees [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Not enough difference to make it a deciding factor between the two platforms. IMO, Tim's criteria are spot on when deciding what platform to deploy on. Personally, I prefer Unix as I find it easier to setup and administer.

localhost works, www does not; why?

2003-12-16 Thread jford
This may have been asked many times before, but I can't find it, in part because I don't quite know what to search for and in part because it may not even be a Tomcat-specific issue. But it occurs because I'm trying to make Tomcat work, so here goes... (if I'm wrong and the question needs to

Re: Exception loading sessions from persistent storage

2003-12-16 Thread L.Karam
how i do this ? I'm using : javax.servlet.http.HttpSession; session.setAttribute(parametros, vPar); - Original Message - From: Shapira, Yoav To: Tomcat Users List Sent: Tuesday, December 16, 2003 2:25 PM Subject: RE: Exception loading sessions from persistent

Re: Exception loading sessions from persistent storage

2003-12-16 Thread Ben Souther
If you store an object in session, make sure it implements java.io.Serializable On Wednesday 17 December 2003 12:03 pm, L.Karam wrote: how i do this ? I'm using : javax.servlet.http.HttpSession; session.setAttribute(parametros, vPar); - Original Message - From:

RE: Tomcat4.1.29 Requested resource not available

2003-12-16 Thread Nadia Kunkov
I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Thanks N.K. -Original Message- From:

Re: Exception loading sessions from persistent storage

2003-12-16 Thread L.Karam
I'm not using j2ee plataform. There is any problem ? - Original Message - From: Ben Souther To: Tomcat Users List Sent: Tuesday, December 16, 2003 3:10 PM Subject: Re: Exception loading sessions from persistent storage If you store an object in session, make

RE: Using jdk... message box

2003-12-16 Thread Porter Patrick E (Eden) NPRI
Eugen - I worked on this same issue some time ago. I ended up just documenting (in the installation instructions) to click 'OK' when that dialog comes up. To my knowledge, there is no way around it. Even moving to a newer version of Tomcat will not work - because the newer 5.x versions

Re: Exception loading sessions from persistent storage

2003-12-16 Thread Ben Souther
Yes you are... Tomcat supplies the needed j2ee resources. When you declare your vPar class, just make sure that you specify that it implements Serializable: public class vPar implements java.io.Serializable{ If you have any nested classes do the same for them. On Wednesday 17 December

redirecting based on role name

2003-12-16 Thread chad kellerman
hello everyone, I have a site that uses form authentication thru JDBCRealm. I have my webapp root as /ROOT/ with 3 directories. I have also set up the web.xml file with 3 different security constraints based on the 3 directories in /ROOT/. My questions is, can I redirect a successful

Re: CGI not working on Tomcat 5.0.16?

2003-12-16 Thread Jonathan Eric Miller
Tomcat supports CGI natively. I'm using Tomcat in standalone mode. Jon - Original Message - From: Edson Alves Pereira [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 6:59 AM Subject: RE: CGI not working on Tomcat 5.0.16? Just a question,

Re: Deploy failure with Tomcat 5.0.16 adding security constraints

2003-12-16 Thread Remy Maucherat
jose wrote: Hi, I'm getting the following error log trying to install my webapp in tomcat 5.0.16. When I remove the security constraints section in web.xml the app install and runs ok, but when I restore de security section in web.xml I can't install the app. I have tested this issue on

RE: redirecting based on role name

2003-12-16 Thread Shapira, Yoav
Howdy, You can write a simple filter that uses request.isUserInRole to control the redirect. I think I wrote a rule for the balancer webapp (tomcat 5) that does just that. Yoav Shapira Millennium ChemInformatics -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED] Sent:

How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tom Ly
I have an application where I need to generate a unique int for each request that comes in. I've got about 8 Tomcat instances running spread across four machines(two tomcat's each machine). It's pretty simple with one Tomcat, but with mulitple Tomcats it gets tricky. I tried using

Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
Hello All: Please excuse my ignorance, I'm trying to achieve clustering with Tomcat 5I've read the following in the Tomcat 5 documentation: = To run session replication in your Tomcat 5 container, the following

Vhosting with Apache 2 jk

2003-12-16 Thread The Bean
Hi all, I have several domains hosted by Apache 2.0.48, and I'd like to start adding JSPs to each domain. I have Tomcat 4.0.16 running on a different host, and am using JK to connect them. Virtual hosting is working on Tomcat, if I go straight to the Tomcat host on port 8080. JK does appear to

RE: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Shapira, Yoav
Howdy, Can you use the local host name + the current time? Or something in that vein... Yoav Shapira Millennium ChemInformatics -Original Message- From: Tom Ly [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:29 PM To: [EMAIL PROTECTED] Subject: How do you generate a

RE: CGI not working on Tomcat 5.0.16?

2003-12-16 Thread Januski, Ken
Jon, Just slightly off topic, have you gotten cgi to do more or less what you wanted with Tomcat? I can't get it working very well in Tomcat 4.1 and am wondering if it's just me. I can get one page to work but when it calls anohter cgi page I run into problems. Ken -Original Message-

How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Hi, I installed 2 Tomcats on the same server and they both work on on port 8080 and the second on 8081 I also define one to listen for the jk2 on 8009 and the second on 8010 but only the first one is working What do i need to do in the registry and in the IIS in order to make the second work

RE: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread Pitre, Russell
You also need to edit your worker.properties file... worker.list=tomcatWorker worker.tomcatWorker.port=8009 worker.tomcatWorker.host=172.20.94.244 worker.tomcatWorker.type=ajp13 Russ -Original Message- From: yuval [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:57 PM To:

IIS port 80 vs Tomcat port 8080.

2003-12-16 Thread charles doweary
I have Tomcat running on port 8080 and I've deployed my website successfully to my Tomcat webapps folder. I also did an Ant List to confirm that my website is running. If I set up this website in MicroSoft Internet Information Service (IIS) to use port 80, how is the request coming in on port 80

RE: IIS port 80 vs Tomcat port 8080.

2003-12-16 Thread Cocalea, Eugen
Best and fastest way: read this http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html HTH E. -Original Message- From: charles doweary [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:03 PM To: [EMAIL PROTECTED] Subject: IIS port 80 vs Tomcat port 8080. I have Tomcat

Re: IIS port 80 vs Tomcat port 8080.

2003-12-16 Thread The Bean
You might get a million versions of this answer. Here's one. JK is what you want: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html You'll get an ISAPI DLL that forwards requests, using the AJP protocol (NOT http), to a special service running on Tomcat on port 8009 (this is the

JDBC from TagSupport

2003-12-16 Thread Hart, Justin
Quick question. I see that one can configure a JDBC datasource in their server.xml file and their web.xml file. What does this get you? Every example that I have read tells me that I need to open a JDBC connection just about the same as I would from any other java application. What is the

RE: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread Cocalea, Eugen
Heh, seem that people around here knock on the same problems I had few days ago. Best solution, found on: http://www.ubeans.com/tomcat/ -Original Message- From: yuval [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 8:57 PM To: Tomcat Users List Subject: How do i run 2

Re: Tomcat 5 Clustering

2003-12-16 Thread Filip Hanik
download a load balancer balance.sourceforge.net or a perl balancer called pen (google) the shut down one tomcat, after initial access, the system will fail over. pulling the network cable without any other failure has not yet been handled as a failure scenario Filip - Original Message

Re: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tim Funk
Ideally use a string for uniqueness, not an int. For an int is too small across a cluster. To get a unique string, concatenate your IP address with java.rmi.server.UID(), for example: String guid = InetAddress.getLocalHost().getHostAddress() + (new

Re: Tomcat performance on Windows versus Linux

2003-12-16 Thread Oscar Carrillo
I am about to setup Tomcat under a new Linux 2.6 kernel with 2 Athlon MP processors. Since scheduling, threading, and SMP have been much improved in the new kernel I wonder if it will add to performance. I don't have anything to test the new setup with, but if anyone has good ideas (and by good,

RE: redirecting based on role name

2003-12-16 Thread chad kellerman
Yoav, Thanks, I did not know whether there was anything I could put in the web.xml file under the security-constraint for some sort of redirect for the role. Chad On Tue, 2003-12-16 at 13:19, Shapira, Yoav wrote: Howdy, You can write a simple filter that uses request.isUserInRole to

Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Thanks for your answer but I need explanation for windows with jk2 and not apache, but thanks any way. - Original Message - From: Cocalea, Eugen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:12 PM Subject: RE: How do i run 2 tomcats on the

Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
I did the worker configuration the problem is in the JK2 configuration - Original Message - From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 8:55 PM Subject: RE: How do i run 2 tomcats on the same server and using jk2? You

How do I generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tom Ly
I have a web application where I need to generate a unique id(of type int) for each request. I've got 8 tomcats running across 4 machines, 2 tomcats each machine. It's pretty simple to generate a unique id with one tomcat, but with mulitple tomcats, it gets pretty tricky. I tried to use java

Re: JDBC from TagSupport

2003-12-16 Thread Philipp Taprogge
Hi! Hart, Justin wrote: Quick question. I see that one can configure a JDBC datasource in their server.xml file and their web.xml file. What does this get you? Every example that I have read tells me that I need to open a JDBC connection just about the same as I would from any other java

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
Ok, so, how does one access this datasource from tagsupport? Justin -Original Message- From: Philipp Taprogge [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:24 PM To: Tomcat Users List Subject: Re: JDBC from TagSupport Hi! Hart, Justin wrote: Quick question. I see that

Apache-Tomcat connectors... why??

2003-12-16 Thread Wesley Hall
Hello all, Hopefully I picked a good list to bring this topic up on. There were several candidates. I have spent some time today attempting to perform the non-trival task of configuring communication between the apache web server and the tomcat servlet engine. This seems to be a fairly

Re: Deploy failure with Tomcat 5.0.16 adding security constraints

2003-12-16 Thread jose
Remy, Thanks... I can't believe how I haven't seen the error Jose Remy Maucherat wrote: jose wrote: Hi, I'm getting the following error log trying to install my webapp in tomcat 5.0.16. When I remove the security constraints section in web.xml the app install and runs ok, but when I

RE: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread Cocalea, Eugen
Well, then use the other link I've sent earlier too, the modifications you have to do are only in workers.properties files, at least if you want to use load balancing. -Original Message- From: yuval [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:21 PM To: Tomcat Users List

Re: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tom Ly
That works great in a windows environment. But on Linux machines,the line InetAddress.getLocalHost().getHostAddress() will always return 127.0.0.1 Tim Funk [EMAIL PROTECTED] wrote:Ideally use a string for uniqueness, not an int. For an int is too small across a cluster. To get a unique

Re: Apache-Tomcat connectors... why??

2003-12-16 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/connectors.html In a nutshell, tomcat anc apache talk to each via the AJP protocol. The AJP protocol is like the HTTP protocol but more efficient for various reasons. An alternative to having apache talk to tomcat via AJP can also be mod_proxy sounds

RE: Apache-Tomcat connectors... why??

2003-12-16 Thread Howard Jim
I believe what you are referring to is the ProxyPass Directive http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypass I have used this before, but haven't played with it as a way to reference the app server. If it were that simple, I imagine it would have already been done. I am just

RE: JDBC from TagSupport

2003-12-16 Thread Alan Czajkowski
i have it setup for sybase and mine looks like this in the server.xml: - Context path=/Sybase docBase=sybase debug=5 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger

Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Which link?? - Original Message - From: Cocalea, Eugen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:33 PM Subject: RE: How do i run 2 tomcats on the same server and using jk2? Well, then use the other link I've sent earlier too, the

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
Gotcha, so the datasource gets stuck into a naming directory, and then you can grab it via JNDI and use it that way. The benefit being that a sysadmin can change the datasource via server.xml rather than having you rewrite the code. Right? Justin -Original Message- From: Alan

Re: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tim Funk
One way to get around that: http://java.sun.com/j2se/1.4.2/docs/guide/idl/jidlFAQ.html#linuxior http://dast.nlanr.net/Projects/Beacon/guide_faq.html -Tim Tom Ly wrote: That works great in a windows environment. But on Linux machines,the line InetAddress.getLocalHost().getHostAddress() will

RE: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread The Bean
Not a bad link, but I have to comment on the guys suggestion about changing the catalina.sh script. Here's a quote: In my many years of consulting, I have learned not to rely on environment variables which can be unset by ignorant or malicious people In my many years of consulting, I've much

RE: JDBC from TagSupport

2003-12-16 Thread Alan Czajkowski
affirmative, but instead of looking at my proprietary example below .. goto the Tomcat Documentation under JNDI Datasource HOW-TO and there it explained nicely on how to do everything Thanks, Alan Czajkowski - Database Administrator BMO Financial

Re: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread yuval
Do you have a soulotion to my problem? Subject: How do i run 2 tomcats on the same server and using jk2? Hi, I installed 2 Tomcats on the same server and they both work on on port 8080 and the second on 8081 I also define one to listen for the jk2 on 8009 and the second on 8010 but only

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
Cool, thanks. -Original Message- From: Alan Czajkowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:44 PM To: Tomcat Users List Subject: RE: JDBC from TagSupport affirmative, but instead of looking at my proprietary example below .. goto the Tomcat Documentation under

Re: CGI not working on Tomcat 5.0.16?

2003-12-16 Thread Jonathan Eric Miller
The only CGI that I tested with is a log analysis package called AWStats (http://awstats.sourceforge.net/) which primarily consists of a single .pl file. It also seems to use some .pm library files. It has always worked great with Tomcat 4.1. I can't get it to work with Tomcat 5 though. I'm hoping

RE: Apache-Tomcat connectors... why??

2003-12-16 Thread Wesley Hall
Thank you Howard and Jim, I will look into mod_proxy. Things seem a little more complicated because I am attempted to integrate with the JBoss tomcat bundle. Obviously the configuration is a little different here and most howto's require a little bit more thinking about as to where to find the

how to change default SMTP port 25 in java mail?

2003-12-16 Thread N.B.Bopanna
hi all, i am using java mail in my webapp. my client does'nt want to use default SMTP port 25. i have to use port specified by client. the project is on tomcat-4.1.29. can some one give me sample code to do this? Thanks Bopanna

How to change SMTP port in tomcat4.1.29?

2003-12-16 Thread N.B.Bopanna
Hi All, Please tell me how to change the SMPT port from default value of 25 to some thing else on tomcat 4.1.29? Thanks Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Keytool error - LAST STEP!!!

2003-12-16 Thread Rob McGrath \(Rite Aid Corp\)
---BeginMessage--- keytool error: java.security.cert.CertificateException: IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48) This is my error. I'm running WinServer2003. Tomcat 4.0.6 It is a Verisign key I'm trying to import and I followed all the steps here:

Re: how to change default SMTP port 25 in java mail?

2003-12-16 Thread Christopher Schultz
Bopanna, 1. This is not related to Tomcat. Please try a JavaMail list next time. 2. RTFM: http://java.sun.com/products/javamail/javadocs/overview-summary.html Search the page for port. -chris - To unsubscribe, e-mail: [EMAIL

RE: Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
Hi Filip- Sorry, while being caught up in the problem statement..I forgot to mention that I'm using Microsoft Network Load Balancing services for load balancing and failover detectionagain my apologies When I do pull the plugI am redirected to the working node...and when I

Re: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Tom Ly
bump Tom Ly [EMAIL PROTECTED] wrote:That works great in a windows environment. But on Linux machines,the line will always return 127.0.0.1 Tim Funk wrote:Ideally use a string for uniqueness, not an int. For an int is too small across a cluster. To get a unique string, concatenate your IP

Re: Tomcat 5 Clustering

2003-12-16 Thread Filip Hanik
hmm, on your console or in your log, are the systems finding each other, ie, do you have multicast enabled and do the nodes actually connect to each other? send the logs from a clean run, ie stop, delete logs, start, send logs Filip - Original Message - From: Pitre, Russell [EMAIL

ssl startup problem

2003-12-16 Thread Jason Jesso
I am using AIX5.2, Tomcat 4.1.24, Java 1.4. When I start Tomcat using SSL I get errors in the catalina.out. The security providers in the java.security file are listed as follows: security.provider.1=com.ibm.jsse.IBMJSSEProvider security.provider.2=com.ibm.crypto.provider.IBMJCE

RE: How do you generate a unique number for each request across muliple tomcat instances?

2003-12-16 Thread Lawrence, Gabriel
The hibernate project as a uuid class, you could look at how they do it... Here's the docs: http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapp ing-s1-4-uuid -gabe -Original Message- From: Tom Ly [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 12:10 PM

RE: Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
Okwill do...should I post them here or offline.Maybe others will be able to benefit from our conversation Russ -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 3:17 PM To: Tomcat Users List Subject: Re: Tomcat 5 Clustering

Re: Tomcat 5 Clustering

2003-12-16 Thread Filip Hanik
probably easier if you post it to fhanik at apache dot org Filip - Original Message - From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 12:27 PM Subject: RE: Tomcat 5 Clustering Okwill do...should I post them here or

tomcat uses syslog for logging?

2003-12-16 Thread Sandeep llll
Hi, Does tomcat use syslog for logging? If yes, what is the facility that is used to log the messages. Any information in this regard is appreciated. Thanks, Sandeep - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing

RE: tomcat uses syslog for logging?

2003-12-16 Thread Shapira, Yoav
Howdy, No, tomcat doesn't use syslog. RTFM especially the Logger configuration reference. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sandeep [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 4:20 PM To: [EMAIL PROTECTED] Subject: tomcat uses syslog

admin tool - tomcat 5.0.16

2003-12-16 Thread Maxime Colas des Francs
Hello, I attempt to use the admin tool in tomcat 5.0.16. It was working for a while, but now every access to a Service node throw this exception in the right frame javax.servlet.ServletException: Define tag cannot set a null value

  1   2   >