[JBoss JIRA] Created: (AS7-1177) JavaMail not available
by Juergen Zimmermann (JIRA)
JavaMail not available
----------------------
Key: AS7-1177
URL: https://issues.jboss.org/browse/AS7-1177
Project: Application Server 7
Issue Type: Bug
Components: Modules
Affects Versions: 7.0.0.CR1
Reporter: Juergen Zimmermann
JavaMail cannot be used as it was in JBossAS 6 and earlier.
1) I tried as in JBoss 6:
@Resource(mappedName = "java:Mail")
private Session mailer;
... and got this logging info within the Arquillian tests:
11:12:08,454 INFO [org.jboss.as.server.controller] (pool-1-thread-48) Deployment of "test.ear.ear" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"test.ear\".test.KundenverwaltungListener.\"env/de.swe2.kundenverwaltung.service.KundenverwaltungListener/mailer\".jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.KundenverwaltungListener.8","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.Dao.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.KundenverwaltungListener.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.KundenverwaltungResourceImpl.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.ValidationService.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.Kundenverwaltung.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.Artikelverwaltung.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.FileStore.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.RolesService.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.BestellverwaltungResourceImpl.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.PasswordService.START","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".jndiDependencyService","jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.Bestellverwaltung.START"]}
11:12:08,468 INFO [org.jboss.jpa] (MSC service thread 1-1) stopping Persistence Unit Service 'test.ear.ear/test.jar#swe2Persistence'
11:12:08,470 INFO [org.jboss.weld] (MSC service thread 1-1) Stopping weld service
2) I tried
@Resource
private Session mailer;
... and got this logging info within the Arquillian tests:
11:09:20,085 INFO [org.jboss.as.server.controller] (pool-1-thread-46) Deployment of "test.ear.ear" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"test.ear.ear\".\"test.jar\".component.KundenverwaltungListener.START"]}
11:09:20,094 INFO [org.jboss.jpa] (MSC service thread 1-2) stopping Persistence Unit Service 'test.ear.ear/test.jar#swe2Persistence'
11:09:20,098 INFO [org.jboss.weld] (MSC service thread 1-2) Stopping weld service
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] Created: (AS7-1919) AS7 7.0.x-Snapshot - logging at shutdown is lost
by Dan Sirbu (JIRA)
AS7 7.0.x-Snapshot - logging at shutdown is lost
------------------------------------------------
Key: AS7-1919
URL: https://issues.jboss.org/browse/AS7-1919
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: Open To Community
Environment: I used the version 7.0.x-SNAPSHOT provided within the open/community question on META-INF
Reporter: Dan Sirbu
Assignee: David Lloyd
Priority: Critical
Fix For: Open To Community
At shutdown, the logging from the module that I used is partially lost. When debugging I add: System.console().printf at same locations as the logger.info (java.util), only the System.console output was captured for 90% of the traces.
And I believe it is related to the fact that the traces are "moved" from server.log towards boot.log ! This assumption is because the other 10% are going to boot.log.
If I attached the debugger remotely then I will get the logs but that is because some thread synchronization is different.
Would be nice to have this addressed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months