[JBoss JIRA] Closed: (JBJCA-21) Move the rars into a separate project that does not depend on the connection manager implementation
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/JBJCA-21?page=com.atlassian.jira.plugin.s... ]
Jesper Pedersen closed JBJCA-21.
--------------------------------
> Move the rars into a separate project that does not depend on the connection manager implementation
> ---------------------------------------------------------------------------------------------------
>
> Key: JBJCA-21
> URL: https://issues.jboss.org/browse/JBJCA-21
> Project: IronJacamar
> Issue Type: Task
> Components: Core
> Reporter: Adrian Brock
> Assignee: Jesper Pedersen
>
> The resource adapter implementations should NOT depend upon the connection manager
> implementation or transaction manager or any other jboss service.
> This is the wrong way around. It is like coding an EJB to use specifics of a JBoss EJB container.
> Related, each resource adapter should be useable in a standalone environment
> (with an internal dummy connection manager) through the alternate api
> See javax.resource.spi.ManagedConnectionFactory
> /**
> * Creates a connection factory instance. The connection manager is provided
> * by the resource adapter.
> *
> * STANDALONE USE
> *
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory() throws ResourceException;
> /**
> * Creates a connection factory instance. the connection manager is provided
> * by the application server
> *
> * APPLICATION SERVER/EXTERNAL CONNECTION MANAGER USE
> *
> * @param cxManager the connection manager
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Resolved: (JBJCA-21) Move the rars into a separate project that does not depend on the connection manager implementation
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/JBJCA-21?page=com.atlassian.jira.plugin.s... ]
Jesper Pedersen resolved JBJCA-21.
----------------------------------
Assignee: Jesper Pedersen
Resolution: Out of Date
> Move the rars into a separate project that does not depend on the connection manager implementation
> ---------------------------------------------------------------------------------------------------
>
> Key: JBJCA-21
> URL: https://issues.jboss.org/browse/JBJCA-21
> Project: IronJacamar
> Issue Type: Task
> Components: Core
> Reporter: Adrian Brock
> Assignee: Jesper Pedersen
>
> The resource adapter implementations should NOT depend upon the connection manager
> implementation or transaction manager or any other jboss service.
> This is the wrong way around. It is like coding an EJB to use specifics of a JBoss EJB container.
> Related, each resource adapter should be useable in a standalone environment
> (with an internal dummy connection manager) through the alternate api
> See javax.resource.spi.ManagedConnectionFactory
> /**
> * Creates a connection factory instance. The connection manager is provided
> * by the resource adapter.
> *
> * STANDALONE USE
> *
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory() throws ResourceException;
> /**
> * Creates a connection factory instance. the connection manager is provided
> * by the application server
> *
> * APPLICATION SERVER/EXTERNAL CONNECTION MANAGER USE
> *
> * @param cxManager the connection manager
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBJCA-507) Make ManagedConnectionFactory available under RAR connector in rhq plugin inventory
by Lin Gao (JIRA)
Make ManagedConnectionFactory available under RAR connector in rhq plugin inventory
-----------------------------------------------------------------------------------
Key: JBJCA-507
URL: https://issues.jboss.org/browse/JBJCA-507
Project: IronJacamar
Issue Type: Task
Components: Management
Reporter: Lin Gao
Assignee: Jesper Pedersen
Fix For: 1.0.0.CR1
Current ManagedConnectionFactory, AdminObject can not be displayed under RAR resource in RHQ plugin inventory because of WeakReference of JCA object in management model.
The solution is:
1. Create a ManagementRepositoryMeta class to wrap needed information like class name of javax.resource.spi.ManagedConnectionFactory and associated rar unique id in the tree structure
2. Add a method: getManagementRepositoryMeta() to Discover interface so that the ManagementRepositoryMeta can be initialized when discovers ManagementRepository
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBAS-8928) read-attribute failing in both CLI and http api
by Max Rydahl Andersen (JIRA)
read-attribute failing in both CLI and http api
-----------------------------------------------
Key: JBAS-8928
URL: https://issues.jboss.org/browse/JBAS-8928
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Max Rydahl Andersen
Doing this shows there is an attribute named 'path':
[~] subsystem=deployment-scanner,scanner=default:read-resource
{
"outcome" => "success",
"result" => {
"path" => "deployments",
"scan-enabled" => true,
"scan-interval" => 5000,
"relative-to" => "jboss.server.base.dir"
},
"compensating-operation" => undefined
}
but reading that attribute fails:
~] subsystem=deployment-scanner,scanner=default:read-attribute(name="path")
{
"outcome" => "failed",
"failure-description" => "No known attribute called path"
}
When using http://localhost:9990/domain-api/subsystem/deployment-scanner/scanner/def...
the same result is returned.
In error log it shows:
16:44:53,691 ERROR [org.jboss.as.controller] (pool-4-thread-2) operation ("read-attribute") failed - address: ([
("subsystem" => "deployment-scanner"),
("scanner" => "default")
]): java.lang.NullPointerException
at org.jboss.as.server.ServerControllerImpl.doExecute(ServerControllerImpl.java:180)
at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:221)
at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:187)
at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:171)
at org.jboss.as.controller.AbstractModelController.execute(AbstractModelController.java:56)
at org.jboss.as.domain.http.server.DomainHttpServer.handle(DomainHttpServer.java:95)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82) [:1.6.0_22]
at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:85) [:1.6.0_22]
at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:606)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82) [:1.6.0_22]
at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:578)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month