Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0 B5
-
Fix Version/s: 1.1 M3
-
Labels:
-
Similar issues:
XWIKI-7986Failed to deploy on JBoss AS7 with Taglib errors XWIKI-7987Failed to deploy on JBoss AS7 with SLF4J class cast exception XWIKI-3093Container managed Datasource not working (JBOSS 4.2.2, Xwiki 1.6.2) XWIKI-2790Jboss cache load configuration in the wrong place XWIKI-5946Extension manager fails on JBoss AS 5 XWIKI-1744Use JBoss Cache by default in XWiki XWIKI-1416Add support for user-defined resource bundles XWIKI-4123Deployment of XWiki 1.9.2 fails on Glassfish 2.1 XWIKI-1665Build and deploy Maven site on our CI server XWIKI-5172Move to Infinispan as default cache implementation
Description
Caused by: javax.naming.NamingException: resource-ref: jdbc/XWikiDS has no valid JNDI binding. Check the jboss-web/resource-ref.
at org.jboss.web.AbstractWebDeployer.linkResourceRefs(AbstractWebDeployer.java:610)
at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:508)
at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:865)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:157)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
... 67 more
19:17:44,836 ERROR [MainDeployer] Could not start deployment: file:/opt/jboss-4.0.5.GA/server/default/deploy/xwiki-1.0-beta-5.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jdbc/XWikiDS has no valid JNDI binding. Chec
k the jboss-web/resource-ref.)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:380)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | Future [ 10210 ] |
| Assignee | Tharindu Jayasuriya [ tharinduj ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Open [ 1 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Open [ 1 ] |
| Attachment | mysql-xa-ds.xml [ 10902 ] |
| Attachment | jboss-web.xml [ 10904 ] |
| Workflow | No Resolved state workflow [ 15193 ] | XWiki Workflow [ 15820 ] |
| Component/s | Documentation & xwiki.org [ 10260 ] | |
| Fix Version/s | 1.1 M3 [ 10236 ] | |
| Fix Version/s | Future [ 10210 ] | |
| Priority | Major [ 3 ] | Minor [ 4 ] |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
| Labels | jboss |
Hi David,
Not sure what you are suggesting here. This should be documented for sure. However this is a configuration issue. If you are suggesting XWiki core should be changed, could you please give me a hint of what you have in mind.
I see on the Installation page that Ben Walding has added information to run XWiki on Resin (as a comment, which someone needs to move in the document proper). This looks like a similar configuration issue.
Thanks!