1 2 Previous Next 17 Replies Latest reply on May 15, 2002 12:09 AM by davidjencks Go to original post
      • 15. Re: ConnectionFactoryLoader not found

        The order is still broken :-(

        The deployer is loading in the order files are added
        to the deploy directory (unless other dependencies are
        specified).

        After you build the server, make sure you remove
        old ears/jar/war applications and add them again
        before starting the server.
        This is only a temporary workaround.

        I've added this to sourceforge as a bug so you can
        monitor for the fix.

        http://sourceforge.net/tracker/index.php?func=detail&aid=527876&group_id=22866&atid=376685

        Regards,
        Adrian

        • 16. JaasSecurityManagerService not found

          Hello,
          I downloaded JBoss 3.0 RC1, after adding the oracle-service.xml file from CVS (and including the Classes12.jar in /lib dir) I started the JBoss server and got error msg: JaassSecurityManagerService NOT FOUND; below I have included the oracle-service.xml file, login-config.xml (just the stanza I added) and the runtime exception
          Can someone explain what is wrong?? I can see the security service start in the console prior to my oracle-service.xml file references:
          14:02:35,703 INFO [JaasSecurityManagerService] Starting
          14:02:35,734 INFO [JaasSecurityManagerService] Started


          Need help...
          Thanks

          -- login-config.xml --
          <application-policy name = "OracleDbRealm">

          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
          flag = "required">
          <module-option name = "principal">coeuser</module-option>
          <module-option name = "userName">coeuser</module-option>
          <module-option name = "password"></module-option>
          <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
          </login-module>


          -- changes for Oracle 8i --
          1) Went to SourceForge to get latest oracle-service.xml file and change only URL, userid/pswd here is the oracle-service.xml file:
          <?xml version="1.0" encoding="UTF-8"?>

          <!-- ===================================================================== -->
          <!-- -->
          <!-- JBoss Server Configuration -->
          <!-- -->
          <!-- ===================================================================== -->



          <!-- ==================================================================== -->
          <!-- ConnectionManager setup for Oracle dbs -->
          <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
          <!-- Thanks to Steven Coy -->
          <!-- ==================================================================== -->




          <!-- Include a login module configuration named OracleDbRealm.
          Update your login-conf.xml, here is an example for a
          ConfiguredIdentityLoginModule:

          <application-policy name = "OracleDbRealm">

          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
          <module-option name = "principal">yourprincipal</module-option>
          <module-option name = "userName">yourusername</module-option>
          <module-option name = "password">yourpassword</module-option>
          <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
          </login-module>

          </application-policy>

          NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
          module-option name = "managedConnectionFactoryName"
          must match the object name of the ConnectionManager you are configuring here.
          -->
          <!--comment out this line if you want component managed security or want
          to use the default values in the ManagedConnectionFactoryProperties -->
          OracleDbRealm

          <depends optional-attribute-name="ManagedConnectionFactoryName">
          <!--embedded mbean-->


          OracleDS



          <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@daldev22.algx.com:1521:coedev</config-property>
          <config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
          <!--set these only if you want only default logins, not through JAAS
          <config-property name="UserName" type="java.lang.String"></config-property>
          <config-property name="Password" type="java.lang.String"></config-property>
          -->




          <!--Below here are advanced properties -->
          <!--hack-->
          <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper



          <depends optional-attribute-name="ManagedConnectionPool">
          <!--embedded mbean-->


          0
          50
          5000
          15
          <!--criteria indicates if Subject (from security domain) or app supplied
          parameters (such as from getConnection(user, pw)) are used to distinguish
          connections in the pool. Choices are
          ByContainerAndApplication (use both),
          ByContainer (use Subject),
          ByApplication (use app supplied params only),
          ByNothing (all connections are equivalent, usually if adapter supports
          reauthentication)-->
          ByContainer



          <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager

          <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager

          java:/TransactionManager

          <!--make the rar deploy! hack till better deployment-->
          jboss.jca:service=RARDeployer






          --- RUNTIME Exception ---
          14:13:08,390 ERROR [MainDeployer] could not create deployment :file:/C:/appServers/JBoss/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/oracle-service.xml
          org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@4789fb on mbean jboss.jca:service=LocalTxCM,name=OracleDS; - nested throwable is: javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityManagerService' not found; - nested throwable is: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@4789fb on mbean jboss.jca:service=LocalTxCM,name=OracleDS; - nested throwable is: javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityManagerService' not found
          org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@4789fb on mbean jboss.jca:service=LocalTxCM,name=OracleDS; - nested throwable is: javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityManagerService' not found
          javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityManagerService' not found
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.setAttribute(ReflectedMBeanDispatcher.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.java:391)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:202)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:149)
          at org.jboss.system.ServiceController.install(ServiceController.java:193)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
          at $Proxy3.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:244)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
          at $Proxy4.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
          org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@4789fb on mbean jboss.jca:service=LocalTxCM,name=OracleDS; - nested throwable is: javax.management.AttributeNotFoundException: Writable attribute 'JaasSecurityManagerService' not found
          at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:492)

          • 17. Re: JaasSecurityManagerService not found
            davidjencks

            Get rc2. I don't answer questions on rc1 any longer.

            1 2 Previous Next