[JBoss JIRA] Created: (AS7-1367) size-rotating-file-handler rotate-size doens't properly handle add/update with management API
by Stan Silvert (JIRA)
size-rotating-file-handler rotate-size doens't properly handle add/update with management API
---------------------------------------------------------------------------------------------
Key: AS7-1367
URL: https://issues.jboss.org/browse/AS7-1367
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.0.0.Final
Reporter: Stan Silvert
Assignee: Stan Silvert
Fix For: 7.1.0.Alpha1
>From the management API, rotate-size doesn't handle the one-character suffixes for (b)yte, (k)ilobyte, (m)egabyte, etc.
So for instance, if you say:
/subsystem=logging/size-rotating-file-handler=SIZE:update-properties(rotate-size=5m)
You will get an error because it will try to convert that to a long. If you enter a valid long without a suffix, then the value will be corrupted when the server is restarted.
The solution is to keep this attribute as a String in the management model and only parse out the suffix when you need to convert to a long for the runtime.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBAS-8136) Consistent mechanism for masking passwords across the configuration
by Brian Stansberry (JIRA)
Consistent mechanism for masking passwords across the configuration
-------------------------------------------------------------------
Key: JBAS-8136
URL: https://jira.jboss.org/browse/JBAS-8136
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Brian Stansberry
Fix For: Unscheduled
This JIRA is based on feedback we received after the Andiamo BOF at JBoss World 2010:
>> The means to mask passwords is different for
>> the newer jboss-beans.xml files from the older mbean
>> configurations. Would much rather have a one and done solution
>> instead of managing two different solutions.
With the AS 7 unified domain configuration this should fall out naturally, but we need to guard that no subsystems introduce non-standard ways of doing this.
--
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
14 years, 8 months
[JBoss JIRA] Created: (AS7-1188) Possible to remove a jdbc driver from a server-group, when still in use
by Heiko Rupp (JIRA)
Possible to remove a jdbc driver from a server-group, when still in use
-----------------------------------------------------------------------
Key: AS7-1188
URL: https://issues.jboss.org/browse/AS7-1188
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.0.0.CR1
Reporter: Heiko Rupp
Assignee: Brian Stansberry
[domain@localhost:9999 /] /server-group=main-server-group/deployment=postgresql-9.0-801.jdbc4.jar:remove
{
"outcome" => "success",
"result" => {"server-groups" => [("main-server-group" => {"master" => {
"host" => "master",
"response" => {"outcome" => "success"}
}})]}
}
[domain@localhost:9999 /] /profile=default/subsystem=datasources/data-source=postgres:read-resource
{
"outcome" => "success",
"result" => {
"background-validation" => undefined,
"background-validation-minutes" => undefined,
"blocking-timeout-wait-millis" => undefined,
"connection-url" => "jdbc:postgresql://127.0.0.1:5432/rhqdev",
"driver-name" => "postgresql-9.0-801.jdbc4.jar",
Console says
[Server:server-two] 13:55:09,768 INFO [org.jboss.as.server.controller] (pool-1-thread-4) Undeployed "postgresql-9.0-801.jdbc4.jar"
[Server:server-two] 13:55:09,769 INFO [org.jboss.as.controller] (pool-1-thread-4) Service status report
[Server:server-two] New missing/unsatisfied dependencies:
[Server:server-two] service jboss.jdbc-driver.postgresql-9_0-801_jdbc4_jar (missing)
and after reboot:
[Server:server-one] 13:58:20,938 INFO [org.jboss.as.controller] (Controller Boot Thread) Service status report
[Server:server-one] New missing/unsatisfied dependencies:
[Server:server-one] service jboss.jdbc-driver.postgresql-9_0-801_jdbc4_jar (missing)
I think removing the driver from a server group should not be possible if a datasource still refers to it.
Basically the same way I can't remove a deployment from /deployment, while still in use in /server-group=x/deployment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months