RE: How do I redirect to mod_webapp URL?

2001-12-04 Thread Swart, James (Jim) ** CTR **
If you are using Apache or IHS, just put this in your virtual host: Redirect / /myapp/servlet/myapp (I think that will work) - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, W

Error starting Tomcat

2001-12-04 Thread Swart, James (Jim) ** CTR **
windows 2000 professional. tomcat 4 jdk 1.3.1 2001-12-04 11:56:54 HttpConnector[8080] Opening server socket on all host IP addresses 2001-12-04 11:56:56 HttpConnector[8080] accept: java.net.SocketException: Descriptor not a socket: JVM_SetSockOpt() TCP_NODELAY at java.net.PlainSocketImpl.soc

RE: Mapping "/servlet/" URLs to Tomcat 4.0.1 from Apache via mod_webapp

2001-11-19 Thread Swart, James (Jim) ** CTR **
This brings up a question I have been dying to know an official answer to. I, also, always put "reloadable=true" in my server.xml file for my webapps, to prevent having to bounce tomcat after making changes. But, imagine if you have to bounce apache AND tomcat when you make changes (I believe thi

RE: *** HELP *** mySQL connectivity problems

2001-10-31 Thread Swart, James (Jim) ** CTR **
Does any one know of a good book, tutorial or URL for Java and mySQL connectivity? I run Tomcat & mySQL on a RedHat 7.1 server and have used mySQL to setup a database with a table and a few values so I can have a real sample to toy with. I put the servlet names in the web.xml file in my webapp, b

RE: Win2K Server - Tomcat - Linksys Router Issue

2001-07-27 Thread Swart, James (Jim) ** CTR **
I run a broadband linksys firewall and have no problems. I CAN tell you that if you have your "port forwarding" section on for ports tomcat might assign connections, it may make it hang (since I assume it assigns the ports above 1024 and increments??).. I may be off, just some thoughts. ~~~

Do I need to use the AJP13 container for this?

2001-06-21 Thread Swart, James (Jim) ** CTR **
I am running Tomcat 3.2.1 with Apache 1.3.14. My default container is AJP12(mainly because I haven't tried the AJP13 yet [yeah, i know its in the docs, just haven't had time to read them to update it to use 13). If I run the HTML form against this servlet I get this error. I know usually a ja

Job on DICE

2001-06-20 Thread Swart, James (Jim) ** CTR **
I just wanted you all to know... There is a Job on DICE that *specifically* lists TOMCAT as a skill required. Title: Webmaster/Systems Administrator Skills: MS NT, Apache & Tomcat servers, B2B security Check it out! We are in fact learning something that is marketable here... not just

RE: start up tomcat from a virtual terminal

2001-06-20 Thread Swart, James (Jim) ** CTR **
put an "&" after the command you are using to launch tomcat. -Original Message- From: Mario Vera [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:18 PM To: TOMCAT Subject: start up tomcat from a virtual terminal Hi I have installed Tomcat 3.2 on SUN1 SERVER (O.S. Solari

RE: executing the servlet

2001-06-18 Thread Swart, James (Jim) ** CTR **
wowsers.. You read the docs? I think as a general observation it would help the responders to your comments if you were to provide information containing what you have already done? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 12:13 P

RE: mail return

2001-06-18 Thread Swart, James (Jim) ** CTR **
if you are on your own mailserver, and listed as root/admin.. you are probably getting a message from your own system... I used to get things like that, and I traced them back to a cron job that was running that had no output but mailed me anyway. See what TIME it is getting the message and see i

RE: How to make tomcat read .asp extension as .jsp file

2001-06-12 Thread Swart, James (Jim) ** CTR **
are they all in the same dir or different subdirs? you can use the xcopy command (or you might have to put xcopy32) in windows to do this all in one shot! ie if they are in say, c:\yourmomma\rules and there are 100 subdirs there you can do it like this: xcopy c:\yourmomma\rules\*.asp c:\yourmomm

RE: the name of the page you are at

2001-06-12 Thread Swart, James (Jim) ** CTR **
look at the snoop example in your /examples stuff! -Original Message- From: teh j [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 9:57 PM To: [EMAIL PROTECTED] Subject: the name of the page you are at Hello! I was just wondering if it is possible for a JSP to get its own name?

Classpath for javax.swing

2001-06-11 Thread Swart, James (Jim) ** CTR **
I just created an applet using javax.swing components. I got it to run but I had to add the jar file to my classpath so that the import statements would find javax.swing.*. Obviously, users are not going to know how to add a jar file to their classpath. Can someone point me to some docs for dow

FW: From Vaskar

2001-06-11 Thread Swart, James (Jim) ** CTR **
week Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net >-Original Message- >From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] >Sent: Monday, June 11, 2001 10:24 AM >To: '[EMAIL PROTECTED]' >Subje

RE: MVB

2001-06-11 Thread Swart, James (Jim) ** CTR **
Am I the only one who just got this in.. is it.. Russian? -Original Message-From: MVB [mailto:[EMAIL PROTECTED]]Sent: Friday, June 08, 2001 11:58 PMTo: [EMAIL PROTECTED]Subject: MVB ÂÛ ÇÍÀÅÒÅ  ×ÒΠ ÒÀÊÎÅ  ÃÐÈÍÌÅÉË ?ÝÒΠ ÀÊÖÈÎÍÅÐÍÛÉ  ØÀÍÒÀÆ, ÀÃÐÅÑÑÈÂÍÎÅ ÏÎÃËÎÙ

RE: source code visible to world

2001-06-08 Thread Swart, James (Jim) ** CTR **
I just tested mine as well (3.2.1) on redhat 6.2. Mine doens't do that either. In addition, if I put in the path to one of my jsps, with or without the .jsp extension , it tells me it can't find the file. Seems to be working? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTE

RE: Should we do moderation on this mailinglist??

2001-06-06 Thread Swart, James (Jim) ** CTR **
l and searching the archives would be faster than posting a message, going to the coffee pot for a 30 minute break and then asking their question again. Randy > -Original Message- > From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 06, 200

RE: Should we do moderation on this mailinglist??

2001-06-06 Thread Swart, James (Jim) ** CTR **
yes. I used to be like that ("It all boils down to there are a lot of people out there, you know who you are;), who are just plain lazy and want to be given their answerand don't want to search for themselves. "). Until my best-friend Manuka always told me "go read this book or look at that web

RE: Should we do moderation on this mailinglist??

2001-06-06 Thread Swart, James (Jim) ** CTR **
wowsers. That's a good idea. -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 12:18 PM To: '[EMAIL PROTECTED]' Subject: RE: Should we do moderation on this mailinglist?? Umm, wouldn't dividing the groups just give us MORE off topic problem

RE: iPlanet + Tomcat on Unix ??

2001-06-06 Thread Swart, James (Jim) ** CTR **
if you want my humble opinion.. in case you can't figure it out... use a PROXY statement like this: (I am not sure of the syntax for iPlanet's proxies, this format is for Apache 1.3.x): PROXYPASS /javaserver http://localhost:8080/path-for-servlets-or-jsps PROXYPASS /javaserver/ http://localhost:8

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Swart, James (Jim) ** CTR **
also... if you want *MY* opinion.. I would use a PROXY statement like this: PROXYPASS /javaserver http://hostnameserver2:8080/path-for-servlets-or-jsps PROXYPASS /javaserver/ http://hostnameserver2:8080/path-for-servlets-or-jsps/ Why not keep them seperate, completely? -Original Message

RE: request for jsp returning source code!?

2001-06-06 Thread Swart, James (Jim) ** CTR **
try it with http://localhost:8080/examples first to make sure tomcat is working correctly. if it works then it's not tomcat. I would hypothesize that points the error at the apache.conf file. Did you add in the line to your apache.conf to "Include" the tomcat-apache.conf file? If not, that is p

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Swart, James (Jim) ** CTR **
if they are both *nix* machines you can use NFS to mount each other remotely to access the conf files needed, no? -Original Message- From: Chauhan, Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 9:23 AM To: [EMAIL PROTECTED] Subject: RE: Apache and Tomcat on different box

RE: Should we do moderation on this mailinglist??

2001-06-05 Thread Swart, James (Jim) ** CTR **
Looks like I could use some practice in writing to the masses. This is what I *meant* to say in earlier e-mails today. I just suck at putting it politically. Thanks. -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 2:18 PM To: jakarta

RE: How to get server URL?

2001-06-05 Thread Swart, James (Jim) ** CTR **
f >String objects > >the headers may or may not contain such information, check the HTTP spec for >more details > >Filip > >~ >Namaste - I bow to the divine in you >~ >Filip Hanik >Software Architect >[EMAIL PROTECTED] >www.filip.net > >>-Origin

RE: How to get server URL?

2001-06-05 Thread Swart, James (Jim) ** CTR **
request header as an Enumeration of String objects the headers may or may not contain such information, check the HTTP spec for more details Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net >-Original Message----- >From:

RE: load balancing

2001-06-05 Thread Swart, James (Jim) ** CTR **
I am sure this us a silly question, but did you put a load on it? If it's round-robin that's one thing.. if it's SMART load-balancing.. then you would have to hammer on it for it to push to the second machine (assuming your configuration is correct, of course). A program like LoadRunner(tm) woul

RE: How to get server URL?

2001-06-05 Thread Swart, James (Jim) ** CTR **
I know there are methods in the java.net.URL class for this: Attatched is the entire java.net.URL class for you to reference. see the examples that comes with tomcat too! -Original Message- From: Pernica, Jan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 11:57 PM To: Tomcat-Use

RE: Java servlet that sends form data to email

2001-06-05 Thread Swart, James (Jim) ** CTR **
now THIS is the kind of response I would *expect* from a list.. although it *technically* is a Jakarta list not a *Learn how to make Java Servlets* List. Just a reminder to staying on topic. Say, is there a mailing list out there to direct code-specific issues to? Maybe that would help.. perhap

RE: Java servlet that sends form data to email

2001-06-05 Thread Swart, James (Jim) ** CTR **
go away. geesh. -Original Message- From: Johnathan Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: Re: Java servlet that sends form data to email PLEASE TAKE ME OFF THIS LIST!!! --- Pae Choi <[EMAIL PROTECTED]> wrote: > See topics

RE: Socket closed in https session

2001-06-05 Thread Swart, James (Jim) ** CTR **
take yourself off the list. To remove your address from the list, send a message to: <[EMAIL PROTECTED]> -Original Message- From: Johnathan Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: Re: Socket closed in https session PLEASE TA

RE: URL Help

2001-06-05 Thread Swart, James (Jim) ** CTR **
take yourself off the list. To remove your address from the list, send a message to: <[EMAIL PROTECTED]> -Original Message- From: Jerry Villamizar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 6:50 AM To: [EMAIL PROTECTED] Subject: Re: URL Help Can someone please get me off

RE: URL Help

2001-06-05 Thread Swart, James (Jim) ** CTR **
take yourself off the list. To remove your address from the list, send a message to: <[EMAIL PROTECTED]> -Original Message- From: Johnathan Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: Re: URL Help PLEASE TAKE ME OFF THIS LIST!!!

JDK's (ibm vs. sun)

2001-06-05 Thread Swart, James (Jim) ** CTR **
this brings up a good question. Tomcat 3.2 says it *assums* you are using IBM's JDK? Does sun's suck or something? -Original Message- From: William Kaufman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 8:06 AM To: '[EMAIL PROTECTED]' Subject: RE: download files using ftp Do

RE: Tomcat Dies with a lot of processes

2001-06-05 Thread Swart, James (Jim) ** CTR **
I know mine has tons of java processes to. even so, with apache, tomcat, java, sendmail, dns, ftp & samba running it only uses 60MB of the 160MB od ram. so I didn't think much of it. *drool*.. I can't wait for my 1 gig of ram to get here.. (then it'll be time to move the unix server to a big-bad

RE: location of tomcat-apache.conf

2001-06-05 Thread Swart, James (Jim) ** CTR **
try a "find / -name tomcat-apache.conf -print | more" and make the computer find it. It *SHOULD* be in /var/tomcat/conf (that's where mine is). -Original Message- From: Cody Caughlan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 5:34 PM To: [EMAIL PROTECTED] Subject: location of

RE: how to put jsp files in regular apache root?

2001-06-05 Thread Swart, James (Jim) ** CTR **
yes.. that gives me an idea.. in apache/tomcat config can you put in a wildcard proxy for like /*.jsp http://localhost:8080/*.jsp or even /*.jsp to http://localhost:8080/myjspfolderhere/*.jsp ?I know IBM's IHS has this option but I am not sure if wildcards are natively supported in apache. Anyone?

RE: Tomcat NT service mode

2001-06-05 Thread Swart, James (Jim) ** CTR **
can't you just change it's properties to startup up automatically in the services control panel? -Original Message- From: Dong Chen (Non CoCreate) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 10:29 AM To: '[EMAIL PROTECTED]' Subject: Tomcat NT service mode Hello, When we ru

RE: About GET and POST methods

2001-06-05 Thread Swart, James (Jim) ** CTR **
José Euclides Júnior __ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] http://euclides.8m.com - -Mensagem original- De: Swart, James (Jim) ** CTR ** [SMTP:[EMAIL PROTECTED]] Enviada em: Terça-feira, 5 de Junho de 2001 11:51

RE: Appropriate list?

2001-06-05 Thread Swart, James (Jim) ** CTR **
yes it sure is! As for Tomcat, I am still on 3.2.. sorry. -Original Message- From: Skyberg, David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 9:20 AM To: Tomcat-User (E-mail) Subject: Appropriate list? Is this the appropriate list for Tomcat 4.0/Apache user questions? If n

RE: About GET and POST methods

2001-06-05 Thread Swart, James (Jim) ** CTR **
as far as I know, if you are going to send information to a servlet from a input form (html or jsp) you have to use a GET when invoking the servlet? At least, that's how mine are developed. -Original Message- From: Rainer Schweigkoffer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 20

RE: Can pleas someone unsubscribe everyone from janirautiainen.com???

2001-06-04 Thread Swart, James (Jim) ** CTR **
ya know.. I get undeliverable message errors when I send a reply to someone who HAS a mailbox at namezero.com... *interesting*? -Original Message- From: Jerry Villamizar [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: Re: Can pleas someone uns

RE: Tomcat and container question

2001-06-04 Thread Swart, James (Jim) ** CTR **
I'm not quite sure if you were actually trying to unsibscribe.. or make a really distasteful crack at the skill-level of the question?   JSP's are JSP's.  Sometimes (it depends) they compile into Servlets.  So it uses both really. -Original Message-From: Jerry Villamizar [mailt

RE: servlet-mapping tag

2001-06-04 Thread Swart, James (Jim) ** CTR **
you could.. see this url: http://java.sun.com/docs/books/tutorial/servlets/servletrunner/webappdd.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:44 PM To: [EMAIL PROTECTED] Subject: servlet-mapping tag I need to modify my servle

RE: import java files from jsp

2001-06-04 Thread Swart, James (Jim) ** CTR **
I did this last night while setting up tomcat for the first time (ever, much less to work with apache). I serve all my jsp's from /java/jsp and my servlets from /java/servlet (just because it's easy to remember). I am at work now and all my stuff is behind a firewall at the house. **pulls tho

RE: how to put jsp files in regular apache root?

2001-06-04 Thread Swart, James (Jim) ** CTR **
why do you need to hold the jsp's in the same dir as the html? You would really need to put your html in your tomcat jsp dir and just let tomcat serve the static html that is calling the jsp's (I think). you could put in a redirect for your *old* content path to point to the new tomcat one to pre