The SAS Deployment Wizard fails to start JBoss as a service under Windows. When this happens, the jboss_startMidtierServers_yyyy-mm-dd-hh.mm.ss.log shows the following error:
C:\Program Files\SAS\SASDeploymentManager\9.2\products\cfgwizard__92330__prt__xx__sp0__1\Utilities\webAppAntTasks_jboss.xml:1752: jboss startup failed, can't find http://localhost:8080
If this error occurs, you can usually fix the problem, as explained below. As such, you should leave the SAS Deployment Wizard running so you can click Retry in the wizard after you fix the problem.
To solve the problem, check the following items:
Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. Press any key to continue . . .
This error indicates that the problem is most likely a result of having selected 32-bit Java JDK in the SAS Deployment Wizard. To resolve this error, install the Java 64-bit Java Development Kit (JDK). Then change the following line in the wrapper.conf file , located in JBOSS-installation_directory\server\SASServer1, so that it points to the 64-bit version of the Java JDK.
CLASSPATH: C:\Java\jdk1.5.0_15\lib\tools.jar;C:\jboss-4.2.0.GA\bin\run.jar =============================================================================== javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org .jboss.system.server.jmx.MBeanServerBuilderImpl: java.lang.ClassNotFoundExceptio n: org.jboss.system.server.jmx.MBeanServerBuilderImpl at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServ erFactory.java:499) at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanSer verFactory.java:530) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory .java:304) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact ory.java:219) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact ory.java:180) at sun.management.ManagementFactory.createPlatformMBeanServer(Management Factory.java:264) at java.lang.management.ManagementFactory.getPlatformMBeanServer(Managem entFactory.java:512) at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer (ConnectorBootstrap.java:417) at sun.management.Agent.premain(Agent.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.management.Agent.startAgent(Agent.java:197) Caused by: java.lang.ClassNotFoundException: org.jboss.system.server.jmx.MBeanSe rverBuilderImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFacto ry.java:441) at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServ erFactory.java:484) ... 13 more Exception thrown by the agent : javax.management.JMRuntimeException: Failed to l oad MBeanServerBuilder class org.jboss.system.server.jmx.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.system.server.jmx.MBeanServerBuilde rImplPress any key to continue . . .
This error indicates that the Java Virtual Machine (JVM) option =-Djboss.home.dir="path-to-JBoss-directory" has a trailing slash at the end of the path, as shown in this example:
To resolve this error, remove the trailing slash from the path in the following line pf the wrapper.conf file that is found in lt;JBOSS_installation_directory;\server\SASServer1\:
After you resolve these errors, click the Retry in the SAS Deployment Wizard to start the JBoss service.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Enterprise BI Server | Microsoft® Windows® for 64-Bit Itanium-based Systems | 4.2 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows XP 64-bit Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft® Windows® for x64 | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Standard Edition | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 for x64 | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2008 | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2008 for x64 | 4.2 | 9.2 TS2M2 | ||||
Microsoft Windows XP Professional | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Enterprise 32 bit | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Enterprise x64 | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Home Premium 32 bit | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Home Premium x64 | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Professional 32 bit | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Professional x64 | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Ultimate 32 bit | 4.2 | 9.2 TS2M2 | ||||
Windows 7 Ultimate x64 | 4.2 | 9.2 TS2M2 | ||||
Windows Vista | 4.2 | 9.2 TS2M2 | ||||
Windows Vista for x64 | 4.2 | 9.2 TS2M2 |
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2010-10-11 15:59:21 |
Date Created: | 2010-07-20 21:08:12 |