Hello Dale,

About your installation, it's easier to tell you how to install it properly,
than trying to understand what's in wrong here.
What you have to do, after cleaning your xwiki installation, is:
1. Unzip the war package in tomcat webapps, you will have
tomcat6/webapps/xwiki/<content_of_.war>
2. Move mysql connector in tomcat6/webapps/xwiki/WEB-INF/lib/
3. Configure hibernate.cfg.xml, which is in WEB-INF directory.
Then use the tomcat stratup script in tomcat6/bin to start the wiki (could
be tomcat.sh). You should access it with
http://wiki.myhost.mydomain:8080/xwiki

Maybe tomcat will not found your java path, then you can modify the tomcat
startup script to add JAVA_HOME variable, pointing to you jdk directory (a
lot of how to show how to do this).

I hope you will be able to run it properly.

Regards,

Guillaume Fenollar


2011/8/2 Dale Amon <[email protected]>

> I've been battling with partial documentations of
> different install configurations on different versions
> of systems and trying to collate them. I have probably
> done all sorts of wrong things, but perhaps some one
> here can set me straight with a few words.
>
> I am remotely installing to a Natty server (a KVM VM)
> via an ssh connection.
>
> I installed a bunch of packages,among which are:
>
>        apache2, tomcat6, tomcat6-examples, tomcat6-user,
>        mysql-server, mysql-client
>
> tomcat6 is working and I can get to it by the wiki.myhost.mydomain
> DNS name.
>
> I download the current xwiki.war using wget to
> /var/lib/tomcat6/webapps/xwiki.war and tomcat6 seemed to have
> automatically unpacked it.
>
> The version was xwiki-enterprise-installer-generic-3.1-standard.jar
>
> I downloaded the latest version of the mysql connector.
> The version was mysql-connector-java-5.1.17.jar.
>
> What I then discovered was that there was a META-INF directory
> but no WEB-INF as described in the various install instructions
> I read.
>
> For the hell of it I then installed the openjdk-6-jdk package
> which of course loaded a *lot* of other packages. I then tried
>
>        jar xf mysql-connector-java-5.1.17.jar
>
> in the /var/lib/tomcat6/webapps/xwiki directory and that gave me
> a META-INF and a couple other directories.
>
> There is no hibernate.cfg.xml, described in all the install
> info I have read, anywhere to be found.
>
> I am certain I have at some point gone off the narrow twisty
> path to success but have no idea where.
>
> Advice would be much appreciated.
>
> Dale Amon
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Fenollar
XWiki SysAdmin
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to