Hi everybody,
I am looking at JBoss after some time (I am a total new-bye...)
1.
I put the mssql-service.xml under the deply directory as it is and I got the error
08:41:45,032 INFO [MainDeployer] Starting deployment of package: file:/C:/franz
/java/jboss-3.0.0RC1/jboss-3.0.0RC1/server/default/deploy/mssql-service.xml
08:41:45,112 ERROR [SARDeployer] create operation failed for package file:/C:/fr
anz/java/jboss-3.0.0RC1/jboss-3.0.0RC1/server/default/deploy/mssql-service.xml
org.jboss.deployment.DeploymentException: Exception setting attribute javax.mana
gement.Attribute@133bcb on mbean jboss.jca:service=LocalTxCM,name=MSSQLDS; - nes
ted throwable is: javax.management.AttributeNotFoundException: Writable attribut
e 'JaasSecurityManagerService' not found
javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityMan
agerService' not found
at org.jboss.mx.capability.ReflectedMBeanDispatcher.setAttribute(Reflect
edMBeanDispatcher.java:190)
at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java
:446)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:489)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
va:391)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:202)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
I tried to comment out differents section, but I keep getting it. What should I do ?
2. Is it reasonable with JBoss 3.0 to have the transaction attribute set to "supports" for finders methods so that when I use them to dowload data they are not involved in transactions, while if they are called from methods associated with transactions they qill use them ? I read in Matsering EJB 2.0 that it is suggested not to use this attribute for entity methods. But if different users downloa the same data at the same time using finder with the Required attribute I get an error (this with BAS4.5).
Thanks in advance
Ciao Francesco
I think you have mismatched jboss and config versions. Please use jboss rc2 and the included examples (docs/examples/jca)
You need to set the tx setting for all the methods on entity beans to required for jboss.