You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Barbara Nelson <bn...@extricity.com> on 2000/03/14 20:40:50 UTC
Reaching one tomcat instance from multiple web servers
Suppose I am running three web servers (Apache or IIS) on three different
machines. Can I configure all of them to point to the same Tomcat instance,
or does the ISAPI redirector and/or Apache JServ connector assume a
dedicated Tomcat instance?
Thanks in advance,
Barbara Nelson.
xml and jsp
Posted by Warren Mira <wo...@wowx.penguinpowered.com>.
Hello..
I dont know if this question is possible..
I already have Tomcat+Apache+Cocoon working...is it possible that I serve
xml/wml pages through jsp..Someone already did this..
Thanks..
RE: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES1_0_3
Posted by Jonathan Borden <jb...@mediaone.net>.
Donald,
>
> Make sure you don't have a JAR with DOM1 before xerces in your CLASSPATH.
>
> - donald
>
Thanks! the problem is in the devious TOMCAT.BAT which prepends xml.jar to
the CLASSPATH.
Jonathan Borden
Re: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES
1_0_3
Posted by Donald Ball <ba...@webslingerZ.com>.
On Tue, 14 Mar 2000, Jonathan Borden wrote:
> Got it working with all the latest bits :-) Figuring out config was
> interesting...
>
> XSP chokes however with this stack trace (page.xml from the samples).
>
> java.lang.NoSuchMethodError
> at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)
Make sure you don't have a JAR with DOM1 before xerces in your CLASSPATH.
- donald
JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES 1_0_3
Posted by Jonathan Borden <jb...@mediaone.net>.
Got it working with all the latest bits :-) Figuring out config was
interesting...
XSP chokes however with this stack trace (page.xml from the samples).
java.lang.NoSuchMethodError
at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:115)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:122)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess
(XSPJavaPreprocessor.java:81)
at org.apache.cocoon.processor.xsp.XSPTemplate.apply(XSPTemplate.java:108)
at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:401)
at org.apache.cocoon.Engine.handle(Engine.java:283)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:390)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:146)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334
)
at java.lang.Thread.run(Thread.java:484)
Jonathan Borden
Re: Reaching one tomcat instance from multiple web servers
Posted by co...@eng.sun.com.
> Suppose I am running three web servers (Apache or IIS) on three different
> machines. Can I configure all of them to point to the same Tomcat instance,
> or does the ISAPI redirector and/or Apache JServ connector assume a
> dedicated Tomcat instance?
Nothing prevent you from doing that, but I don't think anyone tested it.
The only problem - virtual host will be available in next tomcat (3.2),
so you may have problems unless you do some form of load balancing.
If you do so - it's better to use multiple instances of tomcat too.
Costin