Re: starting tomcat

2001-05-18 Thread Valeriy Molyakov
Hi, by default Tomcat listen port 8080. May be other application busy same port :) - Original Message - From: "Vasanth Krishnan Venkatachalam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 19, 2001 9:50 AM Subject: starting tomcat > Hi, I'm new to this list and tomcat

starting tomcat

2001-05-18 Thread Vasanth Krishnan Venkatachalam
Hi, I'm new to this list and tomcat. Right after installing it in unix, I ran startup.sh, and got the following error: Starting tomcat. Check logs/tomcat.log for error messages 2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /admin ) 2001-05-18 11:35:36 - ContextManager: Adding context

Re: Cartes Offertes

2001-05-18 Thread Valeriy Molyakov
Hi, Nikolas, I do not want to receive your announcements. Thank's. - Original Message - From: Nicolas Dulion To: [EMAIL PROTECTED] Sent: Friday, May 18, 2001 10:46 AM Subject: Cartes Offertes   Imprimerie - Objets Promo

Re: Tomcat Performance on a Dual Processor Win2K Machine.

2001-05-18 Thread Venkat
Please read recent discussion about this, missing '/' context in server.xml can cause high cpu utilization problems venkat > Hi All, > I have a java application running under this setup: > Tomcat-3.2, IIS-5.0,SQL Server-7.0 with Windows 2000 Professional on a Dual > Processor Machine. > The pro

Re: Changing Tomcat's User ID

2001-05-18 Thread Jeff Kilbride
Correct me if I'm wrong, but if you're running with Apache and ajp12 or ajp13, you shouldn't have any problems because Tomcat is only responding on ports 8007 and 8009. You only have problems when you're running Tomcat stand-alone and you want it to respond on the normal http (80) and https (443)

RE: Register a Servlet?

2001-05-18 Thread Ross Merritt
I don't think this is correct. You would also need to add the url-pattern set to snoop -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 3:26 PM To: [EMAIL PROTECTED] Subject: RE: Register a Servlet? yes, you can create an alias for it in your

Re: -security flag and (oracle) JDBC realms

2001-05-18 Thread Bip Thelin
On Fri, 18 May 2001, Kevin HaleBoyes wrote: > > And that did it. Next I have to figure out how to seed (for now) my users > table with MD5 passwords. Any help there would be welcome. JDBCRealm-howto.html goes through all the steps neeed, however. There was a refactoring made around TC4.2-3 and

RE: Changing Tomcat's User ID

2001-05-18 Thread Tim O'Neil
At 07:33 PM 5/18/2001 -0400, you wrote: >Your message tells the origial poster that he can't run tomcat as non-root >using start up scripts. This doesn't seem to be true. All he need is to >switch to non-root before starting 'java Tomcat'. Then you didn't read it very carefully...

RE: windows, tomcat.log

2001-05-18 Thread Steve Fyfe
Even though the message says to check tomcat.log, the logging messages will display in the dos window unless you change conf/server.xml. Read the comments in conf/server.xml for more info. Steve Fyfe CNI Corporation Milford New Hampshire [EMAIL PROTECTED] (603) 673-6600 x242 -Ori

RE: Changing Tomcat's User ID

2001-05-18 Thread Jianlin Chang
Your message tells the origial poster that he can't run tomcat as non-root using start up scripts. This doesn't seem to be true. All he need is to switch to non-root before starting 'java Tomcat'. >-Original Message- >From: Tim O'Neil [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 18, 200

Build problems with new install

2001-05-18 Thread Chadwick, Russell
I have a working tomcat on a freebsd box at home, an os which work doesn't allow (grrr) so I'm trying to build a project on redhat, using Tomcat 3.1.1, Ant 1.3, and Suns JDK 1.3.1. I am using a build.xml from tomcats website and I tried the one for the project from the freebsd box and they both

RE: Changing Tomcat's User ID

2001-05-18 Thread Tim O'Neil
At 07:23 PM 5/18/2001 -0400, you wrote: >Will there be problems if port > 1024? > >Of course, the port will be > 1024 if running as non-root. So, in other words, the point of your rebuttal was null.

RE: Changing Tomcat's User ID

2001-05-18 Thread Jianlin Chang
Will there be problems if port > 1024? Of course, the port will be > 1024 if running as non-root. >-Original Message- >From: Tim O'Neil [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 18, 2001 7:19 PM >To: [EMAIL PROTECTED] >Subject: RE: Changing Tomcat's User ID > > >At 07:16 PM 5/18/2001

RE: Changing Tomcat's User ID

2001-05-18 Thread Tim O'Neil
At 07:16 PM 5/18/2001 -0400, you wrote: >I am running tomcat as non-root user. Why can't you do it? You sure its not a "non-root" user with root privs? Or the port is >1024?

RE: Changing Tomcat's User ID

2001-05-18 Thread Jianlin Chang
I am running tomcat as non-root user. Why can't you do it? >-Original Message- >From: Tim O'Neil [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 18, 2001 7:00 PM >To: [EMAIL PROTECTED] >Subject: Re: Changing Tomcat's User ID > > >At 03:05 PM 5/18/2001 -0700, you wrote: >>I'm running tomcat

RE: javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
I copied the jaxp.jar, crimson.jar and xalan.jar files into c:\jdk1.3\jre\lib\ext. It still doesn't work. Thanks, Jack -Original Message- From: Brendan McKenna [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 12:23 PM To: [EMAIL PROTECTED] Subject: Re: javax.xml.parsers.* not found

Re: Changing Tomcat's User ID

2001-05-18 Thread Tim O'Neil
At 03:05 PM 5/18/2001 -0700, you wrote: >I'm running tomcat 3.2.1 on Solaris. It is started in an rc2.d/ script by >root, and therefore runs as root. We'd like to be able to have it run as >nobody like apache does. Is there a way to do this? I read through the >documentation on it, and it mentione

RE: mod_jserv.so

2001-05-18 Thread Tim O'Neil
Steve; I don't know *. My reply you quoted below was with regard to Renato Salazar's problem, which was on RedHat 7.0. Like I said, RH7.0/Apache1.3.19/Tomcat 3.2.2/mod_jk/ajp12/SSL works great. And the it wasn't all that bad to set up. We should upgrade to RH 7.1, but that's another story... * I

Re: -security flag and (oracle) JDBC realms

2001-05-18 Thread Kevin HaleBoyes
It seems I'm answering my own questions. I poked around a bit more in the Tomcat/Catalina documentation and found stuff on realms that helped a bit. > realm). Tomcat wouldn't start since it couldn't find the driver so I made > a symbolic link (running on RedHat Linux 6.2) in the > $CATALINA_HOM

RE: mod_jserv.so

2001-05-18 Thread Steve Mu
Do you have a working copy of mod_jk.dll for win2k? I downloaded the copy from the repository, but it does not work. (And I am VC6.0 handicape...Help.) Steve Mu. -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 3:05 PM To: [EMAIL PROTECTED] Subjec

RE: admin question

2001-05-18 Thread Venkatesh Sangam
hey the in second option what u suggested ... did u mean that have an application running on the computer where the tomcat is installed ?? If the tomcat server is physically not accessible then what to do ?? From: Randy Layman <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTE

RE: Changing Tomcat's User ID

2001-05-18 Thread Jianlin Chang
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 18, 2001 6:06 PM >To: [EMAIL PROTECTED] >Subject: Changing Tomcat's User ID > > >I'm running tomcat 3.2.1 on Solaris. It is started in an >rc2.d/ script by >root, and therefore runs as root. We'd

RE: mod_jserv.so

2001-05-18 Thread Posey, Dan
Renato, I tried for more than 8 hours to get Tomcat running on RH7.1. I gave up an reinstalled RH6.1 and everything was fine except I can not get the mod_jk to work. Dan -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 2:52 PM To: [EMAIL PROT

Changing Tomcat's User ID

2001-05-18 Thread jason . majors
I'm running tomcat 3.2.1 on Solaris. It is started in an rc2.d/ script by root, and therefore runs as root. We'd like to be able to have it run as nobody like apache does. Is there a way to do this? I read through the documentation on it, and it mentioned using su inside of the start scripts, but

Re: mod_jserv.so

2001-05-18 Thread Tim O'Neil
At 04:51 PM 5/18/2001 -0500, you wrote: >please... Use mod_jk. Works fine. I have a apache 1.3.19/Tomcat 3.2.2/SSL setup running on Linux 7.0. Works like a champ.

mod_jserv.so

2001-05-18 Thread Renato Salazar
please... > Hello, > I've installed Tomcat3.2.1 over RedHat 7.0 and followed > the steps recommended in the Jakarta web page but Apache > doesn't work. > I think I've made something wrong with the mod_jserv.so > file because all the error messages deal with it. > First of all I made it usin

Re: how to create a war file manually

2001-05-18 Thread anil
You have your directories META-INF WEB-INF jsp html then: jar -cvf my.war META-INF WEB-INF jsp html anil Jianlin Chang wrote: > How can I create a war file manually? I know I can follow > "Developing Applications With Tomcat" and use build.xml, but that > seems more complicated, is there a

Re: how to create a war file manually

2001-05-18 Thread Anne Dirkse
Use jar. Assuming that you have your dir structure set up correctly, all you have to do is jar them up, specify whatever.war as the file name, and there you have it. Anne > Jianlin Chang wrote: > > How can I create a war file manually? I know I can follow "Developing > Applications With Tomcat"

how to create a war file manually

2001-05-18 Thread Jianlin Chang
How can I create a war file manually?  I know I can follow "Developing Applications With Tomcat" and use build.xml, but that seems more complicated, is there a simple way where I can just pack everything needed (jsp, html, classed) into a war file using a single command?  Thanks.

TC 3.2.1 - Problem compiling simple .JSP

2001-05-18 Thread Bryan Connor
Thanks to anyone out there in the ether that responds... Did my homework, still can't figure it out... After hours spinning through the archives of this mail forum, I have to break down and ask for help I am trying to run a simple login.jsp from /opt/jakarta-tomcat-3.2.1/webapps/porta

RE: Register a Servlet?

2001-05-18 Thread Filip Hanik
yes, you can create an alias for it in your web.xml file. for example snoop com.servlet.SnoopServlet the servlet can now be accessed using the URL http://localhost:8080/examples/snoop ~ Namaste - I bow to the divine in you

re: if mod_jk can be compiled statically in Apache

2001-05-18 Thread Khokhlov, Albert
Hello all, I'm a bit new to Tomcat so please pardon me if this issue has been addressed before but I have followed as much as I could from the documentation and could not find solution for my needs. Basically, our company has been used JServ for number of months and now we are trying to implement

RE: Tomcat 3.3 Milestone 3 - LOGGING?

2001-05-18 Thread GOMEZ Henri
Just add -noout to to have it in : TOMCAT_HOME/logs/stdout.log I've tried also to use initlog which help you delegate stdout/stderr to syslog but it's not in the released RPM. It's attached... I'll add it via -initlog switch and will release a new RPM to have it in /var/log/tomcat.log as it wa

RE:Tomcat 3.3 Milestone 3 - LOGGING?

2001-05-18 Thread Mark Priatel
I just finished installing 3.3M3 and logging doesn't appear to work as before. In 3.3M2 (RPM) Output to STDERR used to go to /var/log/tomcat.log. Now it doesn't seem to go anywhere. Is there a way to configure this? -mark -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTE

RE: [ANNOUNCEMENT] Tomcat 3.3 Milestone 3

2001-05-18 Thread GOMEZ Henri
The RPM are available with a new package, tomcat-webapps which hold ADMIN, ROOT and EXAMPLES webapps as requested by many on the user list :) Also a big hi to Larry for this release :) - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY :

Register a Servlet?

2001-05-18 Thread Purcell, Scott
Hello, How do you register a servlet under the tomcat? My book says to register the servlet (page 39) of Marty's book.? Does anyone know what they mean? Thanks Scott Purcell

Is there a user interface for /manager application?

2001-05-18 Thread Stefan Wille
Hello, is there a user interface for the /manager application? I only found a description of the URLs for scripting. Thank you Stefan

RE: admin question

2001-05-18 Thread Mark Mynsted
All I was saying is that a web front end would be nice. A good way to create a web front end with what ever security you want, etc is to use a servlet. It is possible to make a servlet do many things one should be to fire off some code such as "org.apache.tomcat.startup.Tomcat -stop", to star

[Beta5]HttpRequestBase POST buglet

2001-05-18 Thread Mark T. Miller
I just started using TomCat B5 using the builtin HTTPConnector. When POST-ing a form, none of the name-value pairs of the "Query string" make it through. I found the below minor logic bug, and it now is working for me. --- HttpRequestBase.java.orig Fri May 18 16:36:30 2001 +++ HttpRequestBase.

RE: admin question

2001-05-18 Thread Randy Layman
The problem with this is, how to you restart Tomcat? I see two basic choices: 1. Use some other package to remotely control the services. This has been the methodology used here for 90% of our projects 2. Write an application that listens to a port for the star

servlet/JSP: problem with serialize array

2001-05-18 Thread Jianlin Chang
I got this error message from tomcat (on the terminal where tomcat is started):SessionSerializer: java.lang.ClassNotFoundException: [LMyclass;   As I can see from it, it tries to serialize Myclass array (which is stored asservlet session attribute), and can't findMyclass class.  Why is it

-security flag and (oracle) JDBC realms

2001-05-18 Thread Kevin HaleBoyes
I've downloaded the 4.0b5 release and noticed the warning/suggestion to start running with the -security flag. So, I did just that. I also uncommented the Oracle-based JDBCRealm element (and commented out the Memory based realm). Tomcat wouldn't start since it couldn't find the driver so I mad

RE: javax.xml.parsers.* not found

2001-05-18 Thread Tim O'Neil
At 03:04 PM 5/18/2001 -0400, you wrote: >Thanks Don Nguyen and Brendan Mckenna. > >My problem is not the classpath. It is the compiler. When I use javac >-XMLTest.java, it didn't work. But c:\jdk1.3\bin\javac XMLTest.java works. Its not "the" compiler then, but the one your using. It would be in

Re: problems installing

2001-05-18 Thread Tim O'Neil
At 12:41 PM 5/18/2001 -0700, I wrote: >How is the "=" getting in your classpath definition? >It's got no business being there... The wildcard after the lib directory isn't doing you any favors either for that matter.

Re: problems installing

2001-05-18 Thread Tim O'Neil
At 12:08 PM 5/18/2001 -0700, you wrote: >When I run startup.sh, I get the following error: > >Using classpath: /home/vvenkata/foo/jakarta-tomcat-3.2.1=/lib/* > > ./bin/tomcat.sh: /opt/jdk-1.2.2=/bin/java: not found > >Any suggestions on how to beat this? How is the "=" getting in your classpath

Re: Bean Choices (code question)

2001-05-18 Thread Jeff Kilbride
That's what I thought, too. I guess I'll have to leave my initialization code inside the static blocks. Right now, I'm only using these classes in one context, so the classloader issues don't apply. (yet...) Thanks Charlie and Bo! --jeff - Original Message - From: "Cox, Charlie" <[EMAI

Re: admin question

2001-05-18 Thread Mark Mynsted
Could you not create a servlet to run the following? org.apache.tomcat.startup.Tomcat -stop Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, Internal x1592 >>> [EMAIL PROTECTED] 5/18/2001 2:26:14 PM >>> is there any way to s

Re: admin question

2001-05-18 Thread Venkatesh Sangam
Hi Eric .. I also have the same problem .. if u get the solution please let me know .. I also have to write a java program to start/shutdown .. I also have to start the Tomcat remotely give the servers Ip address and Port .. what are the other ways of doing this .. Please let me know can you pl

admin question

2001-05-18 Thread Eric Lubin
is there any way to stop/restart the server remotely without telnet access?? I know I can do a net stop jakarta and net start jakarta. Is there any restart option on the admin console? Has anyone written a Java utilility to do this? Thanks, Eric Lubin [EMAIL PROTECTED]

problems installing

2001-05-18 Thread Vasanth Krishnan Venkatachalam
Hi everyone, I'm new to tomcat. When I set my paths as follows: TOMCAT_HOME=/home/vvenkata/foo/jakarta-tomcat-3.2.1 JAVA_HOME=/opt/jdk-1.2.2 When I run startup.sh, I get the following error: Using classpath: /home/vvenkata/foo/jakarta-tomcat-3.2.1=/lib/* ./bin/tomcat.sh: /opt/jdk-1.2.2=/b

Tomcat: NT Service doesn't automatically load context classes and Jars

2001-05-18 Thread Ronald G. Louzon
As I understand the Tomcat NT wrapper, all configuration for the NT Service version of Tomcat is obtained from the wrapper.properties files. Does this also mean that I must add to the wrapper.classpath any classes and jar files that are needed? When I run the Tomcat server in "normal" mode, it sc

RE: javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
Title: RE: javax.xml.parsers.* not found Thanks Don Nguyen and Brendan Mckenna.   My problem is not the classpath. It is the compiler. When I use javac -XMLTest.java, it didn't work. But c:\jdk1.3\bin\javac XMLTest.java works.   Thanks, Hack -Original Message-From: Don Nguyen [

RE: Tomcat install

2001-05-18 Thread James C. Bell Jr.
Hello, im new to tomcat. I am installing Tomcat 3.1 on a windows 98 machine. I created a directory called tomcat with the bin, conf and the rest of the directories. Can anyone tell me how would I set my environment variables, and how I would set my class path.I also need know how to edi

errors

2001-05-18 Thread Oskar Zinger
Hey, guys, I am new to tomcat... using Tomcat v4.0-b3/b5. I am trying to include other jsps output in one main jsp and getting an IllegalStateException: with error message: "Cannot forward after response has been committed." This is what I am doing: <% for(int i = 0; i < typeNames.length; i++)

RE: ServletConfig question on Tomcat

2001-05-18 Thread Purcell, Scott
Thanks, Ill give that a shot, and let you know. Scott -Original Message- From: HD [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:52 PM To: [EMAIL PROTECTED] Subject: Re: ServletConfig question on Tomcat Try to put your servlet directly under Web-inf/classes instead of put it in

RE: Hi !! Help Needed

2001-05-18 Thread Venkatesh Sangam
Hi, does anyone know how to set max connections for the Tomcat server ?? From: "Brandon Cruz" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: Hi !! Help Needed Date: Fri, 18 May 2001 13:48:32 -0500 Apache connects to tomcat on that port -Original Messa

Re: ServletConfig question on Tomcat

2001-05-18 Thread HD
Try to put your servlet directly under Web-inf/classes instead of put it in your pkg coreservlets. See if it works. As my exp, I usually create the package under webapps, then Web-inf/classes is directly under that directory. All servlets are placed under classes. then go to URL: localhost:8080/

RE: Hi !! Help Needed

2001-05-18 Thread Brandon Cruz
Apache connects to tomcat on that port -Original Message- From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Hi !! Help Needed can anyone please tell me what is Ajp12ConnectionHandler I am new to tomcat .. can anyone pleas

Hi !! Help Needed

2001-05-18 Thread Venkatesh Sangam
can anyone please tell me what is Ajp12ConnectionHandler I am new to tomcat .. can anyone please tell me what is the port 8007 used for thanks Venkatesh _ Get Your Private, Free E-mail fr

RE: windows, tomcat.log

2001-05-18 Thread Christian Rudolph
Aaron, I am using Tomcat4b5 on WinNT4. You do not specify what Tomcat version you are using. The log file you seek may be called something like: localhost_log.2001-05-18.txt catalina_log.2001-05-18.txt localhost_examples_log.2001-05-18.txt This is what I see in $TOMCAT_HOME\logs -Christian

Connections

2001-05-18 Thread Venkatesh Sangam
Hi, I have noticed that the max connection can be changed in the tomcat.properties file # Set the maximum number of socket connections Apache JServ may handle # simultaneously. Make sure your operating environment has enough file # descriptors to allow this number. # Syntax: security.maxConnecti

windows, tomcat.log

2001-05-18 Thread Aaron Titus
When I start tomcat on Win2k, it says, "Check logs/tomcat.log for error messages." There is no tomcat.log file anywhere on the server, and the only files in logs/ are: jasper.log, mod_jk.log, and servlet.log. Where are tomcat error messages being logged? Thanks for any help you can provide.

ServletConfig question on Tomcat

2001-05-18 Thread Purcell, Scott
Hello And Happy Friday to all. I am working out of Marty's Core Servlets book and I am having trouble getting an init statement to work. For those that have the book it is on page 40. If you don't have the book, I will try and explain it here. The code below is suposed to look at the web.xml fil

RE: Bean Choices (code question)

2001-05-18 Thread Cox, Charlie
Title: RE: Bean Choices (code question) > >-Original Message- >From: Bo Xu [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 18, 2001 1:47 PM >To: [EMAIL PROTECTED] >Subject: Re: Bean Choices (code question) > > >Jeff Kilbride wrote: > >> Hi Charlie, >> [...] >> On the same subject, are c

Re: Bean Choices (code question)

2001-05-18 Thread Bo Xu
Jeff Kilbride wrote: > Hi Charlie, > [...] > On the same subject, are class constructors called when static methods are > accessed? Right now, in my "all static method" classes, I'm doing my > initialization in static blocks. I'm wondering if I can move that > initialization into the class constr

[ANNOUNCEMENT] Tomcat 3.3 Milestone 3

2001-05-18 Thread Larry Isaacs
The second milestone release of Tomcat 3.3 is available for download and testing. As a Tomcat 3.x release, it remains an implementation of the Servlet 2.2 and JSP 1.1 specifications. The Milestone 3 release offers bug fixes over Milestone 2, plus a new feature. Jasper now includes Tag pooling,

Tomcat-Apache configuration

2001-05-18 Thread Renato Salazar
Hello, I've installed Tomcat3.2.1 over RedHat 7.0 and followed the steps recommended in the Jakarta web page but Tomcat doesn't work. I think I've made something wrong with the mod_jserv.so file because all the error messages deal with it. First of all I made it using apxs as it's said in the

Problems upgrading Tomcat with JAXP 1.1

2001-05-18 Thread Christian Rauh
Dear People, I had to upgrade the JAXP on Tomcat from the bundled version, 1.0, to 1.1. Everything works fine except that now I cannot use international characters like "ã" or "ú" on the web.xml files. When I use those characters I get an exception: -- start of exception output -- ERROR readin

Max Connections

2001-05-18 Thread Venkatesh Sangam
Hi, can anyone please tell me how to change the number of connections a tomcat server can take .. ie How do I set the max connections thanks Venkatesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.c

Re: Bean Choices (code question)

2001-05-18 Thread Jeff Kilbride
Hi Charlie, Thanks for confirming this! I was under the impression that static methods were loaded once and never unloaded, but I wasn't sure. On the same subject, are class constructors called when static methods are accessed? Right now, in my "all static method" classes, I'm doing my initializ

Re: RequestDispatcher.forward()

2001-05-18 Thread Jeff Kilbride
Check out the HttpMessage and HttpsMessage classes in the com.oreilly.servlet package available from Jason Hunter at www.servlets.com. Does the same basic connection stuff and returns an InputStream which you can wrap in a BufferedReader like Eric does below. The nice thing is that it does secure

RE: Startup problems with java

2001-05-18 Thread Filip Hanik
> Using classpath: > /opt/jakarta/dist/tomcat/lib/ant.jar:/opt/jakarta/dist/tomcat/l > lib/test:/opt/jakarta/dist/tomcat/lib/webserver.jar:/usr/java/jdk1 > .3.0_02/bi > n/../lib/tools.jar somehow your tomcat startup script does not pick up opt/jakarta/dist/tomcat/lib/jaxp.jar and opt/jakarta/dist

Startup problems with java

2001-05-18 Thread Alejandro Martínez
I installed in my machine Linux mandrake, Tomcat through the ApacheToolbox-1.5.20, which installs the JDK version Blackdown-1.3.0. I installed Jboss 2.2.1, which did not function with the version of JDK of Blackdown, for which I installed the JDK of SUN to make my tests, but now not I can initiat

RE: javax.xml.parsers.* not found

2001-05-18 Thread Don Nguyen
Title: RE: javax.xml.parsers.* not found Hello, You can put the .jar files anywhere you want in your hard disk as long as you have your classpath pointing to the appropiate directory and/or files.  I have found that even pointing to the directory containing my .jar files sometimes do not wo

RE: support classes in jar

2001-05-18 Thread Zach Hollandsworth
what if you have a JAR that is specific to a context? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 8:10 AM To: [EMAIL PROTECTED] Subject: RE: support classes in jar They go in WEB-INF/lib > -Original Message- > From: Montg

Re: java.lang.LinkageError: Class javax/servlet/http/HttpSessionviol ates loader constraints

2001-05-18 Thread Bip Thelin
On Fri, 18 May 2001, Bruno Crapart wrote: > I have downloaded from > http://jakarta.apache.org/builds/jakarta-servletapi-4/nightly/ > jakarta-servletapi-4-20010517.zip and added classes in the appropriate > folder. > > Thanks a lot Bip... But now i have an other error that i have never seen > be

Re: javax.xml.parsers.* not found

2001-05-18 Thread Brendan McKenna
Hi, Perhaps it's a typo but the directory should be: c:\jdk1.3\jre\lib\ext (you forgot the last subdirectory) Brendan : Hello, : : I am trying to write a testing xml program. I downloaded jaxp.jar, : crimson.jar and xalan.jar fil

Re: NullPointerException error

2001-05-18 Thread Daniel A. Melo
Ajay Ejantkar wrote: > I am trying to run the following servlet. > > * > You must especify the driver Class, and the correct parameters to etstabilish conection. []´s Daniel A. > config.getInitParameter("driverCl

Re: port 8080 to port 80?

2001-05-18 Thread Christopher Benson
You'll find what you're looking for in the server.xml file in the conf directory.  

Re: RequestDispatcher.forward()

2001-05-18 Thread Eric Lubin
package com.ibm.servconn; import java.net.*; import java.io.*; import java.util.*; import com.ibm.aurora.*; public class URLForward { private String theURL; private String method; public URLForward( String theURL ) { this(theURL,"POST"); } public URLForward( String theURL,

RE: RequestDispatcher.forward()

2001-05-18 Thread Grewal, Gary
Title: RE: RequestDispatcher.forward() ServletContext.getRequestDispatcher(java.lang.String path) takes absolute path beginign with / though the path must be relative to the current context. You will have to use getContext(java.lang.String uripath) to get a foreign Context and then use this t

RE: java.lang.LinkageError: Class javax/servlet/http/HttpSession viol ates loader constraints

2001-05-18 Thread Bruno Crapart
I have downloaded from http://jakarta.apache.org/builds/jakarta-servletapi-4/nightly/ jakarta-servletapi-4-20010517.zip and added classes in the appropriate folder. Thanks a lot Bip... But now i have an other error that i have never seen before : Remenber that i am under W2000 TC4B4, JDK last rel

javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
Hello, I am trying to write a testing xml program. I downloaded jaxp.jar, crimson.jar and xalan.jar files from sun and put them in c:\jdk1.3\jre\lib. and in classpath. In my testing program, I import javax.xml.parsers.*. When I compiled the program, I got error message "Package javax.xml.parsers

RE: Log bytes sent in each response

2001-05-18 Thread Robert Petersen
If you are using Servlets 2.3 API then try a filter. - Robert Petersen http://www.orangefood.com -Original Message- From: Wong Liong Hung [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 6:06 AM To: [EMAIL PROTECTED] Subject: Log bytes sent in each response Hi, How to log number

RE: where would I put a properties file?

2001-05-18 Thread Robert Petersen
I think that WEB-INF is the right place. I put my .properties files in WEB-INF/config/ and refer to that path thusly: ../webapps/of/WEB-INF/config where "of" is the name of my context. What problems are you having? - Robert Petersen http://www.orangefood.com -Original Message- From: Mo

Threads

2001-05-18 Thread Han Wang
I'm doing performance testing of an application for Tomcat 3.2.1. Basically a client application accesses a service running in Tomcat/Jboss using SOAP. I have a test client that generates X number of threads to access the URL/Tomcat port(8080). The problem is that when X is greater than 15, I ge

RequestDispatcher.forward()

2001-05-18 Thread Sebastian Schulz
hi, has somebody a work-around to produce the same behavior as if RequestDispatcher.forward() would work with absolute URL's? tanks in advance! basti

To use URLRewriting with Tomcat 3.2.1

2001-05-18 Thread Lessault Jean-Luc
Hi all, I am using Tomcat 3.2.1 with Apache 1.3 and I have the following problem:Perhaps that has been asked before, but I am not sure I want to rewrite a path from a form like 'http://host:port/file.html' to something like 'http://host:port/ContextServlet/MyServletName?parameter=file.h

Re: Problem of setting up apache with tomcat using mod_jk in Linux

2001-05-18 Thread mohamed imdadullah
if u still have problems with installing tomcat, the mistake i saw in ur config was ur including the mod_jk.conf-auto file and then ur again including the directives in there, either one of them should be done and the other thing is that check whether the path is set properly for every directi

Contexts, Classes, Variables

2001-05-18 Thread Zach Hollandsworth
1) In Tomcat 3.2.1 do separate contexts see static variables of a class the same? Or do they have separate ones? 2) different versions of the same class in two contexts on the same tomcat? (placed in the /WEB-INF/classes directory of that context) Zach Hollandsworth

Jikes for JSP's

2001-05-18 Thread Tony G
Avid Tomcat-ers, Is Jikes 1.14 compatible with j2re1.3.0_02? Also, aside from rebuilding jakarta-tomcat-3.2.1, is there a simpler way to deploy JSP's without requiring a JDK? One posting to the archives referred to a tc3.JasperOptions interceptor, but I cannot locate such a class. How does on

mapping servlets

2001-05-18 Thread arnold
I just upgraded from jserv to Tomcat. I used to have my servlets under /bin instead of /servlet with: ApJServMount /bin /root I still want to use these servlets under Tomcat. But I am struggling a bit to configure it. One method I tried was creating a context called bin under webapps. Then in the

Re: Servlet Placement

2001-05-18 Thread Eric Lubin
modify your web.xml file so the classname is coreservlets.HelloWorld Eric Lubin T/L 443-6954 External: 561-443-6954 Notes ID: elubin@ibmusm20External: [EMAIL PROTECTED] "Purcell, Scott" <[EMAIL PROTECTED]> on 05/18/2001 10:06:57 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PRO

Log file

2001-05-18 Thread Wong Liong Hung
How can I create a log file having information about request method, URI, and status in tomcat, such as the following:- 06:52:22 192.168.7.193 GET /spacenut20/main.asp 200 06:52:22 192.168.7.193 GET /spacenut20/black.htm 304 06:52:22 192.168.7.193 GET /spacenut20/top.asp 200 06:52:22 192.168.7.

RE: port 8080 to port 80?

2001-05-18 Thread Bruno Crapart
If you don't find it search the string 8080 in all files of Tomcat. And replace it by 80 Bruno -Message d'origine- De : Purcell, Scott [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 18 mai 2001 15:47 À : '[EMAIL PROTECTED]' Objet : port 8080 to port 80? Hello, I am using the Tomcat learn

RE: Servlet Placement

2001-05-18 Thread Ross Merritt
wrapper.properties need to add to the classpath something liker wrapper.class_path=$(wrapper.tomcat_home)\lib\coreservlets Ross -Original Message- From: Purcell, Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 8:07 AM To: '[EMAIL PROTECTED]' Subject: Servlet Placement Hel

Re: port 8080 to port 80?

2001-05-18 Thread Christoph Kukulies
On Fri, May 18, 2001 at 08:46:34AM -0500, Purcell, Scott wrote: > Hello, > I am using the Tomcat learning Servlets and JSP. All is well. I would like > to change the port from 8080 to 80. > I have Martys Halls book and it says to edit the port number in the > /install_dir/webserver.xml file and re

Re: port 8080 to port 80?

2001-05-18 Thread Eric Lubin
Yes, it's SERVER.XML not WEBSERVER.XML and it's in the /conf/ directory. Eric Lubin T/L 443-6954 External: 561-443-6954 Notes ID: elubin@ibmusm20External: [EMAIL PROTECTED] "Purcell, Scott" <[EMAIL PROTECTED]> on 05/18/2001 09:46:34 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL

RE: support classes in jar

2001-05-18 Thread Montgomery, Kendal L
Thank you! That did what I needed. Kendal L. Montgomery Qwest - eFlow Development Team 614-215-4937 -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 9:10 AM To: [EMAIL PRO

Re: RequestDispatcher.forward()

2001-05-18 Thread Sebastian Schulz
??? > are you shobhit sati from india? > sorry if I am wrong no ;-) basti

  1   2   >