client denied by server configuration: proxy:ajp://your_host:8009/ on a Debian server

To suppress the client denied by server configuration error with ajp and Apache (I suppose you already did a a2enmod proxy_ajp), just change the Proxy setting from Deny all to Deny none in /etc/apache2/mods-enabled/proxy.conf :

<Proxy *>
  AddDefaultCharset off
  Order deny,allow
  Deny from none
  #Allow from .example.com
</Proxy>
Advertisements

Maven webapp on Eclipse with Tomcat

I finally did it !!!!!!!!!!!!

I manage to configure a Maven webapp to run on a Tomcat Server to test the JSPs on Eclipse.

.: To Complete :.

1. Create a library for Tomcat JARs
Window > Preferences > Java > Build Path > User Libraries

2. Add this library to classpath with maven-eclipse-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.3</version>
<configuration>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.USER_LIBRARY/Tomcat-6.0.20</classpathContainer>
</classpathContainers>

</plugin>

A big thank to that site

http://www.devx.com/Java/Article/36785/1763/page/3

Let’s code then 😀