Re: JSP problem

2002-02-02 Thread Michael Burke
Randy Layman wrote: I assume when you mean access your jsp page through a servlet you mean you are calling the RequestDispather's forward method. This method takes paths relative to the root of your webapp. If your webapp is called cdtest, then you would want to forward to just

User-defined implicit objects

2002-02-02 Thread Dave Ford
I would like to augment JSP's list of implicit objects (request, out, etc.) with one of my own. I currently know of one way to do this. It requires me to add a taglib directive and custom tag to the top of every page, which seems more hassle than it's worth. I was wondering if there's a way to do

Advanced Ques. w/SSL

2002-02-02 Thread Dean Hiller
I have done the HOW-TO on SSL and it works fine with stand-alone tomcat. I am preparing an installation of tomcat to be installed on many computers. I CANNOT create a separate certificate for each computer. Am I screwed Our installation program installs tomcat, and then changes

Why this happens

2002-02-02 Thread Dino Cherian K
Hi I am trying to configure Tomcat 3.3a.rc2 on RedHat Linux 7.0 and Apache 1.3.12. Whe I look into the log file for the domain mydom.com it shows this. 2002-02-02 15:47:23 - mydom.com:: Class not found: org.apache.jasper.servlet.JspServlet 2002-02-02 15:47:23 - mydom.com:: Status code:404

Principal Cast Exception

2002-02-02 Thread Nicolas PERIDONT
Hi, I have make my own Principal class name MyPrincipal that extends from java.scurity.Principal I make my own Realm and i can log with it. But when i get the Principal object whith the request.getUserPrincipal() method i cant cast this object in (MyPrincipal). I get a classCastException when i

Re: HELP on server.xml PLEASE

2002-02-02 Thread Rich Hansen
Okay. try to change the following from: docBase=webapps/ourforge to: docBase=ourforge Here is an example I have: Context path=/search docBase=quest/portalsearch crossContext=false debug=0 reloadable=true /Context Note: the quest folder resides under the webapps

Problems running servlets on OSX

2002-02-02 Thread Michael Dizon
I am having problems running accessing servlets on Tomcat. JSP files are fine, but when trying to access the servlets I get a 404. Everything seems okay in the catalina.out log file. Here is what is outputted in the localhost_examples_log: 2002-02-02 15:00:33 WebappLoader[/examples]: Deploying

Java Petstore + Tomcat 3.3 web.xml problem

2002-02-02 Thread Renato
Hi all, I'm trying to deploy the Java Pet store 1.1.2 with Tomcat 3.3 and JBoss. I actually trying to run Tomcat apart from JBoss and putting just the client side EJBs on my WEB-INF directory. I'm using the web.xml provided by the application ( they say to run Tomcat integrated with JBoss,

applet works, https doesn't

2002-02-02 Thread Dean Hiller
I have an applet that connects back to the server on 8443 and it works fine even without a certificate. When I go to https://localhost:8443 web page, I get a prompt with an unknown certificate(certificate was created and self signed by me). Why don't I get this prompt with the applet, it is

Startup error: no userdatabase

2002-02-02 Thread www.custos.de Information
hello, I have an major error while starting tomcat 4.0 on a apache webserver on win2k. After install tomcat, the first startup works fine. After I shutdown the servlet and the start it again an error message occurs No UserDatabase component found... So the tomcat doesn't start up. I reinstalled

Tyrex transactions: a workaround

2002-02-02 Thread Fabrizio Giudici
Hi. After some investigations about tyrex problems with transactions and messing up with tyrex and catalina sources I was able to analyze the problem (actually two different bugs) and to find a quick and dirty workaround. THE PROBLEM 1 = Tyrex defines, among others, two kinds of

Re: Tyrex transactions: a workaround

2002-02-02 Thread Remy Maucherat
Hi. After some investigations about tyrex problems with transactions and messing up with tyrex and catalina sources I was able to analyze the problem (actually two different bugs) and to find a quick and dirty workaround. Ok, I'll fix both. Thanks, Remy -- To unsubscribe:

restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)

2002-02-02 Thread Matt Egyhazy
hi, im trying to exec a .bat file that moves files around and restarts tomcat from a servlet. it seems as though the .bat file is being run up to the point where it calls net stop tomcat net start tomcat any ideas? am i doing something wrong or is there an easier way to restart tomcat?

RE: Tyrex transactions: a workaround

2002-02-02 Thread Fabrizio Giudici
Unfortunately this does not work, and I believe this is a tomcat bug (in facts, try to set 'type' to I.DO.NOT.EXIST and you'll discover that catalina doesn't notice it). The Resource gets always bound in JNDI with type javax.sql.DataSource. Remy make me understand that this is not a bug in

Re: Tyrex transactions: a workaround

2002-02-02 Thread Remy Maucherat
Unfortunately this does not work, and I believe this is a tomcat bug (in facts, try to set 'type' to I.DO.NOT.EXIST and you'll discover that catalina doesn't notice it). The Resource gets always bound in JNDI with type javax.sql.DataSource. Remy make me understand that this is not a

RE: Tyrex transactions: a workaround

2002-02-02 Thread Fabrizio Giudici
Nevertheless, removing the entry from web.xml and using tyrex.jdbc.ServerDataSource doesn't work, so it seems that the workaround is still needed. I will try again tomorrow. Thanks to Remy, I've finally discovered that we don't need to patch catalina for tyrex transaction to work. Finally,

Apache-1.3.22 and Tomcat-4.0 and mod_webapp

2002-02-02 Thread Ilic Aleksandar
I am trying to configure Apache-1.3.22 and Tomcat-4.0 and mod_webapp to work together. I have some virtual hosts in tomcat and have same VH in apache. root dirs of those VH are in /home/VH_name/www/htdocs Tomcat is working fine, but I can't configure mod_webapp in apache LoadModule

Catalina Beans - Class Path Problem

2002-02-02 Thread Jon Shoberg
Short Version: For some reason, I can not get my JSP pages to compile when loading a little bean ... It is not reading web-inf/classes. Although, it is reading web-inf/web.xml Long Version: A)Installed tomcat, got it running, all of the example programs work. B)I am building an

Re: Catalina Beans - Class Path Problem

2002-02-02 Thread Jon Shoberg
As a follow-up If I try a page import of gwclasses it failes with that top level error ... Any thoughts? Thanks - Original Message - From: Jon Shoberg [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, February 02, 2002 8:12 PM Subject: Catalina Beans

htdocs or servlet

2002-02-02 Thread Rob
Howdy all! We are using Apache for web serving and Tomcat for servlets in a project that involves web pages and servlets being accessed by the user. We have html pages, XML documents and a large java package containing server side application logic, servlets and applets to be used by the

RE: Catalina Beans - Class Path Problem

2002-02-02 Thread Pavel Brun
Please see my comments below: All your classes and/or beans should go into: ./webapps/gateway/WEB-INF/classes, or ./webapps/gateway/WEB-INF/lib This should help you out. :-) Paul -Original Message- From: Jon Shoberg [mailto:[EMAIL PROTECTED]]

Re: htdocs or servlet

2002-02-02 Thread Matt Egyhazy
take a look at mod_jk, the directory directive for apache, and the context directive in tc. ive always used the j2ee standard .war packaging for server side java applications. matt - Original Message - From: Rob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday,

How to make Tomcat 4.01 + Apache http server 1.3.19 work?

2002-02-02 Thread Dong Wenyu
I have been confused for weeks about Tomcat 4.01 + Apache http server 1.3.19. 1, Does Tomact 4.01 alone support servlet already? Does it necessary to install JServ in addition as the case with Tomcat 3.x? 2, Many books recommend the configuration of Tomcat + pache http server. Does it make any

Tomcat 4 and Apache w/ webapp module

2002-02-02 Thread salphonse
Hello. I have installed apache-1.3.20-16 and tomcat4-4.0.2-b2.1 with mod_webapp-1.0.2-1 on Linux/Red Hat 7.2. The httpd.conf I am able to set up a test jsp page and it works under the following directory /var/tomcat4/webapps/jsp. When I try the same test jsp page

Apache, Tomcat 4 and Webapp Module

2002-02-02 Thread Sean Alphonse
Hello. I have installed apache-1.3.20-16 and tomcat4-4.0.2-b2.1 with mod_webapp-1.0.2-1 on Linux/Red Hat 7.2. Everything is installed properly and the httpd.conf file is configured properly. I am able to set up a test jsp page and it works under the following directory

can't get tomat working with IIS

2002-02-02 Thread Scott Adamson
I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly (green arrow) but still nothing. Works fine with 8080. I have checked the iis_redirect.log - it generates - [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Sun Feb 03 04:42:55

Re: How to make Tomcat 4.01 + Apache http server 1.3.19 work?

2002-02-02 Thread rakesh
Tomcat looks all the servlet under WEB-INF/classes directory so amke ythese directories under ur servlet directory and put all the class files there thanks rakesh - Original Message - From: Dong Wenyu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 8:35 AM

Re: Reload servlet

2002-02-02 Thread rakesh
Tomcat looks all the servlet under WEB-INF/classes directory so amke ythese directories under ur servlet directory and put all the class files there thanks rakesh - Original Message - From: Harry Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 4:21 AM

RE: can't get tomat working with IIS

2002-02-02 Thread Pavel Brun
Did you add the appropriate directories to uriworkermap.properties? Also, did you uncomment the reference to the ajp13 connector in server.xml? I am also running Windows 2K IIS and Tomcat and they both work well. Thanks PAul -Original Message- From: Scott Adamson [mailto:[EMAIL

Re: can't get tomat working with IIS

2002-02-02 Thread Scott Adamson
What is required in uriworkermap.properties ? No, I haven't modified this file. I can't find any reference to 'ajp13' in server.xml, what is meant to be there ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03,

RE: can't get tomat working with IIS

2002-02-02 Thread Pavel Brun
The uriworkermap.properties has the following format: - # # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /example=$(default.worker) /example/*=$(default.worker)

RE: can't get tomat working with IIS (complete email...earlier one was incomplete)

2002-02-02 Thread Pavel Brun
woopssent it prematurely. :-) The uriworkermap.properties has the following format: -- # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat #

Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-02 Thread Micael Padraig Og mac Grene
Clear question: No answers The subject, supra, asks the question. If you have a number of URLs pointed to a single IP address, can you map the URLs somehow to discrete web applications in Tomcat 4.0? I have read everything I know to read and cannot get the answer to this. I know I

webapp WebAppDeploy root + other webapps

2002-02-02 Thread Troy A. Griffitts
I've seen many questions about this in the FAQ and none have good answers. Can anyone tell me how I might make this work: WebAppDeploy sword warpConnection /sword WebAppDeploy crosswire warpConnection / The crosswire webapp overrides the /sword webapp. I've seen a response about

RE: can't get tomat working with IIS

2002-02-02 Thread Mark Eggers
Did you also create a virtual directory for IIS? I am running IIS, Tomcat, Cocoon, Jetspeed, and the Turbine development kit on Win/2K professional (laptop) along with Perl, PHP, and MySQL. Of course the laptop is pretty loaded, but it all works and I have a portable development environment /

Re: Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-02 Thread pete
What you are after is essentially a 'Layer-7 Switch' I do this with the SQUID proxy server and a perl script which rewrites HTTP requests using regular expressions to match URL fragments. e.g. all our domains are pointed at a single IP, and i map requests for external domain namesservers to