Re: WM Wiki

"marcel.huijkman" <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
Okay, but how about the error?

I think it has something to do with the environment variable that can't 
be found by a pice of library code,
which happens not to be included as a source. So I can't fix this myself.

I've installed the wiki in c:/data/website_wiki

and this is what wm.log shows me:

01-02-2005 17:35:55.484    wm    NOTICE    new 
WebMacro(Application[url=/wiki,host=http://localhost]) v20041201
01-02-2005 17:35:55.484    servlet    ERROR    WebMacro application code 
failed to initialize:
javax.servlet.ServletException: nulldeploy/WEB-INF/Wiki.Properties does 
not point to a file.
This error is the result of a failure in the
code supplied by the application programmer.

javax.servlet.ServletException: nulldeploy/WEB-INF/Wiki.Properties does 
not point to a file.
    at 
org.tcdi.opensource.wiki.servlet.WikiServlet.start(WikiServlet.java:89)
    at org.webmacro.servlet.WMServlet.init(WMServlet.java:143)
    at javax.servlet.GenericServlet.init(GenericServlet.java:82)
    at org.webmacro.servlet.WMServlet.init(WMServlet.java:92)
    at 
com.caucho.server.http.Application.createServlet(Application.java:3114)
    at com.caucho.server.http.Application.loadServlet(Application.java:3065)
    at 
com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
    at 
com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
    at 
com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
    at com.caucho.server.http.Invocation.service(Invocation.java:313)
    at 
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
    at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
    at 
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    at java.lang.Thread.run(Thread.java:595)
01-02-2005 17:35:55.484    servlet    NOTICE    started: 
org.tcdi.opensource.wiki.servlet.WikiServlet@160a26f


But the strange thing is, if I edit the value of the web.xml and point 
the a false place
(where the wiki.propoerties file doesn't exist) it give another error. 
So my guess is that
it can find the wiki.props file but there is a diverent routine for 
getting the content
which handels the location of the porps file differently.
(Wild guess.....)

How can I quick fix this?

I might be needing this wiki tomorrow at a big customer, and want to 
introduce a little webmacro
while I'm at it.

So step in and help me out....!
(cry for help)

-marcello-


Lane Sharman wrote:

> Hi,
>
> The head version of wiki is backward compatible.
>
> However, it has features for creating a private wiki. In short, with 
> the security property turned on (see wiki.properties), a user cannot 
> browse the web site until the administrator approves him to do so.
>
> this was a constant complaint among corporate users of a wiki.
>
> -Lane
>
> marcel.huijkman wrote:
>
>> I'm trying to get the Wiki part going but it won't compile with java 1.5
>> So I've changed all the Enummeration enum parts and it compiles, 
>> build etc.
>>
>> However when I call my wiki:
>> http://localhost/wiki/StartPage it says:
>>
>> WebMacro application code failed to initialize: 
>> javax.servlet.ServletException: java.lang.IllegalArgumentException: 
>> nulldeploy/WEB-INF/Wiki.Properties does not point to a file.
>> This error is the result of a failure in the
>> code supplied by the application programmer.
>>
>> Please contact the server administrator
>>
>>
>> I think the part: nulldeploy says something isn't good.
>> Any help is welcome.
>>
>> Also any hints on how to use wiki as a directive. (I've read 
>> somewhere that this is possible...)
>>
>> BTW how is version 3 of the wiki?
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>> Tool for open source databases. Create drag-&-drop reports. Save time
>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>> _______________________________________________
>> Webmacro-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Webmacro-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/webmacro-user
>
> .
>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.