RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Lee Chin Khiong
Anybody familiar with sql ? I have a question here, how to link 2 tables from JSP when they have a same field name ?

Re: installation

2002-04-10 Thread DingHui
It's based on the configuration of your server. if there is a FTP service running on your server,you can upload your files with FTP client such as CuteFTP. Therefore ,you can directly copy your JSP files to the server - Original Message - From: Atif Munir [EMAIL PROTECTED] To:

AW: Tomcat process takes 246M whereas total java heap is 127M

2002-04-10 Thread Ralph Einfeldt
There is some data that is not stored in the heap: - The Stack Each thread has at least one stack. The Sun VM has two stacks per thread. (One for the java code, one for the c code) The size of the java stack is not specied, the size of the c stack is controlled by the option -Xss (the

AW: Tomcat intermittent failures

2002-04-10 Thread Ralph Einfeldt
Have you verified if your apache got hit, with the request that caused a 'file not found'? (We have seen in the past some obscure errors that turned out to be caching problems of browsers and proxy caches where the server wasn't hit at all) If your apache got hit, did the request hit tomcat ?

Clustering HTTP Sessions in Tomcat

2002-04-10 Thread Dion Almaer
Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4. http://www.theserverside.com/resources/index.jsp In this article we will cover one of the clustering technologies, HTTP session replication, that is used within the J2EE model. In the second half of the

AW: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Ralph Einfeldt
Although that doesn't have to anything with jsp: If you have two tables (a and b) with two columns (id and name) You can use something like Select a.name, b.name from a, b where a.id = b.id If you db support column aliases, you can also use something like Select a.name foo, b.name bar from

Re: urlencoded session html-redirection-bug

2002-04-10 Thread Giorgio Ponza
When you encode the url, the first time the jsessionid is attached to the URL, but if your browser have cookies enabled, a cookie is assigned and the jsessionid parameter is not shown anymore. I tried this widh IE5 IE6 an NE4.7 and works. If you disable cookies, you'll see the URL always with the

Disabling the DefaultContext

2002-04-10 Thread Yuval Levav
Hi, I have more han one directory under webapps ( my appBase ). However, I would like to load each directory's apps with different tomcat 4 instances. The problem is that a context is created for each directory, although it is not declared in my server.xml.I

Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Michael
When you encode the url, the first time the jsessionid is attached to the URL, but if your browser have cookies enabled, a cookie is assigned and the jsessionid parameter is not shown anymore. thanks for your comment - but this isn't the problem! to handle the first-time URLencode after

RE: HTTP Tunnel (a response please????)

2002-04-10 Thread Stuart Stephen
Excelent, sounds ideal. Thank you very much. Stuart -Original Message- From: Marc Chamberlin [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 05:42 To: Tomcat Users List Subject: Re: HTTP Tunnel (a response please) Stuart I am using an HTTP Tunneling protocol (for serialized Java

war Deployement ?

2002-04-10 Thread RAYMOND Romain
Hello, I package my web app as a war file. Probelm is that I'd like to do all initialization in my war file. But my server configuration file (server.xml) need to intialize the weapp RDBM driver : Resource name=jdbc/myDB auth=Container

Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Torsten Fohrer
I get Tomcat 4.03 with the Connectors 4.0.4b and Apache working, but even if i put DirectoryIndex index.jsp index.htm in httpd.conf. Tomcat ignores them could somebody..have a answer thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: Clustering HTTP Sessions in Tomcat

2002-04-10 Thread David Cassidy
anyone got anything like this for the tomcat 3 series ? Ta D Dion Almaer wrote: Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4. http://www.theserverside.com/resources/index.jsp In this article we will cover one of the clustering technologies, HTTP session

Re: Is there a native JDBC driver for MS Access?

2002-04-10 Thread chuck amadi
Adrian Beech wrote: Um, okay then how stable is the JDBC/ODBC bridge? As I previously mentioned in my initial posting some bits and peices that I've read suggest that this method of connecting to a DB back end is, or can be, a little dodgy. The comments basically revolved around the

AW: Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Ralph Einfeldt
Are there special reasons why you redirect in the html and not with response.sendRedirect ? I don't think that there is an easy way to get the meta tag working. (Something like writing a filter or using mod_rewrite to rewrites /myURL?jsessionid=og9obimzx2 and using a selfmade encodeUrl())

Re: Tomcat process takes 246M whereas total java heap is 127M

2002-04-10 Thread Christophe Reynaud
Do you know if there is a simple solution to pre-compile the JSP's ? (And to tell tomcat not to re-compile the JSP's ?) Thanks Jay Gardner wrote: There are definitely memory leaks in javac. This is a problem when jspc compiles your jsp code in the same JVM as the TC server. --Jay Gardner

Re: installation

2002-04-10 Thread Atif Munir
hi to upload the files is not a problme I want to check is that working fine or not? how can i check that atif DingHui wrote: It's based on the configuration of your server. if there is a FTP service running on your server,you can upload your files with FTP client such as CuteFTP.

Re: Handle exceptions correctly

2002-04-10 Thread Raphael Di Cicco
I found that there was an error IN my error page that's why I had all this trouble ! On Tuesday 09 April 2002 17:54, Raphael Di Cicco wrote: I know but the exception is pointing to if (pageContext != null) pageContext.handlePageException(t); That's not very useful to find out what

On timeout

2002-04-10 Thread Raphael Di Cicco
Hi, I have had this problem for a long time. This may not be very difficult but still. I have a timeout on my server, let's say 10 minutes. After 10 minutes, all session variables are destructed, so the user gets an exception message once he tries to interact with the application. Is there

Re: installation

2002-04-10 Thread DingHui
There must be a JSP/Servlet engin running on your server,such as TOMCAT, JRun,JServ,etc. - Original Message - From: Atif Munir [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 5:39 PM Subject: Re: installation hi to upload the files is not

Re: Starting Tomcat 4 as an NT service

2002-04-10 Thread Joe Meirow
NT Services are installed at the command line with --install and removed with --remove following the .exe name. Notice there are TWO hyphens before install and remove. - Original Message - From: Ken Anderson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, April

Re: On timeout

2002-04-10 Thread Giorgio Ponza
maybe you can use this method in your JSP boolean session.isNew() saying if the session id is just created or not. Giorgio - Original Message - From: Raphael Di Cicco [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 11:06 AM Subject: On timeout

realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
I am getting error like at the bottom when i want to use jdbc realm against oracle 9i db, is this a bug ? how can i resolve this , Starting service Tomcat-Standalone Apache Tomcat/4.0.2 Catalina.start: LifecycleException: Exception opening database connection: jav a.sql.SQLException:

RE: realm jdbc oracle problem

2002-04-10 Thread Murat Buyukkal ([EMAIL PROTECTED])
Mehmet, Oracle provides a new JDBC driver for 9i instead of that for 8i. Are you sure that you are using correct driver? Murat. -Original Message- From: Mehmet Ugur Kuzu (LinkPlus) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:04 PM To: 'Tomcat Users List' Subject: realm

mounting a hard disk to linux

2002-04-10 Thread Lalit Nagpal
hello, i am trying to mount a hard disk of 2 gb onto linux. what should i do to mount it i did try to format it with ntfs file system and then entered the entry into the fstab file and specified the file system as ntfs, but i got the message that the file system is not supported by kernel.

RE: mounting a hard disk to linux

2002-04-10 Thread Murat Buyukkal ([EMAIL PROTECTED])
If possible, you can format it as FAT32 then mount it as VFAT. Murat. -Original Message- From: Lalit Nagpal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: mounting a hard disk to linux hello, i am trying to mount a hard disk of 2 gb

Re: AW: Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Michael
Am Mittwoch, 10. April 2002 10:29 schrieben Sie: Are there special reasons why you redirect in the html and not with response.sendRedirect ? yes - a response.sendRedirect won't be recognized by the user! I want the user to see, that something happened - and after a few seconds he is going to

Re: Re: urlencoded session html-redirection-bug

2002-04-10 Thread Giorgio Ponza
So, try this way: meta http-equiv=refresh content=10; URL='myURL?;jsessionid=og9obimzx2' with the single ' after = and before closing and the ? before the jsessionid i tried with some url and works, hope also for you Regards Giorgio - Original Message - From: Michael [EMAIL PROTECTED]

Re: realm jdbc oracle problem

2002-04-10 Thread Galbayar
check your driver - Original Message - From: Mehmet Ugur Kuzu (LinkPlus) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 18:03 Subject: realm jdbc oracle problem I am getting error like at the bottom when i want to use jdbc realm against

native lib not found in common/lib but works in WEB-INF/lib

2002-04-10 Thread Christoph Kiehl
Hi, I have a problem with tomcat and the oracle oci driver. This only occurs if I use jdk 1.4 and works fine with jdk1.3. The Oracle oci driver needs a native library (ocijdbc8.dll). This library is on my PATH and tomcat loads it fine if I place the oracle java libs (classes12.jar) in

Re: Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Julien OIX
Torsten Fohrer a écrit : I get Tomcat 4.03 with the Connectors 4.0.4b and Apache working, but even if i put DirectoryIndex index.jsp index.htm in httpd.conf. Tomcat ignores them could somebody..have a answer thanks edit $TOMCAT_HOME/conf/web.xml or your

mod_jk for apache2.0 compilation error

2002-04-10 Thread Darren Chuck
There's error when i compile J-T-C form CVS My sys config: kernel 2.4.18 glibc 2.2.5 apache 2.0.35 tried both j2sdk 1.4 and 1.3.1_03 here's what i get after running build script: /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_jk.so -rpath /u sr/local/apache2/modules

Re: installation

2002-04-10 Thread peter lin
if they're not simple JSP that can't be tested with just a browser, than you may have to do what everyone else does, use JUnit or something similar. It all depends on the level of testing you want to perform. Regression testing, basic does it work test, white box or black box testing. There's

Re: mounting a hard disk to linux

2002-04-10 Thread David Cassidy
2 daft questions ... 1) whats a post like this doing in the tomcat forum ? 2) why WHY WHY would you format a disk to be used by linux as a windows format ? Try ext2 / ext3 / any of the other native formats ! They are alot better ! NTFS is an 'experimental' filing system under linux

AW: Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Torsten Fohrer
thanks, for help but it doesn't work, the only thing that is working is this Command in httpd.conf JkMount /* ajp13.but then can I use tomcat purethats faster .. i have found it that's helpbut now static index files are delivered by tomcat too... JkMount / ajp13 but

RE: Integrating with JDBCRealm

2002-04-10 Thread Williams Mark L DLPC
You can probably do this with JAAS, which is included in j2sdk1.4.0 and was an add-on on 1.3. The main problem I had originally was with the CallbackHandler, which is supposed to get input from the user. I couldn't figure out how to have the CallbackHandler object create an HTML form, send that

upgrade

2002-04-10 Thread Laura
Hi all, I have a question regarding how to upgrade tomcat. I think this problem is common to everyone because tomcat is a servlet engine which is in constant evolution. So for example I have apache + tomcat 4.0.2 with my web applications under /webapps: how can I upgrade to tomcat 4.0.3,

createNewFile method not found error(JSP)-Peculiar problem(Help please)

2002-04-10 Thread RAJESH KANNAN
Hi all, In my JSP,I am using the following code segment. java.io.File statusFile = new java.io.File(d:/temp/test1); statusFile.createNewFile(); I am using TOMCAT 3.2.3 in Windows2000 machine.(JDK1.3) It is throwing following error. org.apache.jasper.JasperException: Unable to compile

NoPermissionException in tomcat3.3.1 but not tomcat3.2.4

2002-04-10 Thread Steve Wong
Hello, I've used JNDI to replace a context's attribute. I connect using rootDN. However, I can do it in tomcat3.2.4 and in console java application. BUT NOT tomcat3.3.1 or tomcat4.0.3. Do anyone know why?? com.macroview.sso.main.SSOException: javax.naming.NoPermissionException: [LDAP: error

Re: On timeout

2002-04-10 Thread David Kavanagh
In my web app, I check the session variable in each servlet and redirect to my login servlet if the sesssion is null. I use a helper method in my servlet baseclass. If you want to see it in action, try http:www.epixography.com/light/Start The session timeout is 30 minutes, so be prepared to

RE: On timeout

2002-04-10 Thread Williams Mark L DLPC
I don't know if there's an easy way to tell your user that they've timed out before theysubmit something, but in your JSP/servlet action you can also use something like HttpSession session = request.getSession(false); where request is HttpServletRequest. If session is null, the timeout has

AW: upgrade

2002-04-10 Thread Ralph Einfeldt
Although we currently are not using tomcat this is how we would use it: /usr/local/java/jakarta-tomcat-4.0.2 /usr/local/java/jakarta-tomcat-4.0.3 Here we have the original distribution. /www/online/domain/ conf/ Here we have our edited config files for the site bin/ Here we have

Custom error message

2002-04-10 Thread laoudesk
With Tomcat 3.2.4, i try to define a custom message for the error code 500 without changing the LocalStrings.properties file. I use response.sendError(500,particular message) in order to define a new message but it doesn't works. The error message is always the same (Cf. Ressources Bundle) Does

Re: OT: Question to hardware requirements

2002-04-10 Thread Bernhard Wraase
This is difficult question which may be the reason why nobody has answered yet. We run several standalone tomcat on solaris and linux. They serve mainly dynamic pages with tight database access. I have no clue whith the XML to HTML stuff. From my experience with it I give a guess: 1) 1000

Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Ric Searle
Hi, I'm developing a web application using the Struts framework, running on Tomcat 4.0.3, from which I need to access a MySQL database. I've read various mailing lists etc looking for the best way to achieve this, but not had much luck. Struts provides a basic Connection Pool, but user

RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Nicholson, Dale
Try something like this: select a.fieldname1, b.fieldname1 from table1 a, table2 b Where you put the a after the first table name and the b after the second table name. Then you refer to the fieldnames with those letters first so sql knows which table to look in for that field. Dale

RE: realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
yes i am sure -Original Message- From: Murat Buyukkal ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:34 PM To: Tomcat Users List Subject: RE: realm jdbc oracle problem Mehmet, Oracle provides a new JDBC driver for 9i instead of that for 8i. Are you

RE: realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
it was just about a classpath problem -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:53 PM To: Tomcat Users List Subject: Re: realm jdbc oracle problem check your driver - Original Message - From: Mehmet Ugur Kuzu (LinkPlus)

Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread David Cassidy
I would suggest a minor addition to the below ... where a.fieldname1= b.fieldname1 otherwise the results could be eerrr well rather large ( select what you want ...) Nicholson, Dale wrote: Try something like this: select a.fieldname1, b.fieldname1 from table1 a, table2 b Where you

Re: Tomcat4 / OpenLDAP - Encrypted connectionPassword in JNDI Realm(server.xml) - Please Help

2002-04-10 Thread Richard Priestley
Hi Jeremy, Sorry to muddy the waters but here's my $0.02 It is possible to improve things a tiny bit without changing Tomcat (apologies if you already know this). It is not necessary for Tomcat to bind to your OpenLDAP server as OpenLDAP's rootdn. You can provide a dn and password for a

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread peter lin
if performance is a critical requirement, than I would suggest writing a custom bean specific to the jdbc driver you intend to use. If Jakarta common provides all the features you need, than go with it. If your application needs to support multiple databases and jdbc drivers, be warned that not

CLIENT-CERT auth by webapp

2002-04-10 Thread Richard Priestley
Hi, Has anyone managed to get CLIENT-CERT authentication to work at the webapp level rather than specifying clientAuth=true in a connector and having to use it for all webapps? I've got it to work at the connector level but not by webapp. Thanks, Richard -- To unsubscribe: mailto:[EMAIL

Re: Tomcat intermittent failures

2002-04-10 Thread David Bank
Joseph, Thanks for writing. I'm aware of the artificial connection-limit inder W2KPro, but we are running the server product, which admittedly is the Pro product with a few Registry changes and a few things like Terminal Server tacked on. In any case, I don't think we're running into the problem

REPOST: XXX Assert failed, buff too small -- Help!!

2002-04-10 Thread John Roth
I am *still* troubleshooting this issue, and am in dire need of help. Is anyone out there uploading large files via SSL/HTTPS? New discoveries: 1. Added some debugging code to Ajp13.class to output buff, length, etc., results are as follows: JR: Array: buff(from)=[B@7f92f5, pos(fromIndex)=6,

best combination of jdk and tomcat version(with iplanet)

2002-04-10 Thread ru okamoto
im to develop a new system w/ iPlanet, jdk, tomcat combination. what was the best combination of jdk and tomcat(version) in terms of stability? im thinking of jdk131 and tomcat 3.4 right now. also the compatibility with iPlanet has to be considered. im not using any new jsp/servlet version(1.2 and

Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
As far as I understand, calling request.getPathInfo() should return an encoded string. With Tomcat 3.3.1, it returns the plus sign instead of encoding it to a space. (Besides, it works ok with Tomcat 3.2X) Is this a bug or intended? Thanks in advance Olaf Vetter -- To unsubscribe:

RE: xml - unspecified error in IE 5.5, Tomcat 3.2.1

2002-04-10 Thread Mike Millson
If encoding isn't specified, the encoding should default to utf-8 (per the W3C xml spec). I don't know of any reason not to use utf-8. Thank you, Mike Millson Web Systems Engineer Sun Certified Programmer for Java2 Platform AableTech Solutions, Inc.

Tomcat 3.2.1 - Axi problem

2002-04-10 Thread Martin Mauri
I've followed the installing instructions but anyway I get the following error when I first try to run the Administer Axis. Localization: /axis/servlet/AdminServlet Internal servlet error: java.lang.AbstractMethodError at

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Ric Searle
Performance isn't so important as future-proofing - I don't want to have to re-write the db interface when struts drops it's connection pool provision, for example. I believe that mm.mysql does support pooling, although I take your point that others may not. I can't see us moving away from

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
According to RFC2396, '+' is are reserved character in the query string, but not in the path portion of a URL. There was a bug fix in Tomcat 3.3.1 to avoid translating '+' to ' ' in the parts of the URL prior to the query string. Cheers, Larry -Original Message- From: Olaf Vetter

Re: Content-Encoding - URGENT Please

2002-04-10 Thread yilmaz
Marhaba Ibrahim, I am not sure if someone else has already answered your question If you are using JSP 1.2 or servlet 2.3 (if you use tomcat 4 ) then you can use response.setCharacterEncoding(UTF-8); method. I think this will work. Cheers :) - Original Message - From: Mohammed Ibrahim

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread rainer jünger
Hi Ric, Struts provides a basic Connection Pool, but user comments suggest that this is not suitable for large-scale, high-traffic applications, and also that it will soon be removed from Struts in favour of a container-managed connection pool So what will Tomcat Users do? Will Tomcat get a

Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Brook Monroe
Greetings, y'all. * I've read all the documentation I can find. * I've emulated all the examples. * I've asked people I know who have set up servlets before. I still can't get access to the servlet I just wrote and installed. No matter how I've set up servlet-mappings, or url-patterns, or

Newbie question

2002-04-10 Thread Javier A. Leyba
Hi I'm trying to do my first servlet. I've compiled a simple HelloWorld class. Now, where is the root Tomcat directory where may I put it ? How could I define a new one for my tests ? Thanks in advance jl _ Do You Yahoo!? Get

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
OK. But now, is there any way to distinguish between a '+' that results from encoding '%2B' and a '+' that stands for ' ' ? In other words, if request.getPathInfo() returns '/Hit+Run' , this could be '/Hit+Run' or '/Hit Run' ... Olaf [EMAIL PROTECTED] 10.04.2002 17:07 According to RFC2396,

Re: AW: Tomcat intermittent failures

2002-04-10 Thread David Bank
Ralph, Thanks for writing. We've been able to reproduce the situation on machines which were directly connected to the same LAN on which the servers are located (and therefore no proxy was involved), and we tried clearing browser caches on these machines. The problem persisted. When the problem

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Ric Searle
Not sure - probably a little out of my depth here, but poolman (www.codestudio.com), which used to do connection pooling stuff is no longer available, and it's author claims that: If you are looking for connection and object pooling mechanisms, they can now be found in

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Craig R. McClanahan
On Wed, 10 Apr 2002, rainer jünger wrote: Date: Wed, 10 Apr 2002 17:18:34 +0200 From: rainer jünger [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 4.x and Database Connection Pooling Hi Ric, Struts provides

RE: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Jim Urban
If you are looking for connection pooling which will work with any database check out DbConnectionBroker at http://www.javaexchange.com/ Jim -Original Message- From: Ric Searle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 10:23 AM To: Tomcat Users List Subject: Re:

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread rsequeira
Try: http://localhost:8080/servlet/seating or http://localhost:8080/servlet/MySeatingServlet RS Brook Monroe [EMAIL PROTECTED] on 04/10/2002 10:13:56 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: Getting a servlet

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Jeff Larsen
Under what context path is your servlet deployed? The context path is typically the name of the directory under $TOMCAT_HOME/webapps in which your app resides. Unless your app is deployed in the ROOT context, your URL should be http://localhost:8080/context/seating. Jeff - Original

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Fabian Sommer
Hi! something not directly mentioned in the howtos for deploying a servlet: you have to update the TOMCAT_HOME/conf/server.xml file for installing your application in the web-app-directory. You have to add an entry like Context path=/seating docBase=seating debug=0

AW: AW: Tomcat intermittent failures

2002-04-10 Thread Ralph Einfeldt
Sorry , but if one jsp works and another not, that doesn't nessesarily mean that the one that didn't work hit the server just because the other did it. With verification i wass thinking of looking at the access log. If apache was hit, hat you should find an corresponding entry in the

Config Q: Using beans without creating context

2002-04-10 Thread Joe Sternlicht
I have tomcat running with the following virtual hosts: localhost - docroot: C:\Program Files\Apache Tomcat 4.0\webapps\ROOT locala - docroot: D:\locala localb - docroot: D:\localb localc - docroot: D:\localc One JSP on localc uses a bean. The page works fine if I stick it in \examples\jsp and

Re: repost an unanswered question.

2002-04-10 Thread yilmaz
I have the same problem with tomcat 4.0.1 running on win2000. But hte problem is not persistent, namely , sometimes happens sometimes not. I couldn't find out the reason, so i couldn't give any explanation to our client other than saying just refresh and the problem will go away. Any one has a

Re: Persistent Context names with auto-deploy

2002-04-10 Thread Jeff Larsen
Since you are using the manager app to deploy your war files, there is no need to keep the war files in the webapps directory. Make a separate directory outside of /www/webapps, perhaps /www/war. Then Tomcat won't find them when it starts up. Jeff - Original Message - From: bryan

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread rsequeira
Gosh! I just read the reply I posted. Oops! with a big O. The URLs should actually be: http://localhost:8080/servlet/Seating or http://localhost:8080/seating Ofcourse, assuming you deployed your servlet under the ROOT webapp. And since the second URL doesn't work for you, I'd check to see if

RE: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Brook Monroe
Fabian: something not directly mentioned in the howtos for deploying a servlet: you have to update the TOMCAT_HOME/conf/server.xml file for installing your application in the web-app-directory. You have to add an entry like Context path=/seating docBase=seating debug=0

Re: Newbie question

2002-04-10 Thread yilmaz
Hi Javier! Servlets should be under webapps/yourcontext/WEB-INF/classes/ directory. yourcontext can be anyone like, ROOT, examples,etc. One more thing do not forget to append /servlet/ to your url. Just to be more helpful for a new comer : say you put your HelloWorld servlet under

Re: Newbie question

2002-04-10 Thread Javier A. Leyba
On 11/04/2002 at 0:18 yilmaz wrote: Hi Javier! Servlets should be under webapps/yourcontext/WEB-INF/classes/ directory. yourcontext can be anyone like, ROOT, examples,etc. One more thing do not forget to append /servlet/ to your url. Just to be more helpful for a new comer : say you put your

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Jeff Larsen
What path does the Manager display for your app? If tomcat is auto-deploying your app, then it should be /MySeatMap since that is the subdir of webapps in which your WEB-INF/web.xml resides. Then you should be accessing http://localhost:8080/MySeatMap/seating If you are using a Context

RE: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Brook Monroe
Jeff: The path listed in the manager is /MySeatMap. http://localhost:8080/MySeatMap/seating works. Amazing. :) Got a big list of errors to resolve, which is what I was looking for. Thanks! (Off for the rest of the day...see y'all in the AM) jbm! -Original Message- From: Jeff

FW: Tomcat 3.3.1 on HP-UX

2002-04-10 Thread Kairam, Raj
After installing tomcat 3.3.1 on a HP-UX 11 box and setting up required variables and verifying network related files, I am getting the following errors when I run the startup.sh. suerr.txt Needless to say, when I try the url http://localhost:8080/index.html I get following errors.

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread rainer jünger
Hi Craig, So what will Tomcat Users do? Will Tomcat get a container manages connection pool? http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html What is the reason for removing it form Struts? That was a hypothetical example of a possible future situation that

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread rainer jünger
Hi Jim, If you are looking for connection pooling which will work with any database check out DbConnectionBroker at http://www.javaexchange.com/ DbConnectionBroker is only providing as the developer calls it a 2 Tier model. So there is not actually a Connection Pool that manages the

WAP Woes

2002-04-10 Thread Graham Stirling
Dear All, We're having trouble using Tomcat 3.2 to serve up WML with some WAP gateways. For testing purposes, I'm using a very simple hello world jsp that can be accessed without any issue via some gateways, but on others the request just times out. Does anyone have any ideas? Unfortunately, I

J2SE v1.4 Compatibility

2002-04-10 Thread Jim Urban
Is a J2SE 1.4 version of Tomcat available? Jim Urban Product Manager Netsteps Inc. Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

RE: J2SE v1.4 Compatibility

2002-04-10 Thread Jolet, John
i'm running it on 1.4. -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:04 PM To: Tomcat-User Subject: J2SE v1.4 Compatibility Is a J2SE 1.4 version of Tomcat available? Jim Urban Product Manager Netsteps Inc. Suite 295 500 Park Blvd.

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Craig R. McClanahan
On Wed, 10 Apr 2002, rainer jünger wrote: Date: Wed, 10 Apr 2002 18:42:39 +0200 From: rainer jünger [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 4.x and Database Connection Pooling Hi Craig, So what will

Re: Newbie question

2002-04-10 Thread Javier A. Leyba
On 11/04/2002 at 0:18 yilmaz wrote: Hi Javier! Servlets should be under webapps/yourcontext/WEB-INF/classes/ directory. yourcontext can be anyone like, ROOT, examples,etc. One more thing do not forget to append /servlet/ to your url. Just to be more helpful for a new comer : say you put your

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
I think if request.getPathInfo() returns '/Hit+Run', then the path info was '/Hit+Run' or '/Hit%2BRun'. The path would have to be '/Hit%20Run' for getPathInfo() to return '/Hit Run' on Tomcat 3.3.1. Cheers, Larry -Original Message- From: Olaf Vetter [mailto:[EMAIL PROTECTED]]

RE: J2SE v1.4 Compatibility

2002-04-10 Thread Jim Urban
Have you had any problems? Do you use any other packages such as FOP, Xerces, Xalan, Batik etc with your servlets? Have you used JDBC 3.0 with servlets? We are considering the move to 1.4 and we would like to avoid the common pitfalls others have had. Thanks, Jim -Original Message-

RE: Newbie question

2002-04-10 Thread Ricky Leung
I've tried but it didn't work. I've made a new directory called classes under /Program Files/Apache Tomcat 4.0/webapps/ROOT/WEB-INF and I copied my HelloWorldExample.class to this directory. From my browser I tried http://localhost:8080/servlet/HelloWorldExample and I received a The requested

Problems w/ NS3.62 and Tomcat 3.3 (nsapi_redirector.so)

2002-04-10 Thread Dennis Vasko
Hi, I'm trying to configure Netscape Server (3.62) to handle jsp through Tomcat 3.31. Tomcat seems to work just fine. We compiled nsapi_redirector.so and it finished without any hassle. But after configuring NS according to this guide:

Mod_WebApp trouble

2002-04-10 Thread Edson Carlos Ericksson Richter
Hi! I'm working for a long time using Tomcat (3.1, 3.2, 3.3, 4.0 and now 4.0.3). I have several apps that uses JNDI DataSources to access database. All working fine (congratulations by great work to Jakarta people). Now, I'm trying to use Apache Httpd as main server, and use Catalina only to

java.lang.NullPointerException

2002-04-10 Thread Short, Dave
I've just configured Tomcat 3.3a and Apache 1.3.24 on a W2K professional machine. Everything seems to work ok (Apache forwards servlet requests to Tomcat). However, when I try to access my servlet the following message is written to Tomcat's log directory: 2002-04-10 10:15:58 - /PSIRxConnect:

How to pre-compile JSP's ?

2002-04-10 Thread Christophe Reynaud
Do you know if there is a simple solution to pre-compile the JSP's ? (And to tell tomcat not to re-compile the JSP's ?) Thanks Jay Gardner wrote: There are definitely memory leaks in javac. This is a problem when jspc compiles your jsp code in the same JVM as the TC server. --Jay Gardner

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread rainer jünger
Hi Craig, Sorry somehow I don't understand your answer. Struts is ***NOT*** going to remove its own connection pool :-). Thanks thats an answer even I can understand ; ). However, the internal implementation is changing in Struts 1.1 to use the commons-dbcp implementation

RES: Mod_WebApp trouble

2002-04-10 Thread Edson Carlos Ericksson Richter
I've discovered what I'm doing wrong: I need to name virtual host with same name that Apache expects to see... Thanks to all. Atenciosamente, Edson Carlos Ericksson Richter Gerente de Tecnologia ECONET Soluções Web +55 61 326 5115 -Mensagem original- De: Edson Carlos Ericksson Richter

Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Ken Anderson
Tomcat Standalone is not an enterprise webserver, and will not stand up to the pounding that Apache can take. I think you would find that your response time drops off rather quickly if you are hosting 200 active virtual domains. If you don't serve many concurrent requests, and don't need the

  1   2   >