Hi,

Sorry if this is really about tomcat but posting to the tomcat
list yielded no feedback at all ... researching the mailing lists
led to several dead ends.

However, to make things at least a bit on topic for this list, 
I'll also ask about using TemplateSecureSessionValidator
I've deployed a web application running at 

http://www.softghana.com:8080/servlet/takashie/

and currently, anyone can use the backend. I'd like to use 
TemplateSecureSessionValidator but there are a couple of
screens like

http://www.softghana.com:8080/servlet/takashie/template/SendEnquiry.vm?interest=bimbilla

that should allow public anonymous access. I tried writing my own
MyTemplateSecureSessionValidator that munges the code for 
TemplateSecureSessionValidator to make an exception for the public
anonymous accessible screens.

Is there a better way to mix screens that require login and screens
that do not require login ?

Here's the problem deploying turbine app referenced above ...

I'm doing name-based virtual hosts with Apache, serving up
servlet site that depends on having Java 1.1.8 or earlier
because it is using old Java crypto API and I don't have 
the source. It does e-commerce (worldpay payment processor)

This servlet site took over a month to configure. Tried to
make it work on Java 1.3 - no go. Gave up. That's why am 
running 1.1.8 under Jserv. I can't / don't want to touch 
anything because the site is live, sensitive to changes and
the client is a real b*s**rd.

So JServ is configured ok and it works. Now I'd like to get
one of the approaches below to work. But I can't !!!

a) get Tomcat (Catalina) to listen to an unused IP address.
Apache is listening to x.x.x.10 and x.x.x.11 on port 80.
If tomcat could listen to x.x.x.12 on port 80, I'd be glad!

I tried

      <Connector
           className="org.apache.catalina.connector.http.HttpConnector"
           port="80"
           inet="x.x.x.12"
           minProcessors="5"
           maxProcessors="75"
           acceptCount="10"
           debug="0" />

but no go. Tomcat complains that the address is already in use and
going to http://x.x.x.12 does nothing.

b) Run Tomcat/Ajp12 and listen
to say port 9090 then do AjpMount localhost:9090 so that static pages
are served via Apache and /servlet/takashie/* requests are served by
Tomcat. Only (off tomcat archives) ...

<Connector className="org.apache.tomcat.service.PoolTcpConnector"
         
handler="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"
          port="9090"/>

does not work either !!!! It gives

java.lang.ClassNotFoundException:
org.apache.tomcat.service.PoolTcpConnector

so am at a bit of a loss ...

c) I don't know if mod_webapp is ready for use and if it will 
coexist with jserv ... could this be the way out ?

d) ideal solution ?!??!?

run apache as legacy on x.x.x.10 and x.x.x.11 at port 80 and get 
tomcat / tdk to run on x.x.x.12 and x.x.x.13 at port 80. Apache
is only listening to x.x.x.10 and x.x.x.11 at port 80. Trick is
how to get tomcat to do the same for x.x.x.12 and x.x.x.13 at port 80 

--

The static pages are at http://www.softghana.com and clicking on a
product name such as Sledge results in a 404 since Tomcat is not 
talking to Apache yet.

The pure TDK solution is running at http://www.softghana.com:8080/
and its backend is a turbine app running at 
http://www.softghana.com:8080/servlet/takashie/

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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

Reply via email to