Hi
When I try to build slide war I am facing with an compilation problem.
The stack trace is as follows:
wrappers:
[javac] Compiling 8 source files to
G:\slide\jakarta-slide\build\classes
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\BaseHostConfig.java:112
: Can't subclass final classes: class
org.apache.catalina.startup.HostConfig
[javac] extends HostConfig {
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideServerListener.jav
a:102: Class wrappers.jmx.SlideJMX not found in import.
[javac] import wrappers.jmx.SlideJMX;
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\AdminHostConfig.java:13
6: Method getContextClass() not found in class
wrappers.catalina.AdminHostConfig
[javac] Class clazz = Class.forName(getContextClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\AdminHostConfig.java:15
7: Method getConfigClass() not found in class
wrappers.catalina.AdminHostConfig.
[javac] clazz = Class.forName(getConfigClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\AdminHostConfig.java:16
2: Undefined variable or class name: host
[javac] host.addChild(context);
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideHostConfig.java:12
2: Undefined variable or class name: host
[javac] if (host.findChild("") == null) {
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideHostConfig.java:12
5: Undefined variable: host
[javac] ((Deployer) host).install("", welcomeWar);
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideHostConfig.java:15
7: Method getContextClass() not found in class
wrappers.catalina.SlideHostConfig
[javac] Class clazz = Class.forName(getContextClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideHostConfig.java:17
8: Method getConfigClass() not found in class
wrappers.catalina.SlideHostConfig.
[javac] clazz = Class.forName(getConfigClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\SlideHostConfig.java:18
3: Undefined variable or class name: host
[javac] host.addChild(context);
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\WebdavHostConfig.java:1
37: Method getContextClass() not found in class
wrappers.catalina.WebdavHostConf
ig.
[javac] Class clazz = Class.forName(getContextClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\WebdavHostConfig.java:1
53: Method getConfigClass() not found in class
wrappers.catalina.WebdavHostConfi
g.
[javac] clazz = Class.forName(getConfigClass());
[javac] ^
[javac]
G:\slide\jakarta-slide\src\wrappers\catalina\WebdavHostConfig.java:1
58: Undefined variable or class name: host
[javac] host.addChild(context);
[javac] ^
[javac] 13 errors
BUILD FAILED
It says that a final class has been extended.
As of versioning I am still facing the problem nothing is showing up in
browser under history. Can I access to check out with an browser to see
the history.
I have tried with HSQL then also nothing is showing up under history in
the browser.
Could you please send some pointers.
Thanks
Sriram
-----Original Message-----
From: Anton Schoultz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 1:08 PM
To: Sriram Reddy
Subject: RE: slide versioning
Hi Sriram,
You said that you are working with a downloaded slide.war, so that would
be version 1.0.16 ?
A *LOT* has been done since then, rather get a nightly build and build
it for yourself - see
an earlier post of mine on how to do this.
Once you have placed the slide.war file in webapps, you need to start
tomcat so that it can
extract the file. Once that's done, stop tomcat and then go and edit /
over-write the
Domain.xml file and add the slide.properties files (as earlier post).
Once that's done you
can re-start tomcat and try again.
I think the reason you got an error from the "report xxxx.doc x" is that
you are using an old client.
I have placed some file you may find useful on my personal home site,
you can get them at http://home.yebo.co.za/~20010068/slide/slide.htm
Have fun! :)
Anton
-----Original Message-----
From: Sriram Reddy [mailto:[EMAIL PROTECTED]]
Sent: Tue 09 July 2002 06:43
To: Anton Schoultz
Subject: RE: slide versioning
Hi
Thanks a lot for the reply it was a great relief that I am the correct
path.
Let me list out the process I have followed
1) I have placed the slide.war as downloaded from the Jakarta site
into the webapps dir of the Tomcat.
2) I am connecting through a client in our application and am
uploading the required file to the content space.
3) Repeated I upload a file with changes.
4) Here the file uploaded is getting over written.
Through the client the command
report xxx.doc x
throws up an invalid command.
Also on listing the history dir it is empty both for oracle database and
file content store.
Please could you send in some pointers in this regard?
Thanks
sriram
-----Original Message-----
From: Anton Schoultz [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 6:15 PM
To: Sriram Reddy
Subject: RE: slide versioning
Sriram,
AFAIK slide keeps the "latest version" as _1.0 as you already found
out. Older versions are held in
/history/../... with a 'sub-collection' for each document. If you use
the command line webdav client,
connect to your slide service with
open http://yourserver:8080/slide <http://yourserver:8080/slide>
then cd to the correct directory and then request a report on the file
in question
report myfile.doc x
you should then get a list of revisions something like
/slide/history/1/1.3
D:x
/slide/history/1/1.2
D:x
/slide/history/1/1.1
D:x
The older version can be fetched with something like this
get /slide/history/1/1.1 myfile.doc
I believe that this should work with Oracle DB, (obviously need to
change the driver & url in Domain.xml) - There was some comment on the
users list about versioning not working correctly for file content store
- I don't know if this is fixed yet. I'm using HSQL DB for both node
store and Content store - works fine.
Check your slide console for security problems, "access denied" etc -
although the ..\webapps\slide\WEB-INF\classes\slide.properties file
setting of
'org.apache.slide.security=false' should negate that problem.
Hope this helps,
Anton
-----Original Message-----
From: Sriram Reddy [mailto:[EMAIL PROTECTED]]
Sent: Mon 08 July 2002 14:27
To: [EMAIL PROTECTED]
Subject: slide versioning
Hi
I have been trying to get versioning feature for slide. Our requirement
is that using our application we intend to upload doc to the slide
server and have versioning control through slide. We intend to store the
file on the file system. I have strictly followed your mail but not able
to achieve versioning for both oracle data base and when used the file
system.
First time I upload a file I get an file with an extension _1.0 to the
file and repeatedly when I upload this file is over written.
Kindly could you please send in some pointers in this regard?
Thanks
sriram
========================================================================
========================== This email and any files transmitted with it
are confidential and intended solely for the use of the individual or
entity to whom they are addressed.If you have received this email in
error please notify the sender. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the originating company. The recipient
should check this email and any attachments for the presence of viruses.
The originating company accepts no liability for any damage caused by
any virus transmitted by this email.
========================================================================
==========================
========================================================================
========================== This email and any files transmitted with it
are confidential and intended solely for the use of the individual or
entity to whom they are addressed.If you have received this email in
error please notify the sender. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the originating company. The recipient
should check this email and any attachments for the presence of viruses.
The originating company accepts no liability for any damage caused by
any virus transmitted by this email.
========================================================================
==========================