RE: mod_jk 3.3 on AIX 4.3

2002-02-26 Thread Arnaud Heritier
try to substitute in the apxs script the line : my $CFG_LDFLAGS_SHLIB = . by : my $CFG_LDFLAGS_SHLIB = q( -bexpall -bM:SRE -bnoentry -bI:/aladin/stock/gui/apache-1.3.22/libexec/httpd.exp -lc -ldl); # substitute via Makefile.tmpl replacing the path to your apache directory. otherwise

What is the best?

2002-02-26 Thread Moi
I have a following situation. I installed Apache and Tomcat4,but they listen different IPs with same port 80. For example: Apache listens 200.200.200.200:80 Tomcat listens 200.200.200.201:80 It works normally now. But I am confusing that whether it was better to configure Apache with mod_webapp or

Re: win98+classpath

2002-02-26 Thread Chuck Amadi
Chuck Amadi wrote: Hakan Kutucu wrote: Hi everybody, I have succesed to install tomcat at windows 2000. But I couldn't run at windows98. I think some classpath definitions are wrong. Which configurations should I do in autoexec.bat and how? Thanks. -- To unsubscribe: mailto:[EMAIL

2 instance of tomcat within 1 machine

2002-02-26 Thread Keith Ng
Hi I need to run two different server of tomcat 4.0.2 within one machine tried running two instances of tomcat-4.0.2 startup and its not possible one is for internet, the other is for intranet, therefore both should have different port, but same IP address also, how do i disable the web from

Tomcast + SSL -- Problem

2002-02-26 Thread Benja.be
Hello, I’m on a Linux machine (Red Hat), with Tomcat 3.3a, J2SDK 1.4.0 (with JSSE). I configured Tomcat like described on http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html When I run tomcat, SSL socket factory is set, but at the line (Http10Interceptor : Starting on 8080) I

Re: 2 instance of tomcat within 1 machine

2002-02-26 Thread remy.menetrieux
Actually i have 3 different server of tomcat on the same machine and it's work perfectly ... which configuration files have you ?? REmY Keith Ng wrote: Hi I need to run two different server of tomcat 4.0.2 within one machine tried running two instances of tomcat-4.0.2 startup and its not

RE: J2EE, JSP, SERVLETS

2002-02-26 Thread Gregor Kovaè
Hi! Usually the good separation (called Model 2) between business logic, data and presentation is the best reason you can give them. Plus you can switch the vendor of your middleware(database, application server, ). A lot of these thing you can find in JSP, Servlets specs. Best regards,

Re: problems useing tomcat with virtual domains. (fwd)

2002-02-26 Thread Jean-Luc BEAUDET
[EMAIL PROTECTED] a écrit : i have name based virtual domains ( many domains one ip address ) and i have problems with tomcat, i want to be able to keep my servlet directoryes in different parents. now everything is at one place i have no problems with jsp's i can put one jsp in witch

URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Catalin
Hello everyone! I have installed Apache_Tomcat_4.0 (on a win2k OS and jdk1.3.1 support). I have a web application with servlets. I can't compile any more servlets (I usually compile with an IDE). The main errors are: C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:4: package

RE: URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Jan Søgaard
Hi This is proberly a problem with your javac class path. jar files are not automaticly appended to the class path, so try to add the jar file to you class path. BR Jan. -Original Message- From: Catalin [mailto:[EMAIL PROTECTED]] Sent: 26. februar 2002 21:52 To: [EMAIL PROTECTED]

Re[2]: URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Catalin
thanks Jan! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Access to shared classloader from common classes

2002-02-26 Thread Antony Bowesman
Hi, We have a realm implementation that authenticates against a user repository in an EJB container. To do this it uses some proxy classes to connect to the EJB container. These proxies are also used by web applications. Thus, these proxy class are in the common/lib directory. However, this

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread Keith Ng
Which version of tomcat are u using? im using 4.0.2 how did u configure? Must i have more then 1 copy of tomcat? I really dunno... pls help -Original Message- From: remy.menetrieux [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 5:52 PM To: Tomcat Users List Subject: Re: 2

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread hanasaki
What are your boss' looking for? What motivates them? Keith Ng wrote: nono dun get me wrong im currently doing a J2EE project based on servlets/jsp/javamail/jdbc/possibly EJB(low possibility) there are 2 things i need to do. 1)i need to noe if i ve been missing out on some of the

Re: Turn Off logs

2002-02-26 Thread Pat Schaider
You can turn off logs by editing the server.xml file. Look for lines like this: Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ and simply comment them out. You will need to

AW: Access to shared classloader from common classes

2002-02-26 Thread Lauer, Oliver
ClassLoader webappClassLoader = Thread.currentThread().getContextClassLoader(); Class webappClass = webappClassLoader.loadClass(comm.foo.bar.MyClass); AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148

tomcat and iis integration!

2002-02-26 Thread ravi
Dear All, I want to integrate IIS on win2k with tomcat 4.0.1 The redirector isapi_redirect.dll filter shows green with high priority. I have set the docbase in the server.xml file to the directory I have JSP pages in. I was able to run these pages on port 8080 but are not working on port 80.

RE: SSL Client authentication with standalone Tomcat

2002-02-26 Thread Anton Brazhnyk
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Palmer Sent: Tuesday, February 26, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: SSL Client authentication with standalone Tomcat I'm trying to set up for a simple project

org.apache.tomcat.request.ParseMime

2002-02-26 Thread Marcelo Mathias Lima
how can I download it? org.apache.tomcat.request.ParseMime thank u, Marcelo Mathias Lima -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Tomcat ClassloaderLoaderFactory skips jar files

2002-02-26 Thread Antony Bowesman
Hi, I found out today that not all jar files in a directory are added to a classloader by tomcat at startup. When tomcat bootstrap creates Classloaders it ignores jar files that contain certain classes. We are using Borland Enterprise Server and need to add the Borland jar files to access

Sense of realm element in login-config

2002-02-26 Thread dirk . dussart
Hi, Can anyone explain the use of realms in basic authentication. One can specify the name of a realm in the login-config of the web.xml but apparently this is not used since there is no standard JAVA API to pass this the servlet container. What is the sense of having it when it is not really

Re: SSL Client authentication with standalone Tomcat

2002-02-26 Thread Wolfgang Stein
Imagine an online banking system with some thousand clients I can't believe that you have to import each client cert into the keystore file. If you start tomcat with the -Djavax.net.debug=all option you should be able to verify that tomcat initially sends a list of trusted CAs taken from the

RE: What does manager do anyway?

2002-02-26 Thread Cox, Charlie
-Original Message- From: August Detlefsen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 7:24 PM To: Tomcat Users List Subject: Re: What does manager do anyway? Thanks Craig, Glad to know I can add a servlet without having to restart the entire server! I'll try a

SV: tomcat and iis integration!

2002-02-26 Thread Klosa Uwe
Hi Ravi, it's better to create a context to the jsp directory. If you are using as name so it will be the default context. Which connector are you using Regards, Uwe -Ursprungligt meddelande- Från: ravi [mailto:[EMAIL PROTECTED]] Skickat: den 26 februari 2002 13:19 Till: [EMAIL

Re: 2 instance of tomcat within 1 machine

2002-02-26 Thread remy.menetrieux
Actually I have 3 tomcat copy 4.0.2 all use the same webapp directory tomcat1 bin classes common conf lib logs server work tomcat2 bin classes common conf lib logs server work tomcat3 bin classes common conf lib logs server work /commonwebapp

RE: SSL Client authentication with standalone Tomcat

2002-02-26 Thread Anton Brazhnyk
Hi Wolfgang, -Original Message- From: Wolfgang Stein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 3:19 PM To: [EMAIL PROTECTED] Subject: Re: SSL Client authentication with standalone Tomcat Imagine an online banking system with some thousand clients I can't

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread John Niven
Hi Keith (response inline) This is supplementary info to Remy's: I think we've both got different set-ups. -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: 2 March 2002 11:40 To: Tomcat Users List Subject: RE: 2 instance of tomcat within 1 machine Which

Re: Sense of realm element in login-config

2002-02-26 Thread Antony Bowesman
[EMAIL PROTECTED] wrote: Hi, Can anyone explain the use of realms in basic authentication. One can specify the name of a realm in the login-config of the web.xml but apparently this is not used since there is no standard JAVA API to pass this the servlet container. What is the sense of

Reposting: SSL Client authentication with standalone Tomcat

2002-02-26 Thread Wolfgang Stein
I repost this because it didn't show up on the list but a subsequent posting already did: The client browser scans his (previously imported) client certs for a matching cert isssuer/signer and sends (?) this to the server. This part should read: The client browser scans his (previously

problem in using jsp:usebean...

2002-02-26 Thread arun yadav
Hello friends, Iam doing a project using jsp.Iam facing a problem in calling a bean from a jsp page.Tomcat is unable to find the bean class.Can anybody guide me how to do that. I have put my bean class in /webapps/examples/jsp/Online/WEB-INF/classes the jsp file in /Online folders. -regards

some configuration problem..HELP!!

2002-02-26 Thread Amrish Thakkar
dear sir/madam this is regarding a problem i am facing while using tomcat. We, a group of people working on a particular web application which requires to create a word document on runtime based on the user if he clicks on a particular link.. so for the same purpose we are using jacob for

can't add a new context...

2002-02-26 Thread Eduardo Godoy
Hi, I´m using tomcat 4.0.2 and I want to add a new context, without a war file ... so I used http://localhost:8090/manager/install?path=/ucrmwar=file:/D:\\Unveil\\web\\ and tomcat return OK - Installed application at context path /ucrm but ... If I reboot the server ... I lost the context

Tomcat: Servlets in another directory

2002-02-26 Thread [EMAIL PROTECTED]
Hi. I would like to serve my servlets in another directory (not in $TOMCAT_HOME/webapps/examples/WEB-INF/classes). + I created a directory called '/myfoo'. + I changed $TOMCAT_HOME/conf/server.xml: Context path= docBase=/myfoo debug=0 reloadable=true + I compiled 'HelloWorld.java' into

problem starting tomcat

2002-02-26 Thread Jian Song
Dear Sir: I am having problem starting TOMCAT, every time i try it says bad interpreter, permision denied. i installed my j2sdk under: /home/coscuser/j2sdkee1.3.1 ; and tomcat /home/coscuser/jakarta-tomcat-3.2.4/; set JAVA_HOME and TOMCAT_HOME inside /coscuser/.bash_profile. Please help!

Re: problem in using jsp:usebean...

2002-02-26 Thread Harry Keller
I had problems with using beans with Tomcat 4.0. Sometimes they would work -- sometimes not. I never got tomcat to recognize two properties in the same bean. Eventually, I abandoned the bean approach as unworkable with tomcat. If anyone has a reliable solution, I'd really like to know about

Re: Tomcat: Servlets in another directory

2002-02-26 Thread rsequeira
Editing the classpath isn't advisable. Leads to various problems. Also are you using unix or windows? Check your docBase. Is myfoo under the webapps directory? If it is, then you do not require the leading /. Also check the web.xml for mappings to HelloWorld. Thanks. RS tomcat on 02/26/2002

Re: some configuration problem..HELP!!

2002-02-26 Thread rsequeira
Place it under the webapplication's WEB-INF/lib folder. Or you could move it to the tomcat_install_dir/lib directory to make it visible to all webapps. Thanks. RS Amrish Thakkar [EMAIL PROTECTED] on 02/26/2002 04:53:07 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL

Re: problem in using jsp:usebean...

2002-02-26 Thread rsequeira
arun yadav [EMAIL PROTECTED] on 02/26/2002 07:24:49 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: problem in using jsp:usebean... Hello friends, Iam doing a project using jsp.Iam facing a problem in calling a bean from a jsp page.Tomcat

Fwd: Unable to use RequestDispatcher.forward() for HTML pages when in Tomcat 4

2002-02-26 Thread Sriram Narayanan
Hello all, I'd posted to this list a few days ago asking for help on this problem. On the computer where I run tomcat and faced the RequestDispatcher problem, I've started to get JIT errors instead. I've also been getting a lot of Illegal Operation messages by Windows on the same computer for

Can Tomcat 3.3 be chroot'ed, Should it be ?

2002-02-26 Thread M Man
Hi All I've got Apache 1.3.22 and Tomcat 3.3 working fine on Solaris 8. I can even get Apache running chroot'ed, but I can't get Tomcat too. I've looked all over the net and not found a HOW-TO. I found one document that said Tomcat could NOT be chroot, (didn't understand the reason's why, I'm

Re: Tomcat: Servlets in another directory

2002-02-26 Thread Sriram Narayanan
2/26/02 3:45:17 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I would like to serve my servlets in another directory (not in $TOMCAT_HOME/webapps/examples/WEB-INF/classes). + I created a directory called '/myfoo'. + I changed $TOMCAT_HOME/conf/server.xml: Context path=

Properties file declaration

2002-02-26 Thread Ursula Pieper
Hi, my servlets need to access a properties file (/var/tomcat4/webapps/application/WEB-INF/classes/pro.properties). I tried to get the parameter to read properly by adding parameter entries at different location. so now: My server.xml entry looks like this: Context path=/application

Re: can't add a new context...

2002-02-26 Thread Sriram Narayanan
2/26/02 8:00:23 PM, Eduardo Godoy [EMAIL PROTECTED] wrote: Hi, I´m using tomcat 4.0.2 and I want to add a new context, without a war file ... so I used http://localhost:8090/manager/install?path=/ucrmwar=file:/D:\\Unveil\\web\\ and tomcat return OK - Installed application at context path

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread Sriram Narayanan
2/26/02 7:18:32 PM, John Niven [EMAIL PROTECTED] wrote: Follow the instructions in running.txt for which directories to copy - I'm at work just now (JRun ;-( ) but off-hand I think it's bin, conf, lib webapps. Within /conf, you need to edit server.xml so the various ports don't conflict. Eg.

Re: Tomcat: Servlets in another directory

2002-02-26 Thread Jean-Luc BEAUDET
[EMAIL PROTECTED] a écrit : Hi. I would like to serve my servlets in another directory (not in $TOMCAT_HOME/webapps/examples/WEB-INF/classes). Just keep in mind one important thing. $TOMCAT_HOME/webapps represents the appBase=webapps item of the default Context attribute. + I created a

Re: Problem with importing reply certificate from CA

2002-02-26 Thread Jason Barr
HI Marin, Have a look at our FAQ's (even though it is Verisign, the reason should be the same:) http://www.thawte.com/support/developer/javasoft.html Cheers, Marin Odrljin wrote: Hello everybody! I have problem with importing cert reply from VeriSign. I'm using jdk1.3 and I made my keys

Re: Access to shared classloader from common classes

2002-02-26 Thread Sriram Narayanan
2/26/02 5:06:13 PM, Antony Bowesman [EMAIL PROTECTED] wrote: Hi, We have a realm implementation that authenticates against a user repository in an EJB container. To do this it uses some proxy classes to connect to the EJB container. These proxies are also used by web applications. Thus,

Servlet POST results in 404 error

2002-02-26 Thread John Wadkin
All, TomCat 4.0.1 Apache 1.3 mod_WebApp Solaris 8 I have a servlet that returns a 404 error whenever a POST is sent. GET works fine. The servlet uses sessions - not sure if this has anything to do with it. My server.xml just defines a context and a logger. The web.xml has a servlet name and

Tomcat 4.01, IIS, and isapi_redirector.dll

2002-02-26 Thread Thad Humphries
I have found several sites for integrating Tomcat 3.2.x with IIS using isapi_redirect.dll. I find some for integrating Tomcat 4.01 with IIS using isapi_redirect.dll. The latter require creating workers.properties and uriworkermap.properties (and maybe other things) that aren't part of Tomcat

Catalina 4.0.2 - Tomcat 3.2.3 Incompatibility // character encoding

2002-02-26 Thread Jarecsni Jnos
Hi, I've just upgraded an application to TC4.0.2. We have problems with the strings that come in the server from web pages. We use ISO-8859-2. With 3.2.3 it was working all right, we only had to use -Dfile.encoding=ISO8859_2 with windows and export LANG=hu_HU with Linux. Now we have switched to

Testing sercue Tomcat-4.0.2 with Mozilla0.99 and Netscape6.2

2002-02-26 Thread Chuck Amadi
Hi , there i am able to use IE5 to try out the secure server .As i have created a self signrd cert. Thus i have used the keytool utility to export my cert to IE5. This works fine. Can anyone explain or point me the doc's to do the same with Mozilla v0.99 and Netscape 6.2. I have tried the

Re: Testing sercue Tomcat-4.0.2 with Mozilla0.99 and Netscape6.2 forget it i reading the help page in Mozilla

2002-02-26 Thread Chuck Amadi
Chuck Amadi wrote: Hi , there i am able to use IE5 to try out the secure server .As i have created a self signrd cert. Thus i have used the keytool utility to export my cert to IE5. This works fine. Can anyone explain or point me the doc's to do the same with Mozilla v0.99 and Netscape

RE: Catalina 4.0.2 - Tomcat 3.2.3 Incompatibility // character encoding

2002-02-26 Thread Jarecsni Jnos
Hi again, on windows I switched the JDK back to 1.3.1 and it works. So the problem is somewhere around the JDK... :) J-. -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 |-Original

Tomcat tutorial searched

2002-02-26 Thread Thomas Stiller
I am searching a tutorial/introduction covering the configuration of Tomcat (3.* or 4.*) setup of servlets and JSPs in the server.xml. I am NOT (!!) searching a tutorial for developing servlets/JSP in general Is there a good tutorial out in the internet with simple samples (helloWorld) ? Thx

catalina 4.0.2 and internal servlet cache ... pls help

2002-02-26 Thread ranjeet walunj
Dear friends, i'm sending the same mail again ... pls help me ... i'm facing this internal cache of tomcat problem .. i've reffered the old archives and they r saying ki putting reloadable=true in server.xml can solve this problem. Problem: If i change some java code in my servlet and

Re: problem in using jsp:usebean...

2002-02-26 Thread James Lee
I had the same problems using tomcat 4.0.2, and apache 1.3.22 on win2k. In fact tomcat couldn't find any of my classes. This only occurred using mod_jk, but eventually i got it to work. It is strange, but here's how i got mine to work. If you are using mod_jk, try commenting out the line

System variables in server.xml?

2002-02-26 Thread KC Berg
Does anybody know if you can use system var's in your server.xml? If so can someone please point me to an example. Thanx KC -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: problem in using jsp:usebean...

2002-02-26 Thread Nicolas Silberzahn
Sorry, this is not an answer, just a word to say i face the same problem. With TomCat 3.3, all where ok. Installed 4 this morning, And when referencing a bean from a jsp, i get: org.apache.jasper.JasperException: Unable to compile class for JSP An error occured between lines: 72 and 83 in the

RE: problem in using jsp:usebean...

2002-02-26 Thread Nicolas Silberzahn
i can't believe my eiyes. Finding a class is a very 'basic' task for TomCat! I can't believe that any TomCat developper didn't make a test with a bean!!! We should have missed something... Nicolas Silbe*rzahn Digital Airways Everywhere InternetTechnologies/Internet 100% Java, Mobile, Offline

Re: Tomcat ClassloaderLoaderFactory skips jar files

2002-02-26 Thread Remy Maucherat
Hi, I found out today that not all jar files in a directory are added to a classloader by tomcat at startup. When tomcat bootstrap creates Classloaders it ignores jar files that contain certain classes. We are using Borland Enterprise Server and need to add the Borland jar files to

Re: catalina 4.0.2 and internal servlet cache ... pls help

2002-02-26 Thread Markus Spath
Hi, I don't know whether this might help you, but i found the manager app to be useful: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html markus ranjeet walunj wrote: Dear friends, i'm sending the same mail again ... pls help me ... i'm facing this internal cache of

Standalone Tomcat SSL Cipher Suite Configuration

2002-02-26 Thread Boyd, Garth
Is it possible to configure a standalone Tomcat installation to negotiate from an administrator provided cipher suite list? Other containers do allow you to configure what cipher suites are available for negotiation (websphere for example). I have searched high and low and have not found

RE: Servlet POST results in 404 error

2002-02-26 Thread John Wadkin
I'd appreciate a response on this! I've spent time searching the Net but haven't turned up anything useful. I don't think I've misconfigured anything in my server.xml or web.xml... It's just the POST method that doesn't work - no idea why! Suggestions please!! Thanks, John -Original

Re: Servlet POST results in 404 error

2002-02-26 Thread Markus Spath
did you define the doPost method in your servlet? if not add: ... public void doPost(HttpServletRequest request, HttpServletResponse response) { doGet(request, response); } .. hth, markus John Wadkin wrote: I'd appreciate a response on this! I've spent time searching the Net but

RE: Servlet POST results in 404 error

2002-02-26 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
John, Things to look for: 1: Is the post service defined in your servlet 2: Does the post service contain any code 3: Is apache configured to allow use of the post method, if I recall out of the box it does not 4: Use the Netscape Browser if you are not already. It returns more error

Re: catalina 4.0.2 and internal servlet cache ... pls help

2002-02-26 Thread ranjeet walunj
nope i seen this .. and also tried that ... but unfortunately this also doesn't work for me .. :-( i stop the context using manager and starts agains or reload also doesn't help :( cud someone pls help me ranjeet Markus Spath wrote: Hi, I don't know whether this might help you, but i

RE: Servlet POST results in 404 error

2002-02-26 Thread Randy Layman
Is it possible that your servlet is seeing the POST, processing it, and then sending a redirect to a non-existent page? You might want to check the Tomcat and IIS/Apache/iPlanet logs to find out what URL is being used to get the 404, that way you will know how Tomcat or the

Re: SSL Client authentication with standalone Tomcat

2002-02-26 Thread Wolfgang Stein
The client browser scans his (previously imported) client certs for a matching cert isssuer/signer and sends (?) this to the server. This part should read: The client browser scans his (previously imported) client certs for a matching cert issuer/signer, fills / pops up a choice dialog box to

High startup and shutdown time of tomcat 4

2002-02-26 Thread Jürgen Weber
Hello, jakarta-tomcat-3.3a has a startup time of 4s (jdk 1.4, NT), wheras jakarta-tomcat-4.0.2-LE-jdk14 needs 10s. Shutdown is also much slower. The fast startup/shutdown made tomcat 3 so great for development. Why is it that catalina is so much slower in startup? Can anything be done to make

many java processes

2002-02-26 Thread chad kellerman
Hello everyone, I am running a red hat 6.2 tomcat 4.01 webapp server configured for virtual host. I have noticed that if tomcat stays running it builds up a lot of java processes. Has this caused anyone any problems with anyones elses servers? I am afraid that if a put a few java

RE: many java processes

2002-02-26 Thread KC Berg
all threads started in java will show up as pid's in Linux. Linux does not do true threading. it's not a big deal. if you see to many check your code for opening threads. also check your garbage collection settings. -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent:

Tomcal with SSL?

2002-02-26 Thread Cevikce, Mehmet
Hello everyone, I have one question regards to certificate based authentication on Tomcat. Assume I configured tomcat for SSL and imported my client certificate to the server .keystore file. When I connect to Tomcat 4.0 I get authenticated succesfully but now I need to configure the Tomcat Realm

Re: Servlet POST results in 404 error

2002-02-26 Thread Ken Martin
On Tuesday, February 26, 2002, at 12:25 PM, John Wadkin wrote: I'd give you the URL but I'd have to give passwords and stuff... It goes like this: servername/webapp/servletname/stringofnumbers I had some JSP pages that worked on Netscape but not Tomcat. It turned out that Tomcat wanted

Internal Server Error with METHOD:POST

2002-02-26 Thread fusterjj
Hello everyone, I am trying to do a simple servlet with an html form using the POST method. The html form is just a simple input form where the user enters 4 fields of data. The HTML invokes the taskserv, wich is the servlet with the post method and the driver connection to mysql database in

webapps directory required for Warp?

2002-02-26 Thread Dave Ferguson
Using the Warp connector, is it possible to have the docBase of a web app somewhere else besides the webapps directory? I am using Tomcat 4.0.2 and Apache 1.3.20 on Win2K. Thanks for any help! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

IlligalStateException -- getOutputStream() has already been called for this response.

2002-02-26 Thread Dmitry Nikelshpur
Hello everyone. I had posted a similar message before, but either did not get replies or missed them. I am using a JavaBean in a JSP page. This bean draws charts and graphs depending on supplied data... When I call the JSP page directly from the browser, the graph displays properly, and no

RE: Servlet POST results in 404 error

2002-02-26 Thread John Wadkin
The servlet is an application that has numerous modes. If I want to create a new user of the app, I type the URL: servername/webapp/servletname?mode=19 I enter all the details of the new user, and the servlet posts this info - a get would show password details in the URL. It then creates a

Re: High startup and shutdown time of tomcat 4

2002-02-26 Thread Wolfgang Stein
Hi, the startup time will even increase if you enable a SSL-connector. But you don't have to restart the whole tomcat to restart an application (compared with TC 3.2, don't know 3.3), if you use the manager app instead. You can also enable dynamic servlet reloading during development. I

RE: Servlet POST results in 404 error

2002-02-26 Thread Randy Layman
It sounds like the servlet is trying to use PathInfo (extra characters beyond the real servlet's name for parameters). In your web.xml you probably want to make your URL mapping something like /servletname/* so that every URL that starts with servletname is called for that servlet.

RE: Internal Server Error with METHOD:POST

2002-02-26 Thread Reynir Hübner
Hi, there are few possibilities ... 1. that you need to restart tomcat to get the servlet loaded. 2. case sensitivity, is the taskserv in correct case ? 3. is, that you're servlet is not compiled. (you only have .java under WEB-INF/classes) sounds like one of those, but it could always be

Re: webapps directory required for Warp?

2002-02-26 Thread j-y ciccoli
What have you installed as Tomcat-Apache plug-in? - Original Message - From: Dave Ferguson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 8:29 PM Subject: webapps directory required for Warp? Using the Warp connector, is it possible to have the docBase of a

RE: Servlet POST results in 404 error

2002-02-26 Thread John Wadkin
Marvellous - spot on Randy. I'd just used servletname/ as the mapping. No idea why. Obvious now that it won't work. I guess I'll have to lay off the aluminium pans :) -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: 26 February 2002 18:59 To: 'Tomcat Users List'

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread August Detlefsen
There are a couple of reasons to pick JSP. I usually tell bosses that we use java because it is easy to replicate across multiple hardware as the demand for the app grows (They love thinking about growing demand). Security is an issue too, especially with M$ products (not sure about PHP). How

Re: servlet-mapping problem

2002-02-26 Thread Dave Ferguson
This is basic stuff. It should work. What URL are you using to invoke the servlet? With no mapping the URL would be http://server/servlet/warservlet. If your mapping is url-pattern/blah/url-pattern then the URL would be http://server/blah. Restart Tomcat to be sure your changes take

StandardWrapperValve[jsp]: Servlet.service() - ArrayIndexOutOfBoundsException

2002-02-26 Thread Poppy Javid
Hi, I am using Tomcat 4.0.2 on SunOS 5.6 with JDK 1.2.2_05. I am having an application using JSP. The servlet container crashes very so often. After this error, I am unable to reach any page and I have to reboot the container. Any help would be greatly appreciated, Thank you very much poppy

RE: Servlet POST results in 404 error

2002-02-26 Thread Keith Ng
Hi John, have u solved it already? someone here said that u might not have define yr post method would u care to show us yr post mthod?(whole defination) pls do the following. add a System.out.println(post method invoked); under your post method implemention for us to see. Is tat post method

RE: What does manager do anyway?

2002-02-26 Thread August Detlefsen
Yes. On login, a bean is put in the user's session with name, whether the user is authenticated, and some other tracking data and it is indeed Serializable. --- Cox, Charlie [EMAIL PROTECTED] wrote: -Original Message- From: August Detlefsen [mailto:[EMAIL PROTECTED]] Sent:

Re: webapps directory required for Warp?

2002-02-26 Thread Dave Ferguson
Warp. I have mod_webapp.so and libapr.dll in my Apache modules directory. I have the following in my httpd.conf. LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples/ If my docBase is not

RE: many java processes

2002-02-26 Thread KC Berg
also tomcat will only open as many pid's/thread's as is specified in your server.xml maxProcessors=75 part of the connector params. the above is the default. Running top may make it look like a lot of stuff is running but if you look at the memory and CPU utilization of the pid's you'll notice

Re: webapps directory required for Warp?

2002-02-26 Thread j-y ciccoli
I think that it's possible to create virtual hosts wich point to an another location; try to find the following string in your server.xml file : Host name=YOURS debug=0 appBase=webapps unpackWARs=true ... this is my default configuration. - Original Message - From: Dave Ferguson [EMAIL

RE: servlet-mapping problem

2002-02-26 Thread Mark B. Indictor
OK -- I'm having a related problem: I can hit my servlet with the following httpd.conf and web.xml file setup with these two URLs: http://hostname:8080/s2/sb/ And http://hostname/SiteBlocks/sb/ From within the servlet, I am trying to reconstruct the URL. I am using the following code: ...

RE: IlligalStateException -- getOutputStream() has already been called for this response.

2002-02-26 Thread KC Berg
How are you doing the includes? Also when you are using a forward in a servlet you can not print anything to the output buffer before you use the forward. Because once the output stream has been sent to the browser the server can no longer forward that stream to another servlet. KC

Re: Properties file declaration

2002-02-26 Thread Ursula Pieper
Thanks Sriram for the suggestion of loading the properties file from within the servlet. Unfortunately, that would involve changing and recompiling about 20 or more scripts, since all of them use the properties file. I'd really like to do this using the parameter directive (Problem still

[newbie] mod_webapp.so - has EAPI support?

2002-02-26 Thread Charles Swarts
I am trying to setup the following: Apache1.3.23+SSL+Tomcat4.02 on RedHat7.1 And I am confused on the following: Does the mod_webapp.so module include EAPI support? or will I have to recompile it from source (scares a newbie) thanks, - charles -- To unsubscribe: mailto:[EMAIL PROTECTED]

Tomcat 4 + Apache + Linux + multiple virtual name-based hosts + separate instanc

2002-02-26 Thread Neo Thinker
I have been working on this for a LONG time. There's got to be some smart guy out there with the answer. I would like to do this: On one Red Hat Linux box, run one instance of Apache, with multiple name-based virtual hosts, with a separate instance of Tomcat 4 for each virtual host. I have

Re: Tomcat 4.0.2 and ejb-local-ref

2002-02-26 Thread Nicolas Moldavsky
It's Redhat 7.2 on Intel with the .tar.gz installation: 4112877 Feb 23 08:43 jakarta-tomcat-4.0.2.tar.gz When the server boots up there is no message saying it is linking the the ejb-local-ref. However, if I change it to a simple ejb-ref, I get the following message:

RE: Properties file declaration

2002-02-26 Thread George McKinney
-Original Message- From: Ursula Pieper [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 2:06 PM To: Tomcat Users List Subject: Re: Properties file declaration Thanks Sriram for the suggestion of loading the properties file from within the servlet. Unfortunately,

configuring logger, given Tomcat's daily log filename changes

2002-02-26 Thread Charlie Toohey
Yes, but the name of the tomcat log file changes daily --- is there some way to set up the logger to automcatically deal with these name changes ? I realize this thread has run outside of the realm of Struts, and should really be appearing in the Tomcat mailing list now, so I'm sending it

That old tomcat 4.0.2 - xerces.jar file problem one more time...please

2002-02-26 Thread Drew Cox
I'm sorry guys. I've searched the archives, really. I have seen a bunch of seemingly relevant posts and tried some of their recommendations. But I can't get this to work. Here's the deal. Our webapp includes xerces.jar in the web.inf/lib directory. This works fine on Tomcat 3.1 (our prod

mySQL/JDBC/Tomcat4 documentation

2002-02-26 Thread Steve Madonna
Anyone know were I can get some documentation on installing mm.mysql-2.0.4-bin.jar file? I keep getting that not sutible driver error everyone keeps talking about. Thx in advance. -Steve

  1   2   >