Hi,

My goal is to use Apache Rave as the core of my custom Portal, but I'm
struggling with it. I am also trying to deploy Rave in a Tomcat 7 container
and I intend to change the database to a MySQL one.

I try to follow the steps described at:
http://rave.apache.org/documentation/application-containers.html
but I don't understand the last step for Tomcat installation regarding the
"Copy Artifacts" when it says "Copy the shared/lib folder plus the contents
of the webapp folder to your Tomcat installation. "

Could anybody explain with further detail, please?

1-Where is this shared/lib folder?
Does it mean that I have to create the $CATALINA_HOME/shared/lib directory
(that's why we had to add its path in shared.loader in the previous step?
If so, how can I copy its content anywhere if that folder did not even
exist?)
Or Does it mean that I have to copy the shared/lib folder and webapp from
the portal's bundled tomcat6 into my own tomcat 7? If so where is this
tomcat6 exactly?

2-Where is this webapp folder?
Does it mean the WEB-INF folder within the war where all the context.xml
are?

3-And where is Tomcat installation?
Does it mean the $CATALINA_HOME/lib directory?

I assume this step intends to describe the need to place some *.jar
somewhere in the Tomcat container's classpath so the Tomcat classloader is
able to find all the dependencies, but these last instructions are very
very confusing.. Please detail further.

Also if I skip this step and I simply deploy in Tomcat the generated
portal.war from the Archetype, Tomcat complains throwing some exceptions
such as:

Caused by: javax.naming.NameNotFoundException: Name [jdbc/ravePortalDB] is
not bound in this Context. Unable to find [jdbc]

so I guess that's because Tomcat 7 cannot find the context.xml descriptors
as they are within the portal.war under WEB-INF folder instead being under
the META-INF folder. Should I place these context.xml descriptors somewhere
in $CATALINA_HOME/shared/lib or similar so Tomcat can find them?

Any help with this step would be much appreciated. Thank you!

Regards.

PS: My $CATALINA_HOME and $CATALINA_BASE are the same, I have all tomcat7
files under usr/share/tomcat7
PS2: Tomcat7 does not include any shared/lib directory, but it includes a
lib directory.

Reply via email to