Dear xwiki experts,
I politely ask for assistance, since many-days-troubleshooting on my own
brought no success.
I'm still getting JBoss Application Server errors, as described below.
What am I doing wrong? All steps are followed as described on
xwiki.org.
Many thanks in advance for your expertise!
MY INFRASTRUCTURE:
DEBIAN 5.0.1
JBoss GA 5.0.1 (no add-ons, no other applications)
JDK 5.0
PostgreSQL 8.3.6-1
postgresql-8.3-604.jdbc4.jar JDBC Java Driver
MY INSTALLATION STEPS:
1. Installed JBoss GA 5.0.1
2. created directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war
3. copied the content of xwiki-enterprise-web-1.8.1.war into directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/
4. Uncommented the resource-ref in
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/web.xml as
follows:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
5. Modified the
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/hibernate.cfg.xml
as follows:
<property
name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
6. Downloaded the jboss-web.xml and placed it into the directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF
7. Installed PostgreSQL 8.3.6-1 per command apt-get insall postgresql
8. Executed following commands as postgres user:
# createuser xwiki -S -D -R -P -Upostgres
# createdb xwiki -Eunicode -Oxwiki -Upostgres
9. Copied postgresql-8.3-604.jdbc4.jar Java Driver into
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/lib
10. Uncommented xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml line
in the file
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/xwiki.cfg
JBOSS GA ERROR:
When I start the JBoss Application Server, I get the following error:
11:12:19,299 INFO [TomcatDeployment] deploy, ctxPath=/
11:12:19,793 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
11:12:20,290 INFO [TomcatDeployment] deploy, ctxPath=/xwiki
11:12:21,311 ERROR [JBossContextConfig] XML error parsing: context.xml
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX
parser
at
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
--
View this message in context:
http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5.0.1--%21%21%21PLEA…
Sent from the XWiki- Users mailing list archive at
Nabble.com.