I recently transitioned not only from MediaWiki to XWiki, but an older
computer running Windows Vista (Ultimate x64) to my present PC, operating on
Windows 7 (Ultimate x64). The reasons for the change and system specs
should, I believe, be irrelevant in this case for the following reasons:
* I was able to install XWiki for All Users without a hitch
* XWiki runs perfectly while logged into the Administrator (aka, the hidden
"Super Administrator") account
Therein, however, is the problem: XWiki runs only in the Administrator
account. The MS-DOS Prompt reads as such while in the Admin-account...
------------------------------------------------------------------------------------------
2009-10-27 14:41:20.279: :INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2009-10-27 14:41:20.419: :INFO: jetty-6.1.21
2009-10-27 14:41:20.450: :INFO: Deploy C:\Program Files (x86)\XWiki
Enterprise\jetty\contexts\root.xml ->
org.mortbay.jetty.webapp.WebAppContext@7546c1d4(/,C:\Program Files
(x86)\XWiki Enterprise\jetty/../webapps/root)
2009-10-27 14:41:20.466: :INFO: Deploy C:\Program Files (x86)\XWiki
Enterprise\jetty\contexts\xwiki.xml ->
org.mortbay.jetty.webapp.WebAppContext@785f8172</xwiki,C:\Program Files
(x86)\XWiki Enterprise\jetty/../webapps/xwiki)
2009-10-27 14:41:23.196: :INFO: Opened C:\Program Files (x86)\XWiki
Enterprise\jetty\logs\2009_10_27.request.log
2009-10-27 14:41:23.211: :INFO: Started SelectChannelConnector@0.0.0.0:8080
2009-10-27 14:41:23.084 [
http://lochalhost:8080/xwiki/bin/view/Main/WebHome]
INFO .AbstractXWikiMigrationManager - No storage migration required since
current version is [15429]
------------------------------------------------------------------------------------------
...yet, when I switch to my personal account (the only other one on the
system, having been that which was created during the OS-installation and
thus, also listed in the Administrator user-group), it reads...
------------------------------------------------------------------------------------------
2009-10-27 14:41:38.512: :INFO: Logging to STDERR via
org.morbay.log.StdErrLog
2009-10-27 14:51:38.673: :INFO: jetty-6.1.21
2009-10-27 14:51:38.718: :INFO: Deploy C:\Program Files (x86)\XWiki
Enterprise\jetty\contexts\root.xml ->
org.mortbay.jetty.webapp.WebAppContext@5492bbba(/,C:\Program Files
(x86)\XWiki Enterprise\jetty/../webapps/root)
2009-10-27 14:51:38.725: :INFO: Deploy C:\Program Files (x86)\XWiki
Enterprise\jetty\contexts\xwiki.xml ->
org.mortbay.jetty.webapp.WebAppContext@6d62dbb6(/xwiki,C:\Program Files
(x86)\XWiki Enterprise\jetty/../webapps/xwiki)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: xwiki.log (Access is denied)
at java.io.FileOutputStream.openAppend(Native Method)
at.java.io.FileOutputStream.<init>(Unkown Source)
at.java.io.FileOutputStream.<init>(Unkown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
at
org.apache.log4j.config.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
at
org.apache.log4j.config.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at
org.apache.log4j.config.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
at
org.apache.log4j.config.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
at
org.apache.log4j.config.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4Logger.java:289)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
at org.apache.commons.logging.impl.LogFactory.getLog(LogFactory.java:685)
at
org.xwiki.component.logging.CommonsLoggingLogger.<init>(CommonsLoggingLogger.java:38)
at
org.xwiki.component.embed.EmbedableComponentManager.initialize(EmbedableComponentManager.java:67)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:52)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
2009-10-27 14:51:41.849: :WARN: failed
org.mortbay.jetty.NCSARequestLog@75c45731: java.io.FileNotFoundException:
C:\Program Files (x86)\XWiki Enterprise\jetty\logs\2009_10_27.request.log
(Access is denied)
2009-10-27 14:51:41.850: :WARN: failed RequestLogHandler@2d388e5e:
java.io.FileNotFoundException: C:\Program Files (x86)\XWiki
Enterprise\jetty\logs\2009_10_27.request.log (Access is denied)
2009-10-27 14:51:41.854: :WARN: failed HandlerCollection@5c0ad483:
java.io.FileNotFoundException: C:\Program Files (x86)\XWiki
Enterprise\jetty\logs\2009_10_27.request.log (Access is denied)
2009-10-27 14:51:41.854: :WARN: Error starting handlers
java.io.FileNotFoundException: C:\Program Files (x86)\XWiki
Enterprise\jetty\logs\2009_10_27.request.log (Access is denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at
org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:243)
at
org.mortbay.util.RolloverFileOutputStream.<init>(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:428)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
2009-10-27 14:41:41.897: :INFO: Started SelectChannelConnector@0.0.0.0:8080
------------------------------------------------------------------------------------------
...whereas attempting to run the start_wiki.bat file via the "Run as
Administrator" right-click option leads to...
------------------------------------------------------------------------------------------
Unable to access jarfile jetty/start.jar
------------------------------------------------------------------------------------------
...directing my browser (Firefox 3.5.3) to the appropriate page leads to:
ACTUAL WEBPAGE (
http://lochalhost:8080/xwiki/bin/view/Main/WebHome) DISPLAY:
HTTP ERROR: 404
Problem accessing /xwiki/bin/view/Main/WebHome. Reason:
NOT_FOUND
Powered by Jetty://
To the best of my knowledge, this is clearly an issue of account
permissions, however, given that my knowledge of Java is (at best) cursory,
I am appealing to anyone who can lend a hand. I'm quite willing to supply
any other information that is dubbed necessary.
NOTE: The same results are obtained whether UAC is on or off. The same also
applies after having switched the program ownership permission to my
personal account.
--
View this message in context:
http://n2.nabble.com/Windows-7-Account-Renders-XWiki-Inoperable-tp3903667p3…
Sent from the XWiki- Users mailing list archive at
Nabble.com.