Installation Note 44909: The Jboss-service.xml file might contain entries that are duplicated in the sas-jms-service.xml file
The following errors might appear in the JBoss server.log file when you attempt to start JBoss after installing the third maintenance release for SAS® 9.2 (TS2M3):
ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:
/sas_9.2/prod/jboss-4.2.0.GA/server/SASServerProd/deploy/jms/sas-jms-service.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean:
jboss.mq.destination:service=Queue,name=WorkflowCommandQueue
. . .more error lines. . .
Error creating bean with name 'alertDestination': Invocation of init method failed;
nested exception is javax.naming.NamingException:
Could not dereference object [Root exception
is javax.naming.NameNotFoundException: AlertQueue not bound]
. . .more error lines. . .
These errors occur when the jboss-service.xml and the sas-jms-service.xml files both contain duplicate <mbean> entries or when the correct entries are not entered into the sas-jms-service.xml file.
-
To correct duplicate entries, follow these steps:
- Remove any duplicate entries from the jboss-service.xml file that are duplicates of entries in the sas-jms-service.xml file. To do that, compare the jboss-service.xml file that resides in JBoss-home-directory/server/SASServer1/conf/ with the sas-jms-service.xml file that resides in JBoss-home-directory/server/SASServer1/deploy/jms/. The jboss-service.xml file has two duplicate entries at the bottom of the file that you need to remove, as shown below.
Note: The entries in your file might be different from those shown here. It depends on which entries are duplicates of what is in the sas-jms-service.xml file.
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=WorkflowCommandQueue">
<depends optional-attribute-name="DestinationManager">
jboss.mq:service=DestinationManager</depends>
<attribute name="JNDIName">sas/jms/WorkflowCommandQueue</attribute>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=WorkflowEventsQueue">
<depends optional-attribute-name="DestinationManager">
jboss.mq:service=DestinationManager</depends>
<attribute name="JNDIName">sas/jms/app/WorkflowEventsQueue</attribute>
</mbean>
-
After the duplicate entries are removed, delete the JBoss cache locations to ensure that no old content is loaded. Delete all content from the JBoss-home-directory/server/SASServer1/tmp and the JBoss-home-directory/server/SASServer1/work/jboss.web/localhost directories.
-
Restart JBoss.
- For incorrect entries in sas-jms-service.xml, review the instructions.html in the SAS-configuration-directory/Lev1/Documents directory. Verify that you have completed all of the steps in the section "Configuring Your JBoss Web Application Server."
Operating System and Release Information
| SAS System | JBoss Application Server | Microsoft® Windows® for x64 | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter Edition | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise Edition | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Standard Edition | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 for x64 | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 for x64 | 4.2.0 | | 9.2 TS2M3 | |
| Microsoft Windows XP Professional | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Enterprise 32 bit | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Enterprise x64 | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Home Premium 32 bit | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Home Premium x64 | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Professional 32 bit | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Professional x64 | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Ultimate 32 bit | 4.2.0 | | 9.2 TS2M3 | |
| Windows 7 Ultimate x64 | 4.2.0 | | 9.2 TS2M3 | |
| Windows Vista | 4.2.0 | | 9.2 TS2M3 | |
| Windows Vista for x64 | 4.2.0 | | 9.2 TS2M3 | |
| 64-bit Enabled AIX | 4.2.0 | | 9.2 TS2M3 | |
| 64-bit Enabled Solaris | 4.2.0 | | 9.2 TS2M3 | |
| HP-UX IPF | 4.2.0 | | 9.2 TS2M3 | |
| Linux for x64 | 4.2.0 | | 9.2 TS2M3 | |
| Solaris for x64 | 4.2.0 | | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Installation Note |
| Priority: | medium |
| Date Modified: | 2012-08-21 14:47:53 |
| Date Created: | 2011-11-17 11:10:22 |