RE: Precompiled jsp's

2001-10-24 Thread Alex Colic
Hi, I am figuring this out myself. I used the -webxml flag to create a new web.xml file. It takes the jsp files and creates servlet and servlet mapping entries. I then copied these entries over to my original web.xml file. I then started my app. It worked fine. Although in the servlet mappings,

Re: X Windows and Tomcat

2001-10-24 Thread Gustavo Lima
Krasi, you need to install a dummie Xserver named Xvfb. With this Xserver running you can shut your Xwindows without stopping tomcat. You´re welcome Gustavo OPENGATE Gustavo P. M. Lima Supervisor de Sistemas http://www.opendf.com.br [EMAIL PROTECTED] - Original Message - From: "Kras

Re: Precompiled jsp's

2001-10-24 Thread Carl Bacher
You should be putting your uncompiled jsp's in your context's root directory (webapps/your-context/your.jsp). Tomcat will do the compiling for you. When you access it via http://host:port/your-context/your.jsp, Tomcat will compile it for you and put the class file (and source file) in the 'work'

tomcat session problem

2001-10-24 Thread Rinku Randhawa
Hi there, I am using jakarta-tomcat - 3.2.3 server to run my project. I am finding that session tracking, when more than one browser window is opened at one time, doesn't come out to be correct. I am using its inbuilt session object and the cookies are enabled in my browser. When more than one se

log-off event bug in JDK 1.3.1

2001-10-24 Thread Hassan, Steve
Refering to the following: "Notice for JDK 1.3 users: There is a known problem in JDK 1.3 that affects Java applications being run as Windows NT services. The bug causes the service to terminate when the currently logged in use

RE: Compilation Error when building Tomcat

2001-10-24 Thread Nitin Vira
Hi Craig, I am really sorry for taking up too many of your resources on this, but i just cant figure out how to get tomcat to build. I used the release version of tomcat source and i think it gets build upto dist-static and then it gives the following error, i think in target dist-prepare, to

problems on integration Apache 1.3 and tomcat 4.0 under NT environment

2001-10-24 Thread Bin . Huang
> Hi, there, > > Here is the problem: > > I succeed install Apache 1.3 and tomcat 4.0. it works fine independently. > > Now I am trying to integrate them together as following: > > 1) downloaded mod_webapp...for win32 and unzipped > > 2) copied mod_webapp.so and libaper.dll to the module

RE: WAR auto-deploy & context permissions

2001-10-24 Thread Brad . Moreland
Carl: I assume you are using a unix variant. You could chown all of the new files in the webapps directory... You could add this to the startup script. Brad Moreland -Original Message- From: Carl Bacher [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:22 PM To: [EMAIL PROTEC

File Download - CSV question ****

2001-10-24 Thread Evan Swanson
I wrote an application that for Tomcat 3.2 running on window. In the HTML the is a reference ( ) to the filename. When I run this on windows I get a popup "save as" selection box. When I run this on Tomcat4.0 on Unix it no longer gives me the selection box but instead displays the data on the

RE: Precompiled jsp's

2001-10-24 Thread Randy Layman
Create servlet mappings from the desired URL (i.e. /directory/file.jsp) to the generated class names. If you are using JSPC to precompile the files, pass it the --webxml flag and it will generate the relevant portion of the web.xml for you. Randy > -Original Message- > From: Th

RE: Problems Running tomcat as a service

2001-10-24 Thread Vara Prashanth
Hey everyone: I solved the problem I was facing. real sorry to be so much trouble. The problem was with the wrapper.properties file as expected. There is an instance of parser.jar and jaxp.jar in the file which i happened to remove from the lib directory and replace them with xalan.jar and xerce

Can't get precompiled JSP to be welcome page?

2001-10-24 Thread Alex Colic
Hi, I have a JSP file, pwLogin.jsp that I precompiled. I then added the following to my web.xml file: pwLogin pwLogin ... pwLogin /pwLogin.jsp ... /pwLogin.jsp pwLo

RE: Problems Running tomcat as a service

2001-10-24 Thread Vara Prashanth
Just to add.I am running IIS 5.0 and jdk 1.3.1...the problem is frustratingand it has been persisting for quite some time nowplease help with this. Thanks Hello all: I am trying to get tomcat to run as a service on a win2k box but am having problems. I follow the manual for install

DB jars files in common/lib (?)

2001-10-24 Thread raj
I have 3 jar files needed for connecting to the DB (when enabling JDBC realm). I am placing them in CATALINA_HOME/common/lib. One of these jar contains com/sun/java/util/collections (don't ask me why, its a weblogic jar file). When I start Catalina, I get : java.lang.reflect.InvocationTarget

question

2001-10-24 Thread Pal, Anshu
Hi! I recently installed Tomcat ( ver 3.3) . Where should I put the non -servlet class files required by the servlets . I tried putting them under WEB-INF/classes directory. I get a java.lang.NoClassDefFoundError Exception. I tried putting them in the WEB-INF lib directory . doesn't work either.

Re: Precompiled jsp's

2001-10-24 Thread Barry White
Why are you pre-compiling the JSP's? Doesn't Tomcat do that automatically? - Original Message - From: "Thys De Wet (ZA)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 5:12 AM Subject: Precompiled jsp's > Ok so I got my JSP's compiled into class files..

Re: Precompiled jsp's

2001-10-24 Thread dhay
You have to define them in your web.xml, for each jsp like this: index JspServ.index index /index.jsp where JspServ is directory you have placed them in. Hope that helps, Dave "Thys De Wet (ZA)" <[EMAIL PROTECTED]> on 10/24/2001 05:12:37 AM Please respo

Problems Running tomcat as a service

2001-10-24 Thread Vara Prashanth
Hello all: I am trying to get tomcat to run as a service on a win2k box but am having problems. I follow the manual for installing the service and create a service successfully. jk_nt_service -i Jakarta c:\jakarta-tomcat\conf\wrapper.properties I get the response: Asked (and given) winsock 1.1

Re: servlet upload

2001-10-24 Thread Bo Xu
E B wrote: > In my webapp under tomcat, I am using oreilly's > cos.jar for uploading files. I observe that > repeated uploading of same file fails. ie., when > I upload a file for second time(different content, > same file name), in my servlet I am getting the > old file only. It is probably due

RE: Tomcat 3.3 classpath

2001-10-24 Thread Larry Isaacs
The ":staticClasspath" portion of tomcat.bat is executed only for the "env" and "jspc" actions, but not for "start" and the others. They use just: "set CLASSPATH=%TOMCAT_INSTALL%\lib\tomcat.jar". However, adding classes via the CLASSPATH is more often than not, a source of problems. A lot depend

Warp connector hangs on images (W2K)

2001-10-24 Thread Geoff Howard
I have had a consistent problem with images being served via the warp connector in trying to install TC4.0. I originally tried to piggy back this on what seemed to be the same problem in another thread -- sorry, I guess that was poor etiquette. I don't do these lists much and didn't see that in

Re: servlets path in tomcat 3.3

2001-10-24 Thread mathieu
That's fine for a couple of servlets, but I have more than 6500 servlets, I can't map them all by hand. In Tomcat 3.2, the RequestInvoker had a prefix argument which could be used to redirect matching paths to servlets With prefix="/", I could forward any request to servlets without using "/

Re: How to put getRemoteAddr() into SQL server table in Tomcat 4.0 ?

2001-10-24 Thread Jonathan Eric Miller
String updateip ="Update tbluser set incomingip= '" + request.getRemoteAddr() + "' where uname ='" + uname + "'"; Jon - Original Message - From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 12:18 AM Subject: How to put getRemoteAddr

Re: Questions on tomcat heap usage and garbage collection (avoidingO utOfMemoryError exceptions)

2001-10-24 Thread Craig R. McClanahan
The most important task in a situation like this is to find out why memory is being consumed in the first place. Generally, this is caused by one of the following types of factors: * Creating lots and lots of session attributes in your applications (which causes the objects to stay allocated

Re: WARP plugin status at 4.0.1 - README on server

2001-10-24 Thread Pier Fumagalli
Brett Porter at [EMAIL PROTECTED] wrote: > Hi, > > Looking at the README on the server where I downloaded the WARP plugin > yesterday, it said there were issues about starting/stopping tomcat and > apache recognising this, that would be corrected in the final release. > I'm assuming this is the

Re: Warp Connections and the Webapp Manager

2001-10-24 Thread Pier Fumagalli
Ross Berman at [EMAIL PROTECTED] wrote: > > I have several developers whom share a single development server. > > My apache/warp setup is as follows: > > > WebAppConnection rossConn warp localhost:8010 > WebAppDeploy ross_app rossConn /ross_app > > WebAppConnection sueConn warp localhost:801

Re: getNamedDispatcher

2001-10-24 Thread Craig R. McClanahan
Doing this trick with servlet mappings is pretty much doomed to failure, as you have discovered, because servlet mappings are applied to the lookups of request dispatchers as well. I suggest you look at using Filters (from the servlet 2.3 API) instead. For instance, you can have a Filter that is

Automatic Application Deployment

2001-10-24 Thread Brad . Moreland
Hi! I am attempting to Auto Deploy a war (clmtest.war in this case) file. I put it in the appBase ($CATALINA_HOME/webapps) and it expands automatically as expected when I restart tomcat. My problem is that I cannot access my pages from a browser. I continue to get the standard 404 error that "T

Re: servlet upload

2001-10-24 Thread Pier Fumagalli
E B at [EMAIL PROTECTED] wrote: > In my webapp under tomcat, I am using oreilly's > cos.jar for uploading files. I observe that > repeated uploading of same file fails. ie., when > I upload a file for second time(different content, > same file name), in my servlet I am getting the > old file only

Re: mod_webapp and datasource failure

2001-10-24 Thread Pier Fumagalli
Brett Porter at [EMAIL PROTECTED] wrote: > Hi, > > I have looked into the mail archives and seen others with the same > problem: when using WARP, datasources don't work as they get deployed as > "null". The solutions mentioned were: > 1) set ServerName to an IP address and the same in both that

tomcat 4.0: Plug in custom Realm

2001-10-24 Thread Maneesha Jain
Hi, I want to plug in a custom Realm class in server.xml in tomcat 4.0 ? Is that possible ? Can I need to implement the Realm interface and stick that in the server.xml file? Where should I put this class, so the tomcat can resolve it when parsing server.xml ? Is this procedure documented any

Manager App Bug

2001-10-24 Thread Frank Lawlor
On occasion I have need from my app to update the web.xml and cause the app to get restarted. I tried to do this using the manager application and found that whenever the reload command is issued from a servlet in the target app (the one to be reloaded) it causes the manager and target apps to ha

**** File Download - CSV question ****

2001-10-24 Thread Evan Swanson
I wrote an application that for Tomcat 3.2 running on window. In the HTML the is a reference ( ) to the filename. When I run this on windows I get a popup "save as" selection box. When I run this on Tomcat4.0 on Unix it no longer gives me the selection box but instead displays the data on the s

Re: Help ... Weird Problem

2001-10-24 Thread A.L.
Ignore my question... I have reinstalled the jdk and everything is fine. -Amos --- "A.L." <[EMAIL PROTECTED]> wrote: > Everything has been working fin ewith Tomcat until > all > of a sudden certain web apps stopped working. I > have > no idea what could have happened. I tried to > reinstall To

how to keep form data

2001-10-24 Thread Henry
when a user submits a form, the content is checked and if anything is invalid, the user is prompted to correct and submit the form again. how can i keep the content the user typed in before? I am using RequestDispatcher.forward("originalform.html"); is there a flag or something to set?

Re: How to put getRemoteAddr() into SQL server table in Tomcat 4.0?

2001-10-24 Thread Richard Troy
...Yet another off-topic question... This time it's masquerading as a database problem. This is a pure java syntax error... Franco, You have a constant string that includes what you think is a method call. It isn't. You have to _at_least_ close the double quotes and use plusses, like this: Str

JNDI doesn't work

2001-10-24 Thread Jaime Garcia Bonis
Hi everyone; I need help! i´m trying to set up my Tomcat 4..0.1 in such a way than I can use a DataSource in my aplicaction called FtcApp. My piece of server.xml regard this is: userscott passwordtiger driverClassName

AW: Questions on tomcat heap usage and garbage collection (avoiding OutOfMemoryError exceptions)

2001-10-24 Thread Ralph Einfeldt
Some answers: - AFAIK the only 'memory leak' in tomcat is, that every JSP class stays in memory after it is loaded. - Find out or guess the amount of memory you need to hold all your classes - Find out or guess the amount of memory you need to all session data for all concurrent sessions.

[ANNOUNCEMENT] Tomcat 3.3 RPM Fixed

2001-10-24 Thread GOMEZ Henri
A little problem was discovered by Nicolas Mailhot, in the tomcat 3.3, java part, with an incorrect tomcat init script which wasn't used the new 'nobody' work mode. Now tomcat run as nobody by default for security purposes. The RPM has been updated to -2 release and the old one removed : http:/

Re: Tomcat 4.0.1 Final and Xerces Parser

2001-10-24 Thread Frank Lawlor
I don't know what the right answer is, but I got my app to pick up the xerces parser by putting it in the jre lib\ext directory (e.g. F:\jdk1.3.1\jre\lib\ext). You might also try the tomcat common\lib. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting

Re: URGENT, Tomcat & MySQL problems

2001-10-24 Thread carlos . chaparro
why don't you try to put the .jar in the lib directory in the tomcat home tomcat-home/lib... and restart tomcat... Carlos Chaparro Taller Web, Equant Tel: 6211072 [EMAIL PROTECTED]

Servlet Mapping -- Servlet getting called twice

2001-10-24 Thread Smith, Lawrence T (Lance)
Please HELP: I have the following in my web.xml file: CardServlet /Cards/* The servlet at this point only writes out a simple hello page and debug output of getPathInfo() and getRequestURI() but it will do some pretty heavy processing which I don't want done twice. What is h

apache 1.3 and tomcat 4.0...

2001-10-24 Thread carlos . chaparro
i can't setup apache 1.3 to work with tomcat 4... in my windows2000 machine i already download de mod_webapp.dll i configured the following context: and i added the next lines to my apache httpd.conf.. LoadModule webapp_module libexec/mod_webapp.dll WebAppConnection warpConnection warp cchapa

Re: Multiple web.xml files?

2001-10-24 Thread Frank Lawlor
That would be nice. In my app, when I add a "Client" I need to add a set of security constraints, mappings, etc. It would make maintenance MUCH easier if these could be modularized. This would also require more flexibility in the organization of the web.xml file. Ideally this functionality sh

RE: Questions on tomcat heap usage and garbage collection (avoiding O utOfMemoryError exceptions)

2001-10-24 Thread Randy Layman
I think the best thing you can do is to determine where the memory is going and fix your leaks. I say your leaks because in my experience, Tomcat doesn't leak memory and doesn't take a lot of memory for each connection. Randy > -Original Message- > From: Bang, Steinar [

Why I can't connect - part 2

2001-10-24 Thread Kemp Randy-W18971
Can someone explain why I can't connect in Windows 2000 with Tomcat 4.01 and Apache 1.3.22? 1. I am using all binaries, and I put mod_webapp.so and libapp.dll in Apache directory Modules. 2. I put this entry in Tomcat server.xml after the EJB entry 3. I put this in Apache httpd.conf at th

tomcat session issue

2001-10-24 Thread Rinku Randhawa
Hi there, I am using jakarta-tomcat - 3.2.3 server to run my project. I am finding that session tracking, when more than one browser window is opened at one time, doesn't come out to be correct. I am using its inbuilt session object and the cookies are enabled in my browser. When more than one se

Why can't I connect

2001-10-24 Thread Kemp Randy-W18971
Can someone explain why I can't connect in Windows 2000 with Tomcat 4.01 and Apache 1.3.22? 1. I am using all binaries, and I put mod_webapp.so and libapp.dll in Apache directory Modules. 2. I put this entry in Tomcat server.xml after the EJB entry 3. I put this in Apache httpd.conf at th

Re: how to add context element to conf/server.xml file

2001-10-24 Thread carlos . chaparro
the "path" argument in the context is the path in the url... you must type path="/exp" not "d:\exp"... Carlos Chaparro Taller Web, Equant Tel: 6211072 [EMAIL PROTECTED]

Please explain this Tomcat problem to me.

2001-10-24 Thread Kemp Randy-W18971
I have this unusual quirk with Tomcat, and maybe someone out there can explain what is happening. 1. I have Apache 1.3.19 and Tomcat 4.01 on Solaris 5.6, with Sun JDK 1.3.1. 2. I start and stop Tomcat 4.01 with startup.sh and shutdown.sh. 3. After this, I bring up http://my.domain.name:8080, an

RE: Tomcat 4.0.1 Final and Xerces Parser

2001-10-24 Thread Rida Ligurs
OK, it ends up that I was encountering the problem because of the order in which jars in my webapps\lib directory are places in the classpath! In Tomcat 3.2 we were setting the classpath order. Will we always have to rename or jars just to get them to load in the right order? This seems like

Memory settings problem

2001-10-24 Thread Hornsby Peter
In order to start Java with increased memory settings, which of the following is correct in tomcat.bat - set _STARTJAVA=start "%JAVA_HOME%\bin\java -Xms64m -Xsx120m" set _RUNJAVA="%JAVA_HOME%\bin\java -Xms64m -Xsx120m" I'm using tomcat 3.3 Thanks, Pete -- The Information contained in this E

Looking for informations Apache/EAPI

2001-10-24 Thread Jean-Luc BEAUDET
Hi All, I looking for informations to compile Apache so that it includes support for EAPI. Any help welcome. Regards Jean-Luc ;O<

RE: How to put getRemoteAddr() into SQL server table in Tomcat 4.0 ?

2001-10-24 Thread Shah, Chintan V (Chintan)
do it like this...it should work... - if (rs.next()) String updateip ="Update tbluser set incomingip= '" + request.getRemoteAddr() + "' where uname ='" + uname + "'"; --- Note the

RE: sourcepath problem in building tomcat

2001-10-24 Thread Larry Isaacs
I don't use JDK1.2.1, so I don't know much of the details about it. However, the help message: [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-nowrite][-deprecation][-d dir][-J] file.java... is very 1.1.8-like and doesn't support the -sourcepath argument. I would guess that Ant

RE: TC 4.0.1 - Catalina.start: LifecycleException

2001-10-24 Thread Joel P. Worrall
I believe you'll find that the BindException is occurring because Tomcat has not totally shutdown. On startup, it grabs the 2 server ports you specify in the server.xml. It appears that 4.0.1 uses threads to go out and kill those server ports on shutdown. My experience has been that it takes

RE: Newbie question: Has anyone had trouble compiling code containing HttpServletRequest.getRequestURL() ???

2001-10-24 Thread Larry Isaacs
Probably a typo below, but getRequestURL arrived with the Servlet 2.3 spec. This means it is supported in Tomcat 4.x, but not in Tomcat 3.x which implements the Servlet 2.2 spec. Larry > -Original Message- > From: Greg Trasuk [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001

RE: Win2K IIS/Tomcat hangs

2001-10-24 Thread Larry Isaacs
Hi Dan, I can't tell from the log, but I believe this is the symptom you would get if you accidentally used the isapi_redirect.dll from Tomcat 3.2.3 with Tomcat 3.3. To be safe, I would double check this. To shoot in the dark a little bit, what happens if Tomcat isn't running when you try this.

AW: How to put getRemoteAddr() into SQL server table in Tomcat 4.0 ?

2001-10-24 Thread Ralph Einfeldt
The request.getRemoteAddr() must be outside the string: String updateip = "Update tbluser set incomingip= '" + request.getRemoteAddr() + "' where uname ='" + uname + "'"; > -Ursprüngliche Nachricht- > Von: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 24.

RE: Help ... Weird Problem

2001-10-24 Thread Randy Layman
Depending upon which version of Tomcat you are using: 1. TC 3.2 and previous have a bug where a misconfiguration can cause the CPU load to spike and the page to never be served 2. Some versions don't handle the situation where you require authentication but set the const

X Windows and Tomcat

2001-10-24 Thread Krasi Zlatev
Why when I close X Windows, Tomcat exits? Thank you! = Krasi Zlatev Enjoy! __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com

JDBC Problem

2001-10-24 Thread The Duke
When I want to open a connection to the oracle database I get a sql exception and the message that the Network Adapter could not establish the connection. I use following : - oracle.jdbc.driver.OracleDriver - jdbc:oracle:thin://hostname/dbname Can anyone help? Dennis Make a difference, help

Newbie

2001-10-24 Thread Sean Alphonse
Hello. I have Apache and Tomcat configured to work with each other ( so I believe ). I have installed the following: Linux/Red Hat 7.1 Apache 1.3.19 (RPM) Tomcat 4 (RPM) mod_webapp 1 (RPM) tomcat4-webapps (RPM) On a Red H

More experiments with changing the default (/) mapping

2001-10-24 Thread Dr. Evil
I have figured out a few things about how servlet-mapping and RequestDispatcher might work together. If I put in a servlet-mapping entry for /* (which will catch every request coming in to the server, which is something which I need to do), and I make the servlet which handles it look like this:

Precompiled jsp's

2001-10-24 Thread Thys De Wet (ZA)
Ok so I got my JSP's compiled into class files.. Placed them in /WEB-INF/classes.. Now how do I tell Tomcat 3.2.3 to use these class files ... ANy help PLEASE .. *begs on knees* ** This email and any files transmitted wit

Re: Tomcat 4.0.1 not updating the webapp

2001-10-24 Thread Sergey V. Udaltsov
> I think it's a JDK bug. Since the WAR will be opened through a JAR URL, it > is cached by the JDK until the JVM is terminated. I tried everything (since > it caused another problem), but there's no workaround unless you make the > URLs strings different. Cool! OK, I'll try IBM's JDK. > I'm not

Tomcat 3.3 classpath

2001-10-24 Thread Hornsby Peter
Cheers for the earlier suggestion on the problems with using Saxon, I've now installed Tomcat 3.3 and that problem has disappeared. However: Tomcat is installed in d:\tomcat3.3. I want to reference some class files in d:\. I've tried editing the :staticClasspath part of tomcat.bat, putting the

Where can i set up my datasource?

2001-10-24 Thread Jaime Garcia Bonis
Hi everyone; Could anyone tell me where i can set up a datasource I know I have some tags like and so on in the web.xml But Where i have to set up the connection stream (jdbc:oracle:thin:@zagarron:1521:orcl) the user and password to connect to the data base Thanks in advanced

RE: Tomcat and firewalls...

2001-10-24 Thread dave . prout
Dave, Maybe I've got my ZoneAlarm seetings wrong. I use the basic version (not Pro), on my home pc, and run Tomcat/Java/MySql on that pc. My application doesn't seem to work when I have ZoneAlarm on. I'd like it to, as I hate leaving my home server wide open when I go to work. Dave -

RE: Servlet mapping with /

2001-10-24 Thread dave . prout
Dr Evil, This is how I do it, a little perverse, but it works. In the root, have something like this in the web.xml Default Page /mid.jsp Default Page Thus ensuring that mid.jsp is called. mid.jsp just

servlet upload

2001-10-24 Thread E B
In my webapp under tomcat, I am using oreilly's cos.jar for uploading files. I observe that repeated uploading of same file fails. ie., when I upload a file for second time(different content, same file name), in my servlet I am getting the old file only. It is probably due to caching, does anybo

Rotation of AccessLog

2001-10-24 Thread Peter Romianowski
Hi, I have a "problem" with accesslog-rotation on Tomcat 4.0.1 (an previous TC 4). First I thought it would be the right behaviour that the log is rotated upon each restart. But now I took a look into the AccessLogValve (actually I wanted to implement the rotation that works even if the server ru

Questions on tomcat heap usage and garbage collection (avoiding OutOfMemoryError exceptions)

2001-10-24 Thread Bang, Steinar
Platform: Intel PIII 797.499MHz, 256MB RAM Debian Woody GNU/Linux, kernel 2.2.19 Blackdown J2SDK 1.3.1 apache 1.3.19 tomcat 3.2.3 When using httperf[1] to stresstest JSPs on the above platform, I'm running into

mod_webapp and datasource failure

2001-10-24 Thread Brett Porter
Hi, I have looked into the mail archives and seen others with the same problem: when using WARP, datasources don't work as they get deployed as "null". The solutions mentioned were: 1) set ServerName to an IP address and the same in both that and server.xml - didn't work, tried various combina

RE: apache 1.3.20 and .so files - problem persists.

2001-10-24 Thread Brijesh Kumar
Apache was downloaded from http://httpd.apache.org/dist/httpd/binaries/win32/ i.e. apache_1.3.20-win32-no_src-r2.msi is the installable. mod_webapp from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/ For both, no compilation was done. I am using a Win2K box. Any solutions

IBM iSeries (AS/400) using Apache 2.0 and Tomcat

2001-10-24 Thread GOMEZ Henri
Apache 2.0.18 is present in iSeries (AS/400) http://www-1.ibm.com/servers/eserver/iseries/software/http/services/apache.h tm And they use tomcat also http://www-1.ibm.com/servers/eserver/iseries/software/http/services/tomcat.h tml And to link the both they use mod_jk (ajp12/ajp13/jni) ;) -

Re: Can't get SecurityRoleRef/Tomcat4 working

2001-10-24 Thread Antony Bowesman
Hi Craig, "Craig R. McClanahan" wrote: > > Unless you have changed something in tomcat-users.xml, the role > assigned to the "tomcat" user is "tomcat", not "Tomcat". Role > names, like pretty much everything else in servlets and JSPs, > are case sensitive. Sorry, I should have mentioned, I am

AW: Newbie question: Has anyone had trouble compiling code containing HttpServletRequest.getRequestURL() ???

2001-10-24 Thread Ralph Einfeldt
Looks like you have an old servlet.jar in your compile classpath (or in $JAVA_HOME/jre/lib/ext). I'm not shure with which JSDK version getRequestURL() was introduced (2.0 doesn't have it) > -Ursprüngliche Nachricht- > Von: Adam Wiener [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 23.

maximum number of concurrent users

2001-10-24 Thread Raju Jacob
Hi , How to find out the maximum number of concurrent users supported by tomcat 3.2.2. Is there any benchmarks ? Thanks Raju

upload cache disabling

2001-10-24 Thread E B
Hello In my app under tomcat 4, I am using orielly's cos.jar for upload some files. Uploading works fine first time, but for the second file if I upload the same file (different content, same filename), I am not getting the new file in my servlet. Seems to be a cache problem. Has anybody else enco

How to put getRemoteAddr() into SQL server table in Tomcat 4.0 ?

2001-10-24 Thread Miao, Franco CAWS:EX
Source code: - if (rs.next()) String updateip ="Update tbluser set incomingip= 'request.getRemoteAddr()' where uname ='" + uname + "'"; --- No erro come up, but it didn't put remo

getNamedDispatcher

2001-10-24 Thread Dr. Evil
Hi, I am trying to use ServletContext.getNamedDispatcher(String) to get a RequestDispatcher object in my servlet. The goal of this is to allow my controller servlet to hand off request processing to another servlet. What I have done is set up a default in my web.xml file, so that all requests

Re: sourcepath problem in building tomcat

2001-10-24 Thread Bill Cai
It is jdk 1.2.1: java version "1.2.1" Solaris VM (build Solaris_JDK_1.2.1_04, native threads, sunwjit) Thanks, Bill --- Bill Cai <[EMAIL PROTECTED]> wrote: > I thought that I was using at least jdk1.2. But I > willl check tonight because I have multiple jdks > installed. > > Thanks, > > Bill

RE: Compilation Error when building Tomcat

2001-10-24 Thread Nitin Vira
When i am using the older version(Readme has following title $Id: README.txt,v 1.17 2001/08/25 03:51:27 craigmcc Exp $) of the source i get following error tomcat-docs: BUILD FAILED C:\jakarta-tomcat-4.0-rc1-src\webapps\tomcat-docs\build.xml:84: Class org.apache .tools.ant.taskdefs.XSLTProces

RE: Compilation Error when building Tomcat

2001-10-24 Thread Nitin Vira
Hi, Why am i getting this error while building tomcat4.0? i am using ant 1.4 C:\Tomcat\temp\jakarta-tomcat-4.0>C:\Tomcat\jakarta-ant-1.4\bin\ant -projecthelp Searching for build.xml ... Buildfile: C:\Tomcat\temp\jakarta-tomcat-4.0\build.xml BUILD FAILED C:\Tomcat\temp\jakarta-tomcat-4.0\buil

Re: deploying the generated class files instead of jsps

2001-10-24 Thread Dmitri Colebatch
yep - you want to compile your jsps. have a look at jspc - sorry, not exactly sure what the best starting point would be. The jspc.sh script is probably a good bet, followed by the archives (o: cheers dim On Tue, 23 Oct 2001, Mike Muir wrote: > > I was wondering if there is a way to deploy t

Servlet mapping with /

2001-10-24 Thread Dr. Evil
I'm trying to do something tricky with a servlet mapping for "/". Basically, one machine will be serving a bunch of different hostnames from one IP address. For various reasons which I won't go into right now, it is an absolute impossibility to have separate IP addrs for these different machines