Hi all, Could anyone guide me how to configure data sources when I use JBo

Hi all,
Could anyone guide me how to configure data sources when I use JBoss EAP 6.1.0 Final(jboss-eap-6.1)? Till now we used the jboss edition which will be automatically installed with appian. Now we are moving to JBoss EAP 6.1.0 Final. I have gone through the documentation thoroughly, but the configuration of datasouces is mentioned only in case of JBoss EAP 6.1.0 Alpha, JBoss EAP 6.1.1 and the AS 7.1(which comes by default with Appian). Also when I was trying to run the "SecureIdentityLoginModule" class to encrypt the password, what I observed is, the folder structure (for EAP 6.1.0 Final - <JBOSS_HOME>\\modules\\system\\layers\\base\\org\\picketbox\\main )and the jars (picketbox-4.0.7.Final.jar and jboss-logging-3.1.0.GA.jar weren't there) present inside them were entirely different. So shall I change the path explicitly in the classpath command as per the folder structure of JBoss EAP 6.1.0 Final and put the jar files which were not pr...

OriginalPostID-83788

OriginalPostID-83788

  Discussion posts and replies are publicly visible

Parents
  • ...esent?Is this right approach?
    I changed the classpath explicitly and copied the jar files into respective folders that were necessary to run the SecureIdentityLoginModule class. And I was able to get the encrypted password. And coming to datasouces configuration, I took the JBoss EAP 6.1.0 Alpha aproach and configured the following in standalone.xml:
    <subsystem xmlns="urn:jboss:domain:datasources:1.1">
    <datasources>
    <drivers>
    <driver name="com.mysql.jdbc" module="com.mysql.jdbc" optional="true">
               <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
    </driver>
    </drivers>
    </datasources>
    </subsystem>
    and the rest of the configurations were done in appian-ds.xml. But unfortunatley Appian wasn't up, and I am seeing lots of errors in the logs. Am i missing any thing? And is this a right approach?
    If anyone is ready to ex...
Reply
  • ...esent?Is this right approach?
    I changed the classpath explicitly and copied the jar files into respective folders that were necessary to run the SecureIdentityLoginModule class. And I was able to get the encrypted password. And coming to datasouces configuration, I took the JBoss EAP 6.1.0 Alpha aproach and configured the following in standalone.xml:
    <subsystem xmlns="urn:jboss:domain:datasources:1.1">
    <datasources>
    <drivers>
    <driver name="com.mysql.jdbc" module="com.mysql.jdbc" optional="true">
               <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
    </driver>
    </drivers>
    </datasources>
    </subsystem>
    and the rest of the configurations were done in appian-ds.xml. But unfortunatley Appian wasn't up, and I am seeing lots of errors in the logs. Am i missing any thing? And is this a right approach?
    If anyone is ready to ex...
Children
No Data