[JBoss JIRA] Created: (JBAS-8320) Logging initialization
by Alexey Loubyansky (JIRA)
Logging initialization
----------------------
Key: JBAS-8320
URL: https://jira.jboss.org/browse/JBAS-8320
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Modules
Reporter: Alexey Loubyansky
Assignee: David Lloyd
Fix For: 7.0.0.M1
The following exception is thrown during the start-up on windows (Sun JDK).
The system property is in fact set as the error message suggests and I can successfully invoke
java.util.logging.Logger logger = java.util.logging.Logger.getLogger("mylogger");
System.out.println(logger.getClass().getName() + " " + logger.getClass().getClassLoader().getClass().getName() + " " + logger.getClass().getClassLoader());
from ManagedProcess just before
this.log = Logger.getLogger("org.jboss.process." + processName);
(which causes the error) and output will be
org.jboss.logmanager.Logger org.jboss.modules.ModuleClassLoader ClassLoader for Module "module:org.jboss.logmanager:jboss-logmanager"
Exception in thread "main" java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at org.jboss.logging.JBossLogManagerProvider.doGetLogger(JBossLogManagerProvider.java:55)
at org.jboss.logging.JBossLogManagerProvider.getLogger(JBossLogManagerProvider.java:46)
at org.jboss.logging.Logger.getLogger(Logger.java:2222)
at org.jboss.as.process.ManagedProcess.<init>(ManagedProcess.java:66)
at org.jboss.as.process.ProcessManagerMaster.addProcess(ProcessManagerMaster.java:64)
at org.jboss.as.process.ProcessManagerMaster.main(ProcessManagerMaster.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:105)
at org.jboss.modules.Main.main(Main.java:169)
--
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: (JBJCA-655) ResourceAdapter level config properties are not being set
by Weston M. Price (JIRA)
ResourceAdapter level config properties are not being set
---------------------------------------------------------
Key: JBJCA-655
URL: https://issues.jboss.org/browse/JBJCA-655
Project: IronJacamar
Issue Type: Bug
Components: Deployer
Affects Versions: 1.0.3.Final
Environment: JBoss AS7 7.1.0.Alpha1-SNAPSHOT, built from GitHub master branch
Reporter: Weston M. Price
Assignee: Stefano Maestri
In attempting to deploy a RA in AS7 with ResourceAdapter configuration properties, these properties do not appear to be getting set. Sample:
<resource-adapters>
<resource-adapter>
<archive>
qpid-ra-0.10.rar
</archive>
<config-property name="TransactionManagerLocatorClass">
org.apache.qpid.ra.tm.JBoss7TransactionManagerLocator
</config-property>
<config-property name="TransactionManagerLocatorMethod">
getTm
</config-property>
</resource-adapter>
</resource-adapters>
Running via a debugger never shows the setter methods being invoked.
--
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] (AS7-2479) Async Handler "subhandlers" is not writable
by Stan Silvert (Created) (JIRA)
Async Handler "subhandlers" is not writable
-------------------------------------------
Key: AS7-2479
URL: https://issues.jboss.org/browse/AS7-2479
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.0.Alpha1
Reporter: Stan Silvert
Assignee: James Perkins
James, I'm sure you already know about this, but I want to add a jira so we don't forget it:
{code}[INFO] execute:
[INFO] {
[INFO] "operation" => "composite",
[INFO] "address" => [],
[INFO] "steps" => [{
[INFO] "address" => [
[INFO] ("subsystem" => "logging"),
[INFO] ("async-handler" => "async-new")
[INFO] ],
[INFO] "operation" => "write-attribute",
[INFO] "name" => "subhandlers",
[INFO] "value" => ["anotherfile"]
[INFO] }]
[INFO] }
15:37:44,916 ERROR [org.jboss.as.controller] Operation ("write-attribute") failed - address: ([
("subsystem" => "logging"),
("async-handler" => "async-new")
]) - failure description: "Attribute subhandlers is not writeable"{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months