For startup, I need to pick a J2EE application server. I know JBoss for free long time ago. However, many company use enterprise software in HK like Weblogic and Websphere. Those are very expensive software. But now, IBM release a community edition for non-commercial use. It is a good way to start, isn't it?
In the following, I will log my installation step for sharing:
- My Linux Server is Ubuntu 2.6.27-11-server
- Download package from here. I download wasce_ibm150sdk_setup-version-ia32linux.tar.bz2
- Copy the downloaded file to Ubuntu.
- Change root
# sudo su -
- Extract package and setup permission
# bzip2 -d wasce_ibm60sdk_setup-2.1.1.1-ia32linux.tar.bz2
# chmod 755 wasce_ibm60sdk_setup-2.1.1.1-ia32linux.bin
- Execute the installer in console mode
# ./wasce_ibm60sdk_setup-2.1.1.1-ia32linux.bin -i console -r responseFile.properties
- Accept the license agreement
- Accept the default path then start install
- Verify the installation:
# ls /opt/IBM/WebSphere/AppServerCommunityEdition
- Start the server:
# cd /opt/IBM/WebSphere/AppServerCommunityEdition/bin
# ./startup.sh
Using GERONIMO_BASE: /opt/IBM/WebSphere/AppServerCommunityEdition- However, when checking the listening port, it is overlapped with TomCat
Using GERONIMO_HOME: /opt/IBM/WebSphere/AppServerCommunityEdition
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/lib/jvm/java-6-openjdk/jre
Using GERONIMO_OUT: /opt/IBM/WebSphere/AppServerCommunityEdition/var/log/server.out
Server started in background. PID: 13120
=== To solve out , uninstall Tomcat6
- check the packages:
# dpkg-query -l |grep -i "tomcat"
ii libtomcat6-java 6.0.18-0ubuntu3 Servlet and JSP engine -- core libraries- Remove the packages
ii tomcat6 6.0.18-0ubuntu3 Servlet and JSP engine
ii tomcat6-admin 6.0.18-0ubuntu3 Servlet and JSP engine -- admin web applicat
ii tomcat6-common 6.0.18-0ubuntu3 Servlet and JSP engine -- common files
ii tomcat6-docs 6.0.18-0ubuntu3 Servlet and JSP engine -- example web applic
ii tomcat6-examples 6.0.18-0ubuntu3 Servlet and JSP engine -- example web applic
# apt-get remove tomcat6-*
沒有留言:
發佈留言