Hi Ashar,

the Tomcat documentation says, that AJP doesn't work with Comet/AIO:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Are you using Comet?


On Feb 23, 2:52 pm, Ashar Lohmar <[email protected]> wrote:
> i use appache(httpd)+Tomcat with AJP, these are my confs:
>
> httpd/conf/extra/httpd-vhosts.conf
>
> <VirtualHost *:80>
>     ServerAdmin [email protected]
>     DocumentRoot "<dummy_path_ussualy_the_default_httpd's_htdocs>"
>     ErrorLog "logs/app_error_log"
>     CustomLog "logs/app-access_log" common
>     <Location />
>         ProxyPass ajp://127.0.0.1:8009/
>         ProxyPassReverse ajp://127.0.0.1:8009/
>     </Location>
> </VirtualHost>
>
> in httpd/conf/httpd.conf i've uncommented a include line as below
> # Virtual hosts
> Include conf/extra/httpd-vhosts.conf
>
> in my tomcat/conf/server.xml the ajp connector is defined as below
> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
> address="127.0.0.1" />
> i also added the address="127.0.0.1" attribute to the others
> <connector> tags as i want my app to be reached from "outside" only
> through httpd.
> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000"
> redirectPort="18443" address="127.0.0.1" />
>
> one more thing that you should have in mind is that i've compiled my
> httpd with the following params "--enable-proxy --enable-proxy-ajp --
> enable-proxy-balancer --enable-ssl --with-included-apr" and of course
> de --prefix param
> also i've "installed" the tomcat-native with "--with-apr=$HOME/httpd/
> bin/apr-1-config --with-java-home=$HOME/java --with-ssl=yes" and
> followed their instruction and added the lib in the LD_LIBRARY_PATH
>
> hope these will help you
> good luck
>
> On Feb 21, 2:00 am, Paul S <[email protected]> wrote:
>
>
>
> > So basically you are trying to serve up 2 things. An app from Tomcat
> > and some other web content from Apache server? Firstly, can't the
> > other content be served from Tomcat too? That way you could just stop
> > your Apache server from running, then configure Tomcat to load up on
> > port 80 (default for http) and that way no one will every know they're
> > hitting a Tomcat server. Or, there is an Apache server module, I
> > forgot the name, but is allows you to specify that any normal request
> > goes to the http server and then any request at /j/* gets pushed along
> > to the Tomcat server. I'm hazy on the details but have seen it working
> > before and I don't think it's using a proxy in the way you are.
>
> > Could work?
>
> > On Feb 16, 12:47 am, Fran <[email protected]> wrote:
>
> > > Hello,
>
> > > I need your help about GWT integration in apache and tomcat.
>
> > > I have a GWT aplication that has server side. This server side is
> > > listening in 8081 port at tomcat.
> > > I need that the client side be in apache that is listening in port 80,
> > > so I need call server side at port 8081 of tomcat.
> > > How can I do?
>
> > > If I run the aplication int tomcat, its works fine. But If I run the
> > > aplication in apache, the server side dont work.
>
> > > Help me please
> > > Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to