Hi Shankar.

The following has been changed;
Was:
   <depends 
optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager</depends>
Now:
   <depends 
optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>




shankar wrote:

 > Hi,
 >  I am trying to setup Jboss3.0.1. The following shows up in the boot.xml.
 > Have added a oracle-service.xml in the default/deploy dir.
 >  This was working fine on Jboss3.0 (with Tomcat).
 > Do I have anything else to the oracle-service.xml file?
 >
 > Thanks in advance,
 > Shankar.
 >
 > Here is oracle-service.xml
 >
 > <?xml version="1.0" encoding="UTF-8"?>
 >
 > <!--
 > ===================================================================== -->
 > <!--                                                                       -
 > ->
 > <!--  JBoss Server
 >               -->
 > <!--                                                                       -
 > ->
 > <!--
 > ===================================================================== -->
 >
 > <server>
 >
 >   <!--
 > ==================================================================== -->
 >   <!-- ConnectionManager setup for Oracle
 >     -->
 >   <!-- Build jmx-api (build/build.sh all) and view for config
 > documentation -->
 >   <!-- Thanks to Steven
 >     -->
 >   <!--
 > ==================================================================== -->
 >
 >   <mbean
 > code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
 > name="jboss.jca:service=LocalTxCM,name=OracleDS">
 >
 >
 >     <!-- Include a login module configuration named OracleDbRealm.
 >          Update your login-conf.xml, here is an example for a
 >          ConfiguredIdentityLoginModule:
 >
 >     <application-policy name = "OracleDbRealm">
 >        <authentication>
 >           <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</mo
 > dule-option>
 >           </login-module>
 >        </authentication>
 >     </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.
 >     -->
 >
 >     <!--uncomment out this line if you are using the OracleDbRealm above
 >     <attribute name="SecurityDomainJndiName">OracleDbRealm</attribute>
 >     -->
 >
 >     <depends optional-attribute-name="ManagedConnectionFactoryName">
 >       <!--embedded mbean-->
 >       <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
 > name="jboss.jca:service=LocalTxDS,name=OracleDS">
 >
 >         <attribute name="JndiName">OracleDS</attribute>
 >
 >         <attribute name="ManagedConnectionFactoryProperties">
 >           <properties>
 >             <config-property name="ConnectionURL"
 > type="java.lang.String">jdbc:oracle:thin:@192.168.0.124:2000:ORCL</config-pr
 > operty>
 >             <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">overseer2</config-property>
 >             <config-property name="Password"
 > type="java.lang.String">overseer</config-property>
 >           </properties>
 >
 >         </attribute>
 >
 > <!--Below here are advanced properties -->
 >         <!--hack-->
 >         <depends
 > optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,n
 > ame=JBoss LocalTransaction JDBC Wrapper</depends>
 >       </mbean>
 >     </depends>
 >
 >     <depends optional-attribute-name="ManagedConnectionPool">
 >       <!--embedded mbean-->
 >       <mbean
 > code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
 > name="jboss.jca:service=LocalTxPool,name=OracleDS">
 >
 >         <attribute name="MinSize">0</attribute>
 >         <attribute name="MaxSize">50</attribute>
 >         <attribute name="BlockingTimeoutMillis">5000</attribute>
 >         <attribute name="IdleTimeoutMinutes">15</attribute>
 >         <!--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)-->
 >         <attribute name="Criteria">ByContainer</attribute>
 >       </mbean>
 >
 >     </depends>
 >     <depends
 > optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedCo
 > nnectionManager</depends>
 >
 >     <depends
 > optional-attribute-name="JaasSecurityManagerService">jboss.security:name=Jaa
 > sSecurityManager</depends>
 >
 >     <attribute
 > name="TransactionManager">java:/TransactionManager</attribute>
 >
 >     <!--make the rar deploy! hack till better deployment-->
 >     <depends>jboss.jca:service=RARDeployer</depends>
 >
 >   </mbean>
 >
 >
 > </server>
 >
 >
 >
 > Here are the MESSAGES FROM boot.log
 >
 > Packages waiting for a deployer:
 >   <none>
 > Incompletely deployed packages:
 >   <none>
 > MBeans waiting for classes:
 >   <none>
 > MBeans waiting for other MBeans:
 > [ObjectName: jboss.system:type=Log4jService,service=Logging
 >  state: FAILED
 >  I Depend On:
 >  Depends On Me: org.jboss.deployment.DeploymentException: No property editor
 > for attribute: ConfigurationURL; type=class java.net.URL, ObjectName:
 > jboss.jca:service=LocalTxCM,name=OracleDS
 >  state: CONFIGURED
 >  I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
 >   jboss.jca:service=LocalTxPool,name=OracleDS
 >   jboss.jca:service=CachedConnectionManager
 >   jboss.security:name=JaasSecurityManager
 >   jboss.jca:service=RARDeployer
 >
 >  Depends On Me: ]
 > 14:00:52,140 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that
 > enabled: true
 > 14:00:52,140 INFO  [URLDeploymentScanner] Started
 > 14:00:52,140 DEBUG [MainDeployer] Final (start) deployment step successfully
 > completed on package: jboss-service.xml
 > 14:00:52,140 INFO  [MainDeployer] Deployed package:
 > file:/D:/download/jboss-3.0.1RC1/server/default/conf/jboss-service.xml
 > 14:00:52,190 ERROR [Server] start failed
 > 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.system:type=Log4jService,service=Logging
 >  state: FAILED
 >  I Depend On:
 >  Depends On Me: org.jboss.deployment.DeploymentException: No property editor
 > for attribute: ConfigurationURL; type=class java.net.URL, ObjectName:
 > jboss.jca:service=LocalTxCM,name=OracleDS
 >  state: CONFIGURED
 >  I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
 >   jboss.jca:service=LocalTxPool,name=OracleDS
 >   jboss.jca:service=CachedConnectionManager
 >   jboss.security:name=JaasSecurityManager
 >   jboss.jca:service=RARDeployer
 >
 >  Depends On Me: ]
 >  at
 > org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.ja
 > va:1081)
 >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583)
 >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565)
 >  at java.lang.reflect.Method.invoke(Native Method)
 >  at
 > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
 > cher.java:284)
 >  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
 >  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319)
 >  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
 >  at org.jboss.Main.boot(Main.java:142)
 >  at org.jboss.Main$1.run(Main.java:375)
 >  at java.lang.Thread.run(Thread.java:484)
 >
 >
 >
 >
 >
 > -------------------------------------------------------
 > 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
 >
 >

-- 
Java Developer
Looking for a new job opportunity
214-724-7741





-------------------------------------------------------
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

Reply via email to