I tried to install an instance of XWiki version 5.4.1 using Tomcat and MySQL on 
Windows 7.

I ran the Windows installer for Tomcat 7.0.52. It created the service and I put 
in a couple users in tomcat-users.xml. The Tomcat default page shows in the 
browser OK, and I can run the manager web app.

I think I followed the instructions to install XWiki with Tomcat 
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat), 
expanding the file xwiki-enterprise-web-5.4.1.war into {tomcat}/webapps/xwiki 
and editing the config files therein.

I ran the Windows installer for MySQL 5.6.16, and MySQL Connector for Java 
5.1.29 (and copied the jar to /xwiki/WEB-INF/lib). I can run the MySQL 
Workbench 6.0 app, no errors appear.

I think I followed the instructions to install XWiki to use MySQL 
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL)

When I try to navigate to http://localhost:8080/xwiki/ it (Firefox 27.0.1)  
hangs forever.

When I read the logs at 
C:\shared\apache-tomcat-7.0.52\logs\catalina.2014-09-19.log, I get this:

Feb 19, 2014 1:32:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
C:\Shared\apache-tomcat-7.0.52\webapps\xwiki
Feb 19, 2014 1:33:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 19, 2014 1:33:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 19, 2014 1:33:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 43033 ms

... and nothing else. Previously in the logs I saw things like this:

Feb 19, 2014 10:07:08 AM org.jboss.netty.channel.socket.nio.AbstractNioWorker
WARNING: Unexpected exception in the selector loop.
java.lang.OutOfMemoryError: PermGen space

There is supposed to be a way to pass a -XX parameter, but the Tomcat 
instructions above say it doesn't work when it is a service. You are supposed 
to be able to use tomcat7w.exe, and I have set the memory in that application 
(on the Java tab) to Initial=512MB and Maximum memory pool=1024MB. I tried 
creating a setenv.bat and setting a CATALINA_OPTS environment variable and 
restarting the service, to no avail. Because the out-of-memory errors stopped, 
I'm wondering if it is some other problem. Firewall?

What am I missing? Are there some other logs that will tell me what the problem 
is?

Thanks for your time!

--Kevin


________________________________

This electronic message may contain confidential information and is intended 
for the use of the intended addressee(s) only. If you are not an intended 
addressee, note that any disclosure, copying, distribution, or use of the 
contents of this message is prohibited. Any products referred to herein are for 
investigational use only and not approved for sale. If you have received this 
e-mail in error, please contact the sender.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to