Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
Tomcat follows the web app standard. If your applications on JRun are set up in a similar fashion, migration should be a breeze and would probably entail just modifying the Tomcat configuration files (server.xml, web.xml). Read the docs closely and you should be in good shape. A point of concern

Re: Help with jsp:includes

2002-12-02 Thread rsequeira
1000+ includes in a single page isn't a good idea IMHO. And using jsp:include for all 1000+ includes just aggravates the situation. It would be a good idea to minimize the number of includes by maybe clubbing a few together into one file. Also if looking at static includes as opposed to dynamic

Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
The error message implies that the session-timeout element is missing in the web.xml file. snip SEVERE: Parse Error at line 137 column -1: Element type session-timeout is not declared. org.xml.sax.SAXParseException: Element type session-timeout is not declared. /snip See

Re: Thread dump

2002-12-06 Thread rsequeira
kill -3 pid RS Manavendra Gupta To: Tomcat

RE: Thread dump

2002-12-06 Thread rsequeira
You could use Thread.enumerate(Thread [] ) and then do a Thread.dumpStack() on each thread in your code. I can't provide any definite answers on how to get a thread dump right from the moment Tomcat starts, but I suppose you could modify Tomcat code (call the about the methods in your code) to do

Re: customized page on a HTTP 401 error

2002-07-01 Thread rsequeira
You will need to intercept the 401 response by the server. You could do this using Valves, I suppose. I haven't done this (it has been on my to-do list for some time now). Download the source code. Have a look at org.apache.catalina.Valve. RS [EMAIL PROTECTED] on 07/01/2002 04:12:20 AM

Re: Virtual site

2002-07-02 Thread rsequeira
You need Host and Context elements for each domain. Something like this: Host name=www.site.com debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_www_site_com_log. suffix=.txt

Re: customised error pages rather than tomcats error pages

2002-07-09 Thread rsequeira
Add an error-page directive to your web-application's web.xml file: error-page error-code404/error-code location/error.html/location /error-page Please see the Deployment Descriptor section of the servlet specs for more information. RS [EMAIL PROTECTED] on 07/09/2002 09:16:52

Re: cannot run tomcat 4.0.4 jsp examples

2002-07-09 Thread rsequeira
You probably have a stale copy of jasper-compiler.jar. I'd suggest installing the latest Tomcat (I think it's 4.1.7). RS Sylvain Pivette [EMAIL PROTECTED] on 07/09/2002 10:10:15 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:cannot run

Re: restarting tomcat without restarting ;)

2002-07-09 Thread rsequeira
Set the reloadable attribute of the Context element in your server.xml to true RS jakarta-tom on 07/09/2002 09:40:02 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:restarting tomcat without restarting ;) Subject: restarting tomcat

Re: tomcat 4.03 configuration with IIS 5.0

2002-07-09 Thread rsequeira
It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need

Re: Servlet problem...

2002-07-09 Thread rsequeira
You need to edit your classpath. You need to specify the drive name when the servlet.jar is located. See tomcat\common\lib\servlet.jar; snip CLASSPATH=.;C:\ServletDevel;tomcat\common\lib\servlet.jar;C: \javamail-1.2\ma il.jar;C:\jaf-1.0.1\activation.jar /snip RS Mike Neder [EMAIL

Re: Beans in packages vs beans not in packages

2002-07-10 Thread rsequeira
you need to import it using the import statement. % import classname % RS Ron Day [EMAIL PROTECTED] on 07/10/2002 05:20:27 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Beans in packages vs beans not in packages Hi, When I run a

Re: Extra folders in tomcat/work

2002-07-11 Thread rsequeira
Note the way you have configured the path attribute in the Context element. snip Context path= docBase=site1 debug=0 /snip Tomcat uses this path attribute to create the folders. For the path, it creates a _ folder. The other two folders (site1 site2) are created because they happened to

Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-11 Thread rsequeira
With Tomcat 4.x.x, you need import unpackged classes as well. RS Larry Meadors [EMAIL PROTECTED] on 07/11/2002 09:36:05 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: Classes in WEB-INF/classes not visible to JSP pages I do not

RE: Where is WARP connector

2002-07-11 Thread rsequeira
mod_webapp is the module that implements WARP. RS Nance, Michael [EMAIL PROTECTED] on 07/11/2002 10:10:29 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:'Tomcat Users List' [EMAIL PROTECTED] cc: Subject:RE: Where is WARP connector John, Thanks for the response.

Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-12 Thread rsequeira
I don't use JDK1.4. But if you get an error while importing classes without a package name, it may be a bug. And if you can confirm that you should probably file it with Sun. As for you packaging your classes, any specific reason for you to package you classes in org.apache.jsp? I think what

RE: Error - Please Help

2002-07-12 Thread rsequeira
You could either copy the tools.jar from JAVA_HOME/lib to CATALINA_HOME/common/lib (or create symbolic link if you are using some flavor of Unix). This will resolve the problem of your jsps not compiling. This is the error that you been getting. RS Sunit Munjal [EMAIL PROTECTED] on

Re: Directory Index

2002-07-12 Thread rsequeira
See welcome-file-list in the web.xml. RS [EMAIL PROTECTED] on 07/12/2002 03:07:22 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: cc: Subject:Directory Index I know that in Tomcat I can map servlets to the path / and that in Apache I can set certain files to be

Offtopic - JBoss vs JOnAS

2002-07-12 Thread rsequeira
I know I should probably research this on my own. But I bet there is some real world experience here on this list with regards to JBoss and JOnAS. My questions: Anyone here used either or both and could tell me which is better? Also I do know both JBoss and JOnAS come with Tomcat integrated.

Re: Offtopic - JBoss vs JOnAS

2002-07-12 Thread rsequeira
Thanks RS Joseph E. Savard [EMAIL PROTECTED] on 07/12/2002 03:46:54 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Offtopic - JBoss vs JOnAS The new version of JBOSS has Tomcat in its distribution. JBOSS is further

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
What about System.exit() in a servlet? RS Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:What can cause a clean Tomcat shutdown? Guys, I'm asking this question

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
I think I spoke a little too quicky earlier. Sorry. I believe System.exit() doesn't unload the web applications. Presently I can't think of any other way for a clean Tomcat shutdown. RS [EMAIL PROTECTED] on 07/15/2002 09:38:54 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
Well hope you don't have some kind of cron job that periodically shuts Tomcat down. RS Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 03:24:51 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: What can cause a clean

Re: WAR archive

2002-07-16 Thread rsequeira
Yes. You need to change the appBase attribute of the Host element. RS Tarik Mokhtari [EMAIL PROTECTED] on 07/16/2002 07:44:50 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:WAR archive Hi, is it possible to put WAR archives in a

Re: download file

2002-07-16 Thread rsequeira
Did you set the mime-type set in the web.xml? mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping RS jakarta-tom on 07/16/2002 09:10:03 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread rsequeira
Is that a typo? You said quote Yes, I can access both JSP and Servlets using port 8080. http://localhost:8080/testfolder/Test.jspworks http://localhost/testfolder/Test.jsp works http://localhost:8080/testfolder/servlet/TestServlet does not work /quote The

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread rsequeira
Do you have the warp connector enabled too? The log file indicates a problem with the Warp connector. It doesn't show anything about the AJP13 connector. RS Diana McLean [EMAIL PROTECTED] on 07/16/2002 02:20:11 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users

Re: Run class on jsp

2002-07-22 Thread rsequeira
Use the jsp:include directive. Something like this: jsp:include page=/servlet/Packagename.ClassfileName flush=true/ RS Mario Henley Becerril Geldis [EMAIL PROTECTED] on 07/22/2002 10:21:45 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:

Re: Re[2]: Apache Authentication

2002-07-24 Thread rsequeira
Just a thought, might not be true (since I haven't checked this behaviour). When you go through Apache (and if Apache has BASIC authentication setup), the Apache authentication will take precedence. Once you have entered the userid/password in the authentication dialog box, the browser will

Re: Re[4]: Apache Authentication

2002-07-24 Thread rsequeira
] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re[4]: Apache Authentication Hello rsequeira, Good point. However, that means you have to keep your user authentication info in two different places...unless you are pulling the info a single source such as JNDI or JDBC for both Apache

Re: Change JDK version for tomcat4.0.4

2002-07-24 Thread rsequeira
set JAVA_HOME to point to new JDK install directory. RS Ashish Kulkarni [EMAIL PROTECTED] on 07/24/2002 02:58:11 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Change JDK version for tomcat4.0.4 Hi, I am running

Re: Replacement of IIS

2002-07-24 Thread rsequeira
Few things you need to keep in mind if you do decide to migrate from IIS to Tomcat. 1) With Tomcat, you will not be able to serve .asp pages. You will need to convert them to jsps. 2) Frontpage cannot connect to Tomcat as IIS does. But you will be able to use the editing capabilities of

Re: /*.jsp only invoked when run from localhost

2002-07-26 Thread rsequeira
The virtual host entry in the mod_jk says ServerName localhost. You should change that to the domain-name (like www.shannonscott.com). RS Shannon Scott [EMAIL PROTECTED] on 07/26/2002 11:10:26 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL

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: exploding WAR file via ant

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

Re: Tomcat Root Context

2002-07-31 Thread rsequeira
The Context entry is correct. Hope you are using the same case in the URL as defined in the Context entry (newfolder is in lowercase in the Context). You could change the debug value to something greater than 0 to generate more logging. Check you logs to see if the newfolder webapplication is

Re: AW: Apache-tomcat integration

2002-08-01 Thread rsequeira
Yes you can define two connectors as long as they are listening on different ports. I have both the AJP as well the the WARP connector enabled. RS Ralph

Re: warp / jdbc problem

2002-08-01 Thread rsequeira
You haven't configured you JDBC realm in the Warp connector section. My guess is thaat you have it configured for the Tomcat-Standalone. You will need to replicate the configuration in the Tomcat-Apache section too. RS

Re: Does Tomcat 4.0.3 work on Windows98

2002-08-02 Thread rsequeira
Yes it does :-) RS Steve [EMAIL PROTECTED]To:

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
What's the directory layout? Is qvdintra a directory? It would be a good idea to send the directory layout. This way someone could give you an informed answer FYI:- The WebAppDeploy syntax is: WebAppDeploy application_name connection_name url_path where, application_name - the directory

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
Is webmail a directory under qvdintra? If it is, then you are better off using mod_jk as a connector rather than mod_webapp. With mod_jk you have better control over the what is being passed to Tomcat. You could pass only *.jsp and everything that has /servlet. With mod_webapp everything under

Re: adding a virtual directory

2002-08-02 Thread rsequeira
Assuming you are using Windows OS, you could map a drive on the source machine pointing to the shared destination directory. Ofcourse you could run into a few problems if my_ap is the Context and my_dir isn't under my_ap. RS

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
Maybe it's just me or maybe it's Friday. But I'm sorry, I'm a little confused. What is _? Is that some directory you defined or is that something you just put in your email. _ generally is used when you define a Root context and wish to access your site as http://domain-name/ Let's try once

RE: adding a virtual directory

2002-08-02 Thread rsequeira
You could define a servlet that takes care of this for you. And add that mapping to the $CATALINA_HOME/conf/web.xml file. The org.apache.jasper.servlet.JspServlet does something like this. It looks for a *.jsp in the URL. See $CATALINA_HOME/conf/web.xml and source code for

Re: how to deny directory listing

2002-08-03 Thread rsequeira
There are various ways to deny directory listing. Valid for both Tomcat 3.x and Tomcat 4.x.x: You could add a welcome file to your web.xml. Something like this: welcome-file-list welcome-fileindex.html/welcome-file /welcome-file-list See conf/web.xml for further information. Valid for

Re: Tomcat in a multiuser webhost environment

2002-08-03 Thread rsequeira
Answers are intermixed. Hans Kaiser [EMAIL PROTECTED]

Re: Apache-tomcat integration

2002-08-03 Thread rsequeira
AJP is configured in Service name=Tomcat-Standalone. But you could move this Connector element to Tomcat-Apache. Also remember to disable the Warp connector under Tomcat-Apache. Have you configured Apache to send requests containing examples to Tomcat? You might need something like this:

Re: .shtml with 4.0.4

2002-08-12 Thread rsequeira
First the servlet code.../servlet isn't supported by Tomcat. It isn't a standard tag i.e. it isn't defined in the servlet specs. You should use jsp include / instead. Convert the .shtml files (be careful if you have SSI includes or CGI processing in the shtml files) that contain the servlet

RE: automatically serve index.jsp

2002-08-12 Thread rsequeira
Add index.jsp in the DirectoryIndex statement of Apache. Also check your JkMount statements. Apache needs to forward all jsps to Tomcat. RS Michael Remijan

Re: .shtml with 4.0.4

2002-08-12 Thread rsequeira
Well can't pin-point the problem since you haven't provided any clues. What do the DocumentRoot, Context, and JkMount statements say? How about displaying the directory structure of where the jsps and shtml files are located. How about displaying the appropriate portions of the log in here.

Re: .shtml with 4.0.4

2002-08-13 Thread rsequeira
Let's start all over. First make a few assumptions: Your web-application directory is: /webprg/tomcat/webapps/ROOT/ Therefore your classes will go under: /webprg/tomcat/webapps/ROOT/WEB-INF/classes/test/HelloWorld.class (note: WEB-INF needs to be in upper-case) 1) Create a file hello.jsp (that

Re: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2

2002-08-13 Thread rsequeira
I don't think the flush= false is supported as yet. RS Ashish Kulkarni

Re: .shtml with 4.0.4

2002-08-13 Thread rsequeira
You could create another Context which points to the Apache directory. But IMHO, it would be advisable to put all your files in one directory. RS MadBit

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Assuming rajapp is your context, your jsp:include / statement will be: jsp:include page=/CurrentTime flush=true / or jsp:include page=/servlet/mypkg.CurrentTime flush=true / Ofcourse make sure your class is under appBaseDirectory/rajapp/WEB-INF/mypkg RS

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Oops! I missed the word classes. Sorry about that. But heck, you got it right. Can you run your servlet as http://my-local-host-name/rajapp/servlet/mypkg.CurrentTime What error do you get on the browser? Check you logs file for exceptions/errors. RS

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Then the following line jsp:include page=/servlet/mypkg.CurrentTime flush=true / in a jsp file (say file1.jsp) that is located under rajapp and accessed using http://my-local-host-name/rajapp/file1.jsp should work. If you can't get this to work, include the jsp file here and the log output as

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
It's been sometime since I used JDBC and SQL Server. But here are a few points to note: 1) Your first ? is the return status. It should be registered as an OUT parameter. 2) Remember to use the right JDBC type when registering the OUT parameters. This is of utmost importance. 3) All ouput

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
Is my_parameter a variable or is that like a placeholder in the email for pwdvalid, etc? quote I enabled debug logging on the driver, and I get messages that say parameter my_parameter not registers as output or not registered as input, even when they are, and regardless of ... /quote Your code

RE: com.orielly.servlet File Upload package

2002-08-21 Thread rsequeira
It would be also advisable to look at web mail applications and see how they program the File Upload bit. Hotmail is a good example. Infact it does something very similar to what John pointed out. RS

Re: web.xml question

2002-08-22 Thread rsequeira
Tomcat is programmed to look for the dtd in the $CATALINA_HOME/common/lib/servlet.jar. This is how you can run Tomcat offline w/o facing any problems :-) Rosh

Re: Problem with POST and FORM based authentication

2002-02-04 Thread RSEQUEIRA
This is possibly a shot in the dark. But in your login.html page have you defined FORM METHOD=POST...? Hope this helps. Thanks RS Anil Paul [EMAIL PROTECTED] on 02/02/2002 10:58:32 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Problem with

Re: SendMailServlet.class

2002-02-06 Thread RSEQUEIRA
Shouldn't it be CLASSPATH instead of CLASS_PATH chad kellerman [EMAIL PROTECTED] on 02/06/2002 09:09:15 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Re: SendMailServlet.class Sorry to have to write again but I am lost.

Re: Cannot get SSI to work on Tomcat 4.0.2

2002-02-13 Thread rsequeira
see intermixed Eric Ace [EMAIL PROTECTED] on 02/12/2002 10:57:28 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Cannot get SSI to work on Tomcat 4.0.2 I justdownloaded and installed Tomcat 4.0.2. I am trying to have an html page do an SSI

Re: Apache and JBoss244+TC402

2002-02-13 Thread rsequeira
I suppose you could use the ROOT context RS Jarecsni János [EMAIL PROTECTED] on 02/13/2002 01:08:30 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] cc: Subject: Apache and JBoss244+TC402 Hi, Currently I have a J2EE application installed

RE: J2EE and Tomcat

2002-02-17 Thread rsequeira
You could download the javamail implemenation from: http://java.sun.com/products/javamail/index.html You will need the java avtication framework as well: http://java.sun.com/products/javabeans/glasgow/jaf.html Thanks. RS Keith Ng [EMAIL PROTECTED] on 02/17/2002 02:18:29 PM Please respond

RE: J2EE and Tomcat

2002-02-17 Thread rsequeira
As for the .war file, it should under the Document Root. RS Keith Ng [EMAIL PROTECTED] on 02/17/2002 02:18:29 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: RE: J2EE and Tomcat Nice to see u reply again... I have made a

Re: Still Need Help RE: Tomcat 4_0_2 JSP Does Not Work in Default

2002-02-19 Thread rsequeira
Trying adding tools.jar to your classpath or better still in the Tomcat/lib directory. Thanks. RS Shannon Brown [EMAIL PROTECTED] on 02/19/2002 07:09:21 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Still Need Help RE:

RE: Still Need Help RE: Tomcat 4_0_2 JSP Does Not Work in Default

2002-02-19 Thread rsequeira
I suppose adding a symbolic link to JAVA_HOME/lib/tool.jar should work. Thanks. RS Jolet, John [EMAIL PROTECTED] on 02/19/2002 07:48:44 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] cc: Subject: RE: Still Need Help RE: Tomcat 4_0_2

RE: Still Need Help RE: Tomcat 4_0_2 JSP Does Not Work in Default

2002-02-19 Thread rsequeira
I agree with your statement. But maybe you have a corrupt setclasspath.sh. Look at setclasspath.sh (.bat for window users; called from catalina.sh:), it has a line # Set standard CLASSPATH CLASSPATH=$JAVA_HOME/lib/tools.jar Thanks. RS Jolet, John [EMAIL PROTECTED] on 02/19/2002 08:05:20

RE: Still Need Help RE: Tomcat 4_0_2 JSP Does Not Work in Default

2002-02-19 Thread rsequeira
And you have a good copy of setclasspath.sh (please do check if setclasspath.sh is called from catalina.sh) then maybe there's a bug with the linux install :-) Thanks. RS Jolet, John [EMAIL PROTECTED] on 02/19/2002 08:05:20 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:

RE: Still Need Help RE: Tomcat 4_0_2 JSP Does Not Work in Default

2002-02-19 Thread rsequeira
I think it should be fixed by the end of this day See Henri's note: Problems with RPM Tomcat 4.0.2 -- RPM Version javax.servlet.ServletException: sun/tools/javac/Main JSP examples will not execute in the default installation. To fix the problem, you need to manually create a symbolic link

Re: JavaMail API

2002-02-19 Thread rsequeira
see intermixed Nancy Crisostomo Martinez [EMAIL PROTECTED] on 02/19/2002 10:04:16 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: JavaMail API Hi!! About sending a mail using the JavaMail API: I'm trying to send a mail, but

Re: Tomcat and Apache default context

2002-02-19 Thread rsequeira
Try mapping the ROOT (webapps/Root) context with a virtual host RS nathan phillips [EMAIL PROTECTED] on 02/19/2002 11:01:44 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Tomcat and Apache default context I've been trying to get multiple

Re: java.lang.LinkageError: loader constraints violated when linking

2002-02-19 Thread rsequeira
My guess is that your parser.jar (in the WEB-INF/lib) overrides xerces.jar in the CATALINA_HOME/common/lib (I'm assuming you have a xerces.jar in the aforementioned path) since the error disappears when you move it to CATALINA_HOME/lib. And this jar is not up-to-date with the latest JAXP1.1 set

Re: Java servlet and mailing

2002-02-21 Thread rsequeira
You could live w/o J2EE is you wish to just use JavaMail. Download javamail from the following url: http://java.sun.com/products/javamail/index.html You will need the java avtication framework as well: http://java.sun.com/products/javabeans/glasgow/jaf.html Thanks. RS Simon [EMAIL

Re: TC Re: Java servlet and mailing

2002-02-21 Thread rsequeira
Correct! Thanks. Totally miss the 4.x deal sometimes! :-) Kirby Vandivort [EMAIL PROTECTED] on 02/21/2002 06:00:11 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Re: TC Re: Java servlet and mailing Or, just use it.

Re: catalina.policy

2002-02-22 Thread rsequeira
Try running tomcat with CATALINA_OPTS=-Djava.security.debug=access,failure It should help pinpoint which class is trying to access the D: \server\jakarta-tomcat-4.0.2-b2\webapps\auth\WEB-INF\log4j.lcf file Thanks. RS juraj Lenharcik [EMAIL PROTECTED] on 02/22/2002 10:57:35 AM Please

Re: Directory browsing

2002-02-22 Thread rsequeira
The easiest would be to add an index.html. And add the index.html to the welcome-file in the web.xml for that webapp. (I don't know if you could do the below in Tomcat 3.3a. I know you can do this in Tomcat 4.0.x) Turn off directory browsing by adding this for the default servlet (see web.xml

Re: New bie problem about Tomcat

2002-02-24 Thread rsequeira
There could be a couple of reasons. One of them: you could possible have declared the servlet twice in the web.xml. Check if other servlets in the same webapp are getting initialized twice. This may a some way in helping you pinpoint where the problem is. Check that you don't have the duplicate

Re: Tomcat 4 and Apache

2002-02-24 Thread rsequeira
I'm treading in quicksand here. But did you add the JkMount statements? I was getting the a similar error Can't locate API module structure... with mod_webapp till I added the WebAppConnection and WebAppDeploy statements. Maybe I'm wrong. Just trying to help :-) RS Kristian Duske [EMAIL

Re: Classpath Issue

2002-02-25 Thread rsequeira
Tomcat takes care of this for you so that you don't have to mess around with classpath issues. Put your unpacked classes in the WEB-INF/classes directory of you webapplication. jar files go under the WEB-INF/lib. And you are good to go. If you wish to make your classes visible to all

Re: Classpath Issue

2002-02-25 Thread rsequeira
You are correct about that. Missed those directories (tomcat_install_dir/classes tomcat_install_dir/lib). Webapplication related files in these directories makes more sense than under the common/classes and common/lib since class files jars under the common directory are used internally too.

Re: Classpath Issue

2002-02-25 Thread rsequeira
thanks for rubbing it in now :-) RS Jean-Luc BEAUDET [EMAIL PROTECTED] @toolchest.cyber.kodak.com on 02/25/2002 11:49:56 AM Please respond to Tomcat Users List [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Re: Classpath Issue

Re: java.lang.IllegalStateException: Response has already been committed

2002-02-25 Thread rsequeira
Check to see your included servlet isn't setting any headers. Check to see if the included servlet uses a reponse.getWriter() RS Jason Webber [EMAIL PROTECTED] on 02/25/2002 04:10:38 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject:

Re: Tomcat: Servlets in another directory

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

Re: some configuration problem..HELP!!

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

Re: problem in using jsp:usebean...

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

Re: Unable to compile class for JSP

2002-02-27 Thread rsequeira
see intermixed Andrew Rodwell [EMAIL PROTECTED] on 02/27/2002 10:30:37 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Unable to compile class for JSP Hi, I am trying to use a bean in my jsp. jsp:useBean id='lineB'

Re: tomcat waiting in linux

2002-02-28 Thread rsequeira
If you are running tomcat straight out of the box, then the log messages seem correct. By default the http connector listens on port 8080 unless you modified the server.xml and changed the port (see Connector/ in server.xml). Trying telnet-ing to the port 8080 once you have started. See what

Re: [INIMSS] Problem with IP Alias

2002-03-02 Thread rsequeira
see intermixed Dino Cherian K [EMAIL PROTECTED] on 03/02/2002 04:36:10 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: [INIMSS] Problem with IP Alias Hi I am trying to configure a webserver running apache-1.3.19-5, tomcat-3.2.1-1 and

Re: Please help me

2002-03-05 Thread rsequeira
what is TOMCAT_HOME set to? I assume you are using Tomcat 3.x.x version. RS lauradiara on 03/05/2002 08:42:07 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Please help me Hi all, I'm an italian student: for my thesis I have to install

Re: Solaris problem installation

2002-03-05 Thread rsequeira
As Lev mentioned, check your JAVA_HOME variable. Thanks. RS lauradiara on 03/05/2002 09:24:15 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Solaris problem installation Hi all, I'm an italian student: for my thesis I have to install

Re: Error Using 4.0.1 Manager

2002-03-06 Thread rsequeira
Check if there is a corresponding Context/ element defined for manager in server.xml. There should be a manager under webapps: Context path=/manager docBase=manager debug=0 privileged =true/ Thanks. RS Mike Millson [EMAIL PROTECTED] on 03/06/2002 03:52:07 PM Please respond to

Re: directory issues using Tomcat 4.0.2 and Apache 1.3.23 with mod_webapp

2002-03-06 Thread rsequeira
IMHO, I think mod_webapp isn't very stable (don't quote me on that though : -). I use mod_webapp and have faced problems in displaying images with jsp pages. A few users on this list too have experienced the same difficulties. Tomcat standalone should display images just fine. It's only when you

RE: How can I resolve this IllegalStateException: Response has a lrea dybeen committed problem?

2002-03-08 Thread rsequeira
Are you sending back any response or setting any session info in Create servlet before forwarding to create.jsp? Thanks. RS [EMAIL PROTECTED] on 03/08/2002 07:25:48 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: How can I resolve this

Re: server.xml - Multiple Contexts for a Single WebApp

2002-03-08 Thread rsequeira
see intermixed. [EMAIL PROTECTED] on 03/08/2002 08:50:14 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: server.xml - Multiple Contexts for a Single WebApp I am trying to duplicate an issue that I am having when I have Apache connected to

Re: Trouble with Jsp

2002-03-08 Thread rsequeira
This exception arises because tools.jar isn't visible. You need to set JAVA_HOME to point to your jdk installation (if you haven't already done that). If you have set JAVA_HOME and your servlets run, but jsps don't then you could either: 1) Create a symbolic link between JAVA_HOME/lib/tools.jar

Re: sent request to servlet from VB

2002-03-08 Thread rsequeira
see intermixed Xie, David (IPCG-NJ) [EMAIL PROTECTED] on 03/08/2002 01:49:34 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject: sent request to servlet from VB Hi all, Does anyone

Re: Running servlet from folder within WEB-INF?

2002-03-11 Thread rsequeira
Leon Vermaak [EMAIL PROTECTED] on 03/10/2002 07:30:00 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: Running servlet from folder within WEB-INF? Sorry but I don't know how best to fraze the question I have I will try to

  1   2   3   >