[jboss-user] [JBoss jBPM] - Re: problem to enter into jbpm-console application
galvino
do-not-reply at jboss.com
Mon Oct 15 04:26:10 EDT 2007
ok, i should give more information, sorry,
so i am using :
jbpm-jpdl3.2.2
oracle9i
i configure oracle :
i changed : login-config
standardjaws
in login-config.xml, i added this code :
| <application-policy name = "OracleDbRealm?">
| <authentication>
| <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule?" flag = "required">
| <module-option name = "principal">user</module-option>
| <module-option name = "userName">user</module-option>
| <module-option name ="password">user</module-option>
| <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
| </login-module>
| </authentication>
| </application-policy>
|
|
into standardjaws.xml i added
| <type-mapping>Oracle9i</type-mapping>
|
this is my data source:
| <local-tx-datasource>
| <jndi-name>DefaultDS</jndi-name>
| <connection-url>jdbc:oracle:thin:@myserver:1521:myDBinstance</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>user</user-name>
| <password>user</password>
| <min-pool-size>1</min-pool-size>
| <max-pool-size>5</max-pool-size>
| <idle-timeout-minutes>0</idle-timeout-minutes>
| <track-statements/>
| <!--
| <security-domain>OracleDbRealm</security-domain>
| -->
| <prepared-statement-cache-size>32</prepared-statement-cache-size>
| <metadata><type-mapping>Oracle9i</type-mapping></metadata>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| </local-tx-datasource>
|
in addition,
i changed hibernate-cfg.xml:
| <!-- JDBC connection properties (begin) -->
| <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
| <property name="hibernate.connection.url">jdbc:oracle:thin:@myserver:1521:myDBinstance</property>
| <property name="hibernate.connection.username">user</property>
| <property name="hibernate.connection.password">user</property>
| <!-- JDBC connection properties (end) -->
|
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
|
and in jbpm-console.war\WEB-INF\classes, i created two file roles.properties and users.properties
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095121#4095121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095121
More information about the jboss-user
mailing list