surikata wrote:
Hello, and thank you for your attention.
I'm in my first steps on xwiki which i chose with very high expectations.
After downloading the windows 1.6 installer I installed it in my desktop to
be able to do my first steps. First thing it happened when I installed it is
that it asked to install Java newer version, so it installed version 6.
After that, everything seemed to work fine except that when I clic on "Start
XWiki Enterprise" it opens a command window that gets hung.
This has happened me in two different computers, both have windows XP and
both have an Oracle database that is not running. In one of them I have Java
5 (so it didn't actualise) and the other one Java 6.
It doesn't write any log, but I've been able to catch the messages below
from the command window. I'd like to stress my absolute lack of knowledge of
Java, so if someone answers me please talk to a child.
Hi,
The command line that opens up should "hang". After it stops writing
messages, you should open the broser and point it to
http://localhost:8080/xwiki/ (there's an entry in the XWiki Enterprise
menu, that does that, too).
Still, there seems to be an error with your Java installation, since the
exception should not be there. From the looks of it, I'd say that you
have an older Java installed that is active. Can you open a new command
line and type "java -version" and see what it prints? If it's something
with 1.4, then you need to change your system to use the 5 (or 6) one.
You could try on the system where you have Java 5 already.
Thank you for your help
* * * * * * * * * * * * * * * * * * * * * * * * * * *
10:08:49.199 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109)
16> ad
ded
org.mortbay.log.OutputStreamLogSink@16672d6
10:08:49.168 INFO [main]
org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:08:49.215 WARN!! [main]
org.mortbay.xml.XmlParser.<init>(XmlParser.java:81) >
13> Schema validation may not be supported
10:08:49.340 INFO [main]
org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:08:49.356 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
14> Started org.mortbay.jetty.servlet.ServletHandler@1edc073
10:08:49.356 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
11> Started ServletHttpContext[/,/]
10:08:49.356 INFO [main]
org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 127.0.0.1:8081
10:08:49.356 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@1662dc8
10:08:49.402 INFO [main]
org.mortbay.http.HttpServer.setStatsOn(HttpServer.jav
a:1133) >18> Statistics on = false for org.mortbay.jetty.Server@121f1d
10:08:49.402 INFO [main]
org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:08:49.418 WARN!! [main]
org.mortbay.xml.XmlParser.<init>(XmlParser.java:81) >
20> Schema validation may not be supported
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
Caused by: java.lang.UnsupportedClassVersionError:
org/xwiki/container/servlet/X
WikiPlexusServletContextListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:225)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:193)
at org.mortbay.http.HttpContext.loadClass(HttpContext.java:1262)
at
org.mortbay.jetty.servlet.XMLConfiguration.initListener(XMLConfigurat
ion.java:449)
at
org.mortbay.jetty.servlet.XMLConfiguration.initWebXmlElement(XMLConfi
guration.java:275)
at
org.mortbay.jetty.servlet.XMLConfiguration.initialize(XMLConfiguratio
n.java:210)
at
org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfigu
ration.java:190)
at
org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebAp
plicationContext.java:425)
at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicatio
nContext.java:478)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:460)
... 7 more
--
Sergiu Dumitriu
http://purl.org/net/sergiu/