marubinotto / Piggydb

Piggydb is a Web notebook application that provides you with a platform to build your knowledge personally or collaboratively.
http://piggydb.net/
Apache License 2.0
149 stars 35 forks source link

reset owner's password (War package on Tomcat) #25

Open DerReiter opened 5 years ago

DerReiter commented 5 years ago

I've tried to follow this guide:

http://piggydb.jp/en/fragment.htm?id=76

but doesn't work on my server.

C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\webapps\BaseDeConoc
imientoDesktop>java -cp WEB-INF/lib/h2-*.jar org.h2.tools.Shell
**Error: Could not find or load main class org.h2.tools.Shell**

Is there another way to reset owner's password?

marubinotto commented 5 years ago

What happens if the path separators are \ instead of / in the commnad?

java -cp WEB-INF\lib\h2-*.jar org.h2.tools.Shell