Jump to content

Boss--Jboss Calling


Recommended Posts

Posted

e version use chestunnav ???

Posted

JBoss setup steps[list=1]
[*]Unzip the jboss . JBOSS_HOME = jboss folder location . For eg C:\jboss-as-7.1.1
[*]Create the user in management realm-
[list]
[*]Goto %JBOSS_HOME%\bin
[*]Run add-user.bat
[*]Choose option “a” for management user
[*]In the prompt for management realm- just press enter
[*]Give the user name
[*]Give password
[*]Confirm the password
[*]On prompting for add user , press “y”.
[*]The user will be added.
[/list]
[/list]
[list]
[*]Start jboss server with full profile.
[list]
[*]Launch command prompt.
[*]Go to %JBOSS_HOME%\bin directory.
[*]Execute command standalone.bat --server-config=standalone-full.xml
[/list] [*]Launch JBoss management console.
http://localhost:9990/
Give the user name & password as mentioned while adding user.
[/list][list=1]
[*]Deploy Database driver
[list]
[*]Get the mysql connectivity jar. For eg: mysql-connector-java-5.1.18-bin.jar
[*]In the jboss management console – you will see two links on top right.a- Profile, b- Runtime.
[*]Click on Runtime.
[*]On the left navigation pane select Manage Deployment.
[*]Select Add Content. Browse to your mysql jar and select. Save.
[*]Enable the mysql jar in deployment pane.
[/list]
[/list][list=1]
[*]Set Datasource.
[list]
[*]In the jboss management console – you will see two links on top right.a- Profile, b- Runtime.
[*]Click on Profile.
[*]Select DataSource left pane->Connector->Datasource].
[*]In the datasources tab.
[*]Click on add and give following details:
[list]
[*]Name – nrpep
[*]JNDI name – java:/datasources/nrpep
[*]Choose mysql jar as JDBC driver
[*]Connection URL: jdbc:mysql://192.168.0.196:3306schema_Name?zeroDateTimeBehavior=convertToNull.
[*]Username = root
[*]Password= nrdba
[*]** use the ip address, username & password as applicable.
[/list]
[/list]
[/list]
[list]
[*]Save & Enable.
[*]Go to connection tab in the bottom pane & do test connection to see if connecting.
[*]Disable the datasource.
[*]Go to Pooltab in the bottom pane. Set minimum value to 5 and maximum to 15. Leave everything else.
[*]Save.
[*]Enable the datasource.
[/list][list=1]
[*]Create JMS queues
[list]
[*]From the left pane- select Messaging->messaging provider.
[*]On the right side – you will see Name default and a view link,
[*]Click on view.
[*]In the top select JMS destination.
[*]In the bottom you will see tabs to select Queue or Topics.
[*]Select Queue tab.
[*]Add queues with following detail
[*]
[list]
[*]

[/list]
[/list]
[/list]
Jndi name [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty[list=1]
[*]Deploy the EAR and related jars.
[list]
[*]Follow the steps for deploying mysql jar but for the EAR and related jars.
[/list]
[/list]

Posted
(.L@ (.L@ (.L@ [quote name='kiran karthik' timestamp='1359233764' post='1303182638']
JBoss setup steps[list=1]
[*]Unzip the jboss . JBOSS_HOME = jboss folder location . For eg C:\jboss-as-7.1.1
[*]Create the user in management realm-
[list]
[*]Goto %JBOSS_HOME%\bin
[*]Run add-user.bat
[*]Choose option “a” for management user
[*]In the prompt for management realm- just press enter
[*]Give the user name
[*]Give password
[*]Confirm the password
[*]On prompting for add user , press “y”.
[*]The user will be added.
[/list]
[/list]
[list]
[*]Start jboss server with full profile.
[list]
[*]Launch command prompt.
[*]Go to %JBOSS_HOME%\bin directory.
[*]Execute command standalone.bat --server-config=standalone-full.xml
[/list] [*]Launch JBoss management console.
[url="http://localhost:9990/"]http://localhost:9990/[/url]
Give the user name & password as mentioned while adding user.
[/list][list=1]
[*]Deploy Database driver
[list]
[*]Get the mysql connectivity jar. For eg: mysql-connector-java-5.1.18-bin.jar
[*]In the jboss management console – you will see two links on top right.a- Profile, b- Runtime.
[*]Click on Runtime.
[*]On the left navigation pane select Manage Deployment.
[*]Select Add Content. Browse to your mysql jar and select. Save.
[*]Enable the mysql jar in deployment pane.
[/list]
[/list][list=1]
[*]Set Datasource.
[list]
[*]In the jboss management console – you will see two links on top right.a- Profile, b- Runtime.
[*]Click on Profile.
[*]Select DataSource left pane->Connector->Datasource].
[*]In the datasources tab.
[*]Click on add and give following details:
[list]
[*]Name – nrpep
[*]JNDI name – java:/datasources/nrpep
[*]Choose mysql jar as JDBC driver
[*]Connection URL: jdbc:mysql://192.168.0.196:3306schema_Name?zeroDateTimeBehavior=convertToNull.
[*]Username = root
[*]Password= nrdba
[*]** use the ip address, username & password as applicable.
[/list]
[/list]
[/list]
[list]
[*]Save & Enable.
[*]Go to connection tab in the bottom pane & do test connection to see if connecting.
[*]Disable the datasource.
[*]Go to Pooltab in the bottom pane. Set minimum value to 5 and maximum to 15. Leave everything else.
[*]Save.
[*]Enable the datasource.
[/list][list=1]
[*]Create JMS queues
[list]
[*]From the left pane- select Messaging->messaging provider.
[*]On the right side – you will see Name default and a view link,
[*]Click on view.
[*]In the top select JMS destination.
[*]In the bottom you will see tabs to select Queue or Topics.
[*]Select Queue tab.
[*]Add queues with following detail
[*]
[list]
[*]

[/list]
[/list]
[/list]
Jndi name [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty [list]
[*]
[/list]
[list]
[*]
[/list]
[list]
[*]
[/list]
Leave empty[list=1]
[*]Deploy the EAR and related jars.
[list]
[*]Follow the steps for deploying mysql jar but for the EAR and related jars.
[/list]
[/list]
[/quote]
×
×
  • Create New...