I found a source code from
http://www.vsj.co.uk/articles/display.asp?id=319 
tried it with the jakarta-tomcat-5.0.28-embed.tar.gz
and the /manager sample (after copying it over to this
embed version directory) that comes with Tomcat does
not work.  

1. It seems it defaults to using JAASRealm.  I have to
comment out the search patterns under
<security-constraint> of the manager webapp to make it
work.
2. The tomcat-users.xml format entries has changed??
>From username to "name" and roles became an attribute
instead of an element?

<tomcat-users>
  <user name="tomcat" password="tomcat"
roles="tomcat,manager" />
  <user name="role1"  password="tomcat" roles="role1" 
/>
  <user name="both"   password="tomcat"
roles="tomcat,role1" />
</tomcat-users>

3.  After I got the /manager working it would not
deploy war files because it is missing the
commons-fileupload-1.0.jar.  Can someone who is a
commiter with Tomcat, please add this jar file with
the  embedded tar ball please.  Furthermore, the
xalan, xerces, and xml-apis jars are not included
either, so should they be added too to same embedded
tarballs?

4.  After adding this commons-fileupload-1.0.jar, I
still could not deploy a cocoon.war, jetspeed.war
files as it complains about a ...
 
[java] Caused by:
org.apache.commons.logging.LogConfigurationException:
No suitable Log constructor [Ljava.lang.Class;@19e8329
for org.apache.commons.logging.impl.Log4JLogger
(Caused by java.lang.NoClassDefFoundError:
org/apache/log4j/Category)
     [java]     at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)

It seems like whatever commons-logging jar I included
to the classpath, I get this error.


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

Reply via email to