<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.51">
<TITLE>Bug in module naming convention??? AND site config in Tomcat Standalone</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Tahoma">I tried creating a new module in OpenCMS but it kept giving me a 'no details' error. It said something like the version and name of the module were manditory even though I was inputing all those fields. My module name contained a hyphen (ca.mb.brandonrha.brha-opencms). This is our naming convention for our servers... brha-*. Maybe that hyphen was screwing up the sql string sent to MySQL?</FONT></P>
<P><FONT SIZE=2 FACE="Tahoma">Is this a bug?</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">I ended up having to name my module ca.mb.brandonrha and then it worked fine. It was all that hyphen (-).</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">OpenCMS 6 alpha 2</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Tomcat 5.0.28</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">MySQL 4.1.7</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Sun Java SDK 1.4.2_06</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">Another question I have is an old one, but the more I search in the mailling lists the more confused I get. I'm almost there!!!</FONT></P>
<P><FONT SIZE=2 FACE="Tahoma">I want my OpenCMS server to be a CMS for MULTIPLE sites.</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">Ex.</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">/sites/brandonrha/ => </FONT><A HREF="http://www.brandonrha.mb.ca"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma">http://www.brandonrha.mb.ca</FONT></U></A>
<BR><FONT SIZE=2 FACE="Tahoma">/sites/westmanlab/ => </FONT><A HREF="http://westmanlab.brandonrha.mb.ca"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma">http://westmanlab.brandonrha.mb.ca</FONT></U></A><FONT SIZE=2 FACE="Tahoma"> (and in the future </FONT><A HREF="http://www.westmanlab.mb.ca"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma">http://www.westmanlab.mb.ca</FONT></U></A><FONT SIZE=2 FACE="Tahoma">)</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">/sites/assiniboinerha/ => </FONT><A HREF="http://www.assiniboinerha.mb.ca"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma">http://www.assiniboinerha.mb.ca</FONT></U></A>
</P>
<P><FONT SIZE=2 FACE="Tahoma">ETC. ETC.</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">The problem I have is that I CANNOT seem to get my TOMCAT STANDALONE web server to co-operate. The opencms servlet dissapears, but NO WEBSITE!!! Must I change an configuration is /usr/tomcat/conf/server.xml at all? Any changes to opencms.properties? opencms-system???</FONT></P>
<P><FONT SIZE=2 FACE="Tahoma">Here is some of my configuration (remember, all these domains are in my DNS, ping-able, traceroute-able, etc.)</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">Opencms-system.xml</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><sites></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><workplace-server><A HREF="http://localhost" TARGET="_blank">http://localhost</A></workplace-server></FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"> <default-uri>/sites/default/</default-uri></FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"> <site server="<A HREF="http://localhost" TARGET="_blank">http://localhost</A>" uri="/sites/default/"/></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><site server="<A HREF="http://www.brandonrha.mb.ca" TARGET="_blank">http://www.brandonrha.mb.ca</A>" uri="/sites/brandonrha/"/></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><site server="<A HREF="http://westmanlab.brandonrha.mb.ca" TARGET="_blank">http://westmanlab.brandonrha.mb.ca</A>" uri="/sites/westmanlab/"/></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><site server="<A HREF="http://www.assiniboinerha.mb.ca" TARGET="_blank">http://www.assiniboinerha.mb.ca</A>" uri="/sites/assiniboinrha/"/></FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"></sites></FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">In opencms.properties I changed app.name=opencms to app.name=</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Must I change server.name=OpenCMSServer to server.name= ?????</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">/usr/tomcat/conf/server.xml (only useful data)</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><Engine name="Catalina" defaultHost="localhost" debug="0"></FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"/></FONT></P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"></Engine></FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">UnpackWars and autoDeploy are changed to false after the install. Must I add another host? I've added what's below before with no effect at ALL.</FONT></P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><Host name="www.brandonrha.mb.ca" debug="0" appBase="webapps" /></FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">I installed openCMS.war into /usr/tomcat/webapps/ROOT to lose the first /opencms/</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">/usr/tomcat/conf/Catalina/www.brandonrha.mb.ca/ROOT.xml</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Tahoma"><Context docBase="webapps/opencms" path=""/> (this gives me a 'not found' on tomcat startup, which is understandable seeing as it's a VFS; must I change it to docBase="webapps"??? That didn't help.)</FONT></P>
<P><FONT SIZE=2 FACE="Tahoma">So, does anyone else out there struggle with Contexts, appBase's docBase's, Path's... etc? Remember, tomcat Standalone, no Apache module connection...</FONT></P>
<P><FONT SIZE=2 FACE="Tahoma">If Anyone has any advice for me, even a little SMIDGEN, it would be MOST appreciated...</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">If you need more info, I can gladly give more config examples.</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">Thanks!</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">-Clayton Corbey</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">corbeyc<B> AT</B> brandonrha<B> DOT</B> mb<B> DOT</B> ca</FONT>
</P>
</BODY>
</HTML>