Posted  by  admin

Red Hat Jboss 5.1.2 Download

Liferay 5.1.2

Red Hat CodeReady Studio 12.17.0.GA Stable Red Hat CodeReady Studio 12.17.0.GA is the latest stable version available for Eclipse 4.17 (2020-09). Zero to Hero using Red Hat JBoss BRMS Eric D. Schabell JBoss Technology Evangelist t: @ericschabell / e: [email protected] 1 2. Today Part I Basic training The making of a hero Questions 2.

• RedHat rel 5
• Oracle 10g XE
• JBoss 5


1) Download and install jboss-5.0.0.CR2-jdk6.zipinto your preferred directory. From now on, the directory where you installedJBoss will be referred to as $JBOSS_HOME
2) Edit$JBOSS_HOME/server/default/deployers/jbossweb.deployer/web.xml
Replace the default servlet (lines 109 - 121)




3) Create$JBOSS_HOME/server/default/deploy/liferay-ds.xml with following content:












4) Go to $JBOSS_HOME/common/lib/,download ojdbc14.jar and copy to this directory. This is the JDBC driver forOracle. If you are using a different database, copy the appropriate driver.
5) Download Liferay's PortalDependencies( Unzip the downloadedarchive into $JBOSS_HOME/server/default/lib.
6) Set mail properties by replacingthe contents of
$JBOSS_HOME/server/default/deploy/mail-service.xml with:

<mbean code='org.jboss.mail.MailService'name='jboss:service=MailSession'>
<attribute name='JNDIName'>mail/MailSession</attribute>
<propertyname='' value='imap' />
<property name='mail.transport.protocol'value='smtp' />
<propertyname='' value='localhost' />
<propertyname='' value='localhost' />
<propertyname='' value='localhost' />

7) Configure JAAS. Edit$JBOSS_HOME/server/default/conf/login-config.xml and comment out the entire XMLfor policy other in lines 113-129.

<!--<application-policyname = 'other'>-->
<!-- A simple server login module, which can be used whenthe number
of users is relatively small. It uses two properties files:, which holds users (key) and their password(value)., which holds users (key) and acomma-separated list of
their roles (value).
The unauthenticatedIdentity property defines the name of theprincipal
that will be used when a null username and password arepresented as is
the case for an unuathenticated web client or MDB. If youwant to
allow such users to be authenticated add the property, e.g.,
<login-module code =''
flag = 'required' />

8) Edit $JBOSS_HOME/bin/run.conf.Change the following:

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m-XX:MaxPermSize=256m

Jboss 5 Download


set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m-XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Duser.timezone=GMT


9) Download liferay-portal-5.1.2.war
10) Deploy liferay-portal-5.1.2.war.
- Create new directory $JBOSS_HOME/server/default/deploy/liferay-portal.war/
- Unzip liferay-portal-5.1.2.war to directory.
- Go into $JBOSS_HOME/server/default/deploy/liferay-portal-5.1.x.war/WEB-INF/lib.
- Delete dom4j.jar, jaxen.jar, commons-collections.jar, hibernate3.jar,jaxrpc.jar,
jmx-remote.jar, jmx-ri.jar, mx4j.jar, stax.jar, xercesImpl.jar, xml-apis.jar
11) Create$JBOSS_HOME/server/default/deploy/liferay-portal-5.1.2.war/WEB-INF/classes/portal-ext.propertiesfile containing the following:


12) Edit$JBOSS_HOME/server/default/deploy/liferay-portal-5.1.2.war/WEB-INF/jboss-web.xml.Change the following:




13) Copydeploy/liferay-portal-5.1.2.war/WEB-INF/lib/portal-impl.jar todeploy/liferay-portal-5.1.2.war/WEB-INF/classes (so its in the same directoryas (portal-impl.jar should be untared for the compilerto read inside it.)


14) Download andinstall oracle-xe-univ-

1.Logon to your computer with root permissions.

2.Goto the following Web site:

3.ClickFree Download and follow the instructions to select anddownload the Linux version of Oracle Database XE Server.

4.Runone the following Oracle Database XE executables to either install or upgradeOracle Database XE server:

oUniversal character set: oracle-xe-univ-

If you downloaded the oracle-xe-univ- executable, youwould enter this command:

The installation displays a status of its progress.

5.Whenprompted, run the following command:

8.Enterthe following configuration information:

·A valid HTTP port for the Oracle Database XEgraphical user interface 8090 (8080 IS FOR JBOSS You can choose your ownexcept 8080).

·A valid port for the Oracle database listener(the default is 1521):1521

·A password for the SYS and SYSTEMadministrative user accounts: password (Youcan choose your own)

·Whether you want the database to startautomatically when the computer starts: YES(You can choose your own)

9. Login to Oracle GUI http://<host>:8090 as SYS or SYSTEM. Create a user test with password test. See step #3, the username and password should be the same aswhat you’ll create here.

15) Add ENVvariables: JAVA_HOME, JBOSS_HOME,ORACLE_HOME, AND add their /bin to the PATH.

16) Start JBoss. Open your browserto http://<host>:8080/liferay.You should see the
default Liferay home page.

Email: [email protected] for comments/questions

PicketLink and Keycloak projects are merging!

Check out this announcement to learn more!

Read detailed FAQ covering all major questions and possible concerns

Visit Keycloak project website and subscribe to Developer or User mailing lists to track current development efforts.

Simplified Security and Identity management for Java Applications

PicketLink is an umbrella project for security and identity management for Java Applications. It is licensed under a friendly Apache v2 license.

PicketLink 2.7.1.Final is Out !!

Java EE Application Security

Authentication API

Authorization and Permission API

Session Based Identity

Fully Integrated With CDI

Identity Management

Built-in Identity Stores for Databases and LDAP

Supports Java EE and Java SE Platforms

Rich and Extensible API


Ideal for Cloud and SaaS applications


Red Hat Jboss Application Server

SAML (v2.0 and v1.1)




WS-Trust based Security Token Server (STS)

Social Login

Facebook Connect

Twitter Login

Google+ Login

Mobile Applications Security

Security of mobile applications

REST Applications Security

Red Hat Jboss 5.1.2 Download

Security of REST applications


Get Ready and bootstrapped fast using the quickstart examples.

Instructions in the quickstarts.

Jboss 7.1.3 Download

Deploy seamlessly in JBoss Enterprise Application Platform 6 server.


Jboss 7.1 Download

Do you have any questions? Check FAQ.

Are you ready? Get Involved.

Check out some presentations on PicketLink. Presentations.

Jboss 5.1.0 Download


Still having doubts on PicketLink? Visit Testimonials.

KeyCloak Project

Do you want an Out Of The Box Solution for Security?

KeyCloak is a new project under the PicketLink Family.

Jboss 6.4 Download

KeyCloak is led by Bill Burke and Stian Thorgersen.