Re: "unable to compile class for JSP" Upgrade 4.0 to 4.1

2003-08-11 Thread John Turner
Hi - This might help: http://jakarta.apache.org/tomcat/faq/misc.html#compile and http://jakarta.apache.org/tomcat/faq/classnotfound.html (especially all of the threads relating to packageless classes) John Susanne Munker wrote: Hello, I´m a newbie here and please excuse my english I h

Re: Problem in Integrating Tomcat with Apache

2003-08-11 Thread John Turner
st because "localhost" works does not automatically mean "any.name.I.choose" will work. John Geralyn M Hollerman wrote: John Turner wrote: "localhost" is a distinct virtual host name that ONLY WORKS ON THE LOCAL COMPUTER. "some.ip.address" is a distinct virtu

Re: JkMount causing problems

2003-08-11 Thread John Turner
One thing is that DocumentRoot is typically not "webapps" but some directory under webapps, like "webapps/ROOT" or "webapps/myApp" or whatever. What URL is causing the 500 error? What do Tomcat's logs say? Also, try setting JkLogLevel to "info", restarting, and trying it then. Also, the JkMounts

Re: security hole on windows tomcat?

2003-08-11 Thread John Turner
sorry, that should be http://localhost:8080/john/test.jsp%20 = 404 No Apache is involved. John John Turner wrote: Red Hat Linux. I just tried this on Windows 2000 Pro, Tomcat 4.1.27 (downloaded 30 minutes ago, .exe install, installed as service). http://localhost/john/test.jsp%20 = 404

Re: Problem in Integrating Tomcat with Apache

2003-08-11 Thread John Turner
That's because my HOWTO only addresses setting up "localhost" and not "some.other.host.com". You have to do the same that is done for localhost for every other host you want to use. You might want to read up a little on what a virtual host is, and how it is setup in Apache. It works with Tomcat

Re: Tomat and ssl

2003-08-11 Thread John Turner
"servelet" should be "servlet", I think, unless you also have it as "servelet" elsewhere in your config. The error message you're getting is the same one we discussed last week: are you sure you are loading mod_jk.so? Are your mod_jk directives like "LaodModule" and "JkWorkersFile" etc. in htt

Re: integration of apache2.0.40 & tomcat4.1.27

2003-08-11 Thread John Turner
unplug wrote: I have installed RH9 and it contains apache2.0.40. Then I installed tomcat4.1.27 by binary. After that I want to integrate them to work together by using jk2. What is the easy way to integrate them? Use a connector. http://jakarta.apache.org/tomcat/faq/connectors.html Any do

Re: Tomcat 5.0.2 and IIS

2003-08-10 Thread John Turner
8080 and tomcat at 80 port, does that make any difference? Thanks, vikas From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Tomcat 5.0.2 and IIS Date: Wed, 06

Re: Tomcat 5.0.2 and IIS

2003-08-10 Thread John Turner
iewmsg/msg-9593 and setup IIS and tomcat. You may see some problem in that. From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Tomcat 5.0.2 and IIS Date: Thu, 07 Aug 2003 1

Re: is there a way to download a jsp file from server without executingit?

2003-08-09 Thread John Turner
Read file from disk. Set the Content-Type to text/plain. Write file to browser. John Prince wrote: hi is there a way to download a .jsp file without executing it? ie i need the content od jsp file, not the result of that jsp file. same question goes with .cgi, .asp, .pl etc regds Prince -

Re: Bare Minimum server.xml

2003-08-09 Thread John Turner
The answer to your question is: does Tomcat startup and work as you desire with the server.xml file you have posted? You can answer your own question in about 30 seconds. John Satish Talim wrote: Okay. Then would the following, constitute a bare minimum optimised server.xml file?

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
CTED]/msg95175.html Please help me out. Thanks, From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Tomcat 5.0.2 and IIS Date: Thu, 07 Aug 2003 17:00:43 -0400 It's attempti

Re: Stable tomcat + apache + mod_j2 + ssl

2003-08-09 Thread John Turner
o end encryption, we have to secure the communication between the webserver and app server. I have heard about mod_ssl but have not used it. Would that be an option to secure the communication between apache and tomcat. Your opinion is highly appreciated. --Ramanan -Original Message- From:

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
It's attempting to map the DLL, which is incorrect. I'm pretty sure this has come up before, I would search the archives or start a new thread with a different, more descriptive subject line and see if anyone has the answer. John vikas jain wrote: seems something is working but still somethi

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
8080. still not working. I can go to servlet using tomcat by following paths: http://localhost:8080/servlet/HelloWorld http://localhost:8080/examples/servlet/HelloWorld I didn't get any error log in isapi.log file this time, but it doesn't work. Thanks, From: John Turner <[EMAIL PR

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread John Turner
estion for John Turner about a statement in the book Apache Tomcat Security. Page 12 says: "As discussed earlier, running publicly available web services as root or superuser is typically a bad idea, so the solution is to avoid using Tomcat as a stand-alone web server on port 80 by inte

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread John Turner
Agreed. John Noel J. Bergman wrote: Nathan, There are many facets to the subject, but if all you don't mind running all of your domains in one process, have no need for load balancing, no need for non-Tomcat features, etc., then running Tomcat directly is probably fine. Historically (and struct

Re: Https not working

2003-08-08 Thread John Turner
Nothing. SSL or not, the only thing you need between Tomcat and Apache is the connector like mod_jk or mod_jk2. SSL VirtualHosts are different than regular Virtual Hosts in Apache's httpd.conf file...you need to make sure that requests are forwarded to Tomcat for both types of VirtualHosts, SS

Re: Element "web-app" does not allow "servlet" here

2003-08-08 Thread John Turner
You'll have to do it on a regular basis if you continue to use a DTD of "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";. Try something like "http://java.sun.com/dtd/web-app_2_3.dtd";. Note "2.3" instead of "2.2". John Jiann-Ming Su wrote: I'm getting a bunch of the errors included below. I'

Re: apache/tomcat w/ mod_2k on linux

2003-08-08 Thread John Turner
Have you followed the HOWTOs? Read the FAQ for the connectors? What does your httpd.conf file look like? Workers.properties? JkMount? Are you using the right mod_jk.so file for your Apache? John [EMAIL PROTECTED] wrote: I am having lots of problems integrating apache 1.3 with tomcat 4.1.24

Re: Hardware and Memory Requirements

2003-08-08 Thread John Turner
There should be no surprise. For Tomcat alone, perhaps about 20MB disk (plus whatever you want for logs) and for RAM, you could do fine with 128MB. What you are missing, and what other people have pointed out, is that every single web application that you would use with Tomcat is different. Y

Re: Stable tomcat + apache + mod_j2 + ssl

2003-08-08 Thread John Turner
Apache 2.0.47 Tomcat 4.1.24 There isn't an SSL version of either the mod_jk or jk2 connector. Since JK and JK2 don't ever communicate with a client, there's really no need. You might be able to setup a tunnel using stunnel or similar, but on Windows that will be problematic. Apache binary: h

Re: Tomcat 5.0.2 and IIS

2003-08-07 Thread John Turner
*sigh* "not working" doesn't help much. Error messages? Contents of log files? John vikas jain wrote: Now I have changed the worker.properties file to this: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 and uriworkermap.properties to: /examples/*

Re: Tomcat 5.0.2 and IIS

2003-08-07 Thread John Turner
on the system machine the web server is IIS. there I wan to deploy servlets). Conclusion is how to run servlets using IIS? Thanks, From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject:

Re: Why integrate Tomcat with a web server?

2003-08-07 Thread John Turner
iding configurations where services have admin access is just one way to do that, even if on the surface it seems unnecessary. HTH John Nathan Ward wrote: I have a question for John Turner about a statement in the book Apache Tomcat Security. Page 12 says: "As discussed earlier, runnin

Re: Tomcat 5.0.2 and IIS

2003-08-06 Thread John Turner
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ John vikas jain wrote: Thanks Derek. One more question. Where am I supposed to download dll file from? From: "Derek Mahar" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Eric J. Pinnell" <[EMAIL PROTECTED]>

Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-06 Thread John Turner
It can't find libjvm.so. Do you have that installed? Alternatively, does it work without JNI? John Pat Pomatto wrote: Hi, I’m running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2 connector 2.0.2 which I built successfully. I configured the connector with jni. I cannot seem

Re: Behaviour of JSP with tomcat 4.1.24

2003-08-06 Thread John Turner
AFAIK, Tomcat saves sessions across restarts. One of the gurus may have the specific answer as to how you can disable this, I believe it has something to do with whether your session attributes are serializable or not. You can just clear out the work directory between restarts. My shutdown s

Re: Stable tomcat + apache + mod_j2 + ssl

2003-08-05 Thread John Turner
The systems administrators will be the ones setting up stunnel and OpenSSL. Thus, they will have access to the configuration files, certificates, keys and other resources used by OpenSSL. Thus, they will most likely have the ability to decrypt whatever communications are sent over the network

Re: problem

2003-07-31 Thread John Turner
Glad you got it working. Have fun! John [EMAIL PROTECTED] wrote: I got it fixed. It was having problems with that directory -once it was deleted and put back it worked. Thanks! Bobbie -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 3:26 P

Re: Tomcat4+Apache - Install trouble on Debian?

2003-07-31 Thread John Turner
There are a number of connectors in server.xml. All but two (CoyoteConnector on 8009 for AJP13 and CoyoteConnector on 8080 for HTTP) are disabled by default. John Gregory Guthrie wrote: At 03:36 PM 07/31/2003 -0400, John Turner wrote: They are not meant to go together. Best advice is not

Re: Tomcat4+Apache - Install trouble on Debian?

2003-07-31 Thread John Turner
They are not meant to go together. Best advice is not to use mod_webapp at all. It's old, no longer actively developed, and has some (in my opinion) serious limitations. You're better off with mod_jk or mod_jk2. http://jakarta.apache.org/tomcat/faq/connectors.html John Gregory Guthrie wrote

Re: problem

2003-07-31 Thread John Turner
Hi - If you're putting a folder called "AdWebster" in $CATALINA_HOME/webapps, you will want to add the following to server.xml: Add this within the Host block for "placeanad.classifiedmarketplace.net", so something like this: Then restart Tomcat. John [EMAIL PROTECTED] wrote:

Re: Tomcat and MySQL

2003-07-31 Thread John Turner
Should be "?user=leeson&password=" Also you need to make sure that user leeson has access privileges to MySQL from localhost. http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#User_Account_Management John engp0510 wrote: Hi, I am using Tomcat 4.

Re: problem

2003-07-31 Thread John Turner
Most likely because in all of your other posts, it was "AdWebster", not "adwebster" (note case). Tomcat is case-sensitive. John [EMAIL PROTECTED] wrote: Why is this happening? http://placeanad.classifiedmarketplace.net:8080/adwebster Bobbie Atristain Internet Systems Administrator Media Genera

Re: AdWebster not coming up on Tomcat

2003-07-31 Thread John Turner
Your attachment didn't come through. Please just paste it into your message. John [EMAIL PROTECTED] wrote: Greetings John, I've attached a copy of my server.xml file. My ultimate goal is to get http://placeanad.classifiedmarketplace.net/Adwebster running with ssl. But I'm just trying to get

Re: Apache + Tomcat + mod_jk

2003-07-31 Thread John Turner
argh... Because you don't have a DocumentRoot. Please, please just try one thing for me: - copy mod_jk.conf to APACHE_HOME/conf - edit mod_jk.conf...in the correct VirtualHost block, add a line that says: DocumentRoot PATH_TO_YOUR_WEBAPP_HERE - change httpd.conf, change the Include line for m

Re: Apache + Tomcat + mod_jk

2003-07-31 Thread John Turner
Which server (Apache or Tomcat) actually serves the file has nothing to do with file location. Which server (Apache or Tomcat) actually serves the file is completely driven by the JkMount directives. JkMount is inclusive...that is, unless you define a JkMount for a particular URI, the file will be

Re: AdWebster not coming up on Tomcat

2003-07-31 Thread John Turner
the connector lines for 8080. Everything else was left the same. In the web.xml I also uncommented the line about the invoker servlet. That's it -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:59 AM To: Tomcat Users List Subjec

Re: AdWebster not coming up on Tomcat

2003-07-31 Thread John Turner
Hi - Post your server.xml, or explain exactly what you changed from a default Tomcat installation. John [EMAIL PROTECTED] wrote: Hi, I can't figure out why my AdWebster isn't working. http://placeanad.classifiedmarketplace.net:8080/AdWebster/index.jsp that is what happens although the default

Re: Apache + Tomcat + mod_jk

2003-07-31 Thread John Turner
DocumentRoot "C:/jakarta-tomcat-4-1-24/webapps/geode" You will need to copy the mod_jk.conf file to some other location and modify it manually. Change your Include line in httpd.conf to reflect the new location. I like to put mine in the Apache conf directory. I'm not sure what you mean exact

Re: Where does index.jsp come from

2003-07-31 Thread John Turner
$CATALINA_HOME/webapps/ROOT/index.jsp John [EMAIL PROTECTED] wrote: Greetings, I set up Tomcat again but I'm seeing this page http://gdttest.mgnetwork.com:8080/index.jsp - which is good except I can't figure out what to uncomment b/c there is no index.jsp in my webapps folder?? Thanks, Bobbie Bo

Re: mod_jk

2003-07-31 Thread John Turner
.jsp by default when you go to http://host/context/ I don't see any redirects as this application passes everything back to tomcat. -e On Thu, 31 Jul 2003, John Turner wrote: This came up yesterday. According to one poster, putting DirectoryIndex index.jsp in your httpd.conf VirtualHo

Re: Apache + Tomcat + mod_jk

2003-07-31 Thread John Turner
Forgive me, but I've lost track of what this thread is about. What is not happening that you want to see happen, given the configuration files you've posted? What is your question again? John v.siguier wrote: The generated jakarta-tomcat-4-1-24\conf\auto\mod_jk.conf : ## Auto generat

Re: mod_jk

2003-07-31 Thread John Turner
This came up yesterday. According to one poster, putting DirectoryIndex index.jsp in your httpd.conf VirtualHost block would cause Apache to translate "http://192.168.168.45/rtizon"; into "http://192.168.168.45/rtizon/index.jsp";. However, it doesn't work at all for me, never has, and I have a

Re: Does tomcat 4.1.24 come with conf files?

2003-07-31 Thread John Turner
No. Not sure what file you got, but a full distribution of Tomcat (not LE) has a number of files in the conf directory. Remember to use GNU tar. John [EMAIL PROTECTED] wrote: Hey, I have decided to start over so I went to the Jakarta website and downloaded tomcat 4.1.24 and the conf directory

Re: Apache2 + Tomcat on different machines

2003-07-31 Thread John Turner
Yes, this is easily done. If using mod_jk.so, then change the .host parameter in workers.properties to be the IP address of the machine where Tomcat is installed. That is the only change from having Apache and Tomcat on the same machine. I don't use mod_jk2.so, so I can't speak to that enviro

Re: Apache + Tomcat + mod_jk

2003-07-31 Thread John Turner
OK, but where's mod_jk.conf? That's the critical file! John v.siguier wrote: Following are my config files (my new application is called geode): httpd.conf : - ServerRoot "C:/Apache/Apache2" PidFile logs/httpd.pid Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15

Re: Tomcat4, where is classpath set when run as service

2003-07-30 Thread John Turner
I'm no Windows server admin, I'm not acquainted with the finer details of Windows services. If they're not needed, I stand corrected. My intent was to encourage the original poster to consider the functionality Tomcat has by default to achieve his goal, not to render an authoritative answer o

Re: Tomcat4, where is classpath set when run as service

2003-07-30 Thread John Turner
I'm pretty sure. Editing the registry is possible, so is editing the startup scripts. That doesn't mean its advisable, or portable. Tomcat has a pretty robust ClassLoader architecture specifically designed to load classes that it needs. Why not use it instead of mucking about with the regist

Re: Tomcat4, where is classpath set when run as service

2003-07-30 Thread John Turner
: Hi John, thanks for reply. How would one go about adding .jar or .zip files to the classpath given it is created as you say when tomcat starts as a win2k service? paul lomack - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List

Re: SOS Tomcat 5 and Apache httpd 2.0.47 on windows w2k

2003-07-30 Thread John Turner
nks to Eric's reply, I altered the path in workers2.properties as follows instead of [uri:/examples/*] I now have [uri:/*] I am now able to view the Tomcat home page. Thank you John and Eric, Julien. - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: &quo

Re: Tomcat4, where is classpath set when run as service

2003-07-30 Thread John Turner
It isn't. Tomcat 4.1 uses the CATALINA_HOME and JAVA_HOME environment variables (defined at the System level) to build a classpath at startup. John Paul wrote: Hi Folks, Does anyone know where the classpath is set for Tomcat 4.1, when Tomcat4 is started and runs as a win2k service? thanks in

Re: SOS Tomcat 5 and Apache httpd 2.0.47 on windows w2k

2003-07-30 Thread John Turner
And: - are the JK2 settings set correctly in httpd.conf? - is ${serverRoot} defined anywhere, and if so, where? - is the 404 an Apache 404 or a Tomcat 404? John Eric J. Pinnell wrote: Is tomcat listening on port 8009? -e On Wed, 30 Jul 2003, Julien Martin wrote: Hello, I am still trying

Re: Tomcat with Virtual hosting

2003-07-30 Thread John Turner
I have mod_dir (its included by default in a build from source). Doesn't work for me. John Zach Gatu wrote: In my Apache conf file I have this: DirectoryIndex index.html index.htm index.jsp Using mod_jk both in Win32 and Linux, I've never had any problems serving index.jsp as a directory

Re: Hooking Tomcat to Apache HTTPD

2003-07-30 Thread John Turner
Julien Martin wrote: [Wed Jul 30 17:28:32 2003] [error] Can't find class org/apache/jk/apr/AprImpl java.lang.NoClassDefFoundError: javax/management/MBeanRegistration at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) NoClassDefFoundErr

Re: Problem with tomcat and ssl

2003-07-30 Thread John Turner
You could follow the SSL HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html John [EMAIL PROTECTED] wrote: I uncommented it - is there something else I have to do to set it up? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30

Re: jk connector and response.sendRedirect()

2003-07-30 Thread John Turner
Chris Egolf wrote: With just the JK connector enabled and listening on 8009, I've added Apache back and setup elements in the element of my server.xml. The host the browser says it can't find is the actual hostname of the machine, not the DNS entry. Can Apache resolve this hostname? Is it s

Re: Problem with tomcat and ssl

2003-07-30 Thread John Turner
As Eric said, you can't send HTTP and HTTPS requests to the same port. The default port for HTTPS with CoyoteConnector, assuming you have SSL setup in server.xml, is 8443, not 8080. And the CoyoteConnector on 8443 is disabled by default so you will have to enable it as part of the SSL setup.

Re: Error when using Tomcat 4.1.24

2003-07-30 Thread John Turner
Circular. Did you miss Yoav's suggestion to put your class in a package? John Sarika Inamdar wrote: The Password.class is not a part of the package. Hence I cannot import it :-( Thanks, Sarika -Original Message- From: EXT / ALTIOR CABOU Carl (DR&T) [mailto:[EMAIL PROTECTED] Sent: Wed

Re: Problem with buildconf.sh

2003-07-30 Thread John Turner
Sorry, I don't have access to a Solaris "play" box anymore, so I'm at a loss on how to help you resolve this. Hopefully someone else has the answer. John [EMAIL PROTECTED] wrote: Greetings, I still can't get buildconf.sh to run without an error - this is what happens when I try to run it

Re: Tomcat with Virtual hosting

2003-07-30 Thread John Turner
That's a known problem with the Apache connectors. "DirectoryIndex index.jsp" has no effect. I think some people have had success mucking around with mod_rewrite and/or the module load order, but I don't recall anyone ever posting a definitive solution to the list. The most basic workaround i

Re: Problem building Tomcat Connector mod_jk2.so

2003-07-30 Thread John Turner
Try the connector source from here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ John Clive Luk wrote: Hi Jorgen, i have been searching all the location. but still couldn't find it. I am using the apxs that is from apache2.0.47. i didn't use the redhat version of apache2. So i d

Re: Apache + Tomcat + mod_jk

2003-07-30 Thread John Turner
Hi - I try to avoid free individual support. If you post your questions and your config specifics to the list, someone will help you, and then at least it will be in the archives for everyone else instead of just your InBox and mine. John v.siguier wrote: Dear John, All I do to configure A

Re: Best Tomcat Book, Recommendations??? PART 2

2003-07-30 Thread John Turner
e recommendations on the "best ones". Perhaps the Wrox one is "the best". Thanks very much for all the input. I really appreciate everyone taking the time to write. Tony - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Us

Re: Port 80, 8009 and 8080

2003-07-30 Thread John Turner
That is correct. John Zsolt Koppany wrote: Hi, as far as I know, in this case tomcat must be started by the super-user under Unix to bind a port < 1024. In production, if you do not run Apache and run Tomcat alone as your only webserver, you DISABLE the AJP connector on port 8009 and change t

Re: Connecting tomcat 5.0 to apache 2.0.47

2003-07-29 Thread John Turner
You have mod_jk.dll, not mod_jk2.dll. Try: LoadModule jk_module modules/mod_jk_2.0.46.dll John Julien Martin wrote: Hello, I took the following steps: 1. I added the following line to httpd.conf: "LoadModule jk2_module modules/mod_jk_2.0.46.dll" 2. I copied the "mod_jk_2.0.46.dll" into the mod

Re: (Symbolic) Links in Windows

2003-07-29 Thread John Turner
ory of the owning Host." You're saying an absolute pathname for a docBase that is outside the CATALINA_HOME/webapps directory doesn't work? What's the error message? John Jay Garala wrote: This only works on 4.1.24 not 4.0.6 -----Original Message- From: John Turner

Re: (Symbolic) Links in Windows

2003-07-29 Thread John Turner
ry doesn't work? What's the error message? John Jay Garala wrote: This only works on 4.1.24 not 4.0.6 -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 2:45 PM To: Tomcat Users List Subject: Re: (Symbolic) Links in Windows There are n

Re: (Symbolic) Links in Windows

2003-07-29 Thread John Turner
There are no such things as symbolic links on Windows. The solution for you is to simply change your docBase: Jay Garala wrote: Good Afternoon, I am using Win2k with Tomcat 4.0.6. How can I make the contextPath '/software' point to a folder on a different drive (and/or directory). How woul

Re: connecting tomcat 5.0 to apache 2.0.47

2003-07-29 Thread John Turner
Files can have any extension. Its not the extension that matters, but the library interface that the file uses. Apache for Windows can use files that end in .so or .dll with no problems, provided they are built for the Windows platform. You have to download the connector file from the Jakarta

Re: Port 80, 8009 and 8080

2003-07-29 Thread John Turner
No problem, glad to help. Have fun! John Hari Om wrote: Thank You John - Hats Off to you. that was a very good explainationMillion Thanks From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAI

Re: Port 80, 8009 and 8080

2003-07-29 Thread John Turner
We talked about this yesterday. First, understand that port 8080 is OPTIONAL. It is not required. If you integrate Tomcat with Apache, all that is required is a single connection on a single port. That port can be ANY port you wish, it is up to you. By convention, the default for Apache conn

Re: Problem with buildconf.sh

2003-07-29 Thread John Turner
Just curious...what version of tar did you use to expand the archive you downloaded? If you used the tar that comes with Solaris, it corrupted the files...the archives must be extracted using GNU tar, not the tar that comes with Solaris. Make sure GNU tar is first on your path. John [EMAIL P

Re: Installation problem

2003-07-29 Thread John Turner
tp://jakarta.apache.org/tomcat/building.html I would be more than happy to use the binaries if you show me where and how. In addition, my place uses a distribution server. So I need to be able to put the binaries to the distribution server and then rdist to my webserver. Any help is greatly

Re: Apache + Tomcat + mod_jk

2003-07-29 Thread John Turner
or 3) dispensing with the mod_jk.conf method and modifying httpd.conf manually to work in your environment. John John Turner wrote: We didn't know you were using the mod_jk.conf method. How about posting your dir structure, with a description of where you want your files to be, and then

Re: HTTP Status 500

2003-07-29 Thread John Turner
Even those that are servlets and not JSP? John Marco Miedl wrote: NO - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 5:25 PM Subject: RE: HTTP Status 500 Howdy, Do the JSP examples work? Yoav Shapi

Re: Apache + Tomcat + mod_jk

2003-07-29 Thread John Turner
We didn't know you were using the mod_jk.conf method. How about posting your dir structure, with a description of where you want your files to be, and then post the relevant VirtualHost block (sanitized if necessary) from mod_jk.conf? Then we can see what it is you have already so we don't go

Re: Installation problem

2003-07-29 Thread John Turner
Just curious, you are welcome to build from source, but did you know that there are binaries available that work out of the box? John [EMAIL PROTECTED] wrote: Folks, I am installing tomcat for the first time in Solaris 7. I am having the following problems in tomcat 4.1.24 as well as 5. I am

Re: Best Tomcat Book, Recommendations???

2003-07-29 Thread John Turner
Most of the Wrox titles have been picked up by Wiley and Apress (Wrox liquidated earlier this year), so its possible the books will be closer to what you prefer when the second printing comes around. John Collins, Jim wrote: I wish Wrox would bind the books the same way as O'Reilly though. --

Re: Apache + Tomcat + mod_jk

2003-07-29 Thread John Turner
You'll need DocumentRoot, too. John Zach Gatu wrote: Where have you put your JSPs and/or servlets? If for example you've put them in "tomcat-install/webapps/myfiles", then in your mod_jk conf file you need to put a directive like this: Alias /tcfiles "tomcat-install/webapps/myfiles" JkMount

Re: Production server tuning

2003-07-29 Thread John Turner
This is good info. Thanks for posting!! John [EMAIL PROTECTED] wrote: From: Antonio Fiol Bonnín Subject: Production server tuning For the first case, I reckon I might have found the cause: Apache MaxClients is set to 200, and Tomcat maxProcessors was set to something about 150. Taking into a

Re: Best Tomcat Book, Recommendations??? PART 2

2003-07-29 Thread John Turner
What, exactly is it that you want to know? You say "I want a Tomcat book" but then you say "I don't want anything about servlets". So what is it you want? An admin reference (the Wrox book is focused that way)? A performance tuning book? People can't answer you or help you unless you are sp

Re: Best Tomcat Book, Recommendations??? PART 2

2003-07-29 Thread John Turner
Eric J. Pinnell wrote: Of course it's getting more and more out of date as we speak. I think Tomcat 6 will be out before a decent Tomcat 5 book hits the shelves. Not if I have anything to say about it. :) John - To unsubscrib

Re: Best Tomcat Book, Recommendations???

2003-07-29 Thread John Turner
As a Wrox author, I have to tell you that your "overall impression" is incorrect. Books are like anything else: sometimes you think they're great, sometimes you think they're not. To make a sweeping generalization is, in my mind, illogical. John Tony LaPaso wrote: Hi all, Can some of you re

Re: Apache Linux question

2003-07-29 Thread John Turner
RH Linux is not "desktop-based" or "server-based". It has what it has, based on the options you choose on installation. If you choose "Workstation" installation, then it will have the things most people want on their desktop. If you choose "Server" installation, then it will have the things mo

Re: 8009 Port....?

2003-07-28 Thread John Turner
The default for an Apache connector is port 8009. It can be any port you wish. Tomcat binds to the port, not Apache. Apache contacts Tomcat on that port. Communications from Tomcat to Apache via the connector happen on that port, not 8080. You can easily run a production system without 8080 def

Re: Post-authentication tasks

2003-07-28 Thread John Turner
AFAIK, this is the appropriate list. You could try tomcat-dev, but that is more for discussions about developing Tomcat itself, not using Tomcat. If you haven't received a reply here, it is most likely because nobody has an answer. People here are pretty good about responding whenever they ca

Re: Tomcat Web Applications

2003-07-28 Thread John Turner
You are correct, but only if you have JkMount statements for the /manager and /admin Contexts. John Hari Om wrote: but I dont need port 8080 if I am using MOD_JK.correct me GURUS if I am wrong From: "Hotmail - Chander" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL

Re: Virtual Directories under tomcat?

2003-07-28 Thread John Turner
Typically, directories web applications or sub-directories of same. Looks like you're using the ROOT Context, which means "downloaddir" would be a sub-directory of that. I think what you are probably looking for is: http://localhost/myservlet?filename=abc.txt Then, in your servlet, read the fi

Re: Exception invoking periodic operation

2003-07-28 Thread John Turner
My advice: Tomcat 5 is alpha. As a newbie, switch to 4.1.24, then see if you have the same problem. John Moraes, Fabio wrote: (I'm not sure if everybody saw this message, so I'm reposting it. Sorry for the inconvenience) Hello all, I'm a begginner with Servlets, Tomcat and stuff, so,

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread John Turner
, WEB-INF/lib John john-paul delaney wrote: On Mon, 28 Jul 2003, John Turner wrote: Build != Run. Tomcat is not involved in the build process, only the run process. When your servlet is running, Tomcat ignores CLASSPATH so you will need to make sure your JAR files are in the appropriate

Re: Tomcat - username/password

2003-07-28 Thread John Turner
bject: Re: Tomcat - username/password > > > why do I need to restart Tomcat if I did not change > anything....? I just > read what is the Username/Password in tomcat-users.xml file > - did not > change anything. > > > >From: John Turner <[EMAIL PROTECTED]> > >

Re: Tomcat not working properly

2003-07-28 Thread John Turner
nfigure.ac' or `configure.in' is required autoconf autoconf: no input file # -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 2:31 PM To: Tomcat Users List Subject: Re: Tomcat not working properly You have to install an Apache connector

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread John Turner
Build != Run. Tomcat is not involved in the build process, only the run process. When your servlet is running, Tomcat ignores CLASSPATH so you will need to make sure your JAR files are in the appropriate location according to the ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-

Re: Tomcat - username/password

2003-07-28 Thread John Turner
! - HTTP Status 403 - Access to the requested resource has been denied - Any related informatin on this is appreciated. From: John Turner <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[E

Re: A problem with configuring tomcat with apache.

2003-07-28 Thread John Turner
://jakarta.apache.org/tomcat/faq/connectors.html John J. Joe Wang wrote: Hi John, Then what do you think I should use? Thanks, Joe On Mon, 2003-07-28 at 12:17, John Turner wrote: Sounds like you have mod_webapp loaded anyway. Is it statically linked or somehing? Sorry, I don't use mod_webapp

Re: Tomcat not working properly

2003-07-28 Thread John Turner
You have to install an Apache connector (mod_jk.so or mod_jk2.so) and configure it to send certain requests to Tomcat. Apache does not do this by default. http://jakarta.apache.org/tomcat/faq/connectors.html John [EMAIL PROTECTED] wrote: This is how it is set up DocumentRoot /usr/local

Re: Tomcat - username/password

2003-07-28 Thread John Turner
RTFM http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html John Hari Om wrote: when I run my Tomcat with URL as http://localhost:8080/manager or as http://localhost:8080/admin it is asking for Username and Password. What username/password should I need to enter? _

Re: A problem with configuring tomcat with apache.

2003-07-28 Thread John Turner
Sounds like you have mod_webapp loaded anyway. Is it statically linked or somehing? Sorry, I don't use mod_webapp (and you shouldn't, either! ;) ), so I can't help much beyond the basic Apache-related config stuff like LoadModule and AddModule. John J. Joe Wang wrote: Hi John, Thanks for t

<    1   2   3   4   5   6   7   8   9   10   >