b5 crash on startup (b4 ok...)
Hi, With b5, I'm getting: 08:40:44,392 ERROR main [/xwiki]:listenerStart:3767 - Exception sending context initialized event to listener instance of class com.xpn.xwiki.web.InitializationServletContextLi stener ... Caused by: java.lang.NullPointerException at com.xpn.xwiki.util.XWikiVelocityUberspector.init(XWikiVelocityUberspector.java:57) at org.apache.velocity.runtime.RuntimeInstance.initializeIntrospection(RuntimeInstance.java:289) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:231) at org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:114) at org.apache.velocity.app.Velocity.init(Velocity.java:80) at com.xpn.xwiki.web.InitializationServletContextListener.initializeVelocity(InitializationServletContextListener.java:88) at com.xpn.xwiki.web.InitializationServletContextListener.contextInitialized(InitializationServletContextListener.java:44) ... 24 more Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/xwiki] startup failed due to previous errors Anything special I should look at? B4 started up OK. My environment is: Linux 2.6.15-28-686 java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) Apache Tomcat/5.5.20 -Thanks, -Tom -- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
Hi Tom, Have you used the XWiki standalone installation or upgraded some custom installation. We have upgraded to Velocity 1.5 Beta 2 in XWiki 1.0 B5 so if you have kept your old jars and especially the Velocity 1.4 and Velocity-tools 1.1 jars in your webapp (in WEB-INF/lib) it won't work. You need to use Velocity 1.5 B2 and Velocity-Tools 1.3 now (they're delivered as part of the standalone distribution). Let's solve this and then I'll improve the release notes to ensure this doesn't happen to others. Thanks -Vincent On Mar 7, 2007, at 2:59 PM, Thomas Arthur Oehser wrote:
Hi, With b5, I'm getting:
08:40:44,392 ERROR main [/xwiki]:listenerStart:3767 - Exception sending context initialized event to listener instance of class com.xpn.xwiki.web.InitializationServletContextLi stener
...
Caused by: java.lang.NullPointerException at com.xpn.xwiki.util.XWikiVelocityUberspector.init (XWikiVelocityUberspector.java:57) at org.apache.velocity.runtime.RuntimeInstance.initializeIntrospection (RuntimeInstance.java:289) at org.apache.velocity.runtime.RuntimeInstance.init (RuntimeInstance.java:231) at org.apache.velocity.runtime.RuntimeSingleton.init (RuntimeSingleton.java:114) at org.apache.velocity.app.Velocity.init(Velocity.java:80) at com.xpn.xwiki.web.InitializationServletContextListener.initializeVeloc ity(InitializationServletContextListener.java:88) at com.xpn.xwiki.web.InitializationServletContextListener.contextInitiali zed(InitializationServletContextListener.java:44) ... 24 more Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/xwiki] startup failed due to previous errors
Anything special I should look at?
B4 started up OK.
My environment is:
Linux 2.6.15-28-686 java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) Apache Tomcat/5.5.20
-Thanks, -Tom
-- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
custom installation. We have upgraded to Velocity 1.5 Beta 2 in XWiki
PBCAK (Problem Between Chair And Keyboard). I missed clearing WEB-INF lib before un-jaring b5. But, I already knew that mattered and why, so better instructions probably would not have helped. How I can remember all the other bits with hibernate.cfg.xml, xwiki.cfg, PostgreSql, Tomcat, Java, Linux, etc., etc., and blow this one... -Tom
Next problem - probably also my stupidity, but I seem to be stuck on it- When I do a clean unwar and launch, letting xwiki create the postgres tables, which seems to work find, and go into the "Administration" pages, there are no input controls on the main global XwikiPreferences tab. When I go into the other tabs, there _are_ controls, which seem to operate normally- including the 'space preferences' controls- it is just the global preferences where the controls (drop downs, input fields) are missing. Importing the Xar also _fails_ on this one file- it gets an error on one Xwiki.Preferences- but imports everything else correctly. Messing with roles doesn't help, dropping and re-creating the xwiki database doesn't help. The only error in logs is: 19:25:11,125 ERROR TP-Processor2 http://toms.net/xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1&language=en SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($objuser.getProperty("usertype").value) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. [line 10, column 66] 19:25:11,130 ERROR TP-Processor2 http://toms.net/xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1&language=en SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($tdoc.realLanguage) of '!=' operation has null value. Operation not possible. [line 31, column 59] Logging in as superadmin doesn't help. The xar import gives: import_listoferrorsfiles * XWiki.XWikiPreferences but no other info... One other behaviour- after the import, the _space_ prefs also loses its controls. ??? -Tom -- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
Hi, Please see the "Postgres Install" page of www.xwiki.org. I mention this problem in the comment of this page. Hope it helps. On 3/8/07, Thomas Arthur Oehser <[email protected]> wrote:
Next problem - probably also my stupidity, but I seem to be stuck on it-
When I do a clean unwar and launch, letting xwiki create the postgres tables, which seems to work find, and go into the "Administration" pages, there are no input controls on the main global XwikiPreferences tab. When I go into the other tabs, there _are_ controls, which seem to operate normally- including the 'space preferences' controls- it is just the global preferences where the controls (drop downs, input fields) are missing. Importing the Xar also _fails_ on this one file- it gets an error on one Xwiki.Preferences- but imports everything else correctly. Messing with roles doesn't help, dropping and re-creating the xwiki database doesn't help. The only error in logs is:
19:25:11,125 ERROR TP-Processor2 http://toms.net/xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1&language=en SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($objuser.getProperty("usertype").value) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. [line 10, column 66] 19:25:11,130 ERROR TP-Processor2 http://toms.net/xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1&language=en SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($tdoc.realLanguage) of '!=' operation has null value. Operation not possible. [line 31, column 59]
Logging in as superadmin doesn't help.
The xar import gives:
import_listoferrorsfiles
* XWiki.XWikiPreferences
but no other info...
One other behaviour- after the import, the _space_ prefs also loses its controls.
???
-Tom
-- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Best regards, Xin
XWiki.sendMessage() is sending an illegal argument to HELO, and my very correct Exim4 server is rejecting it when trying to send the registration validation email. The Exception is: com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to mail server 127.0.0.1 port 25 error code 501 (501 Syntactically invalid HELO argument(s) The HELO is: "HELO XWiki version 1.0-beta-5.2310" This is actually illegal according to SMTP specs, it must be a <domain>. Note, this is NOT the "from" address, it is just the SMTP HELO. XWiki.sendMessage() has: if ((login == null) || login.equals("")) login = "XWiki version " + getVersion(); I think it should be: InetAddress.getLocalHost().getHostName(). or settable in XWiki.cfg to the domain you want. In all cases (never login), which, for registration, is not there anyway. -Tom -- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
Hi Tom, Could you please create a JIRA issue for this? Thanks -Vincent On Mar 8, 2007, at 2:14 AM, Thomas Arthur Oehser wrote:
XWiki.sendMessage() is sending an illegal argument to HELO, and my very correct Exim4 server is rejecting it when trying to send the registration validation email.
The Exception is: com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to mail server 127.0.0.1 port 25 error code 501 (501 Syntactically invalid HELO argument(s)
The HELO is: "HELO XWiki version 1.0-beta-5.2310"
This is actually illegal according to SMTP specs, it must be a <domain>.
Note, this is NOT the "from" address, it is just the SMTP HELO.
XWiki.sendMessage() has:
if ((login == null) || login.equals("")) login = "XWiki version " + getVersion();
I think it should be:
InetAddress.getLocalHost().getHostName().
or settable in XWiki.cfg to the domain you want.
In all cases (never login), which, for registration, is not there anyway.
-Tom
-- May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William Schroeder.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
participants (3)
-
Thomas Arthur Oehser -
Vincent Massol -
xin wu