I can execute this example provided by tomcat OK directly through tomcat (4.0.3) at
port 8080. However, when I tried to run this through apache (1.3.12), I got following
error:
JNDI lookup failed : javax.naming.NameNotFoundException: Name maxExemptions is not
bound in this Context
list() on /comp/env Context :
Binding : mail: org.apache.naming.NamingContext
Binding : name3: java.lang.Integer
Binding : minExemptions: java.lang.Integer
Binding : foo: org.apache.naming.NamingContext
Binding : ejb: org.apache.naming.NamingContext
listBindings() on /comp/env Context :
Binding : mail: org.apache.naming.NamingContext:org.apache.naming.NamingContext@72b16c
Binding : name3: java.lang.Integer:1
Binding : minExemptions: java.lang.Integer:1
Binding : foo: org.apache.naming.NamingContext:org.apache.naming.NamingContext@1de497b
Binding : ejb: org.apache.naming.NamingContext:org.apache.naming.NamingContext@aa595b
-------------------
Here is how I configured my httpd.conf:
<VirtualHost 192.168.1.120>
ServerName tbird
DocumentRoot /usr/local/jakarta-tomcat-4.0.3/webapps/
WebAppConnection warConnection warp localhost:8008
WebAppDeploy examples warConnection /examples
</VirtualHost>
The name of the example provided by Tomcat is "Naming". I have no problems to run the
rest examples, though.
What am I missing here? Thank you for you help.