web.xml filter config

2002-01-17 Thread Grobe, Gary


How do I get ...
http://localhost/{mycontext} to point to Filter (default filter) 
and ... http://localhost/{myContext}/f2 to point to Filter2?

I've been having problems calling Filter2. I want both filters to operate on
the same file ... so if i just type in http://localhost/myContext , then
index.html file gets Filter, same for Filter2 if I append f1 to that. The
response stream that both filters operate on must come from the same files
(i.e. index.html, etc...).

   filter
  filter-nameFilter2/filter-name
  display-nameFilter2/display-name
  filter-classcontrol.filter.Filter2/filter-class
   /filter

   filter
  filter-nameFilter/filter-name
  display-nameFilter/display-name
  filter-classcontrol.filter.Filter/filter-class
   /filter

   filter-mapping
  filter-nameFilter2/filter-name
  url-pattern/f2*/url-pattern
   /filter-mapping

   filter-mapping
  filter-nameFilter/filter-name
  url-pattern/f1*/url-pattern
   /filter-mapping

Any help much appreciated.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: web.xml filter config

2002-01-17 Thread Grobe, Gary

/* works for the first filter and returns the index.html underneath my
context name, /f2/* calls the second filter, but does not find the
index.html. Does it look someplace else by calling it this way?


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 5:24 PM
To: Tomcat Users List
Subject: Re: web.xml filter config



The URL patterns in your filter mappings are not valid patterns.  Try
/* for the first filter /f2/* for the second filter.  Then, your URLs
would be processed like this:

http://localhost:8080/{mycontext}/index.html -- filtered by Filter
http://localhost:8080/{mycontext}/f2/index.html -- filtered by
  Filter2 and then Filter

Craig


On Thu, 17 Jan 2002, Grobe, Gary wrote:

 Date: Thu, 17 Jan 2002 17:12:28 -0600
 From: Grobe, Gary [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: web.xml filter config


 How do I get ...
 http://localhost/{mycontext} to point to Filter (default filter)
 and ... http://localhost/{myContext}/f2 to point to Filter2?

 I've been having problems calling Filter2. I want both filters to operate
on
 the same file ... so if i just type in http://localhost/myContext , then
 index.html file gets Filter, same for Filter2 if I append f1 to that. The
 response stream that both filters operate on must come from the same files
 (i.e. index.html, etc...).

filter
   filter-nameFilter2/filter-name
   display-nameFilter2/display-name
   filter-classcontrol.filter.Filter2/filter-class
/filter

filter
   filter-nameFilter/filter-name
   display-nameFilter/display-name
   filter-classcontrol.filter.Filter/filter-class
/filter

filter-mapping
   filter-nameFilter2/filter-name
   url-pattern/f2*/url-pattern
/filter-mapping

filter-mapping
   filter-nameFilter/filter-name
   url-pattern/f1*/url-pattern
/filter-mapping

 Any help much appreciated.

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: class xxx is not a servlet ?

2001-08-23 Thread Grobe, Gary

hehe, this subject line will surely make it past all the net nannies!

-Original Message-
From: Marcus Crafter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 9:34 AM
To: Tomcat User Mailing List
Subject: class xxx is not a servlet ?


Hi All,

Hope all is well.

Just tried to see how our applications works with TC4B7. We're
getting
the following exception in our log file, telling us that our servlet
class is not a servlet:

2001-08-23 18:24:31 StandardContext[/diva-fs2]: Servlet /diva-fs2 threw
load() exception
javax.servlet.ServletException: Class dreba.prj.fs2.fdn.portal.Portal is not
a S
ervlet
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
3)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3240)
 cut 
- Root Cause -
java.lang.ClassCastException: dreba.prj.fs2.fdn.portal.Portal
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:80
9)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3240)

Portal class derives from CocoonServlet, which derives in turn from
HttpServlet. I've compiled our application with the servlet.jar from
TC4B7, but I still get the same exception. The application
works fine with TC323.

Any ideas what this could be ? 

Cheers,

Marcus


-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ :'   60327 Frankfurt Germany
   ' /( 
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
:



callbacks to the container or similar exist ?

2001-08-17 Thread Grobe, Gary

I've posted this before and am still looking for a solution.

After reading the Tomcat architecure docs, I have a question.

Is there anyway to call the invoke method of a container from the webserver
whenever needed. i.e. If I wanted to get the time it takes for the web
server to process a request (meaning I'd like the webserver to handle the
request), could the server engine be invoke()'d to startTime and when the
webserver finished handling the request, is there some way it could be
invoked again to stopTime so that I'd know how long it took?

Note, I don't want to know how long the container took to execute the
service, rather, how long it took for the webserver to execute. But I'd like
to use the container for timing (a java solution as it would run on many
webservers) and not have to use plug-ins.

I know that in order for the servlet to do this it must handle the request
and I could get the times from the response and then the request, but I'm
looking to see if I can *monitor* (if that's the right word) the web servers
performance and time a the time it took to process a request. Maybe someway
to make callbacks to the webserver?

My reason for wanting apache to handle the requests is because of sites that
have very large connection loads that our clients/or Tomcat will not accept
performace wise. 

Thanks,
Gary



do callbacks to engine exist?

2001-08-01 Thread Grobe, Gary


After reading the Tomcat architecure docs, I have a question.

Is there anyway to call the invoke method of a container from the webserver
whenever needed. i.e. If I wanted to get the time it takes for the web
server to process a request, could the server engine be invoke()'d to
startTime and when the webserver finished handling the request, is there
some way it could be invoked again to stopTime so that I'd know how long it
took?

I know that in order for the servlet to do this it must handle the request
and I could get the times from the response and then the request, but I'm
looking to see if I can *monitor* (if that's the right word) the web servers
performance or it's requests in some way. Maybe someway to make callbacks to
the webserver?

My reason for wanting apache to handle the requests is because of sites that
have very large connection loads that our clients/or Tomcat will not accept
performace wise. If this part doesn't make sense, please ignore as their are
other reasons also.




explanation of the container with apache

2001-07-30 Thread Grobe, Gary


I'm looking to know how someone would explain how the servlet container
interacts with the web server. 

Things like, what exactly is a container, how requests are forwared to the
container, how the connections are made, the overhead, namespacing, etc...

Or even point me to a few refs about this.

Adv(thnxs)ance



RE: (Off topic) How to know which hyper-link has been clicked?

2001-02-16 Thread Grobe, Gary

May you could use a servlet to catch the URL in the request?

-Original Message-
From: Vikramjit Singh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 9:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: (Off topic) How to know which hyper-link has been clicked?


why dont u use QueryString.
u can pass parameter in ur link.


 -Original Message-
 From: Paul Yoon [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 6:32 AM
 To:   [EMAIL PROTECTED]
 Subject:  (Off topic) How to know which hyper-link has been clicked?

 Hello,

 I am sorry to ask off topic
 but is there any way to know which hyper-link was clicked?
 There is a page which can generate dynamically hyper-link
 and linked page should know which one was cliked.
 I am using jsp and can I use parameter?
 Any idea will be appreciated.
 Thank you.

 Paul Yoon


 -
 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]




RE: JDK support....

2001-02-13 Thread Grobe, Gary

I'm very interested in this one. What do you mean they don't "really"
support it. I'm working on a project that will require 2.3 servlets for
several platforms and was hoping iPlanet would have this done by 2002.

It says on their website they do 2.2, so what the "almost"? I guess my basic
2.2 servlet test may not be enough to test with then.

-Original Message-
From: Jeff Lansing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 8:03 AM
To: [EMAIL PROTECTED]
Subject: Re: JDK support


Hi,
I found out the hard way that iPlanet doesn't really support Servlet 2.2,
although they say things about "almost" doing it.
Jeff

"Pathiakis, Paul" wrote:

 Hi,

 I'm totally clueless about this right now, but if someone could
 answer the following:

 How does Tomcat compare to the servlet engine in iPlanet Netscape
 server?
 Do they perform the same function?

 If I'm using the java servlet engine only in iPlanet, what do I
 substitue with?  Jakarta with Tomcat?
 Apache with Tomcat?  How do I integrate these two?
shareable
 module?

 Do any of Jakarta, Apache, Tomcat, etc, support JDK 1.3?

 (Please, if you can see where I'm coming from, feel free to give a
 verbose answer and extrapolate as
 you see fit.)

 Thank you,

 Paul P.

 -
 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]




Tomcat Servlets IIS ASP ?

2001-02-12 Thread Grobe, Gary


I work w/ JSP but have no experience with ASP. I'd like to know how IIS
processes ASP and if these same request/responses can also be sent to
TOMCAT?

What are other people doing for tomcat sites that use ASP?

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




RE: Tomcat Servlets IIS ASP ?

2001-02-12 Thread Grobe, Gary

Let me explain in a little more detail my question.

I have servlets that insert code into responses (using filters) and I'd like
to know if my client is using an ASP on IIS, will I be able to catch the
response and insert my html code in that response?

Also, will I be able to get requests also before IIS has start processing
that ASP?

-Original Message-
From: Rob Tanner [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat Servlets  IIS ASP ?


ASP is a tagging system integral to IIS.  The language between the tags
is Microsoft's proprietary VBScript (and I think you can also use
VBasic, another Microsoft proprietary language).  It also uses COM
objects and other of Microsoft's proprietary concoction.  Nothing about
ASP is Java.

I don't use IIS, but I understand Tomcat can be installed and used with
IIS, and I presume JSP and ASP will work together without any conflict.
But since ASP pages aren't coded in Java, to have Tomact handle them,
you'd need to write a servlet that understands ASP tags and VBScript.
To get an idea of what that entails, look at iASP, a commercial product
of Halcyon.  It is an ASP server written in Java that understands the
ASP language.  Described simply, it's a monster servlet (the reality is
a tad more complex).  iASP can be run using any compliant servlet
engine, including Tomcat.  You wouldn't need iASP on IIS since you've
already got ASP, but looking at iASP does give you an idea of what's
involved.

-- Rob


--On Monday, February 12, 2001 09:11:20 AM -0600 "Grobe, Gary"
[EMAIL PROTECTED] wrote:


 I work w/ JSP but have no experience with ASP. I'd like to know how
 IIS processes ASP and if these same request/responses can also be
 sent to TOMCAT?

 What are other people doing for tomcat sites that use ASP?

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





   _ _ _ _   __ _ _ _ _
  /\_\_\_\_\/\_\ /\_\_\_\_\_\
 /\/_/_/_/_/   /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __/\/_//\/_/  PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_//\/_/
  /\/_/ \/_/  /\/_/_/\/_//\/_/ (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/ \/_/  appears profound)

  Rob Tanner
  McMinnville, Oregon
  [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]




mod_jk tomcat-4.0

2001-02-09 Thread Grobe, Gary

does mod_jk work with tomcat4?

i downloaded tomcat4.0 and didn't see the files to make this mod.

and if anyone knows a config link to make tomcat an in-process worker, much
appreciated.

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




tomcat iis servlet filters w/ *.asp ... possible?

2001-02-09 Thread Grobe, Gary

I'm running Tomcat4.0 w/ Apache 1.3.14 on linux. I'm using 4.0 because of my
use of servlets and filters. Every web page served up by the web server is
modified in the respose's output stream (I insert code into a web page of
any type).

I'd like to port this same stuff to IIS but have a few questions.

I'm assuming mod_jk will allow me to send all file type extensions to Tomcat
(as now I can only do it with *.jsp files). If so ... if my clients are
using *.asp pages, would this work for Tomcat4 on IIS. I'll explain ... asp
pages are handled by IIS and my filters are on Tomcat, so would IIS allow me
to modify the request or response before it did *.asp processing?


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




redirecting *.html to Tomcat ?

2001-02-02 Thread Grobe, Gary

I've got some *.html pages that I want to send to Tomcat so that my filters
can act on them. Is that possible?

Adv(Thnxs)ance

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




insert code into html pages ... filters in Tomcat4, 2.3 servlets

2001-02-01 Thread Grobe, Gary

I have tomcat 4.0 (uses 2.3 servlets) up and running.
I'd like to insert code into the body of html pages that I've requested
(must insert code into an existing page, not write the page from a servlet).


Q1 - Can someone point me to some 2.3 servlet examples, or an API reference,
tutorials, etc... (I only saw the spec sheet on sun's site). Something more
that the ex. filters in tomcat. 2.3, not 2.2!

Q2 - Would I have to change the html extension to jsp in order to get tomcat
to activate the servlet filter? (Or somehow configure Apache to send all
pages to Tomcat)?

Q3 - Can I somehow map a url-pattern that would invoke all html files to run
through tomcat4's servlets?

Adv(Thnxs)ance

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




filters problems in tomcat ...

2001-02-01 Thread Grobe, Gary

I'm having the following output in ~/logs/catalina.out. Is it safe to say
that filters are still not ready in tomcat 4.0? I've basically taken the
filter tutorial (lesson 3) on orionserver.com and tried this with tomcat4.0.
My servlet as shown in the web.xml (bottom) file works, but the filter
doesn't.

- Root Cause -
java.lang.IllegalStateException: Buffer size cannot be changed after data
has been written
at
org.apache.catalina.connector.ResponseBase.setBufferSize(ResponseBase.java:7
46)
at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.jav
a:1459)
at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:433)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
at filters.PrePostFilter.doFilter(PrePostFilter.java:18)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:180)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
818)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
at java.lang.Thread.run(Thread.java:484)

--- my web.xml file --

?xml version="1.0" encoding="ISO-8859-1"?

!DOCTYPE web-app
   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"

web-app
   display-nameDemo of Filters/display-name
   descriptionA demo used to insert code into pages./description

   filter
  filter-nameprePost/filter-name
  display-nameprePost/display-name
  filter-classfilters.PrePostFilter/filter-class
   /filter

   filter-mapping
  filter-nameprePost/filter-name
  url-pattern/*/url-pattern
   /filter-mapping

   servlet
  servlet-nameInsertApp/servlet-name
  servlet-classservlets.insertapp.InsertApp/servlet-class
 init-param
 param-namedebug/param-name
 param-value2/param-value
  /init-param
   /servlet

   servlet-mapping
  servlet-nameInsertApp/servlet-name
  url-pattern/InsertApp/url-pattern
   /servlet-mapping


/web-app


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




Catalina not starting ...

2001-01-31 Thread Grobe, Gary

Tomcat built successfully, I'm not sure of what the below error means.

(as root)
~/apache_home/bin/apachectl start
~/jakarta_home/build/tomcat-4.0/bin/catalina.sh start

produces the following ~/logs/catalina.out:
-

Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
   at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
   at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157)


Adv(Thnxs)ance

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




help getting tomcat 4.0 (catalina) running ?

2001-01-31 Thread Grobe, Gary

#1. ~/build/catalina.sh start : puts the following msg in the
~/logs/catalina.out file.

Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
   at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
   at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157)

#2. The build process cannot find/does not create the ~/logs dir, so
start-up is aborted (mkdir logs fixes this).

#3. ~/build/catalina.sh debug : does start catalina, but going to
localhost:8080 still results in a 'server not found' page.

#4. i setup tomcat-4.0 according to the following link:
http://jakarta.apache.org/tomcat/jakarta-tomcat-4.0/catalina/docs/dev/buildi
ng.html

do i need to do anything to the apache httpd.conf file or do anything to
make this work? am i missing something?

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




RE: the following occurs when building catalina ...

2001-01-24 Thread Grobe, Gary

it's running on linux 2.2.18 (RH) and the jsdk2 1.3 rc-1 from blackdown.org.

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 3:50 PM
To: [EMAIL PROTECTED]
Subject: Re: the following occurs when building catalina ...


"Grobe, Gary" wrote:

 Buildfile: build.xml

 deploy-prepare:

 deploy-static:

 deploy-main:

 build-prepare:

 copy-jaxp-jar:

 build-static:
 # # An unexpected exception has been detected in native code outside the
 VM.# Pr
 ogram counter=0x400202a6
 #
 # Problematic Thread: prio=5 tid=0x804f060 nid=0x1e80 runnable
 #
 # # An unexpected exception has been detected in native code outside the
 VM.# Pr
 ogram counter=0x40445933
 An irrecoverable stack overflow has occurred.
 [error occured during error reporting]

 --

 any ideas what went wrong? (i followed the docs, both sets ... meaning the
 included docs with download are slightly different than whats on catalina
 web site).


Yuck.  It looks to me like this is a VM problem, since there is no native
code
in Tomcat 4 other than the web connector, and that is built separately.

What OS and JVM are you using.


 Adv(Thnxs)ance


Craig

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

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




since catalina's not ready, can this be done w/ tomcat 2.2 servlets ...

2001-01-22 Thread Grobe, Gary

The 2.3 servlet specs allow filters but since I'm running into several
undocumented install issues with Catalina, I'd like to know if it's possible
to insert code into html pages with the current servlet features of tomcat's
2.2 specs. Anyone know how this might be done?

I'm running apache 1.3.14  tomcat 3.2.1. I havn't been able to get tomcat
4.0 built because of undoc'd env vars.

Anyone have good rumors about Catalina's release?

Adv(Thnxs)ance

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




RE: in other directory

2001-01-22 Thread Grobe, Gary

In the docs dir, read the tomcat-apache-howto.html, where you'll find a link
to Tomcat User's Guide, then where it says "Starting Tomcat from Another
Directory".

It does a better job explaining than anything.

-Original Message-
From: Landaluze Produktions IS - Carlos [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: in other directory


how can i say to tomcat that the webs home directory doesn't the
/opt/tomcat/webapps/ROOT and is the /usr/local/httpd/htdocs directory?
thanks


-
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: tomcat and rmi

2001-01-22 Thread Grobe, Gary

Wendy,

As far as Tomcat goes, you don't need to do anything except know the order
in which to bring it up for your applications bindings. Nothing extra needs
to be done if I remember right, been awhile. Ahhh, and don't forget to
include your stub classes in your app tree.

When I did it, my servlets were acting as RMI servers to applets on client
browsers, and were clients to a backend RMI server. I had to include the
stubs in the same location on both sides and watch the order in which I
brought them up. If I lost a connection, Tomcat does not remember who it was
talking with and will have to do another lookup upon a client connect.

Depending upon your application, watch out for who needs to bind to who
first and which processes need to be started first and distribuite all the
rmi class files on both sides just to make it simple at first. And I say
that because I don't know your app, otherwise you should know what lookups
are being done and who needs what files.

Hope it helps,

-Original Message-
From: jinchang wu [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 5:17 AM
To: [EMAIL PROTECTED]
Subject: tomcat and rmi


Hi there,

Can anyone tell me how to set up tomcat3.2.1 to run servlet which look
up remote object using rmi?

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


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

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




need another way with 2.2 servlets

2001-01-19 Thread Grobe, Gary

 I'm looking for a solution where I can insert code into pages (like applet
 tags into html, etc...) already served up by the server (and not know
 anything about the pages themselves). This seems to be do-able in 2.3
 servlet specs w/ filters, but as I'm running into several undocumented
 issues with Catalina (and I really don't know if it's even ready for
 this), I'd like to know if there's another way to do this with the 2.2
 servlets specs.

 I'm running apache 1.3.14  tomcat 3.2.1
 (I havn't been able to get tomcat 4.0 built because of undoc'd env vars
 and where they point ... so far)

 Adv(Thnxs)ance

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




JMX

2001-01-18 Thread Grobe, Gary

I'm building Catalina and the docs don't mention anything about JMX_HOME.
Yet when I do './build.sh', a msg saying I should point JMX_HOME to the Java
Management Extension install appears.

What/where is this?

Adv(Thnxs)ance

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