[JBoss JIRA] Created: (JBAS-8716) run.conf.bat options lost if JBoss run as a Windows Service
by Vitaliy Tkachenko (JIRA)
run.conf.bat options lost if JBoss run as a Windows Service
-----------------------------------------------------------
Key: JBAS-8716
URL: https://jira.jboss.org/browse/JBAS-8716
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other, System service
Affects Versions: JBossAS-5.1.0.GA
Environment: Any Windows
Reporter: Vitaliy Tkachenko
If the service is run by jbosssvc.exe then JAVA_OPTS is predefined and set to "-server". So if JBoss is run as a service the command "if not "x%JAVA_OPTS%" == "x" goto JAVA_OPTS_SET" in "run.conf.bat" never allows to continue and set all other options.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBAS-7960) snmp-adaptor.sar: Exporting float jmx attributes does not work
by Marc Schoechlin (JIRA)
snmp-adaptor.sar: Exporting float jmx attributes does not work
--------------------------------------------------------------
Key: JBAS-7960
URL: https://jira.jboss.org/jira/browse/JBAS-7960
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMX
Affects Versions: JBossAS-5.1.0.GA
Reporter: Marc Schoechlin
Assignee: Dimitris Andreadis
Exporting SNMP float values does currently not work with snmp-adaptor.sar.
Detailed are described in this discussion: http://community.jboss.org/thread/150912
This bug can be fixed by the attached patch:
Due to the fact that there is not compatible type in org.opennms.protocols.snmp.*
Float is converted to String.
The attached patch is based on:
${code}
$ svn info
Path: .
URL: http://anonsvn.jboss.org/repos/jbossas/trunk
Repository Root: http://anonsvn.jboss.org/repos/jbossas
Repository UUID: 84be2c1e-ba19-0410-b317-a758671a6fc1
Revision: 104117
${code}
The patch:
${code}
ndex: varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java
===================================================================
--- varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java (revision 104117)
+++ varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java (working copy)
@@ -483,12 +483,21 @@
{
ssy = (SnmpObjectId)val;
}
- else if (val instanceof SnmpTimeTicks)
+ else if (val instanceof Float)
+ {
+ /*
+ * Due to the fact that there is not compatible type in org.opennms.protocols.snmp.* we convert
+ * Float to String
+ */
+ String in = String.valueOf(val);
+ ssy = new SnmpOctetString(in.getBytes());
+ }
+ else if (val instanceof SnmpTimeTicks)
{
ssy = (SnmpTimeTicks)val;
}
else
- log.info("Unknown type for " + be);
+ log.info("Unknown type for " + be + "(Type was "+val.getClass().getName()+")");
}
catch (Exception e)
{
${code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBAS-8473) Deployment Exception during Start of JBoss AS (4.2.3.GA)
by Upali Aparajita (JIRA)
Deployment Exception during Start of JBoss AS (4.2.3.GA)
--------------------------------------------------------
Key: JBAS-8473
URL: https://jira.jboss.org/browse/JBAS-8473
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Java EE APIs
Affects Versions: JBossAS-4.2.3.GA
Environment: Window-XP
Reporter: Upali Aparajita
Assignee: Shelly McGowan
Dear Experts,
I have been facing problems in deploying my application in Eclipse IDE. I restared the jboss server and encountered with the error as pasted below -
INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:16:45,406 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@657088df { url=file:/D:/eclipse-jee-galileo-win32/eclipse/eclipse_plugin/jboss-4.2.3.GA/server/default/deploy/docmanager.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: URL file:/D:/eclipse-jee-galileo-win32/eclipse/eclipse_plugin/jboss-4.2.3.GA/server/default/tmp/deploy/tmp22832docmanager-exp.war/ deployment failed
state: FAILED
watch: file:/D:/eclipse-jee-galileo-win32/eclipse/eclipse_plugin/jboss-4.2.3.GA/server/default/deploy/docmanager.war
altDD: null
lastDeployed: 1285566401250
lastModified: 1285566401218
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=docmanager.war,id=1701873887
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/eclipse-jee-galileo-win32/eclipse/eclipse_plugin/jboss-4.2.3.GA/server/default/tmp/deploy/tmp22832docmanager-exp.war/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=docmanager.war,id=1701873887
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/eclipse-jee-galileo-win32/eclipse/eclipse_plugin/jboss-4.2.3.GA/server/default/tmp/deploy/tmp22832docmanager-exp.war/ deployment failed
can anyone let me know the reason why deployment gets failed?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months