Building Tomcat Problem

2001-05-23 Thread Gerald Waugh
When I run ./build.sh dist I get the following error. Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/Main I have looked and looked, I can't figure it out Please Help! Gerald Waugh Front Street Networks LLC 229 Front Street Suite #C New Haven, CT 06513-3203

Possible thread deadlocking in 3.2.2 beta 5?

2001-05-23 Thread Joel - Jakarta List
Hello, I have an app I just ported to Tomcat 3.2.2 beta 5 that runs fine for a while, and then begins to run slower and slower until it dies. From looking at the log files, it appears that 3.2.2 beta 5 is thread deadlocking and thus running out of resources. The log file shows Full thread

RE: Sorry, message sent 3 times in error

2001-05-23 Thread Joel - Jakarta List
I apologize, I mistakenly sent my message 3 different times. When my first post did not arrive within 2 hours, I assumed there must be security restrictions on which mail accounts can post messages. Thus, I tried again with a different account. This was entirely my errorsorry :)

RE: Thread deadlocking in 3.2.2 beta 5?

2001-05-23 Thread Joel Kozlow
Hello Marc, You and I think alike :). I have already upgraded the single processor Server to 3.2.2 beta 5. I ran a battery of tests at it to simulate heavy load. So far, there are no thread deadlocking errors reported. Thus, I think you are correct in your assessment that this may

Re: Building Tomcat Problem

2001-05-23 Thread Gerald Waugh
Jarek Krochmalski [EMAIL PROTECTED] wrote download and compile jakarta-ant from www.apache.org Thanks, but I downloaded the binary and installed it. My /etc/profile: #Java Environment JAVA_HOME=/home/local/jdk1.2.2 export JAVA_HOME export PATH=${PATH}:${JAVA_HOME}/bin #Tomcat Environment

Using = 150 CustomTags on a JSP breaks the VM for all Tomcats (4.0b5/3.2.2b3-b5)

2001-05-23 Thread Mueller, Franz
Hi all, I'm facing a showstopper for further usage of tomcat. Placing a lot (=150) custom tags on a JSP brings down the VM on Win-platforms (Win2k and NT4.0 latest SP) (Tested with JDK1.3 and JDK1.3.1 (beta)) The creation of the corresponding java file (from the JSP) and the compilation to

RE: Using = 150 CustomTags on a JSP breaks the VM for all Tomcats (4.0b5/3.2.2b3-b5)

2001-05-23 Thread Mueller, Franz
Sorry about this, but the war-file is 100k; can't attach it as stated. I'm attaching the JSP. It requires the struts.jar and the struts-html.tld to work (actually to not work :( Regards, fm TagTest.jsp TagTest.jsp

JSP Naming Standards ?

2001-05-23 Thread dave . prout
Are there recognised naming standards for JSP's ? If I have a customer login page for Company ABC should I call it. ABC_Customer_Login or abc_cutomer_login or abccustomerlogin or abcCustomerLogin or what ? Please could you give me a reference to the standard, as I

RE: Possible thread deadlocking in 3.2.2 beta 5?

2001-05-23 Thread altuga
Hi , just an idea ; upgrade your jdk from JDK-1.2.2_006 to JDK1.3 regards .. -Original Message- From: Joel - Jakarta List [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 9:53 PM To: '[EMAIL PROTECTED]' Subject: Possible thread deadlocking in 3.2.2 beta 5? Hello, I

Re: Error when Including resources in JSP

2001-05-23 Thread Allan Kamau
Well I still haven't got any responses to my problem below. --- Allan Kamau [EMAIL PROTECTED] wrote: Hi all,I get errors when I include a cocoon processed .xml file in .jsp file in Tomcat-3.2.1The resource.xml calls an xml generating servlet that I have written. If I call the

Re: Well....Here it is!!!!!

2001-05-23 Thread Matt Dilley
yes, but for english people like myself, living in uk, I don't think it will work! - Original Message - From: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 1:44 PM Subject: WellHere it is! Hi,''Making over half million dollars every 4 to 5 months fromyour

Tomcat vs. Other App Servers

2001-05-23 Thread Curtis Spencer
Hi, I have been working with Tomcat for a few months now with little problems. I am wondering if this app server is ready for prime time when it comes to business end of the things. What do the other servers that cost upwards of $1 offer that Tomcat doesn't? Also, I have been hearing a

NT Service Problem

2001-05-23 Thread Huynh Tin
Hi all , I used jk_nt_service.exe to add Tomcat like NT service . I modified wrapper.properties file and then updated parameters as follows: wrapper.tomcat_home = path of TOMCAT_HOME wrapper.java_home = path of JAVA_HOME I finished adding Tomcat into a NT service named

debugging of jsp's

2001-05-23 Thread Torgeir Veimo
Just dreaming load here; How would it be possible to write a debugger for jsp's that interpreted a jsp page, and made the content of the pageContext available with a nice gui? I know this is all possible to retrieve by attaching a debugger to tomcat, but this gives me a strickly servlet view,

sendRedirect using POST

2001-05-23 Thread Glyn Walters
Hi Looking through the archives I could not see if this was resolved by anybody. I am trying to use a servlet that is posted user authentication data to post the data back to a redirect url. Is it possible to use sendRedirect or another technique to POST the return paramters to a URL? Thanks

sendRedirect using POST

2001-05-23 Thread Glyn Walters
Hi Looking through the archives I could not see if this was resolved by anybody. I am trying to use a servlet that is posted user authentication data to post the data back to a redirect url. Is it possible to use sendRedirect or another technique to POST the return paramters to a URL? Thanks

Re: sendRedirect using POST

2001-05-23 Thread Alex Fernández
Hi Glyn! Glyn Walters wrote: Looking through the archives I could not see if this was resolved by anybody. I am trying to use a servlet that is posted user authentication data to post the data back to a redirect url. Is it possible to use sendRedirect or another technique to POST the return

ISAPI dll Download URL

2001-05-23 Thread Arnold Shore
Sorry for the bother, but the basic links to binary Tomcat downloads appears circular. Will appreciate subject URL. Thanks, all. Arnold Shore Annapolis, MD USA

Re:Problem running tomcat 4 in apache 1.3.19

2001-05-23 Thread Tomasz.Sucharzewski
Would you please tell me how to compile web_apps.so. I got error with pthread ... (serveral people had the same error but I could not find the solution on tomcat list) when i start apache. Someone suggested that module should be compiled with LD_LIBRARY_PATH properly set up, but I checked it and

tomcat4 / apache 1.3.x integration problem

2001-05-23 Thread Markus Mailinglists
Hello! Like some others I have a problem with connecting the tomcat 4 (beta 4 or 5) with the apache 1.3.19. The computer is a solaris 8 (sparc) system with jdk1.3 and a gcc compiler I could successfully compile a mod_webapp.so file. Although after copying it to the apache/libexec folder and

Re: Tomcat vs. Other App Servers

2001-05-23 Thread Arnaud Dostes - NTI
Well, this is interesting I've raised this issue many times around me and it always becomes a philisophical debate on open-source and stuff like "is open-source compatible with a companies needs" etc I've also discussed this with one of the guys working on the Orion app server. And

Re: sendRedirect using POST

2001-05-23 Thread Arnaud Dostes - NTI
I never resolved it... you can workaround it using an intermediate javascript page, but avoid it. You can use headers. - Original Message - From: Glyn Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 12:41 PM Subject: sendRedirect using POST Hi Looking

Multiple requests

2001-05-23 Thread David Oxley
I have been load testing our servlet and under high load requests start to take a long time (30secs ish). When a request takes this long a browser resubmits the request automatically. Is there a status I can send to the browser to say that the server is actually doing something and therefore stop

Re: Images not showing on Win2000

2001-05-23 Thread Arnaud Dostes - NTI
probably something with the space needing to be a %20 - Original Message - From: oLi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 4:47 PM Subject: Re: Images not showing on Win2000 I get the same under NT. Obviously it is a bug, when I have my static content

Urgent question on extra line with Tomcat Jsp

2001-05-23 Thread wtonetwork.com
Dear all, I have encounter a strange behaviour with Tomcat 3.2 When I use jsp to output a line to html or other format. The resulting page will append a line before the content. this make some of my applications work inproperly as they parse the content uncorrectly. Does any one encounter

RE: NT Service Problem

2001-05-23 Thread Ronald G. Louzon
Make sure there is a "logs" directory under %TOMCAT_HOME%. If there is a logs directory delete the logfiles and attempt to start the service. Then, check the logfiles to see if they reveal anything useful. There must be a logs directory before the service will run. -Original

Milestone 3 as service?

2001-05-23 Thread Eric Lubin
Does anyone have Jakarta 3.3-m3 (Milestone 3 build) running on NT/2000 as a service? I had 3.2.1 running fine, but with this new version, the service seems to start and stop immediately. Is there a log anywhere to look at?? I notice that a lot of the conf and jar files have changed

RE: sendRedirect using POST

2001-05-23 Thread Glyn Walters
Thanks. I am trying to do something using javascript but I take your point. What do you mean by using headers though? The redirect needs to go back to an ASP. -Original Message- From: Arnaud Dostes - NTI [mailto:[EMAIL PROTECTED]] Sent: 23 May 2001 12:19 To: [EMAIL PROTECTED] Subject:

RE: Urgent question on extra line with Tomcat Jsp

2001-05-23 Thread Pernica, Jan
JSP send all characters you have written into JPS. So that it passes back all new lines you have used in your code (including all white characters). Jan On Wednesday, May 23, 2001 2:52 PM, wtonetwork.com [SMTP:[EMAIL PROTECTED]] wrote: Dear all, I have encounter a strange behaviour with

How to change subscription options for this list

2001-05-23 Thread [EMAIL PROTECTED]
How do I set my subscription options to NO DIGEST for this list

Re: Urgent question on extra line with Tomcat Jsp

2001-05-23 Thread wtonetwork.com
Hi Jan, Sorry, I still don't understand what's the problem. What do you mean by JPS? In the code, I don't have any white characters/new lines at the beginning. How should I solve this? thanks Bryan - Original Message - From: Pernica, Jan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

problem with /jakarta/isapi_redirect.dll on win2k

2001-05-23 Thread Robert, Betts
Howdy I have looked at the docs, faq and gone throught the list archive, but not found a solution to my particular problem. I have installed tc 3.2.1 on a win2k prof machine with iis 5, running tomcat out of process. I can run tomcat with no problems as a service or as a stand alone

Re: problem with /jakarta/isapi_redirect.dll on win2k

2001-05-23 Thread Jerry Villamizar
UNSUBSCRIBE - Original Message - From: Robert, Betts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 9:18 AM Subject: problem with /jakarta/isapi_redirect.dll on win2k Howdy I have looked at the docs, faq and gone throught the list archive, but not found a

problem with /jakarta/isapi_redirect.dll on win2k

2001-05-23 Thread Robert, Betts
Howdy I have looked at the docs, faq and gone throught the list archive, but not found a solution to my particular problem. I have installed tc 3.2.1 on a win2k prof machine with iis 5, running tomcat out of process. I can run tomcat with no problems as a service or as a stand alone

Re: Multiple requests

2001-05-23 Thread Alex Fernández
Hi David! You can commit the response, and then the request will not be resubmitted. But it's difficult, since the problem was that Tomcat is not honoring the requests, to begin with. In iPlanet, you can tell how many requests can be queued; it would be interesting to know whether you can do

RE: Using = 150 CustomTags on a JSP breaks the VM for all Tomcats (4.0b5/3.2.2b3-b5)

2001-05-23 Thread Marc Saegesser
I tried your example and got the same result using JDK1.2.2/Hotspot. When I use a non-hotspot JVM I get an out of memory error. If you haven't already, please submit a bug report about this at http://nagoya.apache.org/bugzilla/ -Original Message- From: Mueller, Franz [mailto:[EMAIL

Help needed to start tomcat 4 beta 4

2001-05-23 Thread [EMAIL PROTECTED]
I am trying to run tomcat 4 beta 4 on two different systems and am unable to do so on either of them I would really appreciate if I could get some advice on this. In both cases no change has been made to the server.xml file The first system is a Win 98 system with the following configuration

Multiple contexts under IIS on different virtual hosts.

2001-05-23 Thread Sean LeBlanc
I'm trying to get multiple contexts on the same machine, under different hosts. To explain what I'm trying to do: Let's say I have a machine called HAL. I have two sites hosted on it, let's call them www.site1.com and www.site2.com. I want to have a Tomcat context on each, let's say /foo, so that

lb-problem with mod_jk: high cpu load on apache when tomcat breaks down

2001-05-23 Thread Timo Carl
Hello tomcat-users, We are having a problem with mod_jk and load balancing. Does anyone else have had similar problems with that kind of architecture setup? Our System: === Alteon switch (round robin) | | three Apache 1.3.19 on three SPARC-Servers (called s1,s2,s3)(3 CPU, 3 GB) |

How do you make Apache to access remote tomcat with mod_jk ?

2001-05-23 Thread Toshiko Yagi
Hi ! Valeriy told it's possible to access remote tomcat server from Apache. I guess configuration is necessary in tomcat.conf and mod_jk.conf. If possible could someone tell me what propeties are the one to configure. Would be great help! Thank you

Re: Help needed to start tomcat 4 beta 4

2001-05-23 Thread egcs12md
Check server.xml: Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 connectionTimeout=6/ maybe you not set port=8080 - Original Message - From:

RE: Multiple requests

2001-05-23 Thread David Oxley
This isn't the problem. Tomcat is calling my servlet, but because the machine is so busy it is taking a long time to construct the response, and hence the request is resubmitted before it has sent back the response. I need a way to tell the browser that the server has received the request and

Threads please help

2001-05-23 Thread Han Wang
I'm having problems doing 16 or more simultaneous access of Tomcat 3.2.1 on NT I tried to hit http://localhost:8080/ with 16 or more threads. And I get connection refused for the requests after 15. Is there a limit to the number of concurrent connections? If so, how can I change it? (or is that

AW: Urgent question on extra line with Tomcat Jsp

2001-05-23 Thread Ralph Einfeldt
If you have something like: %! % jsp:useBean ... /jsp:useBean % % html /html There will be 3 empty lines in the result before html. To avoid that you have to format your code like that: %! %jsp:useBean ... /jsp:useBean% %html -Ursprungliche Nachricht- Von: wtonetwork.com [mailto:[EMAIL

Re: Redhat 7.1 ApacheTomcat How-to (long)

2001-05-23 Thread Renato Salazar
It doesn't seem to be the problem. So far I've managed building my own mod_jk.so and starting Apache with it (I don't have any problem at Apache startup unlike days before). Now It seems like Apache doesn't recognize /examples as a Tomcat directory, it's the same message as I doesn't use

RE: Multiple contexts under IIS on different virtual hosts.

2001-05-23 Thread Sean LeBlanc
I know it's bad form to follow up to your own message, but I found the problem almost as soon as I posted this...I needed to restart the whole IIS service, not just the virtual web site. -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 8:31

Re: Multiple requests

2001-05-23 Thread Alex Fernández
So, just to clarify: The request arrives, Tomcat processes it and sends it to your servlet. You do: response.setContentType(text/html); // commits the response response.flushBuffer(); and, while your servlet thinks what it must send next, the browser resends the response.

problem to handle sessions with Tomcat

2001-05-23 Thread sibendud
Hello Here I face a problem with Apache1.3.14+Tomcat3.2.1 . I am building up a login module in which the process flows like: login.jsp--LoginServlet--login_success.jsp. In the servlet , on the successful login , i am initiating a session and putting some values. But I am not able to get back

RE: Apache and remote tomcat server

2001-05-23 Thread Lawson, Israel H.
We got this working by replicating the tomcat directory structure on the apache box. the reason for this lies somewhere in the way MOD_DIR and AUTO_INDEXING work. A good example of what i mean follows for the below to work you would have to have a /test directory on you apache server. even if

RE: 3.2.1 Dies

2001-05-23 Thread Bill Graham
Someone about a month ago mentioned that this was a bug in Tomcat where it chokes when the max threads is exceeded. I've had the same problem with load testing that I've done and increasing the max threads worked for the number of threads I had. Unfortunately, this fix in not scaleable... bill

Re: tomcat4 / apache 1.3.x integration problem

2001-05-23 Thread jean-frederic clere
Markus Mailinglists wrote: Hello! Like some others I have a problem with connecting the tomcat 4 (beta 4 or 5) with the apache 1.3.19. The computer is a solaris 8 (sparc) system with jdk1.3 and a gcc compiler I could successfully compile a mod_webapp.so file. Although after copying it to

NT problem : Tomcat service stops when user logs out of NT

2001-05-23 Thread Ronald G. Louzon
Title: SSL support for Tomcat 3.2.1 with IIS I know this is in the archives somewhere but I cannot find it. Is there a problem when running the Tomcat wrapper jk_nt_service.exe with JDK/JRE 1.3? If I remember correctly, the problem is that if you start the service and then you log out of

I am looking for a comprehensive set of documentation.

2001-05-23 Thread Fred Huelsbeck
Title: I am looking for a comprehensive set of documentation. Is there anything available in print? Is there more than what is included, the overview stuff? Thanks in advance, Fred

Re: 3.2.1 Dies

2001-05-23 Thread Hunter Hillegas
Yeah, I'm still having problems in this area. Is 3.2.2 improved? I've seen a few messages about thread dead-lock problems lately on 3.2.2... I'm now logging the output of the tomcat.sh script so I should see if it is OutOfMemory or whatever when everything dies... Hunter From: Bill Graham

Which connector is correct for Tomcat4b5 Apache 1.3.19 ?

2001-05-23 Thread Christian Rudolph
When using Tomcat 4b5, which "connector" is the one that I should use to connect Tomcat with Apache 1.3.19 for WinNT4? I have looked extensively through documentation and archives but cannot determine which connector to use. The server.xml file that comes with Tomcat4b5 has this quoted

RE: NT problem : Tomcat service stops when user logs out of NT

2001-05-23 Thread Christian Rudolph
Title: SSL support for Tomcat 3.2.1 with IIS Ronald, The archives for this mailing list are in: http://mikal.org/interests/java/tomcat/index.jsp -Christian -Original Message-From: Ronald G. Louzon [mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 23, 2001 12:38 PMTo: '[EMAIL

How to fix ClassCastException in Windows

2001-05-23 Thread Peter Costello
When trying to execute Tomcat4.0-b5 from DOS, I received ClassCastExceptions. After searching the mail, I saw someone mention that classes loaded by different classloaders are treated as different classes even though the names may match. I made the following changes to 'catalina.bat' and it

RE: Basic Doubt

2001-05-23 Thread Nathan Brown
Try making a request just like you would on port 8080, something like: http://Hostname:80/vitualroot/servlet/Servletname The way it works is, when Tomcat stars up, it recreates it's mod_jk.conf file each time. It puts in there all the subdirectories that are under it's webapps directory as

Include question...

2001-05-23 Thread Kyle Burke
Is this possible (see CODE)? I have a file that depends on the query string for display. Can I have include files based on that query string too? If action=edit show the data in form fields otherwise show it in formatted text. When the files are included vs. when the page is compiled and

mod_jserv.so or mod_jserv_tomcat.so?

2001-05-23 Thread Scott Merritt
Just trying to figure out which I should be using for Tomcat 3.2.1 since the documentation explains building mod_jserv but if I look at the already compiled dir (http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html) I only see mod_jk.so and mod_jserv_tomcat.so. If I use these,

RE: Multiple requests

2001-05-23 Thread David Oxley
I am not doing the flushBuffer(). But apart from that, that is what I am doing. Will the flushBuffer() prevent the browser from doing its subsequent request. We are using IE5. Dave [EMAIL PROTECTED] -Original Message- From: Alex Fernández [mailto:[EMAIL PROTECTED]] Sent: 23 May 2001

IIS (Pws) default website and the tomcat context path.

2001-05-23 Thread aswath satrasala
Hi, I am using personnel web server. I have set up the pws default website to one of my tomcat context directories. I get my login.jsp (which I have set it as default). When I say submit, I get the following error. If I don't use the default website, but instead create a virtual directory and

JSP to Servlet Loosing Session Info

2001-05-23 Thread Frank Lawlor
I noticed some posts about people having problems loosing the session information when using JSPs with servlets. For examples if I did the following in a JSP: FORM ACTION=/servlet/com.mycom.MyServlet ... when MyServlet got control, the Session was empty. I found out that if I did this the

RE: Include question...

2001-05-23 Thread Kyle Burke
This was an 'Internal Servlet Error' by the way. Stack trace follows. Thanks. Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPD:\tomcat\work\localhost_8080%2Fadmin\_0002faboutus_0002fedit_0005fstaff_ 0002ejspedit_0005fstaff_jsp_25.java:140: 'catch'

RE: Thread deadlocking in 3.2.2 beta 5?

2001-05-23 Thread Marc Saegesser
Joel, I put Tomcat 3.2.2b5 on a dual processor NTServer box. I've been beating on it all morning with JMeter using a sequence of JSPs and servlets from the examples webapp that ships with Tomcat. Several times while the stress test is running I touch to update the timestamp on all the JSP

RE: I am looking for a comprehensive set of documentation.

2001-05-23 Thread Dayle and Kyle
Title: I am looking for a comprehensive set of documentation. Fred, I'm not sure if there are docs out there, but you can run javadoc on the src files in the %TOMCAT_HOME%\src\ directory and subsequent child directories. Seems to be well commented. -Original Message-From: Fred

Non http servlet?

2001-05-23 Thread D. Jay Newman
Hi: I need to create a servlet extended from Servlet rather than HttpServlet. I will be using a protocol based on XML rather than HTTP. Is it possible to do this using Tomcat? If so, any hints? Thanks in advance. -- D. Jay Newman ! For the pleasure and the profit it derives

Setting Up a JDBC Realm

2001-05-23 Thread Daniel Duchaussoy
Hi, I am using Tomcat 4 b5 I do face a real trouble with setting-up a JDBC Realm using an Oracle Database, I think did exactly the same as the tutorial but it doesn't seem to work properly. Are there any specific actions to take in order to make it work. I am new to this list if someone

Repost: AdaptiveClassLoader problems with Tomcat 3.2.1, IIS and Struts web apps

2001-05-23 Thread Eric Wu
I have not seen any responses on this so I'm trying again: I have two struts-based web apps installed under a single instance of Tomcat (Struts Beta 1, Tomcat 3.2.1 connected to IIS 4.0 on Windows NT via isapi_redirect.dll). They are defined within server.xml as follows: Context

Form based Authentication - URLs with username:password are not supported

2001-05-23 Thread Roytman, Alex
Title: Form based Authentication - URLs with username:password are not supported When using form based authentication urls username and password do not work i.e. http://alex:[EMAIL PROTECTED]/examples it works just fine with basic authentication but not with form based

RE: problem with /jakarta/isapi_redirect.dll on win2k

2001-05-23 Thread Eric Wu
Did you check the settings in the registry (under HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0)? Verify that the extension_uri, worker_file and worker_mount_file settings are pointing to the correct files. Eric -Original Message- From: Robert,

How to use Tomkat with apache.

2001-05-23 Thread rino . mail
I'm new to tomkat and I'd like to use JSP with apache. I use Red Hat 7.1 I try to find somebody, something, sites , books but nothing explain how configure the machine to use tomkat for using JSP. Please ... say me where can I find how configure and use tomkat or explain how do that. Thank you

RE: KeepAlive and sendRedirect Vs jsp:forward

2001-05-23 Thread Brandon Cruz
I have been having tons of problems with response.sendRedirect() and can't figure out what in the world is causing it. I'll try forward and see how that works, thanks :-) Brandon -Original Message- From: Shahed A Moolji [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 3:08 PM

Re: How to use Tomkat with apache.

2001-05-23 Thread Michael Jennings
Bonjourno! I managed to get tomcat working on my computer, here is what I did. 1) Make sure you have JDK 1.3 installed on your computer (to verify, type in java -version) In order to make JDK 1.3 run properly on RedHat 7.1, in your /etc/profile file put in a line saying: ulimit -s 2000 also,

Re: How to use Tomkat with apache.

2001-05-23 Thread Michael Jennings
Bonjourno! I managed to get tomcat working on my computer, here is what I did. 1) Make sure you have JDK 1.3 installed on your computer (to verify, type in java -version) In order to make JDK 1.3 run properly on RedHat 7.1, in your /etc/profile file put in a line saying: ulimit -s 2000 also,

Aliasing urls in Tomcat (without using Apache)

2001-05-23 Thread Graeme Miller
Hi guys, During development we would like to use Tomcat locally without having an Apache front end, then only have an Apache front end proxy passing to Tomcat when it goes into production. We are running into problems with how to replicate the proxy pass functionality of Apache in Tomcat. Eg

RE: Aliasing urls in Tomcat (without using Apache)

2001-05-23 Thread William Kaufman
I'm not sure I get you, but, can't you just alias the servlet's URL using the url-pattern tag in your web.xml? (Take a look at the DTD for web.xml, at, http://java.sun.com/j2ee/dtds/web-app_2_2.dtd or in the JSDK spec.) -- Bill

RE: ===Session Question===

2001-05-23 Thread Martin van den Bemt
If you just want the request object (the parameters) to be passed call the servlet2 with the request object and finish what you're doing and the request object is gong after that. Simple. You can also create an hashtable in the session with those values from the request object and delete the

linux/tomcat woes

2001-05-23 Thread Duane Douglas
hi gang! i'm a linux newbie, so please bear with me. i'm running red hat linux 6.2. i installed apache 1.3.19 and tested it, so i know that its working. tomcat 3.2.1 is giving me problems. i java 2se 1.3.1 (and tested it, so i know it's working). i then un-tarred the tomcat tarball and

RE: virtual host

2001-05-23 Thread Martin van den Bemt
What's the use of making virtual hosts in tomcat then? (if the full content of WEB-INF is the same...).. Just leave the virtual hosting to apache. I never set a virtual host in tomcat in my life ;-)) (they all just call the same context on there own host). Mvgr, Martin -Original

RE: IDE for tomcat

2001-05-23 Thread Martin van den Bemt
Netbeans 3.2 is way faster than the older netbeans / forte stuff. Just switch off the forms and all other unneeded modules and it will be faster ;-)) Mvgr, Martin -Original Message- From: Warren Crossing [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 2:29 AM To: '[EMAIL

RE: Help Needed

2001-05-23 Thread Martin van den Bemt
Do something like this : int maxConnections = 33; String httpd = /usr/local/apache/conf/httpd.conf; String tmphttpd = /usr/local/apache/conf/httpd.new; String oldhttpd = /usr/local/apache/conf/httpd.old; BufferedReader in = new BufferedReader(new FileReader(new File(httpd)));

Install problems in FreeBSD 4.2

2001-05-23 Thread lance . hill
Hi, I recently downloaded and installed jdk1.3.0_02 on a FreeBSD system. I followed the instructions included with the jakarta-tomcat README which indicated that I needed to set an environment variable of JAVA_HOME=/usr/local/jdk1.3.0_02 and add $JAVA_HOME/bin to the PATH. The instructions

mod_jk is garbled? Garbled? I got the binary...

2001-05-23 Thread Scott Merritt
Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this

RE: Problem running tomcat 4 in apache 1.3.19

2001-05-23 Thread Martin van den Bemt
See http://marc.theaimsgroup.com/?l=tomcat-devm=99020542608948w=2 (the ant-dev mailinglist...). The Exception btw is caused by a bug... If you call the http://servername/examples/servlets/ you get the nullpointer exception, because it cannot find what the welcome page should be (eg index.html)

RE: 3.2.1 Dies

2001-05-23 Thread Devon Ziegler
I can't say I know FOR SURE that the threads were dead, but after a considerable length of time they never accumulated any more CPU usage time (as seen via top or ps) whereas some of the others did. I know for sure I had far more threads than the max_threads setting (12 for me) because I'd see

RE: KeepAlive and sendRedirect Vs jsp:forward

2001-05-23 Thread Martin van den Bemt
If you do a response.senRedirect() and the redirect is empty, the servlet calls itself without parameters... (at least in tomcat, not in jserv..). Maby that's causing the problem.. Mvgr, Martin van den Bemt -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent:

Re: Install problems in FreeBSD 4.2

2001-05-23 Thread Michael Jennings
That's a jdk configuration problem, not a tomcat problem. If you can successfully get run a simple command like: java -version then you can move on to the tomcat-related stuff. I've never gotten jdk 1.3 to work in BSD, but you should make sure that the following files exist: /usr/bin/expr

Re: virtual host

2001-05-23 Thread Andrea Mari
I would a site on www.domain.com and another site on wap.domain.com. they are the web and the wap site. I would also that .jsp files are always sent to Tomcat , even if I call www.domain.com/first.jsp or .domain.com/folder1/second.jsp (th same thing for the wap.domain.com). How do I

Re: mod_jk is garbled? Garbled? I got the binary...

2001-05-23 Thread Renato Salazar
I had the same problem and, definetely, you have to build your own mod_jk.so. Try downloading another version of Apache (not installing it)and use it's apxs. I have 1.3.19 and it works fine, only follow the mod_jk page instructions: Make sure you have Perl 5 installed. The apxs script used

*** Ordinary users can kill the tomcat server? ***

2001-05-23 Thread Arcadio A. Sincero Jr.
Hello list, I noticed that even if I start tomcat as root, ordinary users can simply run the shutdown.sh script themselves and cause it to terminate. This can't be right, can it? I mean, it doesn't seem like normal users should be able to kill system services right? Did I do something wrong

Please help. Accessing protected url from java when using form based authentication

2001-05-23 Thread Roytman, Alex
Title: Please help. Accessing protected url from java when using form based authentication I need to access a protected resource on my web site from java. I use form based authentication and I was hoping that following sequence will make it but it dos not 1. Open url to protected resource.

JDBC/ODBC: Technological choice

2001-05-23 Thread Alexandre Bouchard
Hello guys I am building an intranet on a window NT environment. I hate ASP, so I decided to use JSP as the server-side language. I chose Tomcat to run my JSP and I installed it as a IIS plugin. Now, I have to connect my JSPs with the databases (they use Access -- ouch! ) I never did

RE: Please help. Accessing protected url from java when using form based authentication

2001-05-23 Thread Brian George
Title: Please help. Accessing protected url from java when using form based authentication Please UNSUBSCRIBE me. I did not subscribe to this listserve. -Original Message-From: Roytman, Alex [mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 23, 2001 1:26 PMTo: '[EMAIL

RE: *** Ordinary users can kill the tomcat server? ***

2001-05-23 Thread Brian George
Please UNSUBSCRIBE me. I did not subscribe to this listserve. -Original Message- From: Arcadio A. Sincero Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: *** Ordinary users can kill the tomcat server? *** Hello list, I

RE: JDBC/ODBC: Technological choice

2001-05-23 Thread Brian George
Please UNSUBSCRIBE me. I did not subscribe to this listserve. -Original Message- From: Alexandre Bouchard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 5:34 PM To: tomcat-user Subject: JDBC/ODBC: Technological choice Hello guys I am building an intranet on a

RE: *** Ordinary users can kill the tomcat server? ***

2001-05-23 Thread Artigas, Ricardo Y.
It may be because the permission for the shutdown.sh script was granted to everyone. Change the permissions for the shutdown script so not everyone can execute it. HTH. :^) Ricky Y. Artigas Analyst/Programmer / Database Administrator Information Technology Division Easycall Communications

Re: *** Ordinary users can kill the tomcat server? ***

2001-05-23 Thread Arcadio A. Sincero Jr.
Nah .. thats not gonna work. Because a user can always download the tomcat package him/herself and get the stuff s/he needs to shut it down. In fact, I think anyone can connect to port 8007 and tell Tomcat to shutdown! - Arcadio - Original Message - From: Artigas, Ricardo Y. [EMAIL

RE: JDBC/ODBC: Technological choice

2001-05-23 Thread William Kaufman
-first, is it possible to use a JDBC IV sheme with Tomcat Yes. -if so, how is it possible? How is it made? The same way you use any JDBC implementation. In other words, where can i find documentation about that? The obvious place would be Sun's JDBC home page:

Re: NT problem : Tomcat service stops when user logs out of NT

2001-05-23 Thread egcs12md
SSL support for Tomcat 3.2.1 with IISYou can compile this c file to DLL: *** /* cl /GD /LD -I D:\usr\jdk1.3\include -I D:\usr\jdk1.3\include\win32 JNI_OnLoad.c */ #include windows.h #include winbase.h #include stdio.h

  1   2   >