From: Lane S. <la...@op...> - 2005-02-04 03:32:19
|
Marcel, sorry to get back with you so late and not in real time. I think you need to look closely at the wiki.properties file towards the top. For example, you can disable the authentication/approval processing that is clearly on by default :). there you should see what the names and passwords are for admin use. you are using the cvs head which I spent some time on about a year ago. when I get home, I will look up the password if you do not find it in the wiki.properties file. I have my laptop here... let me look. ok. here is deal (i pulled down the cvs image and refreshed my aging mind): 1) Comment out lines 26, 27 and comment in 14, 15 in wiki.properties (bounce the app) this will make your site public. run in this manner if you like. Be sure to create an account for admin because that is the preferred admin login name identified in the props file (line 94) 2) To run in private, authorized mode, undo (1) above. Use admin (or any administrative account) to review new accounts and to authorize. let me know. -Lane marcel.huijkman wrote: > I've looked into pdf's readme's intall's but can't figure out how to > be an admin. > > I've registered on my wiki, but my account has status: Approval Pending > > and can't log in with admin - 99ducks > > So once again (mighty savier), help me out.....(please) > > -marcello- > > Lane Sharman wrote: > >> Marcel, >> >> nullDeploy signfies indeed that you have not set a property when >> doing the deployment from ant. when doing the ant deployment, it >> takes a property, the absolute path, and prepends this to deploy/.... >> I think it is called INSTALL_DIR or something like that. >> >> This is in the install docs and the pdf document in the distro. >> >> -Lane >> >> marcel.huijkman wrote: >> >>> 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 >>>>> Web...@li... >>>>> 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 >>>> Web...@li... >>>> 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 >>> Web...@li... >>> 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 >> Web...@li... >> 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 > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |