Here's what I get when I run it with "sh ./cmsshell.sh" or "./cmsshell.sh". I have all this stuff<br><br><i>root@www:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF# sh ./cmsshell.sh <br>: not foundsh: 6: <br>
./cmsshell.sh: 8: pushd: not found<br>./cmsshell.sh: 9: dirs: not found<br>./cmsshell.sh: 10: popd: not found<br>: not foundsh: 11: <br>./cmsshell.sh: 19: Syntax error: word unexpected (expecting "do")<br>root@www:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF# ./cmsshell.sh <br>
bash: ./cmsshell.sh: /bin/sh^M: bad interpreter: No such file or directory<br></i><br><br>I also tried just running the java command:<br><br><i>root@www:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF# java -cp /opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF/lib/opencms.jar:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF/lib/opencms-setup.jar org.opencms.main.CmsShell<br>
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/oro/text/perl/MalformedPerl5PatternException<br>        at org.opencms.main.CmsShell.<init>(CmsShell.java:411)<br>        at org.opencms.main.CmsShell.main(CmsShell.java:534)</i><br>
<br>But I don't know where the oro libs are. <br><br><br><div class="gmail_quote">On Fri, Apr 4, 2008 at 4:24 AM, Michael Emmerich <<a href="mailto:m.emmerich@alkacon.com">m.emmerich@alkacon.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Justin,<br>
<div class="Ih2E3d"><br>
> One of my admin users deleted the offline project. It was the only one<br>
> so now I'm stuck in online and can't create another project. How can I<br>
> fix this? Thanks.<br>
<br>
</div>You are right, its possible to delete the last offline project and then<br>
you have no chance to create a new one via the user interface.<br>
<br>
But you could use the CmsShell to create a new offline project.<br>
You find the shell in the WEB-INF folder of your webapplication. It<br>
might be a bit tricky to get it run (all required envirement variabled<br>
have to be set correctly).<br>
<br>
If you have stated the shell, you can login as the Admin user with the<br>
following command<br>
<br>
login "Admin" "password"<br>
<br>
Where "password" is your Adminstrator password.<br>
<br>
You can create an new offline project like this:<br>
<br>
createDefaultProject "Offline" "The Offline Project"<br>
<br>
You have to restart your tomcat after this.<br>
<br>
Hope this helps,<br>
Michael<br>
<br>
<br>
--<br>
Michael Emmerich<br>
<br>
<br>
Alkacon Software GmbH  - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<br>
Visit OpenCms Days 2008 Conference and Expo<br>
May 5 to May 6 2008 in Cologne, Germany<br>
<a href="http://www.opencms-days.org" target="_blank">http://www.opencms-days.org</a><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"All that is necessary for the triumph of evil is that good men do nothing." - Edmund Burke