[opencms-dev] Deleted offline project?
Justin Stanczak
rizenine at gmail.com
Fri Apr 4 15:23:47 CEST 2008
Here's what I get when I run it with "sh ./cmsshell.sh" or "./cmsshell.sh".
I have all this stuff
*root at www:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF# sh ./cmsshell.sh
: not foundsh: 6:
./cmsshell.sh: 8: pushd: not found
./cmsshell.sh: 9: dirs: not found
./cmsshell.sh: 10: popd: not found
: not foundsh: 11:
./cmsshell.sh: 19: Syntax error: word unexpected (expecting "do")
root at www:/opt/apache-tomcat-5.5.25/webapps/cms/WEB-INF# ./cmsshell.sh
bash: ./cmsshell.sh: /bin/sh^M: bad interpreter: No such file or directory
*
I also tried just running the java command:
*root at 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
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/oro/text/perl/MalformedPerl5PatternException
at org.opencms.main.CmsShell.<init>(CmsShell.java:411)
at org.opencms.main.CmsShell.main(CmsShell.java:534)*
But I don't know where the oro libs are.
On Fri, Apr 4, 2008 at 4:24 AM, Michael Emmerich <m.emmerich at alkacon.com>
wrote:
> Justin,
>
> > One of my admin users deleted the offline project. It was the only one
> > so now I'm stuck in online and can't create another project. How can I
> > fix this? Thanks.
>
> You are right, its possible to delete the last offline project and then
> you have no chance to create a new one via the user interface.
>
> But you could use the CmsShell to create a new offline project.
> You find the shell in the WEB-INF folder of your webapplication. It
> might be a bit tricky to get it run (all required envirement variabled
> have to be set correctly).
>
> If you have stated the shell, you can login as the Admin user with the
> following command
>
> login "Admin" "password"
>
> Where "password" is your Adminstrator password.
>
> You can create an new offline project like this:
>
> createDefaultProject "Offline" "The Offline Project"
>
> You have to restart your tomcat after this.
>
> Hope this helps,
> Michael
>
>
> --
> Michael Emmerich
>
>
> Alkacon Software GmbH - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
>
> Visit OpenCms Days 2008 Conference and Expo
> May 5 to May 6 2008 in Cologne, Germany
> http://www.opencms-days.org
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080404/cbbfe1c6/attachment.htm>
More information about the opencms-dev
mailing list