please, can you explain more. I'm attaching the same jboss-service.xml from examples
of Admin development guide with this e-mail.
<!-- The non-transaction FileSystem resource adaptor service configuration
-->
<server>
<mbean code="org.jboss.resource.connectionmanager.NoTxConnectionManager"
name="jboss.jca:service=NoTxCM,name=filesystem">
<depends>jboss.jca:service=RARDeployer</depends>
<depends optional-attribute-name="ManagedConnectionFactoryName">
<mbean code="org.jboss.resource.connectionmanager.RARDeployment"
name="jboss.jca:service=NoTxFS,name=filesystem">
<attribute name="JndiName">java:/NoTransFS</attribute>
<attribute
name="ConnectionFactoryImplClass">org.jboss.chap7.ex1.ra.DirContextFactoryImpl</attribute>
<attribute
name="ConnectionFactoryInterface">org.jboss.chap7.ex1.ra.DirContextFactory</attribute>
<attribute
name="ConnectionImplClass">org.jboss.chap7.ex1.ra.FSDirContext</attribute>
<attribute
name="ConnectionInterface">javax.naming.directory.DirContext</attribute>
<attribute name="DisplayName">File System Adapter</attribute>
<attribute name="EisType">FileSystem</attribute>
<attribute
name="ManagedConnectionFactoryClass">org.jboss.chap7.ex1.ra.FSMangedConnectionFactory</attribute>
<attribute name="TransactionSupport">NoTransaction</attribute>
<attribute name="VendorName">Openmind</attribute>
<attribute name="Version">1.0</attribute>
<attribute name="ManagedConnectionFactoryProperties">
<properties>
<config-property>
<config-property-name>FileSystemRootDir</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>/tmp/db/fs_store</config-property-value>
</config-property>
</properties>
</attribute>
<attribute name="JndiName">NoTransFS</attribute>
</mbean>
</depends>
<depends optional-attribute-name="ManagedConnectionPool">
<mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
name="jboss.jca:service=NoTxPool,name=filesystem">
<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">50</attribute>
<attribute name="BlockingTimeoutMillis">5000</attribute>
<attribute name="IdleTimeoutMinutes">15</attribute>
<attribute name="Criteria">ByContainer</attribute>
</mbean>
</depends>
<depends optional-attribute-name="CachedConnectionManager">
jboss.jca:service=CachedConnectionManager
</depends>
<depends optional-attribute-name="JaasSecurityManagerService">
jboss.security:service=JaasSecurityManager
</depends>
</mbean>
</server>
-----Original Message-----
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 6:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JCA adaptor chapter 7
The managed connection factory is an attribute on the pool in 3.2 not
the connection manager.
Just move the attribute or investigate using the -ds.xml deployment.
Regards,
Adrian
On Sun, 2003-09-14 at 22:10, Srinivas Malladi wrote:
> Hi Scott,
> I'm trying chaper 7 example for JCA and It is not working. Do I need to create a sar
> file or not for JCA adaptor? We are using JBOSS as the application server for all
> enterprise and need to access file system from EJBS. How do I deploy
> JBOSS-Service.xml. In the example build scripts, the ant script is copies it into
> deploy directory where as in document it is metentioned to create a sar file. When I
> deploy jboss-service.xml into deploy directory, I'm getting following error for
> MBEANS. However, the rar file is successfully deployed.
>
>
> 17:01:04,860 INFO [jbossweb] successfully deployed file:/C:/rcomapps/jboss/v3.2
> .1/server/default/tmp/deploy/server/default/deploy/management/web-console.war/31
> .web-console.war to /web-console
> 17:01:04,920 INFO [MainDeployer] Deployed package: file:/C:/rcomapps/jboss/v3.2
> .1/server/default/deploy/management/
> 17:01:04,920 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
> ration 'checkIncompleteDeployments()'
> Cause: Incomplete Deployment listing:
> Packages waiting for a deployer:
> <none>
> Incompletely deployed packages:
> <none>
> MBeans waiting for classes:
> <none>
> MBeans waiting for other MBeans:
> [ObjectName: jboss.jca:service=NoTxCM,name=filesystem
> state: FAILED
> I Depend On: jboss.jca:service=RARDeployer
> jboss.jca:service=NoTxFS,name=filesystem
>
> Depends On Me: org.jboss.deployment.DeploymentException: Exception setting attr
> ibute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.
> jca:service=NoTxFS,name=filesystem on mbean jboss.jca:service=NoTxCM,name=filesy
> stem; - nested throwable: (javax.management.AttributeNotFoundException: Writable
> attribute 'ManagedConnectionFactoryName' not found), ObjectName: jboss.jca:serv
> ice=NoTxFS,name=filesystem
> state: FAILED
> I Depend On:
> Depends On Me: jboss.jca:service=NoTxCM,name=filesystem
> org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName
> ]
> 17:01:05,050 INFO [URLDeploymentScanner] Started
> 17:01:05,110 INFO [MainDeployer] Deployed package: file:/C:/rcomapps/jboss/v3.2
> .1/server/default/conf/jboss-service.xml
> 17:01:05,130 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3
> _2_1 date=200305041533)] Started in 43s:683ms
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
--
xxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user