Re: Can use ASP pages in Tomcat

2001-07-16 Thread Alberto Torna Jr.

Though I have not tried this yet, there is a Pearl Interpretation of ASP for Apache. 
http://www.nodeworks.com/asp/ That is assuming you've integrated Apache Web Server. 

From: "Bakhtawar Singh Gill" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Can use ASP pages in Tomcat 
Date: Mon, 16 Jul 2001 05:20:22 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com
Hi Friends,


Be patient, I am from Microsoft platform and do not know anything about tomcat and I have few question please help me to get their answer. I will be great full to all of you.
The questions are as follows:


Is it possible to use ASP pages in the Tomcat.
If the answer for the first question is yes then how I am able to use component developed in C++ or V.B to run in the tomcat.
In ISS we have MTS to run component and what we have in Tomcat.
Thanks

Gill Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Configuring tomcat+Apache on different machines

2001-07-12 Thread Alberto Torna Jr.

The way the communications work between tomcat  Apache, a path and a port are involved. You might need to create a share on Tomcat for Apache to access it. Otherwise, a UNC path might suffice. 

From: "kiran kumar" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: <[EMAIL PROTECTED]>
Subject: Configuring tomcat+Apache on different machines 
Date: Thu, 12 Jul 2001 16:27:49 +0530 
 
hi, 
 
I want to run apache and tomcat on different machines. 
 
 
machine 1(111.100.1.1) : Apache 
static files in :/htdocs/mydocs 
 
machine 2(111.100.1.2) : tomcat 
static files in :/webapps/mycontext 
 
I have installed both apache and tomcat on the machines respectively. I have followed the documentation given by apache. Could any one post the configuration document using relevant examples. 
 
 
Thanks a lot in advance. 
 
KiranGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: Problem

2001-07-11 Thread Alberto Torna Jr.

Ensure Tomcat can run from a command prompt IE tomcat start. Ensure all variables and classpaths are the same in your tomcat environment (tomcat env) will show theclasspaths for that instance of tomcat. Those classpaths must be in wrapper.properties

From: "molu molu" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Problem 
Date: Sat, 07 Jul 2001 12:51:15 - 
 
Hi Dear 
 
My Problem about Tomcat for NT service, i make all the changes 
needed , 
and when i type this command (net start Tomcat) , where tomcat is 
the 
service name 
this message appear 
( The tomcat service could not be started 
 The service did not report an error ). 
 
So any help will be appreciated, and please i need it As soon As 
possible. 
 
Best Regards 
Mohammad Jamous 
 
_ 
Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com. 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: NT Service Problem for startup-servlet

2001-07-11 Thread Alberto Torna Jr.

Compare the classpaths. Use Tomcat -env to view the complete classpath in that instance. Then modify the wrapper.properties and ensure all classpaths are correct. 


From: "abdur raheem" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: NT Service Problem for startup-servlet 
Date: Wed, 11 Jul 2001 13:02:36 - 
 
Hi all, 
I make tomcat as NT service. Its working. 
but i created a startup servlet and also made changes in web.xml 
according to that. 
but when i started thru net service the startup servlet is not 
loaded, 
at the same i start Tomcat thru "startup" the startup-servlet 
is working and i am getting results. In startup servlet i 
instanciated 
Singleton objects, using Database tables of Oracle 8i and i am using 
jdbcOdbcDriver. 
 
whats the problem when i start thru service-applet? 
plese help me. 
thanks in advance 
 
Raheem 
 
 
_ 
Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com. 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: Hi Pete, help regarding running Tomcat with SSL

2001-07-11 Thread Alberto Torna Jr.

Please excuse the error Manjunath  Pete, I see you're running IIS and not Apache. 

From: "Manjunath BHat" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Hi Pete, help regarding running Tomcat with SSL 
Date: Tue, 10 Jul 2001 16:17:32 +0530 
 
Hi Pete, 
 
U've said that u r running Tomcat with SSL. R u using CA cert or 
Self 
signed cert. 
 
Please help me. My environment is NT+IIS+Tomcat 
 
Thanks in advance 
 
Manjunath 
_ 
Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com. 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: mod_webapp.so

2001-07-05 Thread Alberto Torna Jr.

I can't tell you how Tomcat 4.x and Apahce are integrated. But I can tell you how Tomcat 3.2.x  Apache work. In the end, it was so simple!
2 things. 
1. 
Append “Include TOMCAT_HOME/conf/tomcat-apache.conf to appache’s httpd.conf file
2. 
Drop mod_jserv.dll into APACHE_HOME/modules
And it works... Hope this helps. 

From: "Anahi Avalos Rubio" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: mod_webapp.so 
Date: Wed, 04 Jul 2001 23:28:07 -0500 
 
Hi all, 
 
I read the documentation for configurate tomcat 4.0 (into j2ee 1.3 
and jdk 
1.3.1 )with apache. So I read server.xml, and it tells me I need to 
make 
some modifications to httpd.conf. Then it says: here's how you make 
mod_webapp.so. But I didn't find anything about this and neither 
/src/connectors files. 
Therefore I downloaded TOMCAT(last version: 4b05)to get 
mod_webapp.so.Then 
I downloaded apr(apr_20010523060225.tar.gz) 
 
But I don't have ./buildconf file only the ./buildconf.sh.And I 
only 
put this : 
./buildconf.sh 
./configure --with-apr=apr/apr-util/include 
--with-apxs=/usr/java/tomcat/../src/apache1.3 
 
/src/Apache1.3 directory has mod_webapp.c and other that I dont 
remember. 
 
But I get the error:missing apr. (something like that) 
 
Can anyone help me with this error message? 
 
or 
 
If I dowload mod_webapp.so to tomcat 4.0(that is the goal of the 
previuos 
lines), this could be fix? And What are the next steps? Or may be I 
need to 
change to tomcat 3.xx. 
 
Any help is appreciated, 
Thanks in advance, 
 
Anahi 
 
p.d.: what is the difference between mod_jk and mod_webapp?(It is 
The 
version of tomcat?) 
 
_ 
Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com. 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: filtering IP's on Tomact

2001-07-05 Thread Alberto Torna Jr.

What do you mean by filtering?

From: "Paulo Roque" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: filtering IP's on Tomact 
Date: Thu, 05 Jul 2001 16:35:35 - 
 
Hi, 
 
Could anyone enlight me about if it is possible to filter a set of 
IP 
addresses on Tomcat 3.2.1 ? 
 
Thanks! 
 
 
Paulo Costa 
Portugal 
 
_ 
Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com. 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: Running more than one instance of Tomcat on the same machine

2001-07-03 Thread Alberto Torna Jr.

Check the paths of your new instance. Ensure you're running Tomcat/Catalina 2 on another port besides 8080. Also, it uses 8007 to communicate with Apache if you're doing that as well. You'll need to change the port on the second instance that communicates with 8007 to something else. 

What I did was simply this
Copy new instance. the JDK path does not change. If you have some custom classes within Tomcat's path, that will also have to change in startup.bat or tomcat.bat. Use the command Tomcat env to verify the classpath. You should not have to change any other variables. The JAVA02 might not be necessary because it will be a variable running in a separate instance. You're safe. If all this was done, what error did you get?

From: "Albretch Mueller" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Running more than one instance of Tomcat on the same machine 
Date: Mon, 02 Jul 2001 15:41:27 - 
 
Hi, 
 
I am trying to run another instance of tomcat on the same machine, 
listening 
to another port, ... 
 
I copy the whole content of the "jakarta" folder into a second 
directory and 
run the startup script from there but it did not work (the rationale 
being 
that you may run the same java program in two different directories, 
since 
they will startup on their own JVM) 
 
I was tinkering with the startup script and came up with the 
following that 
- did not work- (Notice the "\prjct02\" folder): 
 
- - - - - - - - - - - - - - - - - - - - - - - - - 
SET _RUNJAVA02="%JAVA_HOME%\bin\java" 
 
SET _CATALINA_OPTS02=%CATALINA_OPTS02% 
SET _CATALINA_HOME02=%CATALINA_HOME02% 
 
SET CATALINA_OPTS02=" " 
SET CATALINA_HOME02= "C:\tomcat\prjct02\jakarta-tomcat-4.0-b5\" 
 
%_RUNJAVA02% %CATALINA_OPTS02% -Dcatalina.home="%CATALINA_HOME02%" 
org.apache.catalina.startup.Bootstrap %2 %3 %4 %5 %6 %7 %8 %9 start 
 
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
How do you run a totally separate instance of tomcat in the same 
machine 
listening to incomming requests from another port, ...? 
 
Thanks 
_ 
Get your FREE download of MSN Explorer at http://explorer.msn.com 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: Catalina only version of Tomcat

2001-07-03 Thread Alberto Torna Jr.

In a win32 environment, Tomcat as a command line instance get's it's classpath info from startup.bat and tomcat.bat. If you installed it as a service, it would get it from wrapper.properties. 
I don't believe you'd get a performance increase by trimming it down in the manner you suggest. Using Apache integration soluiton might improve your performance if you are serving static pages. This will allow Tomcat to process the JSP, etc. and Apache will act as the web server. 

From: "Albretch Mueller" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: "Catalina only" version of Tomcat 
Date: Mon, 02 Jul 2001 20:23:58 - 
 
Hi, 
 
before I go on with configuration experiments, which are alawys 
problematic, 
I would like to know what yur experience is with Tomcat running 
exclisive 
servlets, and for that matter the 2.3 specification. 
 
The servlets 2.2 package I have simply deleted from my system. But, 
how can 
you customize a slim down version of tomcat in stand alone fashion 
to 
process only servlets (+ XML) and forget about JSP's? 
 
Can you simply delete all jasper*.* files and all references to them 
in the 
web.xml and server.xml files? 
 
Should Tomcat run faster this way? 
 
Thanks 
_ 
Get your FREE download of MSN Explorer at http://explorer.msn.com 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: web.xml files and servlet mapping

2001-07-02 Thread Alberto Torna Jr.

If the examples JSP sites are working, ensure that your JSP has a path defined for your site like the others. Check the Server.xml. That is where most of the general configuration for Tomcat is done. Once it is working there, change the default root of Apache to that directory. You should see results then. 

From: "Gabriel Marti" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: <[EMAIL PROTECTED]>
Subject: web.xml files and servlet mapping 
Date: Sat, 30 Jun 2001 01:27:16 -0400 
 
Hello, I was reading over the past answers to some servlet mapping 
questions, but i still cannot get my situation to work. I have the following 
setup: 
 
D:/tomcat/webapps/clan/WEB-INF/classes/com/gabadoo/bp/servlet 
 /web.xml 
 
In the servlet.xml i have added the following: 
  docBase="/webapps/clan" 
 crossContext="false" 
 debug="5" 
 reloadable="true"  
 
 
And in the clan/WEB-INF/web.xml: 
 
 
 
 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
 "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" 
 
 
 
 
 attemp 
 
 
 com.gabadoo.bp.servlet 
 
 
 
 
 attemp 
 
 
 /attemp 
 
 
 
 
 
the url:http://127.0.0.1:8080/clan/servlet/com.gabadoo.bp.servlet wors fine 
however the mapping to http://127.0.0.1:8080/clan/servlet/attemp is a no go. 
I thought this would work however nothing so far. I attempted to put the 
tags in the main web.xml file however no difference.When i load up tomcat 
one of the lines displayed says reading the file .web.xml, but i dont 
think it really is. Please help. thanks 
 
Gabriel 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: apache not able to access jsp files

2001-06-30 Thread Alberto Torna Jr.

I ran into something similar. I set the default page for Apache to the Tomcat JSP page. 

From: "Ramkumar Manoharan" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: apache not able to access jsp files 
Date: Fri, 29 Jun 2001 17:03:27 -0700 
 
Hi, 
 
OS-red hat 7.0, apache 1.3, tomcat 3.2 
 
I currently have Apache on port 80, Tomcat port 8080 
with mod_jk adapter. The servlets 
and jsp examples work off of localhost:8080, but they 
do not work off localhost:80. 
I have the Tomcat User Guide, the Tomcat-Apache 
HOWTO, and the Working with Mod-JK 
Manual for reference. I am using the auto generated 
mod_jk.auto and basically just 
want Apache to serve the static content and Tomcat the 
dynamic jsp and servlets. 
Unless, I'm missing something the static html pages and 
the .jsp pages should 
be off of port 80 and then the jk adapter should 
transfer the .jsp request to Tomcat 
via port 8007 using the apj12 protocol. 
 
 
But i get the following message: 
 
 
Forbidden 
 
You don't have permission to access /examples/jsp/index.html on this 
server. 
 
I have 755 access to the examples folder and also to the super 
folder 
webapps.Any reason why this problem? 
 
Thanks 
Ram 
_ 
Get your FREE download of MSN Explorer at http://explorer.msn.com 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: jsp pages wont recompile automatically after reloading

2001-06-28 Thread Alberto Torna Jr.



How are you starting tomcat? If you're starting it with startup.bat or tomcat start, then the class paths are referenced inside the .bat files. Personally, I keep all the class files, .JARs, ETC. inside the tomcat directory. The only environment variable Tomcat uses is the for the JAVA_HOME. Other than that, everything else is referenced by that instance. You can check your class path by typing tomcat env within your \tomcat\bin directory. This will give you the classpath as THAT istance will see it. 
If you choose to start tomcat as a service (I'm assuming you're using NT looking at what you have), then what ever classpaths you have in your bat files should be in the \tomcat\conf\wrapper.properties. 
Doing it this way allows you the option to run multiple separate instances of TOMCAT using diferent classpaths. 



Please let me know if this helped. 



Al Torna




From: "Gabriel Marti" <[EMAIL PROTECTED]>

Reply-To: [EMAIL PROTECTED] 

To: <[EMAIL PROTECTED]>

Subject: jsp pages wont recompile automatically after reloading 

Date: Thu, 28 Jun 2001 14:20:49 -0400 

 

Hello, this is my first post, Im not sure if this is the subscription 

process, or the real deal. Anyhow my problem is that I cant get my jsp pages 

to recompile automatically, after ive made changes to them. If i rename the 

file, then obviosly it gets recompiled when i reload it in the browser. Also 

if i remove the .class file from the tomcat\work\localhost\workingdirectory, 

then it also works. This has really been bothering me. Here is what i use 

and have done: 

 

Tomcat 4 beta 5. 

JDK1.3.0_02 

IE5.5 

 

Withing my tomcat\conf\server.xml file i have added the following context: 

 

reloadable="true" 

 

 

Here are my mappings in the autoexec: 

PATH=D:\jdk1.3.0_02\bin;%PATH% 

SET CATALINA_HOME=D:\tomcat 

SET CLASSPATH= 

%CLASSPATH%;D:\jdk1.3.0_02\jre\classes;D:\tomcat\common\lib\servlet.jar;D:\t 

omcat\bin\jdbc.jar 

SET JAVA_HOME=D:\jdk1.3.0_02 

 

Im not an expert at manipulating the bat files nor the xml files so alot of 

this stuff is new and confusing to me. Any help would be greatly 

appreciated. thanks 

 

Gabriel 

Get your FREE download of MSN Explorer at http://explorer.msn.com