Support Article
VBD War deployment is failing
SA-19201
Summary
Visual Business Director (VBD) War deployment is failing.
Error Messages
Issue 1:
11:42:41,586 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.module.service."deployment.vbd.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.vbd.war".main: JBAS018759: Failed to load module: deployment.vbd.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:94) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
...
Caused by: org.jboss.modules.ModuleNotFoundException: com.sun.rowset:main
at org.jboss.modules.Module.addPaths(Module.java:1050) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.Module.link(Module.java:1406) [jboss-modules.jar:1.3.6.Final-redhat-1]
...
Issue 2:
A subsequent issue also raised where the datasource:
12:40:29,838 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:/jdbc/vbdDataSourc]
Steps to Reproduce
Followed the instruction mentioned in the DSM installed guide.
1. Enabled JBoss is configured to enable automatic deployment of exploded content.
2. define the data source required.
3. Copied the vbd.war folder(unzipped) to jboss deployment folder.
4. Added Spring module in jboss-deployment-structure such as
<jbossdeploymentstructure>
<deployment>
<dependencies>
<module name="com.sun.rowset"/>
<module name="org.springframework.spring"/>
</dependencies>
</deployment>
</jbossdeploymentstructure>
5. Copied the ojbdc7.jar to lib folder of the vbd.war
Root Cause
Issue 1: A configuration issue : "com.sun.rowset" module needs to be set. Issue 2: Typo in configuration file when defining the datasource for VBD
NameL vbdDataSource
JNDI: java:/jdbc/vbdDataSource
Resolution
Issue 1: Perform the following local-change: Use specific steps in SA-16331 and ensure that syntax is correct.
Issue 2: change the config in standalone.xml or standalone-full depending which one is referred in the standalone script file.
Published January 31, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.