[opencms-dev] Deleted offline project?
Justin Stanczak
rizenine at gmail.com
Mon Apr 7 15:18:46 CEST 2008
IT WORKED!!!!!!!!
Here's what I did so if others have this issue. I did like you said, but
only had troubles getting the cmsshell.sh to work. So here's the command I
used.
*java -Djava.ext.dirs=./lib/ org.opencms.main.CmsShell
*Then like you said:*
login "Admin" "password"
createDefaultProject "Offline" "The Offline Project"*
I copied these two jar into the opencms lib folder. Then deleted them after
I was done.
*servlet-api.jar
jsp-api.jar*
This worked and I'm up and running again, plus I know about the shell now.
Thanks.
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/20080407/5aa140ed/attachment.htm>
More information about the opencms-dev
mailing list