AW: virtual hosting questions

2002-07-29 Thread Ralph Einfeldt
It's not a direct equivalent, but you can achieve similar results. You can allow or disallow access to several resources. (files are just a small part) http://java.sun.com/j2se/1.3/docs/guide/security/index.html http://java.sun.com/j2se/1.4/docs/guide/security/index.html > -Ursprüngliche

How to Setup V-Hosts in Different JVMs in Tomcat 4.0.3(Catalina)

2002-07-29 Thread Ashish
Hi , I need your help in setting up the Virtual Hosts in different JVMs in Tomcat 4.0.3 with Apache 1.3.23 on both windows 2000 & Linux.So plz help me because I search a lot on net to get solution on this but no luck.. regards ashish -- To unsubscribe, e-mail: For

Running multiple instance of tomcat

2002-07-29 Thread Toby Saville
Problem I am trying to run two separate instances of tomcat to serv production (IP: 127.0.0.1 HOME_DIR: /web/prod ) and development (IP: 127.0.0.2 HOME_DIR: /web/dev) sites set up as virtual hosts in apache. These sites execute servlets when i dont set the home parameter of the ContextManager

Re: Little trouble with IIS 5 and Tomacat 4.0.4

2002-07-29 Thread George Hester
Well Andre I would like very much to do as you suggest. When you said do what Ignacio said to do I followed you and I followed you right up to where you said, "configure uwm.p file as Ignacio suggested." But after that it all became mush in my head. Sorry I thought maybe if I learn more about X

Tomcat 3.3.1

2002-07-29 Thread Eric Leung
Hi All, I'm upgrading an application written for tomcat 3.1.1 to 3.3.1. After fixing some bugs on using tomcat internal classes, I can startup the application in 3.3.1 with the following message Using classpath: bin/../lib/tomcat.jar Using JAVA_HOME: /opt

Re: Custom org.apache.catalina.authenticator

2002-07-29 Thread Craig R. McClanahan
On Mon, 29 Jul 2002, Tim McLaughlin wrote: > Date: Mon, 29 Jul 2002 16:00:17 -0700 > From: Tim McLaughlin <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Custom org.apache.catalina.authenticator > > Hello, > > The Question: > How do I spe

RE: Re[2]: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-29 Thread Chua Eng Huang, Cecil
I am using JDK 1.3, but am using a whole bunch of random JAR files from 1.4 . These came bundled with the eXist XML database, and that's what I am using. I will try moving my JAR files tomorrow to see how that goes. -Original Message- From: Jacob Kjome [mailto:[E

Re: virtual hosting questions

2002-07-29 Thread Guenther Starnberger
"Nikola Milutinovic" <[EMAIL PROTECTED]> writes: hello, > If you're running Tomcat-standalone, then you need elements, > but in Warp it should work without them. I think Warp Engine should > ignore elements. Or maybe it doesn't. Maybe it is used to > setup different "appBase"-s for each of the

I do not call response.sendRedirect(url) with https

2002-07-29 Thread nwalal
Hi, can tell me why I can not make a response.sendRedirect(url) in https protocol? I use apache with mod_ssl and Tomcat with mod_webapps Thanks for your help

Custom org.apache.catalina.authenticator

2002-07-29 Thread Tim McLaughlin
Hello, The Question: How do I specify a class other than org.catalina.authenticator.BasicAuthenticator to handle Basic authentication? Background: I have created a modification of org.apache.catalina.authenticator.AuthenticatorBase, called PerContextAuthenticatorBase, and have the accompanyin

Re: tomcat and netscape

2002-07-29 Thread Cunningham Emmett
I haven't played with apache and IIS. But I do know a fair amount about the iPlanet integration. If you have a more specific question then just forward it. I hope that I can help. emmett --- Durham David Cntr 805CSS/SCBE <[EMAIL PROTECTED]> wrote: > Anyone know if jakarta entries in netscape'

getHeader("Referer") and document location

2002-07-29 Thread Maria Tan
Hi, All: I have two servlets. In my first servlet,I use the document.location="SecondServlet" in my Java script for URL Rewriting, In my second servlet, i use getHeader("Referer") to get the referer. It works well in Netscape, but in IE(5.5),it always returns null. String ref = (String)request

Deploying precompiled JSP

2002-07-29 Thread St-Germain, Sylvain
Hi all, I want to distribute my webapp providing pre-compiled JSP. I am not bundling a WAR though (I found some messages about providing pre-compiled jsp but they relate to a WAR) Is it possible to provide pre-compiled JSP without of a WAR? So far I can build all my JSP and the delta between

RE: what is warp?

2002-07-29 Thread Mike Jackson
"Web Application Remote (Access|Control)+ Protocol", or at least that's what the source docs say. It goes really fast? :) --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Zhenxin Wang [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 2:13 PM > To: [EM

RE: exploding WAR file via ant

2002-07-29 Thread Keith Wannamaker
Look at unzip | -Original Message- | From: Chris Ruegger [mailto:[EMAIL PROTECTED]] | Sent: Monday, July 29, 2002 3:48 PM | To: Tomcat Users List | Subject: exploding WAR file via ant | | | Does anyone have an ANT build.xml snippet | that will expland a WAR file foo.war to the | Tomcat

Symlink access error

2002-07-29 Thread SomchaiDion
Dear sir, I am using Tomcat 4.1.3-LE-jdk1.4 with JSDK 1.4.0_01 on Linux(Mandrake 8.1). I want to add my data on CD-ROM into my homepage. So, I set my user homepage(~lsomchai) by using tag in server.xml file as follow. In my homepage directory, there is the Test subdirectory and the TestSym

what is warp?

2002-07-29 Thread Zhenxin Wang
This maybe a trivial question, looks like it is a protocol. What does it stands for? What is the characteristic of it? Thanks! --Zhenxin Wang DoCoMo USA Labs

GetPort returning -1 from applet

2002-07-29 Thread Sanjay Bahal
Trying to get portnumber from an applet running on Apache. get the port number as -1. This is whether I use the url with/without the port number- URL currrentPage = getCodeBase(); String protocol = currrentPage.getProtocol(); String host= currrentPag

Re: opening JAR file from within Tomcat App

2002-07-29 Thread Craig R. McClanahan
On Mon, 29 Jul 2002, Chris Ruegger wrote: > Date: Mon, 29 Jul 2002 13:30:09 -0400 > From: Chris Ruegger <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: opening JAR file from within Tomcat App > > Thanks for the inf

RE: JDBC Pool Manager

2002-07-29 Thread Mike Jackson
Here's the specific url: http://sourceforge.net/projects/poolman/ --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Roger Maltby [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 8:28 AM > To: Tomcat User (E-mail) > Subject: JDBC Pool Manager > > > >

RE: JDBC Pool Manager

2002-07-29 Thread Mike Jackson
poolman... It's available on source forge. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Roger Maltby [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 8:28 AM > To: Tomcat User (E-mail) > Subject: JDBC Pool Manager > > > > I need to have a con

Re: exploding WAR file via ant

2002-07-29 Thread rsequeira
What about the attribute "unpackWARs=true" RS "Chris Ruegger"

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
isapi_redirector is what you want. You can get it from the tomcat 3.3 distribution Here are possible problems (use the ajp connector docs for IIS as reference) http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html (bottom half of page) Check your registry entries, typos can be a pr

JDBC Pool Manager

2002-07-29 Thread Roger Maltby
I need to have a connection pool for my JDBC connections. I have tried BitMechanics but it is not JDBC 2.0 compliant. My DB vendor recommends a 2.0 compliant pool manager. Any recommendations? Thanks Roger Maltby, Developer Realm Business Solutions (Canada), Inc. 302 Town Centre Boulevard, S

exploding WAR file via ant

2002-07-29 Thread Chris Ruegger
Does anyone have an ANT build.xml snippet that will expland a WAR file foo.war to the Tomcat webapps directory? We have to explode the WAR file so that Apache can find the static files. Thanks, Chris

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Paul_Anastas
You mentioned mod_jk. I thought that was only for use with an Apache web server. If that's not the case then that's my problem. I don't have one. Thanks, Paul -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Turner, John
Yes, the problems are either with the IIS setup, or the connector between IIS and tomcat, which is probably mod_jk and it's configuration. This might help: http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [ma

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Paul_Anastas
Is that the ISAPI_REDIRECTOR.DLL file? Maybe I should try a newer version. Paul -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: jnar file best practices tomcat 4.x

2002-07-29 Thread Charles Baker
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > Howdy, > > >/path/to/webapps/app/web-inf/lib > > > >Is this a good practice? Or should they go in the > >common/lib or perhaps the JDK's on lib/ext ? If > this > >or a similar topic has been beat to death already > just > >tell me to go read archi

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Turner, John
Yes, and that's a 100% indicator that something is wrong with either the IIS configuration or the configuration of the connector between the two. In other words, it's not a tomcat problem. John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re[2]: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-29 Thread Jacob Kjome
Hello Greg, The advice below to store your application accessible classes in $TOMCAT_HOME/server/lib/ is bad information. That will only be seen by Tomcat itself. If you want both Tomcat and apps to see your library, you need to store that in $TOMCAT_HOME/common/lib or in $TOMCAT_HOME/lib (anal

Re[2]: opening JAR file from within Tomcat App

2002-07-29 Thread Jacob Kjome
Hello Chris, put them in WEB-INF and do: InputStream is = getServletContext().getResourceAsStream("/WEB-INF/myConfig.xml"); That is guaranteed to work whether your app is served off the filesystem (in a directory) or directly from a .war file. Alternatively, you can do: InputStream is =

RE: jnar file best practices tomcat 4.x

2002-07-29 Thread Shapira, Yoav
Howdy, >/path/to/webapps/app/web-inf/lib > >Is this a good practice? Or should they go in the >common/lib or perhaps the JDK's on lib/ext ? If this >or a similar topic has been beat to death already just >tell me to go read archives and I cheerfully will. Thanks. You don't want to put things in

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Paul_Anastas
JAVA_HOME is set correctly. When I enter http://localhost:8080/examples/ etc... JSP's execute correctly. This forces Tomcat to be the web server, am I correct? Paul -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
How do you know that Tomcat is intercepting these requests? It sounds to me like it is not. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 1:23 PM > To: [EMAIL PROTECTED] > Subject: Problem with IIS Win2K + Tomcat > > > I am

Is org.hsql.jdbcDriver hardcoded somewhere in the Linux installation of Tomcat 4.0.4 ?

2002-07-29 Thread Glow Nair
Hi I wrote a simple example to demonstrate database access using JNDI. It works perfectly on Windows with Tomcat as a standalone installation. Under Linux, I keep getting the following error: -- javax.naming.NamingException: Exception creating Dat

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Turner, John
Any error messages? Sounds like tomcat isn't even getting the JSP requests at all, which would mean a problem with the connector configuration. Just to be sure, you're saying that http://localhot:8080/examples/ doesn't give you anything or doesn't execute properly? John Turner [EMAIL PROTECTED

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Gary_Evans
Is your JAVA_HOME environment variable set to C:\jdk1.4.0 (or wherever jdk 4.1.0_01 lives on your system)? That's likely to be the problem. Cheers, Gary Evans, MCSE, MCP+I Systems Administrator SAIC 850-245- x3329 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [m

tomcat and netscape

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
Anyone know if jakarta entries in netscape's obj.conf file is equivalent to entries in the uriworkermap.properties file when integrating with IIS and Apache? Thanks, Dave -- To unsubscribe, e-mail: For additional commands, e-mail:

Problem with IIS Win2K + Tomcat

2002-07-29 Thread Paul_Anastas
I am running Tomcat 4.0.1 and J2SDK 1.4.0_01 on Win2K. I finally got Tomcat to intercept /examples/* so it picks up HTML pages ok but will not execute JSP code. The browser just displays them on the screen as text or only executes the HTML part. I get the green up arrow. I haven't tried servle

RE:setting virtualhost .jsp path (was: tomcat virtualhost 404 error)

2002-07-29 Thread Albert Csaba
Yes, I can see a page telling me that the installation of tomcat was successfull. But where do I have to define the virtualhosts? I guess the problem is that when I'm trying to access http://www.vhost.xx/main.jsp, it doesn't actually gets the page from /home/sites/www.vhost.xx/web/main.jsp.

jnar file best practices tomcat 4.x

2002-07-29 Thread Charles Baker
One of the apps I'm working with needs the javax.xml.* packages. I put the needed jars in /path/to/webapps/app/web-inf/lib Is this a good practice? Or should they go in the common/lib or perhaps the JDK's on lib/ext ? If this or a similar topic has been beat to death already just tell me to go

FW: tomcat connectoras 4.1.7

2002-07-29 Thread Billingham, Walter 475
> Michael, > > I have been downloading, gunzipping, and untarring everything else > on this site and it has worked fine, including the older 4.0.4 connectors > package, just the other day. I am on an AIX 5.1L box, never had this > problem with anything before. Trask. > > > > -Or

RE: libstdc++ or g++ errors

2002-07-29 Thread Turner, John
Cool. Just trying to help. I haven't had access to an AIX box for a couple of years (4.1.x), otherwise I would be able to offer more substantial suggestions. John Turner [EMAIL PROTECTED] -Original Message- From: Billingham, Walter 475 [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29,

Re: tomcat connectoras 4.1.7

2002-07-29 Thread Michael Locasto
Hi, From http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.7-beta/ Note: The tar files in this distribution use GNU tar extensions, and must be untarred with a GNU compatible version of tar. The version of tar on Solaris and Mac OS X will not work with these files." Hope that hel

RE: libstdc++ or g++ errors

2002-07-29 Thread Billingham, Walter 475
John, I have already been down this road, I have someone else that has the same error compiling another program on this same box. I looked out on the web for these errors and keep getting answers that are indicative of the libraries either not being there or not compatible version wise.

Re: warp connector and number of connecionst

2002-07-29 Thread Milt Epstein
On Mon, 29 Jul 2002, Michael Locasto wrote: > Milt, > > You're absolutely right. WARP isn't replaced or deprecated. The > wires in my head get crossed a bit now and then :) I apologize for > causing any confusion. > > I was under the impression that in 4.1.x, Coyote could handle the > both the Ja

tomcat connectoras 4.1.7

2002-07-29 Thread Billingham, Walter 475
Hello, I am trying to download the 4.1.7 connectors package from the below URL: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.7-beta/src/ jakarta-tomcat-connectors-4.1.7-src.tar.gz with a crc problem afterwards when I try and open it I tried one of the mirrors with the same res

isUserInRole returning incorrectd boolean under load

2002-07-29 Thread David Ward
We're seeing a problem in JBoss-2.4.3_Tomcat-3.2.3 where HttpServletRequest@.isUserInRole(String):boolean is returning an incorrect boolean per what roles are set via our JAAS LoginModule (or JBoss'!). I have very detailed information bundled with a downloadable test case if anyone on this li

Re: opening JAR file from within Tomcat App

2002-07-29 Thread Chris Ruegger
Thanks for the info. Actually I'm putting some XML configuration files into a JAR file. They don't need to be in the classpath per se. I just need a portable way to get to them. -Chris - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTEC

RE: virtual directory

2002-07-29 Thread James Lavoie
Thank you J -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 9:57 AM To: 'Tomcat Users List' Subject: RE: virtual directory In your server.xml: where "path" is the URL path and "docBase" is the physical location. This should work for sta

RE: opening JAR file from within Tomcat App

2002-07-29 Thread Shapira, Yoav
Hi, It's somewhat unusual to read a JAR file (containing only compiled .class files?) at runtime. Are you doing some sort of fancy reflection work? Anyways, to your question. Do you need the file to be on the classpath, i.e. its classes visible to the classloader? Or do you only need to open

opening JAR file from within Tomcat App

2002-07-29 Thread Chris Ruegger
I need to open a JAR file from within my Tomcat app and read some of the files. Question: What's the best way to get the absolute path Name of the Jar file so that I can pass that name to a JarFile object? I tried placing the JAR file in the WEB-INF\lib directory thinking its full path name wou

RE: How to abort the webapp load/deployment

2002-07-29 Thread Craig R. McClanahan
On Mon, 29 Jul 2002, Extance, Paul wrote: > Date: Mon, 29 Jul 2002 09:54:46 -0700 > From: "Extance, Paul" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: How to abort the webapp load/deployment > > I already use

RE: virtual directory

2002-07-29 Thread Turner, John
In your server.xml: where "path" is the URL path and "docBase" is the physical location. This should work for static content and JSPs...servlet mappings are handled in web.xml. John Turner [EMAIL PROTECTED] -Original Message- From: James Lavoie [mailto:[EMAIL PROTECTED]] Sent: Mond

RE: HTTP 500 error: Can someone help me?

2002-07-29 Thread Nishant_Awasthi
I did update it to tomcat 4.0.4 but again the same error is occurring... its really strange...Anyways thanks for your help, Nishant Awasthi Corporate Systems Development Progressive Insurance

RE: How to abort the webapp load/deployment

2002-07-29 Thread Extance, Paul
I already use Struts, so i'll probably just put an extra check in the controller. I guess i'll wait to see what Servlet Spec 2.4 has to offer for disabling the app loading.. Thanks for all the replies PaulE -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Wednesd

RE: virtual directory

2002-07-29 Thread Charles N. Harvey III
I am pretty sure that would be what the Tomcat world calls a "mapping". In IIS you would setup say, "/images" to actually be a virtual directory that points to some image server. In tomcat you do mappings in the web.xml file. Say you have a servlet at: tomcat_path/webapps/app/WEB-INF/classes/com

RE: HTTP 500 error: Can someone help me?

2002-07-29 Thread Shapira, Yoav
Hi, Update your tomcat to 4.0.4. See 4.0.4 release notes for bugs fixed related to your error. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >Sent: Monday, July 29, 2002 12:48 PM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTE

Re: warp connector and number of connecionst

2002-07-29 Thread Michael Locasto
Milt, You're absolutely right. WARP isn't replaced or deprecated. The wires in my head get crossed a bit now and then :) I apologize for causing any confusion. I was under the impression that in 4.1.x, Coyote could handle the both the Java side of AJP13/14, and HTTP 1.1, so it can be used to run

RE: JDBC Pool Manager

2002-07-29 Thread Andrew Conrad
Commons-DBCP http://jakarta.apache.org/commons/index.html - Andrew > -Original Message- > From: Roger Maltby [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 11:58 AM > To: Tomcat User (E-mail) > Subject: JDBC Pool Manager > > > > > I need to have a connection pool for my JD

HTTP 500 error: Can someone help me?

2002-07-29 Thread Nishant_Awasthi
Hello Guys... Unable to run JSP examples using tomcat 4.0.3. Localhost_log file has been written vbelow. Can some kind soul help me out why this problem is being occurred... --ERROR- 2002-07-29 10:54:16 StandardHost[loc

JDBC Pool Manager

2002-07-29 Thread Roger Maltby
> I need to have a connection pool for my JDBC connections. I have tried > BitMechanics but it is not JDBC 2.0 compliant. My DB vendor recommends a > 2.0 compliant pool manager. Any recommendations? > > Thanks > > Roger Maltby, Developer > Realm Business Solutions (Canada), Inc. > 302 Town C

RE: tomcat virtualhost 404 error

2002-07-29 Thread Andrew Conrad
Are you closing your tage "" Also, can you get to the page from a remote machine at http://www.vhost.xx:8080/ ??? If that works, then you should know it's a Apache mod_jk issue. - Andrew > -Original Message- > From: Albert Csaba [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 200

RE: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?

2002-07-29 Thread Andrew Conrad
Nathan, The 4.x spec says it will support Servlet 2.2, JSP 1.1 w/o modification. Work with a Tomcat 4.x test page to make sure everything works before trying to debug your app. Also, can you turn off HTML in your emails. Thx, Andrew -Original Message- From: Nathan Smith [mailto:[E

virtual directory

2002-07-29 Thread James Lavoie
Can anyone tell me how to create a virtual directory in Tomcat? Not sure what the term is, but it is called a virtual directory in Microsoft IIS. Its basically a "handle" within the url to a folder within the file system that may or may not have the same name as the handle. Any help is appreciate

Re: forwarding to a jsp using a servlet

2002-07-29 Thread Will Hartung
From: "Andy Eastham" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 6:43 AM Subject: RE: forwarding to a jsp using a servlet > Try this in your doGet / process method: > (I put my jsps under WEB-INF so they are not servable directly). > >String url = FileUtil.makeJspUrl("/WEB_INF/jspDir/tes

Re: TC and applicationwide beans

2002-07-29 Thread Michael Locasto
If you need only one instance, how about some sort of static factory that creates one instance of your bean JVM-wide? - Original Message - From: "Power-Netz (Schwarz)" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 10:56 AM Subject: AW: TC and

Re: How to abort the webapp load/deployment

2002-07-29 Thread David Mossakowski
You can try having a single servlet that has 'handlers' for it and so all requests go through it first and it dipatches them further to handlers. I have this setup and map the servlet to something like /handler and then for an action such as handler/AuthenticationHandler the request goes to '

Re: small hint

2002-07-29 Thread Nishant_Awasthi
"friendly error messages" checkbox is already disabled Juha... Thanks for persistently..helping me... Let's hope it would work fine soon... Nishant Awasthi Corporate Systems Development Progressive Insurance

Re: warp connector and number of connecionst

2002-07-29 Thread Milt Epstein
On Mon, 29 Jul 2002, Michael E. Locasto wrote: > I'm assuming you're using some 4.0.x version, I think warp has been > deprecated and replaced by Coyote in 4.1. [ ... ] I don't think this is correct. For one thing, I believe they are for different things -- WARP is a connector for integrating T

RE: libstdc++ or g++ errors

2002-07-29 Thread Turner, John
Have you checked line 80 of mod_jk.c? Or lines 75-80 (usually a syntax error like that is caused by something a couple lines further up). What's your proficiency level with C code? From the errors, it looks like a simple syntax problem in mod_jk.c. I bet if you poked around a little you could f

AW: TC and applicationwide beans

2002-07-29 Thread Power-Netz \(Schwarz\)
> So, you can use the same class definition of a bean in two > separate webapps > if the class definition is in $TOMCAT_HOME/lib/apps... > (or alternatively, in the WEB-INF/lib directories of your two webapps, but > that is just wasted space). The webapps will create two separate instances > of y

RE: passing environment variables to Tomcat

2002-07-29 Thread Greg Waehner
Yes. There are three ways. 1. JAVA_OPTS you can set your JAVA_OPTS env. variable. The startup includes this. This works, but is a little wierd since you're not really passing "Java" optional startup parameteres. 2. You ~could~ use the "web.xml" file within your webapp, but then you have to

libstdc++ or g++ errors

2002-07-29 Thread Billingham, Walter 475
Hello, I know I have sent these errors out in the past, however, after debugging and fixing all the header file errors and mishaps, I am still getting these parse or syntax error or no data definition type or storage class type problems. I came up with this conclusion, via the web, that e

RE: passing environment variables to Tomcat

2002-07-29 Thread Shapira, Yoav
Hi, Have you considered putting this variable in the web.xml? You (should) always have control over your web.xml file, whereas your service provider may not let you mess around with their server.xml file. You can put it in a context-param or an init-param to a startup servlet... Yoav Shapira Mi

passing environment variables to Tomcat

2002-07-29 Thread Chen, Dean (Zhun)
Hi, I'm using Tomcat 4.0.3, we need to pass an environment variable to Tomcat. In essence, we are trying to define the environment variable, i.e.: DEV, QA, PROD, etc. Currently, we do this by modifying the catalina.sh and add this to the runtime command -Dweb.env="$WEB_ENV" \ However, can

RE: forwarding to a jsp using a servlet

2002-07-29 Thread Andy Eastham
Billy, Sorry - I included my File Utility class by mistake. I hard coded the result in the message and still left the method call - doh. Try again: String url = "/WEB_INF/jspDir/test.jsp"; response.setContentType("text/html"); ServletContext sc = setServletContext(); RequestDispatcher rd = s

Re: TC and applicationwide beans

2002-07-29 Thread Michael E. Locasto
Tomcat 3.3.x provides the lib/apps directory (see the README file in there) for Jar files that contains classes to be shared among all webapps. Sessions are not cross-context. Sessions are specific to the webapp they are created in for security reasons. Sessions are created via a "request.getSess

RE: forwarding to a jsp using a servlet

2002-07-29 Thread Billy V. Kantartzis
thanks i will try this ---Original Message--- From: Tomcat Users List Date: 29 July 2002 14:46:04 To: Tomcat Users List Subject: RE: forwarding to a jsp using a servlet Billy, Try this in your doGet / process method: (I put my jsps under WEB-INF so they are not servable dir

Re: Help: Installing Tomcat 4.0.4

2002-07-29 Thread rsequeira
JAVA_HOME is set incorrectly. It should be: JAVA_HOME=c:\jdk1.3.1_03 RS Manisha_Toor@Dell

RE: forwarding to a jsp using a servlet

2002-07-29 Thread Andy Eastham
Billy, Try this in your doGet / process method: (I put my jsps under WEB-INF so they are not servable directly). String url = FileUtil.makeJspUrl("/WEB_INF/jspDir/test.jsp); response.setContentType("text/html"); ServletContext sc = getServletContext(); RequestDispatcher rd = sc.getRe

RE: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-29 Thread Greg Waehner
Title: Document.importNode not working-works fine in modified JSDK2.1  Yes indeed, the /WEB-INF/lib is where you place app specific JARs.   But your problem is dealing with XML and JSDK 2.1... the JSDK does not contain the "org.w3c" package. You probably know this already, but here's the jav

Tomcat 4.0

2002-07-29 Thread Thomas Colin de Verdière
Hi, we are using Tomcat 3.2.4, we deliver to the customer a solution with Tomcat 3.2.4 and we'd to use either Tomcat 3.3 either Tomcat 4.0. Our product work fine with Tomcat 4.0 and Tomcat 3.2.4. Our customer developp their applications using Tomcat 3.2.4 and so it is easy for them to a have

RE: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-29 Thread Chua Eng Huang, Cecil
This is probably it. However, I have dumped every jar file into webapps\examples\WEB-INF\lib, which according to my understanding of the various docs is where you're supposed to put all your own JAR files. >Also, what are these "special" JARs? Tomcat is a J2EE servlet container, but it doe

forwarding to a jsp using a servlet

2002-07-29 Thread Billy V. Kantartzis
can some one please tell me how i coulod make a forward from a servlet to a jsp i need to use the same url plus i dont want in some cases the destination address apiasring on the address bar thanks in advance Billy -- To unsubscribe, e-mail: For additional comm

Re: Java Profilers, OptimizeIt or JProbe

2002-07-29 Thread David Kavanagh
I'll give my 2 cents... I"ve used OptimizeIt to profile our app on tomcat. I know they provide a way to specify the servlet container for debugging web apps, but I never figured out why I needed to do that. I simply treated tomcat as any other app and profiled it that way. I had to take some of

RE: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-29 Thread Greg Waehner
Title: Document.importNode not working-works fine in modified JSDK2.1  Cecil -   According to the the code, you haven't declared "temp2". If the code compiles, then you've declared it elsewhere, but not included it here. I would start by seeing what you've declared "temp2" as, and then see if

Virtual Hosts and jk2

2002-07-29 Thread Simon Stewart
What's the correct way to handle virtual hosts when using mod_jk2 and Apache 2? Currently, a snippet from my workers2.properties looks like: # define the worker [ajp13:localhost:8009] channel=channel.un:/usr/local/tomcat/work/jk2.socket # Example site [uri:/content/*] group=lb servlet=content ho

tomcat virtualhost 404 error

2002-07-29 Thread Albert Csaba
I have Tomcat4.0.4 with mod_jk running. I'm not sure if it's setup correctly. I'm trying to test it with an example found on the net, uploaded to a virtualhost, but I'm getting a Apache Tomcat 404 error. What else do I have to set for the test.jsp to be found there? Thank you, Csaba This i

RE: Java Profilers, OptimizeIt or JProbe

2002-07-29 Thread Shapira, Yoav
Hi, Same as the other guy who replied: I've tried them both, I like OptimizeIt much better. That was true for OptimizeIt v3.11 and the recent v4.12. And like the other guy, it's really nice to have versions for my Solaris and Windows machines on the same CD ;) Yoav Shapira Millennium ChemInform

TC and applicationwide beans

2002-07-29 Thread Power-Netz \(Schwarz\)
Hi, can tomcat swap beans from one application to another if both use the classes? If I have a webapp A which granted access to the system and uses a login bean to store the data, does tc accept this bean ( in the same session ) on the webapp B with same classes? Or is a new session created if

Re: strange jsp compile error in tomcat4.1.8

2002-07-29 Thread @Basebeans.com
Subject: Re: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo <[EMAIL PROTECTED]> === Torgeir Veimo wrote: > Bump! > > This is a real problem for me. Are there noone else who have seen this > problem? > > Torgeir Veimo wrote: > >> I see this strange compilation error when using st

Re: mod_webapp vs Coyote JK 2

2002-07-29 Thread @Basebeans.com
Subject: Re: mod_webapp vs Coyote JK 2 From: "Ove" <[EMAIL PROTECTED]> === Will mod_webapp be continued or is it dead? "Ove" <[EMAIL PROTECTED]> wrote in message news:ahp7u4$lbb$[EMAIL PROTECTED]... > What is recommended to use on a Tomcat 4.x install with Apache. (Solaris) > > And what is the

Re: strange jsp compile error in tomcat4.1.8

2002-07-29 Thread @Basebeans.com
Subject: Re: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo <[EMAIL PROTECTED]> === Bump! This is a real problem for me. Are there noone else who have seen this problem? Torgeir Veimo wrote: > I see this strange compilation error when using struts nested tag libs > and jsp:inclu