[Design the new POJO MicroContainer] - Re: JBoss with spaces in the directory name
by mstruk
The spaces issue looks fixed now.
I'm still seeing some other propertyeditors test failures when building jboss-common-core:
| -------------------------------------------------------------------------------
| Test set: org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase
| -------------------------------------------------------------------------------
| Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.49 sec <<< FAILURE!
| testJBossEditors(org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase) Time elapsed: 0.318 sec <<< ERROR!
| org.jboss.util.NestedRuntimeException: Unparseable date: "Tue Jan 4 23:38:21 PST 2005"; - nested throwable: (java.text.ParseException: Unparseable date: "Tue Jan 4 23:38:21 PST 2005")
| at org.jboss.util.propertyeditor.DateEditor.setAsText(DateEditor.java:147)
| at org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase.doTests(PropertyEditorsUnitTestCase.java:456)
| at org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase.testJBossEditors(PropertyEditorsUnitTestCase.java:356)
| ...
| ...
|
| Caused by: java.text.ParseException: Unparseable date: "Tue Jan 4 23:38:21 PST 2005"
| at java.text.DateFormat.parse(DateFormat.java:337)
| at org.jboss.util.propertyeditor.DateEditor.setAsText(DateEditor.java:131)
| ... 25 more
|
| testDateEditor(org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase) Time elapsed: 0.02 sec <<< ERROR!
| java.text.ParseException: Unparseable date: "Fri, 25 Jun 1971 00:30:00 +0200"
| at java.text.DateFormat.parse(DateFormat.java:337)
| at org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase.testDateEditor(PropertyEditorsUnitTestCase.java:373)
|
|
These look like having to do with default locale expectations.
- marko
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173437#4173437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173437
16 years, 4 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Thread usage in AIO layer
by clebert.suconic@jboss.com
anonymous wrote : To clarify:
|
| You're saying the move to next file would currently block until the old file could be closed?
|
I aways have one file opened. There is one wait.
The only possibility waits on nextFile is if .close is taking more time than what it takes to write data to a file.
This would be a lack of resources problem from the hardware, and I can't do any magics. If the system/HD is slow because of overuse.. it is slow.. what can I do?
anonymous wrote : Yes it's unlikely, but it's possible and therefore is an issue.
What can I do if the hardware is not answering properly? There is nothing I can do here.
Opening several files would only worsen the situation on the hardware.
anonymous wrote : Anything that might happen, however unlikely we must handle, rather than just barf.
We won't barf... we would wait until the openedFileCache was restablished.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173386#4173386
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173386
16 years, 4 months
[Design of JBoss Transaction Services] - Re: ClientUserTransaction and TxPropogation inefficiencies
by mark.little@jboss.com
"jhalliday" wrote :
| Then there is the question of what the behaviour should be when the client is using RMI/IIOP rather than JRMP for transactional calls to the server. Should it need the JBossTS libraries, or should it continue to use UT? What if it wants to switch to JBossTS? Using either the JTA API or the CORBA API for transaction demarcation.
We shouldn't need any current JBossTS code at the client side if the client code indirects through JTS. The client should simply interact with the Current pseudo-object, which we know can be wrapped by a UserTransaction. The current UserTransactions in JBossTS would pull in too much of the JBossTS code. What we had in HP (written by Malik) was a small UT implementation that called directly to Current (or maybe it was TransactionFactory, I can't remember, but in which case it would also be doing thread-to-transaction association). I'll dig around and see if I can still find that code, because it's definitely not in the JBossTS sources at the moment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173381#4173381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173381
16 years, 4 months