Problem
If I forgot my password to log into JBoss AS 6 Administration Console, how to change my password?
How-To
Step 1: Go to [JBOSS_HOME]\\bin, and execute add-user.bat
Step 2: Choose type of user
Step 3: Click enter
Step 4: Input account name which you forgot its password
Step 5: Type in "yes" to update the existing user password
Step 6: Fill in new password
Step 7. Fill in yes to confirm update
Total Pageviews
Showing posts with label JBoss. Show all posts
Showing posts with label JBoss. Show all posts
2015/12/08
2015/12/02
How to Add User in JBoss AS 6 ?
Problem
If I would like add user in JBoss AS 6, how to do?
How-To
Step 1: Go to [JBOSS-HOME]\\bin, and execute add-user.bat or add-user.sh
Step 2: Choose "type of user"
Step 3: Click enter
Step 4: create user name and password
Step 5: Try Log into JBoss Administration Console
If I would like add user in JBoss AS 6, how to do?
How-To
Step 1: Go to [JBOSS-HOME]\\bin, and execute add-user.bat or add-user.sh
Step 2: Choose "type of user"
Step 3: Click enter
Step 4: create user name and password
Step 5: Try Log into JBoss Administration Console
Labels:
JBoss
2015/11/19
How to set system properties in JBoss 6.1
Problem
I'm using JBoss 6.1, how to set system properties in JBoss?
How-to
You have two approaches to do:
Approach 1: Edit standalone.xml in [JBOSS_HOME]\standalone\configuration as bellows:
Approach 2: Log into JBoss Admin console to do configuration
Step 1: Click Profile
Step 2: Click System Properties
Step 3: Click Add button
Step 4: Fill in Name and Value, then click Save button
No matter which approach you utilize, remember to RESTART JBoss after configuration.
Reference
[1] https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-SystemProperties
I'm using JBoss 6.1, how to set system properties in JBoss?
How-to
You have two approaches to do:
Approach 1: Edit standalone.xml in [JBOSS_HOME]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?xml version='1.0' encoding='UTF-8'?> <server xmlns="urn:jboss:domain:1.4"> <extensions> <extension module="org.jboss.as.clustering.infinispan"/> <extension module="org.jboss.as.connector"/> <extension module="org.jboss.as.deployment-scanner"/> <extension module="org.jboss.as.ee"/> <extension module="org.jboss.as.ejb3"/> <extension module="org.jboss.as.jaxrs"/> <extension module="org.jboss.as.jdr"/> <extension module="org.jboss.as.jmx"/> <extension module="org.jboss.as.jpa"/> <extension module="org.jboss.as.jsf"/> <extension module="org.jboss.as.logging"/> <extension module="org.jboss.as.mail"/> <extension module="org.jboss.as.naming"/> <extension module="org.jboss.as.pojo"/> <extension module="org.jboss.as.remoting"/> <extension module="org.jboss.as.sar"/> <extension module="org.jboss.as.security"/> <extension module="org.jboss.as.threads"/> <extension module="org.jboss.as.transactions"/> <extension module="org.jboss.as.web"/> <extension module="org.jboss.as.webservices"/> <extension module="org.jboss.as.weld"/> </extensions> <system-properties> <property name="spring.profiles.active" value="INTERNET"/> </system-properties> <!-- ................................................ --> </server> |
Approach 2: Log into JBoss Admin console to do configuration
Step 1: Click Profile
Step 2: Click System Properties
Step 3: Click Add button
Step 4: Fill in Name and Value, then click Save button
No matter which approach you utilize, remember to RESTART JBoss after configuration.
Reference
[1] https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-SystemProperties
Labels:
JBoss
2015/07/29
oracle.net.ns.NetException: Got minus one from a read call
Problem
My web application environment is :
As I startup JBoss, it show this error message unexpectedly:
Resolution
This exception result from the number of process exceed the maximum value.
Therefore, you need to alter the number of process in oracle :
Remember to retsart Oracle.
Reference
[1] http://oraclepath.blogspot.tw/2013/10/javasqlsqlexception-got-minus-one-from.html
My web application environment is :
- Database: Oracle
- Application Server: JBoss
As I startup JBoss, it show this error message unexpectedly:
1 2 3 4 5 6 | Caused by: oracle.net.ns.NetException: Got minus one from a read call at oracle.net.ns.Packet.receive(Packet.java:311) ~[oracle.jdbc-11.2.0.4-java-6.jar:11.2.0.3.0] at oracle.net.ns.NSProtocol.connect(NSProtocol.java:300) ~[oracle.jdbc-11.2.0.4-java-6.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1140) ~[oracle.jdbc-11.2.0.4-java-6.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:340) ~[oracle.jdbc-11.2.0.4-java-6.jar:11.2.0.3.0] ... 124 common frames omitted |
Resolution
This exception result from the number of process exceed the maximum value.
Therefore, you need to alter the number of process in oracle :
ALTER SYSTEM SET processes=<number> SCOPE=spfile;
Remember to retsart Oracle.
Reference
[1] http://oraclepath.blogspot.tw/2013/10/javasqlsqlexception-got-minus-one-from.html
Subscribe to:
Posts (Atom)