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
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
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
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
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.
~~~
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
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
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
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
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
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
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?
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
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
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
ÂÛ ÇÍÀÅÒÅ ×ÒÎ ÒÀÊÎÅ ÃÐÈÍÌÅÉË
?ÝÒÎ ÀÊÖÈÎÍÅÐÍÛÉ ØÀÍÒÀÆ, ÀÃÐÅÑÑÈÂÍÎÅ ÏÎÃËÎÙ
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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!!!
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
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
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
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?
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
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
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
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
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
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
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
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
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
46 matches
Mail list logo