1 Reply Latest reply on Aug 19, 2016 11:40 PM by Abhijit Humbe

    Issue with creating new profile/datasource in JBOSS EAP 6.4.8 using cli

    Ritesh Negi Newbie

      Hi,

       

      I am trying to create a new profile and new data source in existing profile but the commands seem to be stuck forever.

      also the cli logs are not getting created thus not allowing to find any error associated.

      I used below commands from cli.

       

      Profile

      /profile=new:add()

       

      Datasource

       

      /profile=full/subsystem=datasources/data-source=testDS:add(jndi-name="java:jboss/datasources/testDS",connection-url="jdbc:oracle:thin:@<server>:1521/<service>",driver-name=OracleJDBCDriver,user-name="user",password="pwd")

       

      data-source --profile=default add --name=testDS --driver-name=OracleJDBCDriver --connection-url="jdbc:oracle:thin:@<server>:1521/<service>" --jndi-name="java:jboss/datasources/testDS" --user-name="user" --password="pwd"

       

      has anyone tried creating a profile or data source through cli?