Re: R: Apache/Tomcat/mod_jk configuration problem?

2001-02-17 Thread R N Mukherjee


JIM RUDNICKI, 
Where are you.??
Pl. help to solve this problem .I think Jim Rudnicki [EMAIL PROTECTED]
may help to solve this configuration problem between aoache+tocat+modjk?.I
request all others in the list to REQUEST him for solving this problem.
R K JHA




At 12:17 17/02/01 +0100, you wrote:
mod_jk is not even trying to  contact apache, as I cannot see no
communication on port 8007/8009. I have two options: - I made a silly, low
level mistake (but I'm not  alone, as I can see on the list: maybe
instructions allow  misunderstandings) - There is something about
communication that does  not work under some conditions (just to say, I am
also using Mandrake 7.2 and  kernel 2.4.0) Since I can see various
discussion threads in the  list related to this problem, should us all join
this thread, so we can avoid  communication garbling?  - Original
Message -From:GanasenGoundenTo:
[EMAIL PROTECTED]Sent: Saturday, February 17, 2001 11:47  
 AM   Subject: Apache/Tomcat/mod_jkconfiguration problem?   
Hello

I too am experiencing extreme difficulty insitting up Apache/Tomcat.
Neither the default mod_jserve or the configurationfor Mod_jk/ajp12
default or ajp13 configuration works as per the varioussuggestions
presented on the listing. Everything works directly viaTomcat:port 8080
but not via Apache.

I have three different types ofapplications: Servlet, JSP, Applet.

1. The servlet applications is justone class and works in Apache and
Tomcat with no problems.
2. The JSP andApplet application works in Tomcat but not via Apache.
   The JSP applications is an Oracle Jdeveloper applications with
variouslibraries and relevant tags files etc.
The appletapplication is a fully containe applet with various
classes and libraries inits application directory.
It loads via Apache but isunable to find its required assocaited
files. 


Apache is somehownot communicating with Tomcat about where the files
are or visa versa. I havea feeling it is about mapping of directories
or something simple but thenagain I am a newbie.

Judging from this list everyone is having similarproblems with
apache/mod_jk. Included are my various configurations files. Iwould
appreciate if someone can
can point out what I need to fix.

Iam using Apache 1.3.14 , Tomcat 3.2.1 and JRE 1.3 and Windows 2000
withservice pack 1.
I am calling mod_jk.conf.mine from appachehttp.conf

Manythanks



**
Anyunauthorized use and interception of this e-mail is illegal.
If this e-mailis not intended for you, you may not copy, 
  This e-mail 
does not give rise to any bindinglegal obligations upon the
City of Cape Town unless the City of Cape Townsubsequently
  Thise-mail
may be confidential, legally privileged or otherwise protected
  Unauthorised disclosure or copying of any or all of it
may beunlawful. If you receive this e-mail in error please notify
the sender anddelete themessage

**
  
-
Tounsubscribe, e-mail: [EMAIL PROTECTED]
Foradditional commands, email:  [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Where is mod_jk.so for WIN32?

2001-02-16 Thread R N Mukherjee

GOT IT, THANKS ALL

At 15:20 05/02/01 +, you wrote:

In the standard downloads directory, ie:

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i3
86/mod_jk.dll

Hope this helps,
Steve


On Mon, 5 Feb 2001, Michael Wentzel wrote:

  SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat
  connectin in
  win 98)
 
  URL address will be most helpful.

 There is no mod_jk.so for win32.  A .so is a static library
 in linux.  Should be a dll you're looking for.

 ---
 Michael Wentzel
 Software Developer
 A HREF="http://www.aswethink.com"Software As We Think/A
 A HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-- 
Steve Smale
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




test

2001-02-16 Thread R N Mukherjee

test mail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Where is mod_jk.so for WIN32?

2001-02-05 Thread R N Mukherjee


SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in
win 98)

URL address will be most helpful.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




SERVELET ClasspathWOES

2001-02-05 Thread R N Mukherjee


SUB: How should the CLASSPATH be set for compiling a servlet file
containing BOTH USERDEFINED packages  BUILT-IN java packages. (presently
gives compile error with javax.http.servlet not found)

My servelet code is

/*user defined html package saved in c:mypackage*/
import mypackage.html.*;
import javax.servlet.*;
import.javax.servlet.http.*;

COMPILE ERROR
the user defined html package is found, but not the javax.servet package.

Classpath is set as follows
set classpath=.;c:\mypackage;c:\jsdk2.0\lib\jsdk.jar;

Please suggest How should the classpath be set for RECOGNISING BOTH user
defined packages and javax.servlet packages at the same time.









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




SERVELET ClasspathWOES

2001-02-05 Thread R N Mukherjee


SUB: How should the CLASSPATH be set for compiling a servlet file
containing BOTH USERDEFINED packages  BUILT-IN java packages. (presently
gives compile error with javax.http.servlet not found)

My servelet code is

/*user defined html package saved in c:mypackage*/
import mypackage.html.*;
import javax.servlet.*;
import.javax.servlet.http.*;

COMPILE ERROR
the user defined html package is found, but not the javax.servet package.

Classpath is set as follows
set classpath=.;c:\mypackage;c:\jsdk2.0\lib\jsdk.jar;

Please suggest How should the classpath be set for RECOGNISING BOTH user
defined packages and javax.servlet packages at the same time.









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Where is mod_jk.so for WIN32?

2001-02-05 Thread R N Mukherjee


SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in
win 98)

URL address will be most helpful.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




quick Tomcat question

2001-02-04 Thread R N Mukherjee



SUB: is TOMCAT is a JSP ENGINE + SERVELET ENGINE or ONLY A JSP ENGINE.??

If it is JSP + Servelets then why we have to run JSDK for testing the JSP
files.? 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: PROBLEM RUNNING TOMCAT3.1

2001-02-03 Thread R N Mukherjee



Download the file(100KB) at the following and your problem will be over in
10seconds.

http://www.geocities.com/jdrudnicki/


At 03:46 03/02/01 -0500, you wrote:
SIR!,
WHILE RUNNING TOMCAT3.1 UNDER WIN98 32MB CELE566MHZ, THE NEW DOS WINDOW THAT
'STARTUP.BAT' STARTS CLOSES.
PLEASE HELP ME OUT!
THE SAME HAPPENS WITH 'TOMCAT RUN' COMMAND

REGARDS

ANUPAM


__
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Run Tomcat as a Standalone

2001-02-03 Thread R N Mukherjee


Download the file(100KB) at the following and your problem will be over in
10seconds.

http://www.geocities.com/jdrudnicki/






At 15:32 02/02/01 +0530, you wrote:
   Hello, I have downloaded the  jakarta-tomcat-4.0-m5.zip file and
extracted it in the c:\tomcat  folder. I have also added the following
lines in my  autoexec.bat set JAVA_HOME=c:\jdk1.2 set 
TOMCAT_HOME=c:\tomcat\jakarta-tomcat-4.0-m5  startup command from the 
c:\tomcat\jakarta-tomcat-4.0-m5\bin folder, tomcat starts and shuts down
after  flashing some errors. I'd appreciate if you guys can help me with
this  problem. Do i have to do any other steps to run tomcat as a
standalone  server. I'm doing the above on a machine running Windows  98.
Looking forward to hearing from you. Have a nice day.
With regards,
Sachin S.  Khanna.
www.emailanorder.com
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




THANKS!Re: PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-03 Thread R N Mukherjee


THANKS ALL , FOR THE HELP. I am started tomcat in standalone mode. I have
posted another question for apache + tomacat installation in win 98. any
help will be appreciated.


At 01:32 03/02/01 +0100, you wrote:
Hi,


- Original Message -
From: R N Mukherjee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 02, 2001 8:22 AM
Subject: PROBLEM TOMCAT(stdalone)STARTUP\WIN 98



 SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98)
 (How to setup the environment variable)


 1. TOMCAT(STDALONE\WIN98) NOT STARTING after setting the env variable.
 A. BEFORE SETTING the environment variable,when I run run bin.stratup.bat,
 it says point JAVA_HOME to your Java Development Kit.

 B. AFTER setting env variables, the commands bin/startup and bin/shutdown
 not functioning("says file not found).

 C. How to know TOMCAT is RUNNING or NOT.?

Ther is always a dos(window) open..


 I have setup the environment variables as follows

 I have created a separate batch file(tomenv.bat) that contains the
following:
  F:\
  cd\temp\jakarta-tomcat-3.2.1
  SET TOMCAT_HOME= f:\cd\temp\jakarta-tomcat-3.2.1
  SET JAVA_HOME=C:\jdk1.2.1
  SET CLASSPATH:=f:\cd\temp\jakarta-tomcat-3.2.1\bin\startup.bat;

I have set classpath=
TOMCAT_HOME\LIB\SERVLET.JAR;TOMCAT_HOME\LIB\JASPER.JAR;%JAVA_HOME%\lib\tools
.jar;%CLASSPATH%
Why do you have startup.bat in your CLASSPATH??


 PLEASE HELP(Three days have passed with this problem)


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread R N Mukherjee


SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98)
(How to setup the environment variable)


1. TOMCAT(STDALONE\WIN98) NOT STARTING after setting the env variable.
A. BEFORE SETTING the environment variable,when I run run bin.stratup.bat,
it says point JAVA_HOME to your Java Development Kit.

B. AFTER setting env variables, the commands bin/startup and bin/shutdown
not functioning("says file not found).

C. How to know TOMCAT is RUNNING or NOT.?


I have setup the environment variables as follows

I have created a separate batch file(tomenv.bat) that contains the following:
 F:\
 cd\temp\jakarta-tomcat-3.2.1
 SET TOMCAT_HOME= f:\cd\temp\jakarta-tomcat-3.2.1
 SET JAVA_HOME=C:\jdk1.2.1
 SET CLASSPATH:=f:\cd\temp\jakarta-tomcat-3.2.1\bin\startup.bat;

PLEASE HELP(Three days have passed with this problem)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




ENVIRONMENT SETTING TOMCAT(stdalone)\WIN 98

2001-02-02 Thread R N Mukherjee


SUB:ENVIRONMENT SETTING TOMCAT(stdalone)\WIN 98(How to setup the
environment variable)


Dear aLL,
I am having problem in setting the ENVIRONMENT variable(win 98) .


1. TOMCAT(STDALONE\WIN98) NOT STARTING .

 AFTER setting env variables, Ms-dos says "OUT OF ENVIRONMENT SPACE".

2. How to know TOMCAT is RUNNING or NOT.?


I have setup the environment variables as follows

I have created a separate batch file(tomenv.bat) that contains the following:
 F:\
 cd\temp\jakarta-tomcat-3.2.1
 SET TOMCAT_HOME= f:\cd\temp\jakarta-tomcat-3.2.1
 SET JAVA_HOME=C:\jdk1.2.1
 SET CLASSPATH:=f:\cd\temp\jakarta-tomcat-3.2.1\bin\startup.bat;

PLEASE HELP(Three days have passed with this problem)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Need Tomcat freeware(for trial)

2001-02-02 Thread R N Mukherjee


DOWLLOAD A 3.O MB ZIP FILE FROM
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin

R.K.JHA,SAIL

At 15:13 02/02/01 +0530, you wrote:
Hi ,

I have been trying out servlets using jws2.0,  Came to know about tomcat
and apache server combination through servlet-interest list. Have already
got apache server wud like to have a trial version of tomcat.  If possible
please do mail as attachment to this id



thankin u in advance


V.T.R. RAVI KUMAR., ET,

ITX,HEEP,Bharat Heavy Electricals Limited (BHEL),
Hardwar, Uttraanchal (UA),INDIA . PIN CODE - 249 403.

Those who stand for nothing ...  Will fall for anything !!!

   http://hwr08/web/VTR



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread R N Mukherjee


SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98)
(How to setup the environment variable)


1. TOMCAT(STDALONE\WIN98) NOT STARTING after setting the env variable.
A. BEFORE SETTING the environment variable,when I run run bin.stratup.bat,
it says point JAVA_HOME to your Java Development Kit.

B. AFTER setting env variables, the commands bin/startup and bin/shutdown
not functioning("says file not found).

C. How to know TOMCAT is RUNNING or NOT.?


I have setup the environment variables as follows

I have created a separate batch file(tomenv.bat) that contains the following:
 F:\
 cd\temp\jakarta-tomcat-3.2.1
 SET TOMCAT_HOME= f:\cd\temp\jakarta-tomcat-3.2.1
 SET JAVA_HOME=C:\jdk1.2.1
 SET CLASSPATH:=f:\cd\temp\jakarta-tomcat-3.2.1\bin\startup.bat;

PLEASE HELP(Three days have passed with this problem)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




?HOW-TO-INSTAL(Apche+tmcat)

2001-02-02 Thread R N Mukherjee



SUB: HOW TO ?APACHE + TOMCAT INSTALLATION(WIN98)

Dear all,
I have been successful in running Tomcat in standalone mode with the help
of "http://www.geocities.com/jdrudnicki/"  environment setting files. My
problem is HOW TO INSTALL Apache + Tomcat in win 98.Please HELP.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: applet-servlet communication

2001-01-30 Thread R N Mukherjee



GOOD CODE. I am going through it and will get back to you very soon.can I
reply to you offlist??
RKJHA, ELECTRONICS ENGINEER



At 10:41 30/01/01 +0100, you wrote:
I wrote a pair applet-servlet to do a server-based circuit simulation from an
applet located in some client computer. Here are the sources, FYI (yet in
development). If you want, you can email me directly to discuss the
implementation details.

Applet source
follows--
This applet has a simple GUI interface to allow the user to input a
electronic
circuit description (text format) in a multi-line text edit control. Then, by
pressing the "Simulate" button, the text edit content is sent to the servlet
via a POST method. The servlet writes down this text to a file and invokes
the
simulator (ng-spice), sending the results back to the applet for displaying
them into the user screen.

//Title:   SPICE - Applets i Servlets
//Version:
//Copyright:   Copyright (c) 2000
//Author:  Orestes Mas
//Company: GEC-UPC
//Description: Execuci de SPICE en mode client-servidor

package es.upc.gec;

import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.net.*;
import java.io.*;

public class SpiceApplet extends Applet {
  boolean isStandalone = false;
  BorderLayout Layout = new BorderLayout();
  Label titol = new Label();
  Panel panellBotons = new Panel();
  Button botoSimular = new Button();
  Button botoVisualitzar = new Button();
  TextArea arxiu = new TextArea();
  private String arxiuCIR = "";
  private String arxiuOUT = "";
  private String direccio = "http://your servlet URL here.../SPICEServlet";
  private URL urlservlet; //Es crea la URL
  private URLConnection conservlet;
  private ObjectOutputStream sortida;   //Streams de comunicaci amb el
Servlet
  private ObjectInputStream entrada;

  //Construct the applet
  public SpiceApplet() {
  }

  //Initialize the applet
  public void init() {
try  {
  jbInit();
}
catch(Exception e)  {
  e.printStackTrace();
}
  }

  //Component initialization
  private void jbInit() throws Exception {
titol.setFont(new java.awt.Font("SansSerif", 0, 20));
titol.setText("SPICE - Simulador Remot");
this.setLayout(Layout);
botoSimular.setLabel("Simular");
botoSimular.addActionListener(new java.awt.event.ActionListener() {

  public void actionPerformed(ActionEvent e) {
botoSimular_actionPerformed(e);
  }
});
botoVisualitzar.setEnabled(false);
botoVisualitzar.setLabel("Veure .OUT");
botoVisualitzar.addActionListener(new java.awt.event.ActionListener() {

  public void actionPerformed(ActionEvent e) {
botoVisualitzar_actionPerformed(e);
  }
});
arxiuCIR = "Circuit de prova\n";
arxiuCIR += "* Canvia el titol per un de mes adient\n";
arxiuCIR += "* i entra la descripcio del circuit a continuacio\n";
arxiu.setFont(new java.awt.Font("Monospaced", 0, 14));
arxiu.setText(arxiuCIR);
this.add(titol, BorderLayout.NORTH);
this.add(panellBotons, BorderLayout.SOUTH);
panellBotons.add(botoSimular, null);
panellBotons.add(botoVisualitzar, null);
this.add(arxiu, BorderLayout.CENTER);
  }

  //Get Applet information
  public String getAppletInfo() {
return "Applet Information";
  }

  void botoSimular_actionPerformed(ActionEvent e) {
// 1) Desactivar el bot de "Veure .OUT" i netejar continguts
botoVisualitzar.setEnabled(false);
// 2) Copiar el contingut de la TextArea a una var. interna
arxiuCIR = arxiu.getText();
try {
// 3) Obrir una connexi amb el Servlet
//Missatge: Connectant amb el simulador remot...
titol.setText("Connectant amb el simulador remot...");
urlservlet = new URL(direccio);
conservlet = urlservlet.openConnection();   // Obrim connexi amb el
Servlet
// Fixem diversos parmetres de la connexi...
conservlet.setDoInput(true);
conservlet.setDoOutput(true);
conservlet.setUseCaches(false);
conservlet.setDefaultUseCaches(false);

conservlet.setRequestProperty("Content-Type","application/octet-stream");

// 4) Enviar el contingut de la TextArea
//Missatge: Enviant .CIR al simulador...
titol.setText("Connectat: Enviant .CIR al simulador...");
//Se crea un Stream de sortida (para objetos).
sortida = new ObjectOutputStream(conservlet.getOutputStream());
sortida.writeObject(arxiuCIR);   // Se escribe el objeto.

// 5) Esperar resposta i col.locar-la en un objecte intermig
//Missatge: Esperant resposta...
titol.setText("Arxiu enviat: Esperant resposta...");
//Se abre un Stream de entrada, (importante, tanto si se esperan
datos
como si no)
entrada = new ObjectInputStream(conservlet.getInputStream());

//Se lee el objeto, es necesario un "moldeo" del objeto leido.
arxiuOUT = 

TOMCAT DOWNLOAD FILE WHERE??

2001-01-29 Thread R N Mukherjee


SUB:TOMACT DOWNLOAD FILE(WHERE??) AT JAKARTA FOR WIN98/NT

Dear all,
can anyone of you please tell which file to download for tomcat3.2.1 for
WIN98/NT OS.:
(http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin)




Index of /builds/jakarta-tomcat/release/v3.2.1/bin



 [DIR]  Parent Directory  08-Jan-2001 06:20  -  
 [   ]  jakarta-servletapi-3.2.tar.Z  12-Dec-2000 12:41   479k  tar archive
 [   ]  jakarta-servletapi-3.2.tar.gz 12-Dec-2000 12:41   223k  GZIP
compressed file
 [   ]  jakarta-servletapi-3.2.zip12-Dec-2000 12:41   426k  
 [TXT]  jakarta-tomcat-3.2.1.sea  09-Jan-2001 00:53   3.0M  
 [   ]  jakarta-tomcat-3.2.1.sea.hqx  09-Jan-2001 00:55   4.2M  
 [   ]  jakarta-tomcat-3.2.1.tar  12-Dec-2000 14:26   5.0M  tar archive
 [   ]  jakarta-tomcat-3.2.1.tar.gz   12-Dec-2000 14:29   2.7M  GZIP
compressed file
 [   ]  jakarta-tomcat-3.2.1.zip  12-Dec-2000 14:33   3.0M  
 [DIR]  netware/  12-Dec-2000 12:41  -  
 [DIR]  win32/12-Dec-2000 12:41  -  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]