Re: Sending GIF image from tomat web application to browser

2002-11-05 Thread Raj Saini
In your servlet set the content type of http header to image/jpeg or image/gif depending upon the type of the image. If you have already written a servlet, you can figure out how to do this. Raj Peter Lee wrote: I am trying to send GIF or JPEG images from a Tomcat web application servlet to

Re: tomcat 4.1.12 not starting- exception

2002-10-29 Thread Raj Saini
Hi, jakarta-tomcat-4.1.12-LE-jdk14.exe does not have some librabries which are part of the JDK 1.4.x. Download the jakarta-tomcat-4.1.12.exe as your JDK version is 1.3.x. If you want to use the LE version download and install the JDK 1.4.x. Raj Sexton, George wrote: The LE distribution

Re: Is an application server suitable?

2002-10-17 Thread Raj Saini
application server. I am working on such a project because, the open source J2EE server could not meet my requirements and commercial J2EE servers have a very high price tag which is not offordable by small entrprises. Regards, Raj Saini I hope I explained the case well. I'm waiting for advices

Re: Warp configuration issues

2002-10-16 Thread Raj Saini
tag. 3. Define your context under that earlier defined host. Please let me know if it works for you. If does not, post your server.xml and the exceptions you are getting. Raj Saini Chilton, Gil wrote: I am trying to use tomcat 4.1.12 from rpm with apache 1.3.23 on a fully patched RedHat 7.3

Re: Some problems with Tomcat/Warp/Apache

2002-10-16 Thread Raj Saini
difficult to configure, but once configured, it is all smooth sailing. Raj Saini Frédérik Bilhaut wrote: Hi ! I'm experiencing some problems deploying a site with Apache 1.3.14 connected to Tomcat 4.0.5 using Warp : 1) When my webapp is deployed as a .war file, some JSPs are recompiled

Re: JNDI Datasource is *still* null

2002-10-15 Thread Raj Saini
just about the url. Raj Saini James hughes wrote: Surely there must be somebody out there who has connection pooling working with DBCP and Oracle. Please! :) -Original Message- From: James hughes [mailto:[EMAIL PROTECTED]] Sent: 14 October 2002 14:55 To: Tomcat Users List Subject

Re: WHO knows about it ???

2002-10-15 Thread Raj Saini
There are many reasons of using mode_jk over warp. I had serious problem with the warp when, I used it with Tomcat 4.0.3. One very eratic thing was the errors, exception I used to get rendomly. Two other reasons are fault tolerance and load balancing. This is required for providing maximum

Re: plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread Raj Saini
How do you start your tomcat on other machine? What is the operating system of your meachine? Do you acess your jsp page from the same machine? it seems your tomcat did not start or died before starting. Check the catalina.out log file in the logs directory or your console for the

Re: binding on socket

2002-10-15 Thread Raj Saini
It should be possible. This is common to provide the bind address. This is how the ServerSocket of java is designed. I feel, there must be a parameter to do this. Have to look into the source code. Raj David Loy wrote: Sorry make that tomcat 4.0 From: David Loy [EMAIL PROTECTED]

Re: binding on socket

2002-10-15 Thread Raj Saini
yes, there is a parameter and it is address. It is documented in the Connector docs. Raj David Loy wrote: Sorry make that tomcat 4.0 From: David Loy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: binding on socket Date: Tue, 15 Oct 2002

Re: Tomcat v4.1.12 with jk1, not jk2(not yet, at least)

2002-10-14 Thread Raj Saini
Pae Choi wrote: First of all, my appologies if this question has been asked before. I have not been able to keep up with TOMCAT progress lately. But I have been using it up to 4.0.x so I can be considered as a newbie to v4.1.x. I have been using a combination, Apache/HTTP(S)d + mod_jk

Re: JNDI Datasource is null

2002-10-14 Thread Raj Saini
Hi, Do you really need the CharacterSetMappers in your context defination? Try using the vanila configuration for testing. Try moving up the DriverClassName element just about the url. Raj Saini James hughes wrote: Surely there must be somebody out there who has connection pooling working

Re: Servlets not working with tomcat 4.1.12(4.0.4 error)

2002-10-11 Thread Raj Saini
Do you have your servlets mapped in the web.xml of your application? In Tomcat 4.1.12 and 4.0.5, the default servelt invoker is disabled due to security hole in the older releases. You can uncomment the invoker servlet mapping at your own risk or map your servlets in your web.xml. Raj Saini

Re: Setting up the usera and password for the administrator in Tomcat 4.1

2002-10-11 Thread Raj Saini
It is the same file. Add a role admin as you did for manager. Add this role to any user. Raj Saini Carlos wrote: Where can I find documentation o intructions to set-up the user and password of the administrator application? I was able to set-up the manager by adding the user, password

Re: [HOW TO] - GLOBAL VARIABLES - PLEASE HELP

2002-10-11 Thread Raj Saini
Hi Donie, You can define a variable in the global web.xml (in conf directory). This variable should be available to all your applications. This should come at the end of the $TOMCAT_HOME/conf/web.xml file. Though I have not used and tested this (I use for a single application in application

Re: connector between tomcat apache

2002-10-11 Thread Raj Saini
What does this mean sonam? Raj sonam singh wrote: use mount_msdos /dev/fd0 /mnt regards Sonam Singh --- unplug [EMAIL PROTECTED] wrote: Thanks for your example. But I am still confused to set it up. I think it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk.

JMX support in Tomcat

2002-10-10 Thread Raj Saini
Hi, There is JMX Mbean support in Tomcat 4.1.12. In the tomcat logs I see the MBean Server created. Does some have idea where this server listens for requests? Is there any HTML adapter for JMX included with tomcat? Thanks, Raj Saini -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: JMX support in Tomcat

2002-10-10 Thread Raj Saini
with tomcat? Thanks, Raj Saini -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Security: Restricted -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED

Re: tomcat4.1.2 - Servlet Error

2002-10-10 Thread Raj Saini
admin directory is under TOMCAT_HOME/server/webapps Raj Raj Mettai wrote: thanks Yoav Shapira, looks like I don't even have admin directory under webapps folder. I have downloaded binaries from apache site and Installed it under separate folder. Jsp pages are fine, when I access servlets

Re: I need to run a servlet periodically

2002-10-09 Thread Raj Saini
To need the servlet run periodically you need a client calling the servlet periodically. Make your client to run periodically and it will cause the servlet to run. We can suggest you a solution if you let us know what exactly you want your servlet to do. Raj Saini Filip Rachunek wrote

Re: Error using ajp13 protocol

2002-10-09 Thread Raj Saini
background thread 2002-10-08 02:35:06 Ajp13Processor[8009][3] Starting background thread 2002-10-08 02:35:06 Ajp13Processor[8009][4] Starting background thread Any ideas? Regards! Marc Raj Saini wrote: Hi Marc, Though I am not expert in the JK Connectors, But it is very clear

Re: java.lang.OutOfMemoryError

2002-10-09 Thread Raj Saini
Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache using warp connector. I used to have the same problem you have now. I recently upgraded to Tomcat 4.1.12 and warp to mod_jk with load balancing with two instances of tomcat on the same server. Memory usages

Re: connector between tomcat apache

2002-10-09 Thread Raj Saini
You can use use the ajp13 with tomcat. (mod_jk at apache end). Warp connecter is not reliable and what I learnt is no more actively developed. There are loadbalancing and fault tolerance features in ajp which are not in warp (mod_webapp) Raj unplug wrote: Hi all, I want to confirm the

Re: Error using ajp13 protocol

2002-10-09 Thread Raj Saini
', with the same result (curl http://localhost:80/index.jsp) sonam singh wrote: whih verison of mod_jk u'r using specify . when u try to run the apache is it showing any error . try to connect the tomcat directly nto through apache + tomcat . regards Sonam Singh --- Raj Saini [EMAIL PROTECTED

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
Pls build the mod_jk from source. These some thing wrong with the binary. I faced the same problem one week ago. Raj Richard Pfeil wrote: I am unable to get mod_jk to work. The following line in httpd.conf: LoadModule jk_module libexec/mod_jk-1.3-noeapi.so results in this error message:

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
probably appreciate and email message from you with details. There's no point in having binaries if they aren't usable. As far as I know, this exact problem (same exact error message) was covered by Henri last week. John -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED

Re: java.lang.OutOfMemoryError - JDK1.3.1

2002-10-09 Thread Raj Saini
Raj Mettai wrote: Hi, what version of mod_jk you are using with tomcat 4.1.12 ? thanks Raj I am using JK 1.2.0. (not jk2). This is the latest JK release. Raj [EMAIL PROTECTED] 10/09/02 04:07AM Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
they either need a different mod_jk binary, or a different Apache. -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 8:59 AM To: Tomcat Users List Subject: Re: Cannot get mod_jk to work Pls build the mod_jk from source. These some thing

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Raj Saini
Hi, There should not be problem running tomcat on Solaris 8. I am running Tomcat 4.1.12 with JDK 1.4 on Solaris without any problem. I have just switched from Tomcat 4.0.3 to 4.1.12. Your problem is the log4j.jar is missing from you your libs. Your application (or some of the lib) is using

Re: Error using ajp13 protocol

2002-10-08 Thread Raj Saini
Hi Marc, Though I am not expert in the JK Connectors, But it is very clear that mod_jk part at apache is not able to connect to the tomcat process. There may be three reason for this:- 1. Your JK connector on tomcat is not listening on port 8009. 2. The host name of the worker in

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Raj Saini
/lib directory. It supposed to be part of the distribution. If the the file is there, then it is not inculded in your classpath. This also should be done automatically, if you have not modified any thing. Raj Brzezinski, Paul J wrote: Raj Saini wrote: Hi, There should not be problem running

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
There must be some thing wrong with your worker.properties or the configuration of apache. Please post your worker.properties and relevent part of the apache configuration. Your apache configuration may be in mod_jk.conf which is generally included in http.conf. Raj Saini Marc Vila Pérez

Re: Loading a dll at startup...

2002-10-07 Thread Raj Saini
Hi, You can echo your classpath by adding the following line in your catalina.bat file. Search for a using string and you will find the commands for echoing the CATALINA_HOME, BASE etc. Add this line just below them. echo Using CLASSPATH: %CLASSPATH% Raj Saini Barbara Post wrote

Re: tomcat 4.1

2002-10-07 Thread Raj Saini
Try removing the space after the equal to sign. I feel that is the problem as your JAVA_HOME is set with one space before the actuall string. Raj madhur jain wrote: hi! well now i have the tomcat(4.1.12) in c:\Tomcat4.1 and the autoexec is set JAVA_HOME= C:\jdk1.3.0_02 set TOMCAT_HOME=

Re: About WARP, HELP

2002-10-07 Thread Raj Saini
Hi, There seems to be problem with your classpath settings. Somewhere you are using the forward slashes and some where backslases. Did you modify your server.xml file? What is on the line number where catalina is reporting the error? Can you post your server.xml file? Raj Uma Maheswar

Re: Loading a dll at startup...

2002-10-07 Thread Raj Saini
CATALINA_HOME: %CATALINA_HOME% echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR% echo Using JAVA_HOME: %JAVA_HOME% - Original Message - From: Raj Saini [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 07, 2002 10:26 AM Subject: Re: Loading a dll

Re: Double Tomcat!

2002-10-07 Thread Raj Saini
Yes you can use as many as you want. Set the different CATALINA_BASE for each server. Create a conf, logs, work, webapps and temp directory for each CATALINA_BASE directory. copy the configration files in conf directory of each CATALINA_BASE. And change the ports of conenctors you are using

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
-tomcat-4.1.12/logs/mod_jk.log JkLogLevel debug ## End Tomcat setup ## JkMount /*.jsp ajp13 (I've defined a Context path=... in my server.xml) Thanks Marc Raj Saini wrote: There must be some thing wrong with your worker.properties or the configuration

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
ajp13 There I've placed a jsp page, that just writes something in the browser. In my server.xml, I've defined a Context with docBase=/var/www/html and path= (the host is localhost) Marc Raj Saini wrote: What is the URL you are using? Your Jk worker will only root the *.jsp

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
can try them on my server and check if I can find some thing. Raj Marc wrote: Yes, I can, and before configure ajp13, I could access to the page using apache on port 80 (I could see the page source, of course). Marc Raj Saini wrote: Hi Marc, Can you see the JSP page in standalone

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
. Put your driver class parameter just after the factory and username and password at the end. Have a look on your classes.jar. Does the file have read permissions? Raj Saini This may be one cause, Robert Herold wrote: Thanks for the suggestion. I just tried the example JDBC configuration from

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
/Service /Server Raj Saini wrote: Hi jake, You woll need to define a context under a Tomcat-Apache service. I belive you are using the context defined in the Stand-Alone service. you must have a virtual host and your context under this virtual host. I hope this helps you

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
as an alternative? Raj Saini wrote: Jake, You will need to put a defaulthost attribute in your engine defination. This is a bug in the server.xml and it was detacted long back ago. Dont know why it is not still corrected in the server.xml file. May be the warp connecter is no more actively

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Raj Saini
There is an error in your datasource configureation. The DriveName element is changed to url in 4.1.12 parameter namedriverName/name valuejdbc:oracle:thin:@localhost:1521:ctg/value /parameter should be parameter nameurl/name valuejdbc:oracle:thin:@localhost:1521:ctg/value

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Raj Saini
Hi jake, You woll need to define a context under a Tomcat-Apache service. I belive you are using the context defined in the Stand-Alone service. you must have a virtual host and your context under this virtual host. I hope this helps you. Raj Jake Tweer wrote: I'm getting the same error

Re: excessive cpu use with 4.0.4

2002-10-01 Thread Raj Saini
back my findings after profiling my application. Raj Saini Seb B wrote: Hi, I'm running a stand-alone Tomcat 4.0.4 (not using jsp, so no need to upgrade to 4.0.5) on Linux RedHat 7.3, with IBM's 1.3.1 jvm. There is very little static content to serve and the server doesn't have to listen

Re: binary mod_webapp.so for solaris7?

2002-09-30 Thread Raj Saini
I have the webapps and mod_jk connectors solaris 2.7. How can I put them on the server? I tried to send through mailing list but it is too big to put here. Raj David Bishop wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See subject :-) Anyone have one of those? I was never able

Re: 4th day offline, getting desperate, please help

2002-09-30 Thread Raj Saini
to be able ot see thi son my site. David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 10:11 To: 'Tomcat Users List' Cc: Raj Saini Subject: RE: 4th day offline, getting desperate, please help Hi Raj, I can get www.roamware.com:8080

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network installed properly. If you can not see the ping respone there must be some thing wrong with your network settings. You can also have a look on the

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
Try telnetting to your apache server and open the access log and error log and watch the message there. telnet 127.0.0.1 80 If telnet connects to your server send a a get request get index.html you may not see the echo of your charachters on the console. But the apache should output some

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache Try there two things on DOS prompt of your PC. ping localhost ping 127.0.0.1 If you receive the ping response, it means you have your network

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
you first install it. I have since changed it to shining-path.com in the Apache config file. Maybe this is a problem?? I have checked the Apache error log and there are no errors reported. Geoff -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
set-up (and didn't previously when Apache was working fine). I have a LAN card installed on this PC - the computer name is JK and the Workgroup is MSHOME. This is obviously where Apache got the jk.mshome.net configuration from. Geoff -Original Message- From: Raj Saini [mailto

Re: (OT) Cannot see Localhost on Apache

2002-09-30 Thread Raj Saini
: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:32 To: Tomcat Users List Subject: Re: (OT) Cannot see Localhost on Apache yes, that is where the trouble start. Are you using this card for Internet access? You can try re-installing the network. I can certainly tell you

Re: Problem with mod_jk.so

2002-09-30 Thread Raj Saini
I had the same proplem on Redhat 7.2. I have compiled from source and it worked. Raj Turner, John wrote: Which one did you download? EAPI or no EAPI? John -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:27 PM To: Tomcat Users

Re: how to integrate tomcat with apache

2002-09-27 Thread Raj Saini
It looks your host is not a public one. Your URLs are not accessible. Try if you can access your host from out of your local network. How are you integrating with Apache? Are you using AJP connector or Warp conenctor or proxy? Post the complete information for people to help you. Raj Saini

Re: Tomcat 4.1.12 memory leak

2002-09-26 Thread Raj Saini
/memory.jsp, The memory consumption pattern of the JSP shows the GC runs as you can see the increase/decerece in the free memory of the current heap size. Raj Saini Raj Saini - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September

Re: Tomcat 4.1.12 memory leak, still

2002-09-26 Thread Raj Saini
evaluation. Raj Saini - Original Message - From: Ing. Damiano Bolla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 3:14 PM Subject: Re: Tomcat 4.1.12 memory leak, still I did two more test, here are the results. At 09.50 26/09/2002 -0400, you

Re: JK2: Mod_jk2 Isapi_redirector2.dll

2002-09-26 Thread Raj Saini
mod_jk2 - me to isapi_redirector2.dll - no - Original Message - From: Short, Dave [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 3:55 PM Subject: RE: JK2: Mod_jk2 Isapi_redirector2.dll mod_jk2 - me too isapi_redirector2.dll - soon

Re: Tomcat Admin tool Setup

2002-09-26 Thread Raj Saini
Hi, Tomcat should run for you outof box. You dont need to make any changes to run the examples. There is no tomcat4.conf in the conf directory. And which java pages you are including in that direcotry? Raj Saini - Original Message - From: Medha Parthasarathy Iyengar [EMAIL PROTECTED

Re: can javascript execute a servlet?

2002-09-26 Thread Raj Saini
Yes, you can call a servlet from the javascript but only in Mozilla 1.x (And mozilla based browser) and IE6. You can use the XMLHttpRequest object to make HTTP calls. Please refer the http://www.mozilla.org/xmlextras/ Raj - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To:

Re: Tomcat Admin tool Setup

2002-09-26 Thread Raj Saini
have already messed up with you installation you can make a fresh install and do the above changes. Raj Saini - Original Message - From: Medha Parthasarathy Iyengar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 4:18 PM Subject: Tomcat Admin tool Setup Hi, I am

Re: Tomcat Admin tool Setup

2002-09-26 Thread Raj Saini
Hi, Tomcat should run for you outof box. You dont need to make any changes to run the examples. There is no tomcat4.conf in the conf directory. And which java pages you are including in that direcotry? Raj Saini - Original Message - From: Medha Parthasarathy Iyengar [EMAIL PROTECTED

Re: can javascript execute a servlet?

2002-09-26 Thread Raj Saini
Yes, you can call a servlet from the javascript but only in Mozilla 1.x (And mozilla based browser) and IE6. You can use the XMLHttpRequest object to make HTTP calls. Please refer the http://www.mozilla.org/xmlextras/ Raj - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To:

Re: Tomcat Email - JavaMail Advice.

2002-09-24 Thread Raj Saini
for your problem Raj Saini - Original Message - From: Alex Wallace [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 6:22 PM Subject: Tomcat Email - JavaMail Advice. I need to make a web app that will notify and monitor activity to users by email

Web application deployment with .xml files with multiple virtual hosts

2002-09-24 Thread Raj Saini
files are assocaited with the defaulthost. Is there a way to associate these applications to a virtual host other then default virtual hosts? Thanks Raj Saini

Application .xml context and multiple virtual hosts

2002-09-22 Thread Raj Saini
files are assocaited with the defaulthost. Is there a way to associate these applications to a virtual host other then default virtual hosts? Thanks Raj Saini -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]