Tuesday, July 22, 2014

Reset OC4J Admin Password for OAS

 Source - http://www.dbuggr.com/milly/steps-reset-oc4j-admin-password/

 Steps on how to reset OC4J Admin Password
If you lost your oc4jadmin password (Oracle Application Server admin), follow the steps below to update the password - 
Follow the steps below to reset oc4jadmin user: 
Stop OC4J and the Application Server Control. (opmnctl stopall)
  1. Edit system-jazn-data.xml file with text editor
(UNIX) $OAS_HOME/j2ee/home/config/system-jazn-data.xml
(Windows) $OAS_HOME\j2ee\home\config\system-jazn-data.xml

Search for “oc4jadmin” user in system-jazn-data.xml. You’ll see something similar to this:
      
        oc4jadmin
        OC4J Administrator
        492DECF0CF0B11DEBF5CAF614F0D6C07
        OC4J Administrator
        {903}54k7kX7gDQLsdOnXAgEq1+GCKi20hhGH
      
  1. Replace the encrypted password string between tag to the password you desire. Make sure you prefix the password with an exclamation point (!) and also follow the password requirements for OAS. For example:
      
        oc4jadmin
        OC4J Administrator
        492DECF0CF0B11DEBF5CAF614F0D6C07
        OC4J Administrator
        !mynewpassword1
      
  1. Delete everything under persistence directory (do not delete persistence directory itself):
(UNIX) $OAS_HOME/j2ee/oc4j_soa/persistence/
(Windows) $OAS_HOME\j2ee\oc4j_soa\persistence\
  1. Start OC4J and the Application Server Control. (opmnctl startall)

Saturday, July 19, 2014

Open Source Application Server



The open source application servers compared in this article, with descriptions from their respective Web sites, will be:

    • Geronimo. "The goal of the Geronimo project is to produce a server runtime framework that pulls together the best Open Source
      alternatives to create runtimes that meet the needs of developers and system administrators."

    • GlassFish. "GlassFish is an open source, production-ready, Java EE-compatible application server. GlassFish version 3 provides a small footprint, fully-featured implementation of Java EE 6."

    • JBoss. "JBoss Enterprise Application Platform balances innovation with enterprise class stability by integrating the most popular
      clustered Java EE application server with next generation application frameworks."

    • Jetty. "Jetty provides a Web server and javax.servlet container, plus support for Web Sockets, OSGi, JMX, JNDI, JASPI, AJP and many
      other integrations."

    • JOnAS. "JOnAS is a leading edge Java EE 5 certified Open Source OSGi Enterprise Server developed by Bull and OW2."

    • Resin. "Resin is a smoking hot Java EE 6 web server. It is built on our distributed-agent technology for the elastic cloud."

    • Tomcat. "Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies."