org.apache.naming

2003-10-24 Thread Robert Charbonneau
I was trying to embed Tomcat in my application only to discover that Embedded.createContext relies on ProxyDirContext from org.apache.naming.resources. I can't seem to find the jar that contains this class, though I can find references to JavaDocs for it. I'm running Tomcat 4.1 and am a

Re: org.apache.naming

2003-10-24 Thread Robert Charbonneau
Ok, nevermind that I found the jar I was looking for. Ran into another problem though when running the application: Starting Tomcat Apache Tomcat/4.1.27 Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/loader/Reloader at

tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Euan Guttridge
When I start tomcat as root using /etc/init.d/tomcat start, which in turn starts $CATALINA_HOME/bin/startup.sh as tomcat, tomcat attempts to cache all jsps to the directory from which I ran /etc/init.d/tomcat start.. I can force jsps to cache to $CATALINA_HOME/work/... by setting SCRATCHDIR in

Re: Meaning of entries in mod_jk.log

2003-10-24 Thread Volker
Bill Barker schrieb: Volker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker schrieb: Volker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, can anyone please explain me the meaning of following entries in my mod_jk.log?

RE: org.apache.naming

2003-10-24 Thread Borrajo Iniesta, Javier
I tried to build Tomcat 4.1.27 from the source ZIP but it was not possible because several source folders are missing from the ZIP, in my case org.apache.tomcat was missing If anybody knows how to get a COMPLETE Tomcat 4.1 source distribution please let me know Saludos Javier

Connection refused error under load with tomcat 3.3.1 on Windows XP

2003-10-24 Thread Dave Brewster
We're running a load script on our tomcat server and seeing connection refused errors on the client. Server Configuration: Vanilla tomcat (not fronted with Apache) 3.3.1 -Xmx 800MB -Xms512M Windows XP 2.8 Ghz Hyperthreaded 800Mhz front side bus, 1 CPU 1.5 GB memory. On the client load test we

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Ryan Lissack
Hi all, Just an update on issues we were experiencing when running Tomcat on Red Hat 9. As mentioned previously in this thread, the problem appears to be with a bug in NPTL. In order to revert to standard Linux threads you can set the LD_ASSUME_KERNEL environment variable to 2.2.5 or 2.4.1 We

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Euan Guttridge
Nice, and at least you got the speed to post issue sorted.. -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: 24 October 2003 12:35 To: 'Tomcat Users List' Subject: RE: tomcat jitters, then hangs - please help Hi all, Just an update on issues we were experiencing

Tomcat 4.1.27 Running as a Service

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
I have installed Tomcat ver 4.1.27 as a service on my WIN2000 machine, however, I cannot reach the site through a browser window (I.E.). I can reach the site through my browser when I run Tomcat with the startup option. There must be some setup options that I don't have configured

RE: HttpServletResponse handling

2003-10-24 Thread Shapira, Yoav
Howdy, Could you supply your own HttpServletResponseWrapper, which would set these headers to a flag, empty, or null value per your requirements? Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 6:39 PM

RE: problem displaying the servlet

2003-10-24 Thread Shapira, Yoav
Howdy, You will need a servlet-mapping element in your web.xml first. Then we'll see why the javax.xml.transform.Source error is coming up. Yoav Shapira Millennium ChemInformatics -Original Message- From: sita tangirala [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:04

Re: HttpServletResponse handling

2003-10-24 Thread Tim Funk
Via past converstions about this - I think it was the connectors that set the Server header. Thats why the recompile was needed. (But I was just lurking for that thread) -Tim Shapira, Yoav wrote: Howdy, Could you supply your own HttpServletResponseWrapper, which would set these headers to a

RE: org.apache.naming

2003-10-24 Thread Shapira, Yoav
Howdy, org.apache.catalina.loader.Reloader is in the bootstrap.jar, $CATALINA_HOME/bin by default. Yoav Shapira Millennium ChemInformatics -Original Message- From: Robert Charbonneau [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 4:29 AM To: Tomcat Users List Subject: Re:

Re: Experience: Tomcat @ PDA @ PersonalJava 1.2 implementation

2003-10-24 Thread Ralf Bierig
Hi, thanks for the hint to rise hope in me. Do you have any kind of link, name or further info to help searching for it? Cheers, Ralf -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter

Where to put JSP file?

2003-10-24 Thread Bogdan Brzozowski
Hi everybody, I' m begginer, so my question is very fundamental. Where should I put my FirstPage.jsp file? My application context name is /jsp_xml/ (Tomcat manager shows this name on the list of running applications). When I refer to http:\\localhost:8080\jsp_xml\ (in web browser) I see an

Re: encrypting a form's action URL with HTTPS link

2003-10-24 Thread Adam Hardy
On 10/23/2003 05:33 PM Punjabi, Naveen K wrote: Hello Adam, Well yes, in case of SSL (secure socket Layer) all your form content along with the page header will go in an encrypted format. If you want to know in detail how SSL works then here goes the entire explanation

shm.create(): error mmapping

2003-10-24 Thread Bruce Ashton
Has anybody had mod_jk2 working with Apache 1.3.24 on Windows? I keep getting the following error: [Fri Oct 24 13:40:05 2003] (error) [jk_shm.c (358)]: shm.create(): error mmapping C:\\Apache\\Apache\\logs\\jk2.shm Apache 1.3.24 with SSL patch mod_jk2-1.3.27.dll Tomcat 4.1 ServerRoot is

Re: Where to put JSP file?

2003-10-24 Thread Christopher Schultz
Bogdan, I' m begginer, so my question is very fundamental. jsp_xml\ src\FistPage.jsp If your .jsp file is in jsp_xml/src, then your URL should be: http://localhost:8080/jsp_xml/src/FirstPage.jsp It looks like you are following the recommended directory structure for

Re: shm.create(): error mmapping

2003-10-24 Thread Christopher Schultz
Bruce, Has anybody had mod_jk2 working with Apache 1.3.24 on Windows? I keep getting the following error: [Fri Oct 24 13:40:05 2003] (error) [jk_shm.c (358)]: shm.create(): error mmapping C:\\Apache\\Apache\\logs\\jk2.shm file=C:/Apache/Apache/logs/jk2.shm This is kind of a silly question, but

RE: shm.create(): error mmapping

2003-10-24 Thread Bruce Ashton
Fair call, but yet it does exist. Tomcat lives in C:/Apache/Tomcat41/. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 24 October 2003 15:01 To: Tomcat Users List Subject: Re: shm.create(): error mmapping Bruce, Has anybody had mod_jk2 working

Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-24 Thread frode
Hello. I'm running Tomcat/4.1.27 on a Debian Woody system with a vanilla Linux 2.4.21 kernel compiled with gcc 2.95.4 20011002 (Debian prerelease); java -version produces: java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build

Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
Hi, I am trying to upgrade our current Tomcat 4.0.4 to Tomcat 4.1.24. After logged in our application, we store the user information as an attribute in the session. With Tomcat 4.1.24, it seems the session was not created. How can I configure tomcat 4.1.24 to create session automatically?

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Shapira, Yoav
Howdy, Like tomcat 4.0.4, tomcat 4.1.24 creates an HttpSession when you use HttpServletRequest.getSession(). There's no magic here now, there was no magic here before. If you're running into a specific error, post details and we'll try to help ;) Yoav Shapira Millennium ChemInformatics

Re: JNDIRealm using LDAP with SSL

2003-10-24 Thread Hayo Schmidt
Did you solve your problem? I don't get the whole thing to run. Are you really able to use *ldaps* in the connectionURL. On my system i get the following error: LifecycleException: Exception opening directory server connection: javax.naming.NamingException: Cannot parse url:

RE: shm.create(): error mmapping

2003-10-24 Thread Asif Chowdhary
[shm] file=C:/apache/apache2/logs/shm.file size=1048576 debug=0 I have this in my workers2.properties file and seems to work. -Original Message- From: Bruce Ashton [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:42 AM To: '[EMAIL PROTECTED]' Subject: shm.create(): error

RE: shm.create(): error mmapping

2003-10-24 Thread Bruce Ashton
Thanks. This is interesting, my teammate has tried it out with Apache 2 on Windows and it seems to work. I thinnk it might be the Apache version that makes the difference. I'm assuming you are running Apache 2 given your file= line. -Original Message- From: Asif Chowdhary

Tomcat ver 4.1.27

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
I have Tomcat ver 4.1.27 running as a service on a win2000 platform. I cannot connect to the service with my browser (i.e.). If a run Tomcat in the startup script I can connect with my browser. Can anyone give me some help?

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
Hi, Thank you for your quick response. We are using Tomcat 4.0.4, Struts 1.0.2 for our application. In the perform() method of the logon action class, we get the HttpSession, say session, by calling request.getSession(). And then store the user class by calling

RE: shm.create(): error mmapping

2003-10-24 Thread Asif Chowdhary
Yes I am -Original Message- From: Bruce Ashton [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:43 AM To: 'Tomcat Users List' Subject: RE: shm.create(): error mmapping Thanks. This is interesting, my teammate has tried it out with Apache 2 on Windows and it seems to work. I

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Shapira, Yoav
Owdy, And what do you see in your logs? Successful login, and then redirection to access denied page? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:58 AM To: Tomcat Users List Subject: RE:

RE: Tomcat ver 4.1.27

2003-10-24 Thread Bergan, Mark T - PGPL-5
Not sure where you're at in the process but have you gone into: Start | Settings | Control Panel | Administrative Tools | Services and verified that Apache Tomcat 4.1 has: Status = Started Startup Type = Automatic ? -Original Message- From: Hardee, Brenda G

Socket permission in a CGI Script

2003-10-24 Thread Joao Machado
Hi all, I'm trying to execute a CGI script and this Script tries to connect with a database opening a socket to it. This raises a problem that this script can't do this (permission?). I found in the mail archive someone with the same problem but I didn't found an answer. Anyone has solved this

Re: Tomcat ver 4.1.27

2003-10-24 Thread epyonne
Did you set the service as automatoc or manual? - Original Message - From: Hardee, Brenda G NAVSAFECEN [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 09:56 AM Subject: Tomcat ver 4.1.27 I have Tomcat ver 4.1.27 running as a service on a

RE: Tomcat ver 4.1.27

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
The service is set to automatic and is running. -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:18 To: Tomcat Users List Subject: Re: Tomcat ver 4.1.27 Did you set the service as automatoc or manual? - Original Message - From:

RE: Tomcat ver 4.1.27

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
Yes, thanks I have done that!!! -Original Message- From: Bergan, Mark T - PGPL-5 [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 11:54 To: 'Tomcat Users List' Subject: RE: Tomcat ver 4.1.27 Not sure where you're at in the process but have you gone into: Start | Settings |

RE: tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Yansheng Lin
What happens if you start tomcat using $CATALINA_HOME/bin/startup.sh instead? I think that should point tomcat to the right work directory. -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: October 24, 2003 4:57 AM To: '[EMAIL PROTECTED]' Subject: tomcat caching

RES: Tomcat ver 4.1.27

2003-10-24 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Probably and unfortunatelly, something stoped running fine in your code since you made TomCat a W2k service. I ve gotten the same problem in the past... Look for your app logs... -Mensagem original- De: Hardee, Brenda G NAVSAFECEN [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 24 de

RE: tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Euan Guttridge
Essentially that is exactly what I am doing - the /etc/init.d/tomcat script just fires up $CATALINA_HOME/bin/startup.sh as tomcat user. Thanks Euan -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: 24 October 2003 17:52 To: 'Tomcat Users List' Subject: RE: tomcat

Turning cookie JSESSIONID off (selectively)

2003-10-24 Thread Ryszard Lach
Hi. Is there possible to turn off cookie JSESSIONID? I would like to use squid in reverse-proxy mode with a Java application (Tomcat 4.1), but squid does not cache pages with this cookie set. I can not turn it off at all, because a part o my application uses cookies for session management. Any

Embedding Tomcat Continued...

2003-10-24 Thread Robert Charbonneau
Ok, I think I have the application where it needs to be to *server* JSPs and Servlets, except it can't seem to find the java compiler. The following is a stacktrace left by the application when I tried to access http://localhost:8080/ I have the env. var JAVA_HOME set globally. Would I need

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Oscar Carrillo
Have you updated the nptl-devel and glibc package for RedHat9? And are you running the stock kernel or have you built a new kernel? Are you using Apache in front of Tomcat? I have a suspicion that the stock redhat kernel does something strange with threading that a built kernel wouldn't do. I

Tomcat doesn't start under Windows XP

2003-10-24 Thread Giorgio Franceschetti
I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS =

Re: Embedding Tomcat Continued...

2003-10-24 Thread Oscar Carrillo
Have you tried setting in your tomcat startup script? On Fri, 24 Oct 2003, Robert Charbonneau wrote: Ok, I think I have the application where it needs to be to *server* JSPs and Servlets, except it can't seem to find the java compiler. The following is a stacktrace left by the application

Re: Embedding Tomcat Continued...

2003-10-24 Thread Robert Charbonneau
On October 24, 2003 12:19 pm, Oscar Carrillo wrote: Have you tried setting in your tomcat startup script? There is not startup script. I've embedded Tomcat into an application of mine. Error occurs when performing: [EMAIL PROTECTED] user]$ java com/mypackage/core/Main JAVA_HOME is set to

Re: Embedding Tomcat Continued...

2003-10-24 Thread Oscar Carrillo
Oh right. How about including /opt/java/bin/ in your path? I'm a little unclear on the embedded Tomcat scenario, but maybe you can compile things beforehand with javac and jspc directly. Oscar On Fri, 24 Oct 2003, Robert Charbonneau wrote: On October 24, 2003 12:19 pm, Oscar Carrillo wrote:

Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Kengott, Dan
Hi, I'm having a similar problem and can't seem to get past it. I'm currently running Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris. I've been thru the archives and I've seen a number of similar problems to mine but they haven't solved my problem. I've got the examples working as well

RE: Tomcat doesn't start under Windows XP

2003-10-24 Thread Shapira, Yoav
Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this variable yourself: it's set in the tomcat

Removing extra white spaces in source

2003-10-24 Thread Luiz Ricardo
Hi everyone, I would like to know if someone here knows some filter that removes extra white spaces from content generated by servlet or jsp. Luiz Ricardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Yansheng Lin
Um, I think there is a difference. Something to do with the way tomcat resolves its relative path. In my .bashrc file, I had to cd to $CATALINA_HOME/bin/startup.sh first before start tomcat. Otherwise I would get a problme similar to yours. Try it and see what happens... alias

Re: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Oscar Carrillo
Port 8009 should be the port that Apache tries to talk to modjk, or is it mod_jk talks to Tomcat on that port. I don't recall but you get the idea. Is your class in this location?: $TOMCAT_HOME/webapps/yourapp/WEB-INF/classes/ Oscar On Fri, 24 Oct 2003, Kengott, Dan wrote: Hi, I'm having

Re: Tomcat ver 4.1.27

2003-10-24 Thread Ian Hunter
Do you get Tomcat errors or browser errors? - Original Message - From: Hardee, Brenda G NAVSAFECEN [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:56 AM Subject: Tomcat ver 4.1.27 I have Tomcat ver 4.1.27 running as a service on a win2000

RE: Removing extra white spaces in source

2003-10-24 Thread Shapira, Yoav
Howdy, That depends on the definition of extra ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Luiz Ricardo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:51 PM To: Tomcat-Users List Subject: Removing extra white spaces in source Hi everyone, I would

RE: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
Whatdoyoumean? On Fri, 24 Oct 2003, Shapira, Yoav wrote: Howdy, That depends on the definition of extra ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Luiz Ricardo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:51 PM To: Tomcat-Users List

Re: Tomcat doesn't start under Windows XP

2003-10-24 Thread Giorgio Franceschetti
Shapira, Yoav wrote: Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this

RE: Tomcat ver 4.1.27

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
Thanks, I'll look. -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 13:05 To: 'Tomcat Users List' Subject: RES: Tomcat ver 4.1.27 Probably and unfortunatelly, something stoped running fine in your code since

assigning multiple roles to another role

2003-10-24 Thread Nimret Sandhu
hello folks ~ do any of the built-in realm implementations support assigning multiple roles to another role. we have a lot of roles and it would be a lot easier to create a higher level of abstraction ( ala unix groups) which can map to multiple roles and which we can easily add to the

Re: Tomcat doesn't start under Windows XP

2003-10-24 Thread Jon Wingfield
Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon Giorgio Franceschetti wrote: I'm trying to start Tomcat, but I'm

RE: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Kengott, Dan
Yes they arewith the directories corresponding to the package names within classes! -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:46 AM To: Tomcat Users List Subject: Re: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris Port

RE: Removing extra white spaces in source

2003-10-24 Thread Shapira, Yoav
Howdy, It simple: what does he mean by extra white space? White space at the end of a line? White space preceding text? White space in the middle of words? This is a text-processing problem. Depending on the requirements, writing such a text processors can be trivial or highly complex. Yoav

RE: Tomcat doesn't start under Windows XP

2003-10-24 Thread Hardee, Brenda G NAVSAFECEN
I had the same problem installing Tomcat under Win2000. Be sure that all your environment variables are set properly. I actually created a batch file that sets all my environment variables before I run Tomcat. That solved my problem. Be sure that you have set Java_Home environment under My

Re: Tomcat doesn't start under Windows XP

2003-10-24 Thread Giorgio Franceschetti
Jon Wingfield wrote: Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon This is what the script send to the console:

RE: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Oscar Carrillo
Have you tried just a simple jsp page for starters? I like to do that in case there's some class loading issues. Then you might be able to nail it down to a mod_jk issue, or a class loading issue. Oscar On Fri, 24 Oct 2003, Kengott, Dan wrote: Yes they arewith the directories

RE: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
I knew what you meant. I was just playing along :) I have noticed an excessive number of newlines in jsp pages though, when everything in the jsp page gets resolved. The strange thing is that whitespace shouldn't make a difference on how most things get displayed in browsers, but they often

Re: Removing extra white spaces in source

2003-10-24 Thread Rick Roberts
Also, the title is about white space in source, but in the message he talks about removing white space from generated jsp and servlet?? Generated servlet is a .class file and I would be very reluctant to diddle with the tomcat generated .jsp files. And I dont see the need to ever mess with

Re: Tomcat doesn't start under Windows XP

2003-10-24 Thread Giorgio Franceschetti
Hardee, Brenda G NAVSAFECEN wrote: I had the same problem installing Tomcat under Win2000. Be sure that all your environment variables are set properly. I actually created a batch file that sets all my environment variables before I run Tomcat. That solved my problem. Be sure that you have

Re: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
Is is feasible to have Apache clean them up since I assume it has to get a text file at some point to pass along? Or even an option in mod_jk to clean it up. Oscar On Fri, 24 Oct 2003, Rick Roberts wrote: Also, the title is about white space in source, but in the message he talks about

RE: Tomcat doesn't start under Windows XP

2003-10-24 Thread Mike Curwen
C:\Programmi\Java\j2re1.4.2 This is a JRE? You should be using a JDK. -Original Message- From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:19 PM To: Tomcat Users List Subject: Re: Tomcat doesn't start under Windows XP Jon Wingfield

RE: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Kengott, Dan
I've tried examples/servlets and examples/jsp both work fine as long as the port number is specified. -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 11:11 AM To: Tomcat Users List Subject: RE:

Re: Removing extra white spaces in source

2003-10-24 Thread Justin Ruthenbeck
I think I'm reading the original poster's message right in assuming he means white space in the generated html, but maybe I'm going off in a different direction... At 11:24 AM 10/24/2003, you wrote: Also, the title is about white space in source, but in the message he talks about removing

Re: Tomcat doesn't start under Windows XP

2003-10-24 Thread Giorgio Franceschetti
Well, I changed to the SDK's directory. I set my environments variables into the my computer section. I don't know which one of these thing was right, but it started! :-) Thanks to all for the help. Giorgio Mike Curwen wrote: C:\Programmi\Java\j2re1.4.2 This is a JRE? You should be using

RE: Removing extra white spaces in source

2003-10-24 Thread Kilic, Hakan
I actually see this a lot, and the amount of out.write(\r\n); varies a great deal depending on the servlet container. For example a jsp that compiles fine with Tomcat failed to compile (at run time) using Resin. This was only because Resin wrote out so many out.write(\r\n); that the generated

Re: Turning cookie JSESSIONID off (selectively)

2003-10-24 Thread Jeff Jackson
Ryszard, Do you need cookies, or do you just need session management? You can get the latter by using URL rewriting. Basically, you just need to pass every URL written to your pages (including form action attribute values) through response.encodeURL(String URL) before writing to the page. If

Re: Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
Hi, In my struts-config.xml, the logon action mappings looks like this: action-mapping action path=/logon type = com.act.logon.LogonAction name=logonForm scope=request input=/logon/logon.jsp forward name=logon

Content length

2003-10-24 Thread William Bondy
I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the content-length worth of data PLUS an extra \r\n that is not counted in the content length header sent. When I set the HttpServletResponse contentLength

RE: Content length

2003-10-24 Thread Wade Chandler
Why would you try to support something non standard? What browser is it? There was a big write up about this years ago over the http spec. Browsers nor Servers should be sending nor expecting non standard extra empty lines in the protocol. Wade -Original Message- From: William Bondy

Tomcat JK Connector DLLs for IIS in IIS 6.0/Win2k3SBS - Won't Load!

2003-10-24 Thread Adam Krouskop
I'm trying to move an installation of Tomcat 4.1.27 and IIS from a Windows XP box running IIS 5.1 to a Windows 2003 Small Business Server box running an integrated version of IIS 6.0. I am running into problems because I can not get the ISAPI Filter (DLL) to load. The arrow is always red and down

IMP:Problem migrating to Latest Tomcat 5

2003-10-24 Thread Paresh Varatkar
Hi, We used to have application running with Tomcat 3.2.4 During that time we use to use to setup classpath while starting the Tomcat using bat file set classpath command to include jar files from our application. We use very simple deployment method using directory structure. We just deploy

RE: Content length

2003-10-24 Thread Justin Ruthenbeck
While I agree in principle, there are all sorts of reasons in the corporate world why you'd have to support something like this. Not every client is an internet browser (IE, Netscape, Opera, etc) and not every piece of code that acts as an http client implements all the features of http (or

log4j error in jsp?

2003-10-24 Thread Rishikesh Tembe
Hi, Can anyone shed some light as to why I get the following error when I try to access the JSP.. javax.servlet.ServletException: org/apache/log4j/Category at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at

Re: log4j error in jsp?

2003-10-24 Thread Christopher Schultz
Rishikesh, Can anyone shed some light as to why I get the following error when I try to access the JSP.. It seems to be a log4j related exception. But why should I get it when I dont have any logging in the jsp? Maybe you are importing the Category class, though not using it, and you don't have

Re: IMP:Problem migrating to Latest Tomcat 5

2003-10-24 Thread Christopher Schultz
Paresh, We use very simple deployment method using directory structure. We just deploy webapplication directory. We put our jar files at CATALINA HOME\webapps\ourapp\lib directory. I am able to make my application work if I put those files under CATALINA HOME\common\lib\. But I do not want to

RE: Content length

2003-10-24 Thread William Bondy
Tell me about it, I can't change the browser however which blows... -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 04:03 PM To: 'Tomcat Users List' Subject: RE: Content length Why would you try to support something non standard? What

Re: Content length

2003-10-24 Thread Jeff Jackson
Can the client handle chunked encoding? Then you don't need to set content-length at all. Jeff Jackson On Fri, 24 Oct 2003, William Bondy wrote: I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the

RE: Content length

2003-10-24 Thread William Bondy
Unfortunately no, it looks like the only solution is change the connector used with Tomcat, though I really wan't to avoid that... -Original Message- From: Jeff Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 05:08 PM To: Tomcat Users List Subject: Re: Content length

Re: Content length

2003-10-24 Thread Erik Wright
Which connector are you using? I'm just theorizing here, but if it is a JK/JK2 AJP connector you may find that the reason it is cutting off the extra space is to avoid breaking the AJP protocol... Another option for you might be to put a proxy somewhere between client and server that can just

Re: log4j error in jsp?

2003-10-24 Thread Rishikesh Tembe
nopes.. I have been careful to not use the Category class. also, I do have the jar file in the classpath. moreover, this is not a consistently reproducible error.. some users get it, while others dont! -Rishi On Fri, 24 Oct 2003 17:59:49 -0400, Christopher Schultz [EMAIL PROTECTED] said:

Re: log4j error in jsp?

2003-10-24 Thread Jacob Kjome
At 02:52 PM 10/24/2003 -0800, you wrote: nopes.. I have been careful to not use the Category class. also, I do have the jar file in the classpath. moreover, this is not a consistently reproducible error.. some users get it, while others dont! -Rishi Looks like an exception happening in the

IMP:Problem migrating to Latest Tomcat 5

2003-10-24 Thread Paresh Varatkar
Found out thwe problem. One of our class is making hard coded refernce to resources that is creating trouble in deploying the application. One more problem though. I am trying to start Tomcat as service. It starts and stops immediately saying The apache service on computer started then stopped

Re: log4j error in jsp?

2003-10-24 Thread Rishikesh Tembe
Tomcat 4.1.27 I can find log4j in my classpath.. I have placed it in the WEB-INF/lib folder. calls to the logger work fine from within my java classes.. I'll search Bugzilla.. -Rishi. On Fri, 24 Oct 2003 18:02:29 -0500, Jacob Kjome [EMAIL PROTECTED] said: At 02:52 PM 10/24/2003 -0800, you

RE: RealmBase Digest Method

2003-10-24 Thread Robert D. Abernethy IV
Thanks Chris - that did the trick! Rob Abernethy Dynamic Edge, Inc. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 5:35 PM To: Tomcat Users List Subject: Re: RealmBase Digest Method Rob/Thai, All you need to do is drop the

Re: Embedding Tomcat Continued...

2003-10-24 Thread Sriram N
Hi: I think you do not have tools.jar in your CLASSPATH. JAVA_HOME is used by the startup scripts when you use regular Tomcat. Since you've used Embedded to embed TC, the startup scripts do not come into the picture, and the JAVA_HOME is pretty much useless actually. Try placing the tools.jar

Re: Connection refused error under load with tomcat 3.3.1 on Windows XP

2003-10-24 Thread Bill Barker
The Http10Connector has issues with XP :(. Most of them require that you set the 'socketCloseDelay' attribute on the connector (e.g 'socketCloseDelay=1000' to add a one-second delay). However, this is usually a problem with POSTed messages. From your description, it's sounding like you need to

Re: HttpServletResponse handling

2003-10-24 Thread Bill Barker
Tim is correct. If you are using the AJP Connectors, you are SOL since it will be Apache/IIS/SunONE that sets these headers. With the Standalone HTTP/1.1 Connector, of course it is Tomcat that sets them. The Date header is mandated by the HTTP/1.1 RFC (and, without looking, I believe by the

Session affinity doesn't work

2003-10-24 Thread Dinh Nguyen
Hi all, I have downloaded these following packages and installed them on my machine (Win 2K): Apache 2.0.47 Tomcat 2.0.47 Jk2_mod connector 2.0.43. I have 2 instances of tomcat (tomcat1, tomcat2 on the same host) on my machine on a load balancing environment. The load balancing works well with

Re: Embedding Tomcat Continued...

2003-10-24 Thread Robert Charbonneau
On October 24, 2003 11:56 pm, Sriram N wrote: Hi: I think you do not have tools.jar in your CLASSPATH. JAVA_HOME is used by the startup scripts when you use regular Tomcat. Since you've used Embedded to embed TC, the startup scripts do not come into the picture, and the JAVA_HOME is pretty

Embedded Tomcat startup java class

2003-10-24 Thread Mark W. Webb
Knowing that Tomcat is moving towards JMX, I was wondering if anyone has ported Embedded.java into the a format that will support the JMX integration. Knowing that there is a build.xml file that will launch tomcat in an embedded state, is there an equivalent .java file for doing this? thank