[JBoss JIRA] Created: (AS7-1195) Failure to load login-module should be reported as WARNING instead of TRACE
by Bruno Vernay (JIRA)
Failure to load login-module should be reported as WARNING instead of TRACE
---------------------------------------------------------------------------
Key: AS7-1195
URL: https://issues.jboss.org/browse/AS7-1195
Project: Application Server 7
Issue Type: Feature Request
Components: Security
Affects Versions: 7.0.0.CR1
Environment: java-6-sun-1.6.0.24
Linux ubuntu
Reporter: Bruno Vernay
An error in standalone.xml :
<security-domains>
<security-domain ...>
<authentication>
<login-module code="database" flag="required">
is reported in TRACE:
TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-1) Login failure: javax.security.auth.login.LoginException: unable to find LoginModule class: database from [Module "deployment.jboss-as-login.war:main" from Service Module Loader]
It makes it difficult to spot the error.
Would be easier if it was reported as a WARNING, specially since it is "required"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBAS-9419) Add jndi alias for new JBossAS7 default DS
by Ales Justin (JIRA)
Add jndi alias for new JBossAS7 default DS
------------------------------------------
Key: JBAS-9419
URL: https://issues.jboss.org/browse/JBAS-9419
Project: Legacy JBoss Application Server 6
Issue Type: Task
Security Level: Public (Everyone can see)
Components: JCA service
Affects Versions: 6.0.0.Final
Reporter: Ales Justin
Assignee: Ales Justin
Fix For: 6.1.0
Allow for the same examples that are deployable on JBossAS7 and depend on new default DS jndi name (java:jboss/datasources/ExampleDS) to be deployable on JBossAS6 as well.
This means adding an alias that binds the two jndi names. (java:jboss/datasources/ExampleDS --> java:/DefaultDS)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (AS7-1319) size-rotating-file-handler fails with error if encoding isn't set in the configuration
by jaikiran pai (JIRA)
size-rotating-file-handler fails with error if encoding isn't set in the configuration
--------------------------------------------------------------------------------------
Key: AS7-1319
URL: https://issues.jboss.org/browse/AS7-1319
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.0.0.Final
Reporter: jaikiran pai
Assignee: jaikiran pai
The following size-rotating-file-handler configuration
{code:xml}
<size-rotating-file-handler name="FILE2" autoflush="true">
<level name="TRACE"/>
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
<file relative-to="jboss.server.log.dir" path="server.log"/>
<rotate-size value="2048"/>
<max-backup-index value="5"/>
</size-rotating-file-handler>
{code}
fails with
{code}
20:10:42,402 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.logging.handler.FILE2: org.jboss.msc.service.StartException in service jboss.logging.handler.FILE2: java.io.UnsupportedEncodingException: undefined
at org.jboss.as.logging.SizeRotatingFileHandlerService.start(SizeRotatingFileHandlerService.java:70)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.io.UnsupportedEncodingException: undefined
at java.util.logging.Handler.setEncoding(Handler.java:130) [:1.6.0_21]
at org.jboss.logmanager.handlers.OutputStreamHandler.setEncoding(OutputStreamHandler.java:90) [jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.as.logging.SizeRotatingFileHandlerService.start(SizeRotatingFileHandlerService.java:68)
... 5 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months