You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jeff Yu (JIRA)" <ji...@apache.org> on 2007/10/08 10:36:50 UTC
[jira] Created: (CXF-1093) create the polling thread by using
WorkManager
create the polling thread by using WorkManager
----------------------------------------------
Key: CXF-1093
URL: https://issues.apache.org/jira/browse/CXF-1093
Project: CXF
Issue Type: Sub-task
Components: Integration
Affects Versions: 2.0.2
Environment: windows
Reporter: Jeff Yu
Fix For: 2.1
Now, in JCABusFactory, we create the polling thread directly and using the daemon mode, according to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create threadly in the Resource Adapter directly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Attachment: cxf-1093.patch
with this patch.
1. Start the polling thread and jetty thread by using WorkManager Interface, which will be implemented by the Application Server.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: cxf-1093.patch
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Attachment: cxf-1093-2.patch
A little patch, Throw unsupportedOperationException for creating ejb endpoint at https protocol and fix a typo.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Assignee: willem Jiang
> Fix For: 2.1
>
> Attachments: cxf-1093-2.patch, cxf-1093.patch
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Description:
Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
was:Now, in JCABusFactory, we create the polling thread directly and using the daemon mode, according to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create threadly in the Resource Adapter directly.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Attachment: cxf-1093.patch
Thanks for willem's review on previous patch.
Now I added some more log information when it has WorkRejected(...).
Set the lowOnThreads property to true if it has the "START_TIMEOUT" error and retry to start it again.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: cxf-1093.patch
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Description:
Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
was:
Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1093) create the polling thread by using
WorkManager
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-1093:
-------------------------
Attachment: (was: cxf-1093.patch)
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1093) create the polling thread by using
WorkManager
Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
willem Jiang resolved CXF-1093.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1)
2.0.3
The patch has been applied.
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Assignee: willem Jiang
> Fix For: 2.0.3
>
> Attachments: cxf-1093-2.patch, cxf-1093.patch
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-1093) create the polling thread by using
WorkManager
Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
willem Jiang reassigned CXF-1093:
---------------------------------
Assignee: willem Jiang
> create the polling thread by using WorkManager
> ----------------------------------------------
>
> Key: CXF-1093
> URL: https://issues.apache.org/jira/browse/CXF-1093
> Project: CXF
> Issue Type: Sub-task
> Components: Integration
> Affects Versions: 2.0.2
> Environment: windows
> Reporter: Jeff Yu
> Assignee: willem Jiang
> Fix For: 2.1
>
> Attachments: cxf-1093.patch
>
>
> Now, in JCABusFactory, we create the polling thread directly and using the daemon mode.
> 1. According to JCA 1.5 spec, it would be better for us to delegate this thread to app server's WorkManager. Do not create thread in the Resource Adapter directly.
> 2. Write a adapter, so that Jetty is able to use the App servers ThreadPool instead of jetty its own.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.