Hello. Still trying to install xwiki in Websphere 6.1.
When i start the server, i get the following error:
-> The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
This class doesn't exist in the struts jar included in WEB-INF/lib. Why not?
Thanks,
david bessire
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
I upgraded from
version=1.1-rc-1.4635
to
version=1.2-milestone-1.5235
I also moved from the default Jetty servlet container to Tomcat 6.0.14.
I'm using the default HSQLDB setup and driver.
After copying the database files to the new location and tweaking the
nessisary files in WEB-INF, I started up tomcat.
The wiki came up ok, but when trying to view the history of any page, I
get the error message pasted below.
I also tried clearing the DB, importing the defacto XAR file from the
website then importing a backup XAR from my old load. I got the same
error.
I also tried running the "Fix RCS" patch overtop of both of these
attempts in case it was somehow related. Again, same stacktrace.
Error Message displayed (my apologies if this doesn't paste well!):
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @
<unknown template>[45,22]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @
<unknown template>[45,22]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:148)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4447)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4451)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1968)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:88)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Any help would be appreciated.
Paul D. Grodt
TECORE Wireless Systems
> What would be nice is if you could edit the installation page and add
> instructions to set up MSSQL (same as what exists for other DBs). You
> could attach you hibernate file to the page (as it's done for some DBs
> too).
>
> Later on we could commit in xwiki when others have tested it works
> fine for them.
OK, I'll do so on on Monday.
>
> On Nov 9, 2007, at 5:56 PM, pentaho(a)fsck.ch wrote:
>
>>> Hi David,
>>>
>>> All tables are created automatically, you just need to create the
>>> correct empty shema/database (by default "xwiki").
>>
>> For MSSQL to work I had to create my own xwiki.hbm.xml, the default
>> one
>> didn't work.
>
> would be nice if you could contribute it.
Of course, here it is. I actually wanted to provide a complete patch, but
I couldn't yet figure out how put the changes to hibernate.cfg.xml into
the source. Here's what I added manually:
<!-- MSSQL configuration -->
<property
name="connection.url">jdbc:jtds:sqlserver://some.sql-swerver.com:1433/XWiki;tds=8.0;lastupdatecount=true</property>
<property name="connection.username">xwikiuser</property>
<property name="connection.password">xwikipassword</property>
<property
name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
<mapping resource="xwiki.mssql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
If you commit this, please send me note with the revision number.
Thanks,
Tobias
> Hi David,
>
> All tables are created automatically, you just need to create the
> correct empty shema/database (by default "xwiki").
For MSSQL to work I had to create my own xwiki.hbm.xml, the default one
didn't work.
Cheers,
Tobias
A second question: according to hibernate.cfg.xml, database objects (tables) will be created automatically, at least for some databases.
Is this database-dependent; that is, do some databases require the tables to be manually created? If so, where can i obtain the .sql files which define the xwiki data model?
i was quite surprised to find no .sql files in the .jar i downloaded.
Thanks,
david bessire
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
Hello.
Attempting to install Xwiki in a Websphere / SQLServer environment. Websphere supports only Java1.4.2, but exo apparently requires Java 1.5. Even with xwiki.exo=0 in xwiki.cfg, i still get the exception:
>> java.lang.UnsupportedClassVersionError: org/exoplatform/container/ >> PortalContainer (Unsupported major.minor version 49.0)
which in a previous mailing list discussion Vincent says is caused by running under 1.4. Is there any way to run xwiki without relying on exo, which i don't need?
In the previous discussion i mentioned, Vincent suggested removing the exo libraries; this predictably generates a NoClassDefFoundError on startup.
i don't think xwiki is fundamentally incompatible with WebSphere, as there are websphere installation instructions posted on xwiki.org.
Thanks,
david bessire
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
Hi
When I build the xwiki 1.1 branch myself, I cannot undeploy or shutdown
JBoss normally anymore. This does noty happen if I use a binary download.
Any idea what might be wrong? Thanks.
15:00:27,254 ERROR [STDERR] 03:00:27.254 WARN - Invalid feed URL:
15:00:41,878 INFO [Server] Runtime shutdown hook called, forceHalt: true
15:00:41,878 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
15:00:41,878 INFO [TomcatDeployer] undeploy,
ctxPath=/xwiki,warUrl=.../tmp/dep
loy/tmp38404xwiki-web-standard-1.1-SNAPSHOT-exp.war/
15:00:43,956 ERROR [STDERR] Exception in thread "AWT-Windows"
15:00:43,956 ERROR [STDERR] java.lang.IllegalStateException: Shutdown in
progress
15:00:43,956 ERROR [STDERR] at
java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
15:00:43,956 ERROR [STDERR] at
java.lang.Runtime.addShutdownHook(Runtime.java:192)
15:00:43,956 ERROR [STDERR] at
sun.awt.windows.WToolkit.run(WToolkit.java:276)
15:00:43,956 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
Hi all,
I'm using that function to send e-mail from a page inside the wiki: I
ditn't get any error message, but the mail is not sent (even if I set
the parameters in the preference page).
Any idea? Thanks!
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND