100% CPU Usage by upload from Netscape under Windows NT

2001-06-20 Thread Zsolt Koppany
Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland

mod_ssl NT

2001-06-20 Thread P.Miller
Hi, (Apache 1.3.19- NT 4.0 SP5 - Tomcat 3.2.2) I'm trying to get Apache running with mod_ssl and openssl on a Windows NT machine. I got so far: Downloaded and installed Perl, GNU C(Mingw32) the GNU make. Compiled openssl succesfull and created the static libs and dll's libcrypto.a, libssl.a,

Session with IE

2001-06-20 Thread Jose Luis Rodriguez
Hi. My develop environment is Tomcat 3.2.2, IIS 4.0, JDK1.2.2 and Windows NT 4.0. I have a problem with session and IE 5.x browser, with Netscape Communicator that's Ok. I can't use beans because my applicaction lose the session. I've used an example from Sun, sessions exactly. With IE the

Regarding gif files in tomcat v3.2

2001-06-20 Thread Tamilmanam Sambasivam
Hai, In tomcat\webapps our application is there.In the application we are having a folder images.In the images folder we are putting all the images file.when we are referring the images file in the jsp file by using the correct path it shows the following error. 2001-06-20 12:55:05 - Ctx(

AW: Session with IE

2001-06-20 Thread Ralph Einfeldt
To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff:

Re: AW: Session with IE

2001-06-20 Thread Jose Luis Rodriguez
Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL

apache-tomcat problem

2001-06-20 Thread [EMAIL PROTECTED]
I have a apache1.3.9 and a tomcat3.2.2 and a mod_jserv.so communication. When I test my servlet on http://localhost:8080/examples/servlet/TestServlet (Via Tomcat) all is OK It print 100 helloworld (it takes a bit of time) but when It test it on http://localhost/examples/servlet/TestServlet

Socket closed in Tomcat https session

2001-06-20 Thread Ang Chai Hong
Hi, I have installed Apache + mod_ssl successfully in Windows NT server and also installed Tomcat standalone correctly. I can't configure Tomcat to talk to Apache using mod_jk. After several tries and lots of searching, it is still not successfull. I decided to set up Tomcat with Direct SSL

RE: apache-tomcat problem

2001-06-20 Thread Emir Alikadic (ADNOC IST)
Well, for starters you should use mod_jk.so: IIRC mod_jserv.so has been deprecated. Regards, Emir Alikadic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 13:03 To: [EMAIL PROTECTED] Subject: apache-tomcat problem I have a

Re: Regarding gif files in tomcat v3.2

2001-06-20 Thread Wyn Easton
I've seen this many times when the browser has the image file cached. I don't think Tomcat likes it when the browser closes the socket first. If you are displaying your web page correctly, I wouldn't worry to much about this one. --- Tamilmanam Sambasivam [EMAIL PROTECTED] wrote: Hai, In

Re:Socket closed in Tomcat https session

2001-06-20 Thread Jean-Etienne G.
You may have more info of your problem using openssl has a client to interrogate your server. Maybe you will have the same problem has me (handshake error). Hi, I have installed Apache + mod_ssl successfully in Windows NT server and also installed Tomcat standalone correctly. I can't

Re: AW: Session with IE

2001-06-20 Thread Wyn Easton
Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H... --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies

Re: AW: Session with IE

2001-06-20 Thread Jose Luis Rodriguez
Well, I have seen in IE configuration Tools/Internet options/Security/Internet-Intranet (Cookies enable). I think that cookies are enabled. Thanks, José Luis Wyn Easton wrote: Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H...

JDBC Realm problem..

2001-06-20 Thread Anurag Tokhi
Hi, I am running Tomcat 3.2 with Apache 1.3 and using MySQL database. I tried to setup JDBC Realm by following the instructions but to no avail. After making the necessary changes in server.xml file, when I start Tomcat, I get the error message SQLException: server configuration denies access to

Re: flushing

2001-06-20 Thread Brett M. Bergquist
Which version of Tomcat are you refering to? If Tomcat 3.2.X, try the HttpServletResponse.flushBuffer() method. This works for me in Tomcat 3.2.2. - Original Message - From: T [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 6:26 PM Subject: flushing How can I

apache tomcat as services under Linux

2001-06-20 Thread Pier Paolo Bortone
Hi, I need to start to use apache tomcat in a production environment, thus I need to start them as services. I'm using RedHat 7.1, someone knows which scripts I have to put in rc3.d. Thanks for your time. Pier Paolo.

Trying to configure Netscape Enterprise Server Tomcat

2001-06-20 Thread Andrew . Willshire
Hello, I've been unsuccessfully trying to configure NES 3.6 to handle servlets via my Tomcat engine. I have been able to get Tomcat Apache working fine, and I have read all the relevant manuals archives, but this just won't seem to work. Does anyone have any advice about troubleshooting

Problems compiling mod_jk under AIX

2001-06-20 Thread MBAaron
Hey, wondering if anyone has encountered this problem while compiling mod_jk under aix: When I try to compile, I get the following message: I'm running AIX 4.3.3, gcc 2.95.3, apache 3.2.2 Building mod_jk gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR -qno genpcomp

Re: apache tomcat as services under Linux

2001-06-20 Thread Antoni Reus
Hi, You should create a script with something like and put it on /etc/rc.d/init.d/ cut here--- #!/bin/sh # Set this as you have it in your sistem APACHE_HOME=/usr/local/apache TOMCAT_HOME=/usr/local/jakarta/tomcat # Test apachectl if [ ! -x

JSP class compilation error

2001-06-20 Thread Sam Newman
I have a JSP page which has suddenly stopped working. I've found a single tag which, when included gives the stack trace found at the bottom of the email. With the tag removed, everything works fine - even when I leave the other tags in. I have tried this file on Linux win98. The tag in question

this is test posting (ignore)

2001-06-20 Thread majid nakit
testing __ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com

RE: 100% CPU Usage by upload from Netscape under Windows NT

2001-06-20 Thread William Kaufman
Well, from your description, it sounds like it's a Netscape issue, not a Tomcat issue. Which process is taking the CPU? (Look at the process list in the Windows Task Manager.) If it's actually Tomcat sucking CPU, activate the window Tomcat is running in, and hit Ctrl+Break: that will give you

Encryption with javax.crypto.*

2001-06-20 Thread Leon Palermo
Hello All, I have some code which uses the javax.crypto.* package. When I run the code in a test outside of tomcat everything works fine. When I try to run the code through Tomcat on the same machine, I get the following error: java.lang.SecurityException: Cannot set up certs for trusted CAs

Re: JDBC Realm problem..

2001-06-20 Thread Andrew Zhdanov
Hello Anurag, Wednesday, June 20, 2001, 3:05:54 PM, you wrote: AT Hi, AT I am running Tomcat 3.2 with Apache 1.3 and using MySQL database. I tried AT to setup JDBC Realm by following the instructions but to no avail. After AT making the necessary changes in server.xml file, when I start

Re[2]: flushing

2001-06-20 Thread T
Wednesday, June 20, 2001, 8:16:23 AM, Brett M. Bergquist [EMAIL PROTECTED] wrote: BMB Which version of Tomcat are you refering to? If Tomcat 3.2.X, try the BMB HttpServletResponse.flushBuffer() method. This works for me in Tomcat 3.2.2. Perfect! Thanks. It looks like this also gives the

Re: flushing

2001-06-20 Thread Bo Xu
[...] How can I flush Tomcat? Nothing from the PrintWriter reaches the browser until the servlet completes. flush() does nothing. Has anybody altered the facade classes to enable flushing? Why is Tomcat set up that way? Thanks. [...] Hi :-) you can use ServletResponse.flushBuffer(),

Re: Compile ??

2001-06-20 Thread Boris Niyazov
.jsp files under \webapps\yourapp\WEB-INF\jsp ? I do not think you should put your jsps in there. WEB-INF shouldn't be accessable from web directly and should contain classes, packages and configuration files only. you can put your jsps anywere in \webapps\yourapp\ outside WEB-INF folder.

Upgrading from Tomcat3.1.1 to Tomcat3.2.2

2001-06-20 Thread Govind Agarwal
Hello, I have upgraded from Tomcat3.1.1 to Tomcat3.2.2. The WebServer used is IIS. Everything runs fine but the Include Tag which gives Bad file argument to include The Syntax I have used is %@ include file = includes/LocalizationConstants.js % The same thing works fine with Tomcat3.1.1 Is

Re[2]: flushing

2001-06-20 Thread T
Tuesday, June 19, 2001, 6:50:56 PM, you wrote: DR Out is buffered for content length calculation as it's done in Sun's HTTP client implementation. Try to use HTTP 1.1 chuncked stream not requiring to set content length. DR Dmitry R., [EMAIL PROTECTED] DR Chief Software Architect,

Re: AW: Session with IE

2001-06-20 Thread Wyn Easton
Jose, I just looked at my IE setting and there are actually four places that deal with cookies. There are two places in Internet and two in Local internet. Be sure you have Allow per-session cookies (not stored) set to Enable in both places. --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote:

RE: SSL handshake failure URGENT

2001-06-20 Thread Gomez Henri
I use Linux RedHat 7, but it seems that SSL options was not taken in account with default launching of httpd (with httpd start) so I made first some modifications of httpd conf (specially putting on comment the ifDefine SSL tags to make it taken in account, and made some mistakes maybe

Re: apache tomcat as services under Linux

2001-06-20 Thread Charles Baker
I thought tomcat need to start first? Or is that only when using the generated mod_jk.conf? --- Antoni Reus [EMAIL PROTECTED] wrote: Hi, You should create a script with something like and put it on /etc/rc.d/init.d/ cut here--- #!/bin/sh # Set this as

RE: OutOfMemory Error

2001-06-20 Thread Mario Vera
Hi!! If you are using UNIX. Tune the memory settings in Tomcat as appropriate for your application. To do this, edit /usr/local/jakarta-tomcat/bin/tomcat.sh and locate the following line (approximately line 121): $JAVACMD OMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} -Xms100663296 -Xmx134217728

AW: 100% CPU Usage by upload from Netscape under Windows NT

2001-06-20 Thread Stefan Seifert
Assign the netscape.exe-process in nt task manager the lowest priority. The netscape engine seems to affect tomcat when running on the same machine. Very ugly. Stefan -Ursprüngliche Nachricht- Von: William Kaufman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 16:00

Re: Encryption with javax.crypto.*

2001-06-20 Thread Pae Choi
Leon, Take this to comp.lang.java.security or Sun/Security Forum. We will take from there. Pae Hello All, I have some code which uses the javax.crypto.* package. When I run the code in a test outside of tomcat everything works fine. When I try to run the code through

Tutorial for JSP -- JDBC -- ProgreSQL 7.1 ??

2001-06-20 Thread Dino Ming
Dear All, Where can I find tutorial for JSP -- JDBC -- ProgreSQL 7.1 ? Rgds, Dino

Re: multithreaded beans, struts, doing it right...

2001-06-20 Thread Timothy Shadel
One option the Struts framework offers to deal with this is generating an MD5 hash (token) on some fairly unique data (current time and Session object ID), and then placing that hash in both the HTML sent to the browser and the Session object. When a request comes in, the MD5 hash from the

Re: flushing

2001-06-20 Thread Bo Xu
T wrote: Wednesday, June 20, 2001, 8:16:23 AM, Brett M. Bergquist [EMAIL PROTECTED] wrote: BMB Which version of Tomcat are you refering to? If Tomcat 3.2.X, try the BMB HttpServletResponse.flushBuffer() method. This works for me in Tomcat 3.2.2. Perfect! Thanks. It looks like this also

Re: apache tomcat as services under Linux

2001-06-20 Thread Pier Paolo Bortone
Antoni, your help is really much precious. Thanks, Pier Paolo. - Original Message - From: Antoni Reus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 4:47 PM Subject: Re: apache tomcat as services under Linux Hi, You should create a script with something

Servlet Reloading

2001-06-20 Thread Fred Ingham
To all, Under Tomcat 3.2.2 are there any 'standard' circumstances that a servlet will NOT be reloaded once it has been re-compiled? We already have added the following to our server.xml file: Context path=/foo docBase=webapps/foo reloadable=true /Context But, every time we

Request Logging

2001-06-20 Thread Randy Layman
Since a number of people have asked for it over the past and I had a little extra time, I wrote a RequestInterceptor that logs requests. Its still a little rough and have room for some performance improvements, but I believe that it is functional. You can view the documentation

RE: Upgrading from Tomcat3.1.1 to Tomcat3.2.2

2001-06-20 Thread Randy Layman
This message means what it says - Tomcat can't fine the file includes/LocalizationConstatns.js. I believe that this is relative to the file that is including it and not the webapp. Randy -Original Message- From: Govind Agarwal [mailto:[EMAIL PROTECTED]] Sent:

RE: Upgrading from Tomcat3.1.1 to Tomcat3.2.2

2001-06-20 Thread Paulo J S Pereira
Govind, Make sure the 'includes/' directory exists under the physical-path of where your jsp's are. But you really should be using the html tag script src=includes/LocalizationConstants.js language=JavaScript/script instead of loading the actual javascript inline to your doc. Regards, Paulo

Does Tomcat 4 plug into Apache?

2001-06-20 Thread Harry Mantheakis
Can Tomcat 4 (b5) be integrated with Apache? I am running Mac OS X. Tomcat 4 works fine as a standalone, as does the Apache web server (v1.3.14). Is there any way to pipe the two together? I have searched this subject in the Apache and Tomcat documentation, as well as in newsgroup archives -

Tomcat 3.3 vs Tomcat 4.0

2001-06-20 Thread Brett Knights
Is development on TC 3.3 proceeding or is most effort going into TC 4.0? Is there still a plan to have a release build of TC 3.3? TIA *** Brett Knights 250-338-3509 work [EMAIL PROTECTED]

start up tomcat from a virtual terminal

2001-06-20 Thread Mario Vera
Hi I have installed Tomcat 3.2 on SUN1 SERVER (O.S. Solaris 2.7),I start up Tomcat from a remote machine using a virtual terminal, if I close the terminal window, TOMCAT shut down too. I have tried to use Telnet to start up TOMCAT, but this way the X SERVER cannot started Any idea will be

RE: 100% CPU Usage by upload from Netscape under Windows NT

2001-06-20 Thread Craig O'Brien
Just one more comment on this. I have experienced a similar situation on Linux running Tomcat 3.2.1 and Netscape 6.0. (It doesn't matter whether Netscape 6.0 is local or remote) In coding a page with 1 pixel gifs which are resized to form lines and boxes (memory saving trick) Everything is fine

Re: apache tomcat as services under Linux

2001-06-20 Thread Boris Niyazov
I'd make tomcat start first and then apache, especialy in case when apache relies on tomcat-apache.conf that is updated dynamically by tomcat. * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems

RE: start up tomcat from a virtual terminal

2001-06-20 Thread Jeff Brown
I believe you can use the command nohup if you want to start the service remotely and then close the virtual terminal. The syntax is: nohup command. So to to start tomcat you could say: nohup ./startup.sh. It also conveniently starts a logfile for any stdio or stderr messages called nohup.out.

Re: start up tomcat from a virtual terminal

2001-06-20 Thread Fernando_Salazar
Look up man page for nohup. This will start a process that continues executing after the console that created it is killed. You'll need a command line that looks like: nohup ./startup - Fernando

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. Solaris

Re: start up tomcat from a virtual terminal

2001-06-20 Thread Boris Niyazov
Are you closing the window w/o logging out first? Logout appropriately, using exit command or Ctrl/D, and then close the window if you need to. The reason is that Tomcat writes to stdout/stderr. hth * * Boris Niyazov

Adding data to HTTP header responses?

2001-06-20 Thread Joe Dalessandro
2001-06-20 Hello I am in the process of making our site P3P compliant. We are running Tomcat 3.2.2 on a Linux box. I am looking for information regarding adding data to HTTP header responses(see example below). One of the aspects of P3P compliancy is referencing where a Policy is located and

digest authentication using servlets

2001-06-20 Thread Vladimir Grishchenko
Hi all, I need to implement digest authentication using servlets. Just wondering if anyone came across something that can be reused. Is there any support for it in Tomcat? how do i use it if so? I'm also not sure if JDK itself provides any support for it. I see there's a class

RE: Adding data to HTTP header responses?

2001-06-20 Thread William Kaufman
http://java.sun.com/products/servlet/2.2/javadoc/index.html Look for Header in javax.servlet.http.HttpServletRequest and javax.servlet.http.HttpServletResponse. -- Bill K. -Original Message- From: Joe Dalessandro [mailto:[EMAIL PROTECTED]] Sent:

RE: start up tomcat from a virtual terminal

2001-06-20 Thread Milt Epstein
On Wed, 20 Jun 2001, Swart, James (Jim) ** CTR ** wrote: put an after the command you are using to launch tomcat. FWIW, if a csh-based shell is being used (e.g. csh/tcsh), appending a '' is sufficient; if a sh-based shell is being used (e.g. sh/ksh/bash), prepending nohup in addition to

NT Service won't start

2001-06-20 Thread Robert Berger
I edited wrapper.properties and ran jk_nt_service. When I do net start Tomcat, it says The Toncat service is starting. The Tomcat service could not be started. The service did not report an error. There is nothing in the log files. What can I do to get this working?

Windows NT service failed to start

2001-06-20 Thread Jeff Dube
Hi, I am using Tomcat for a while and i finally found the way for working with the Jakarta NT Service. But there is a error and i search but... i think an expert could understand why!!! Here are the step i followed:(I am working with Win NT) 1) I downloaded the jk_nt_service.exe 2) I

RE: apache tomcat as services under Linux

2001-06-20 Thread tnist
I believe that you will need to ensure that either the PATH is set to include your JDK/JRE or set the JAVA_HOME environment variable to where the JDK/JDE is located. JAVA_HOME = /usr/java/jdk1.3.1; export JAVA_HOME; or PATH=$PATH:/usr/java/jdk1.3.1/bin; export PATH; Regards, Todd G. Nist

isapi_redirect on Win2K

2001-06-20 Thread Jay Kaplan
I cannot get isapi_redirect.dll to load into IIS under Win2K server. Is a win2K build required, or will the win32 binary work under win2K? If the win32 build is sufficient, what other troubleshooting areas should I look at? Current Reg Entries: HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software

RE: Tomcat 3.3 vs Tomcat 4.0

2001-06-20 Thread Ignacio J. Ortega
TC3.3 will be released in 1-Aug-2001 ( if everything goes as planned ) TC4.0 Will be released when the 2.3 Spec goes Final.. Development advances very well, 3.3 will be on Beta in a month , TC4.0 is on Beta stage now.. Saludos , Ignacio J. Ortega -Mensaje original- De: Brett Knights

Re: Apache Default Document is .jsp?

2001-06-20 Thread Stephane Meier
Hello, Before doing anything else, switch to Tomcat 3.2.2. It seems a few bugs in this area were corrected. Stephane

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: Job on DICE

2001-06-20 Thread Nael Mohammad
Wow and this just for fun for me Nael Mohammad 180 Montgomery St. Suite 2000 San Francisco CA, 94104 Phone: 415-403-7300 x314 Fax: 415-403-7373 Mobile: 415-793-0609 -- Neomar Enabled Wireless Device puts Business in Motion! When Wireless Means Business

RE: Encryption with javax.crypto.*

2001-06-20 Thread Landrus, Kurt
I've had similar problems with using the JCE kit in tomcat, My crypto classes run ok standalone, but fail with various errors when running in tomcat. I have the below error only on one developers machine every time, but not on anyone elses system. -Original Message- From: Leon Palermo

JSP, JNI, classloader

2001-06-20 Thread Matthew Lerner
Apologies for being a clueless newbie, but I've been beating my head on this for the last week. I'm setting up a new webapp. It needs to interact with a C++ library. (There are reasons it needs to be in C++. Really there are.) Since I've never done JSP or JNI before, I figured I'd get a

apxs and mod_jk for apache 1.3.20

2001-06-20 Thread David Baldwin
Does anyone know why apxs gives me the error apxs:Break: Command failed with rc=16777215 when trying to build the mod_jk module. The command I am using is, /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/j2se/include -I/usr/j2se/include/solaris -c *.c ../jk/*.c This is on a spark

FW: Classpath problems with Tomcat 3.2

2001-06-20 Thread Jeffrey Hood
I can't seem to get the following to work... entry in server.xml Host name=dev.jhood.com Context path=/ docBase=/home/jhood/dev/websource/tomcat debug=0 crossContext=false reloadable=true /Context /Host files:

RE: JSP, JNI, classloader

2001-06-20 Thread DHarty
I had many similar problems with JNI a while back. I don't remember all the details, but I remember that for some reason, any Java class that used JNI could NOT be in a package. I don't know if they ever provided a fix to this, but I removed all package info from my JNI related java files, and

RE: JSP, JNI, classloader

2001-06-20 Thread Matthew Lerner
Sadly, none of my classes are in a package. Are you sure it didn't go the other way? I could try and PUT them in packages... -Matthew At 05:33 PM 6/20/2001 -0400, you wrote: I had many similar problems with JNI a while back. I don't remember all the details, but I remember that for some

character-set encoding problems

2001-06-20 Thread Thomas Bezdicek
hi, i have a problem on solaris 8 tomcat 3.2.1 receiving multipart form data in the correct encoding, this problem does not exist when running the same servlets under tomcat3.2b4/w2k both with jdk 1.3.0. has someone an idea what can cause the difference? thx, tom

RE: JSP, JNI, classloader

2001-06-20 Thread DHarty
Nope. I even dug up my old files to make sure. Reviewing your origional message, and the first question; it appears that you may not have your class files in the right location. I had put my jsp files directly into the tomcatwebapps/ROOT directory, and the classes into

problem with virtual hosting with tomcat

2001-06-20 Thread Nick Stoianov
Hi, I'm using Apache 1.3.9, Tomcat 3.2 , Linux I want to setup a virtual host (let's say vh1.test.com) so that I will be able to call servlets from http://vh1.test.com/servlets/ What should I put in httpd.conf , mod_jk and server.xml? I will really appreciate any helpful advice on this

javabeans with jsp

2001-06-20 Thread JeremyRayYoo
I don't know where exactly the javabean class goes in order for a jsp script to find it. Lets say that I have a jsp script in: ~/examples/jsp/tester/tester.jsp and tester.jsp uses a bean class called UserBean.class. tester.jsp has this line in the beginning: jsp:useBean id=bean

Re: javabeans with jsp

2001-06-20 Thread Daniel de Almeida Alvares
You can put the bean at the WEB-INF/classes directory of your application ! Regards Daniel ___ Daniel de Almeida Alvares Santos - SP - Brasil [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 8:07 PM

where is the JSP servlet

2001-06-20 Thread JeremyRayYoo
I was told that JSP scripts get translated into a servlet, however where do you find it.Where can I find the servlet

Re: problem with virtual hosting with tomcat

2001-06-20 Thread Dmitri Colebatch
What I've done is taken a copy of the mod_jk.conf-auto and extracted the LoadModule etc (global info) from it into one file. I include this file (using the Include directive) in the httpd.conf. I then insert into each VirtualHost directive the JkMount directives. I'm not sure if its

Re: where is the JSP servlet

2001-06-20 Thread Charles Baker
Look in $TOMCAT_HOME/work/ there should be directories there for different contexts, which contain the generated *.java files as well as the compiled *.class files --- [EMAIL PROTECTED] wrote: I was told that JSP scripts get translated into a servlet, however where do you find it.Where can

Problem with sendError

2001-06-20 Thread Andrew Baptist
I am using tomcat 3.2.2 with apache 1.3.20 using the mod_jk connector between the two. I have basically written a tiny servlet with this one method: public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException { res.sendError(500, tomcat error); } In my apache

Re: Security exceptions.

2001-06-20 Thread Sergey V. Udaltsov
Hi It seems it is impossible to grant security permissions to the classes loaded by either org.apache.tomcat.loader.AdaptiveClassLoader or org.apache.jasper.servlet.JasperLoader. At least when I write in the policy file grant codeBase XXX { java.security.AllPermission; }; I get a lot of

Internal Servlet Error

2001-06-20 Thread Fredrik Liden
Hello I created a .jsp file that worked fine on JSWDK Recently I upgraded to Tomcat 3.2.2 and now when I click on the JSP file I get the following message: Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write:

WEB-INF/classes not loading

2001-06-20 Thread Jacob Thomas
I am using Tomcat 3.2.2. Somehow, it does not seem to load classes from the WEB-INF/classes directory. Is there anything I need to set in the conf/server.xml file for this to work? -- Thanks Jacob

Missed a config statement???

2001-06-20 Thread Howler D. Wolfe
Hello everyone, I am running Apache 1.3.19 and Tomcat 3.2.2 on Mandrake 8.0 Tomcat is installed and *appears* to be functioning fine. All examples work fine from the server as well as other machines on the network. However, when someone from the Internet attempts to hit

cannot run servlet

2001-06-20 Thread Siaw Ling Lo
I have created another URL 'dir' for other web application. The 'examples' URL, i.e., http://localhost/examples/servlet/xxx is working fine but not the new URL. Error msg: Error : 404 Location: dir/servlet/xxx I have added changes in tomcat.conf and server.xml. Have I missed out anything?

multiple resultset

2001-06-20 Thread SHASHI PARASHAR
I am getting problem of opening two resulest. can we open more than 1 resultset in one jsp page. please help me tho solve out this problem

RE: NT Service won't start

2001-06-20 Thread Govind Agarwal
This happens when there is some error in the wrapper.properties file or server.xml file. Try to run the following command which is in wrapper.properties and check if the service starts up. # # This is the command line that is used to start Tomcat. You can *add* extra # parameters to it but you

Re: multiple resultset

2001-06-20 Thread Hemant Singh
HI : If yu are using more than one resultset at a time than they MUST have there different Statement objects, i.e if yu have created one ResultSet and without closing it yu are creating one more ResultSet n try using previous one also, than this is a problem, So what u do is make different

[J-T-C] 1 second for crash (core)

2001-06-20 Thread francesco.casalena
Hi Pier, I found a core in my /: - [root@localhost /]# gdb core core GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type

[J-T-C] 1 second for crash (was: httpd crash)

2001-06-20 Thread francesco.casalena
Sorry Pier, my previous httpd log was wrong :) These are ok: --- [root@localhost jakarta-tomcat-4.0-b5]# /usr/local/apache/bin/apachectl start [Wed Jun 20 16:57:34 2001] 1699 (pr_info.c:66) INFO provider initialized [Wed Jun 20 16:57:34 2001] 1699 (pr_warp.c:492) WARP provider initialized