<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-2790512456962733728</id><updated>2009-12-18T20:44:38.568-08:00</updated><title type='text'>WebSphere Experience</title><subtitle type='html'>Liferay vs. WebSphere
&lt;br&gt;
or: how to plunder WebSphere Application Servers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default?start-index=26&amp;max-results=25'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>59</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7358949127097768791</id><published>2009-11-13T02:33:00.000-08:00</published><updated>2009-11-13T03:34:42.956-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSESSION'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='LTPA'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='cacheCushionMax'/><category scheme='http://www.blogger.com/atom/ns#' term='Rapid'/><category scheme='http://www.blogger.com/atom/ns#' term='LTPA Timeout'/><title type='text'>Increase LTPA Timeout</title><content type='html'>New web techniques like RAP or AJAX are designed for long user session.&lt;br /&gt;&lt;br /&gt;In WebSphere a user session is limited by several timeouts like:&lt;br /&gt;&lt;br /&gt;-JSession-Timeout&lt;br /&gt;-LTPA-Timeout&lt;br /&gt;&lt;br /&gt;If you need to increase the Session-Timeout to very large values (like 8 h) you maybe suffer on som side effects of the LTPA-Token Security technologie.&lt;br /&gt;&lt;br /&gt;A LTPA-Session has a fixed timeout which is defined in Security &gt; &gt;Secure administration, applications, and infrastructure &gt;Authentication mechanisms and expiration.&lt;br /&gt;&lt;br /&gt;So every time a user logs in a web app the LTPA Token timeout is extended or reused.&lt;br /&gt;The desision if a LTPA timeout is reused ore renewed can be influenced by setting a cacheMaxTimeout-Value for the JVM.&lt;br /&gt;If the LTPA-Timeout is lower as this cacheCushionMax-Value a new LTPA-Session (with new Timeout is created) if the LTPA-Timeout is higher than the cacheCushionMax-Value a "old" LTPA-Session (with "old" LTPA-Timeout) will be reused.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JB53H1eiJxU/Sv1ERM2b01I/AAAAAAAAAIg/snmXjCVh_yE/s1600-h/LTPA-Timeout.jpg"&gt;&lt;img style="cursor: pointer; width: 294px; height: 400px;" src="http://3.bp.blogspot.com/_JB53H1eiJxU/Sv1ERM2b01I/AAAAAAAAAIg/snmXjCVh_yE/s400/LTPA-Timeout.jpg" alt="" id="BLOGGER_PHOTO_ID_5403550190212469586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For more information see this link:&lt;br /&gt;&lt;a href="http://www-01.ibm.com/support/docview.wss?fdoc=aimwps&amp;amp;rs=2307&amp;amp;uid=swg21320747"&gt;http://www-01.ibm.com/support/docview.wss?fdoc=aimwps&amp;amp;rs=2307&amp;amp;uid=swg21320747&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7358949127097768791?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7358949127097768791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7358949127097768791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7358949127097768791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7358949127097768791'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/11/increase-ltpa-timeout.html' title='Increase LTPA Timeout'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JB53H1eiJxU/Sv1ERM2b01I/AAAAAAAAAIg/snmXjCVh_yE/s72-c/LTPA-Timeout.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-6932708215790420490</id><published>2009-07-09T05:24:00.000-07:00</published><updated>2009-07-09T07:55:19.645-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='web form portlet'/><category scheme='http://www.blogger.com/atom/ns#' term='external portlet'/><category scheme='http://www.blogger.com/atom/ns#' term='web-form-portlet'/><category scheme='http://www.blogger.com/atom/ns#' term='portlet liferay'/><category scheme='http://www.blogger.com/atom/ns#' term='portlet'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP WebSphere Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='portlets websphere'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay WebSphere 6.1'/><title type='text'>Web-Form-Portlet for Liferay (5.2.3) deployed in WebSphere 6.1</title><content type='html'>To deploy the external "offical" plugin "web-form-portlet" several steps need to be done first.&lt;br /&gt;&lt;br /&gt;1. Create a web-form-portlet.war&lt;br /&gt;1.1 Extract the web-form-portlet content (jars, jsps,...) from a tomcat-bundle of liferay (located in: "Liferay-Root\tomcat-6.0.18\webapps\web-form-portlet)&lt;br /&gt;1.2 Create a new Dynamic Web Project in Eclipse and add the extraced content to it (tutorial &lt;a href="http://eichelgartenweg2.blogspot.com/2008/06/rebuilding-ear-file.html" target="_blank"&gt;here&lt;/a&gt;).&lt;br /&gt;1.3. Create the folder /WEB-INF/classes/META-INF and add the &lt;a href="http://eichelgartenweg.googlepages.com/ext-spring.xml" target="_blank"&gt;ext-spring.xml&lt;/a&gt;.&lt;br /&gt;1.4 Add the ibm binding files &lt;a href="http://eichelgartenweg.googlepages.com/ibm-web-bnd.xmi"&gt;ibm-web-bnd.xmi&lt;/a&gt; and &lt;a href="http://eichelgartenweg.googlepages.com/ibm-web-ext.xmi"&gt;ibm-web-ext.xmi&lt;/a&gt; to /WEB-INF/&lt;br /&gt;1.5 Extract the portlet-container.jar from your liferay-installation (/lib/ext) and add it to /WEB-INF/lib.&lt;br /&gt;1.6 Edit the /WEB-INF/web.xml and add&lt;br /&gt;&lt;div style="text-align: center;"&gt;    &lt;span style="color: rgb(153, 153, 153);"&gt;&amp;lt;context-param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;        &amp;lt;param-name&amp;gt;com.ibm.websphere.portletcontainer.PortletDeploymentEnabled&amp;lt;/param-name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;        &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;    &amp;lt;/context-param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;below the &lt;span style="color: rgb(153, 153, 153);"&gt;&amp;lt;/display-name&amp;gt;-Tags.&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;1.7 Export the web-form-portlet-application as a war-file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;2. Deploy the web-form-portlet&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;2.1 go to the administrative console of websphere and navigate to "Applications &gt; Enterprise Applications"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;2.2 Deploy the web-form-portlet as an normal web-applicaton or as a module of your liferay-application (tutorial included in &lt;a href="http://eichelgartenweg2.blogspot.com/2008/07/add-portlet-to-liferay-via-websphere.html" target="_blank"&gt;this post&lt;/a&gt;). Use the context-root &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;web-form-portlet&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;2.3 Start the web-form-portlet-application&lt;br /&gt;2.4 Wait for liferay to detect the portlet (sometimes a restart is needed)&lt;br /&gt;&lt;br /&gt;3. Add the web-form-portlet with the "Add application"-menu.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Hints:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;1. Download a working web-form-portlet.war &lt;a href="http://eichelgartenweg.googlepages.com/web-form-portlet.war"&gt;here&lt;/a&gt; (working on my installation :-).&lt;br /&gt;&lt;br /&gt;2. If there are any problems, you can try to&lt;br /&gt;2.1 Upload the war-file into the plugin installer portlet (control panel)&lt;br /&gt;2.2 Get the generated WAR-File (generated from plugin installer portlet/hot deployment routine) and try the deployment again.&lt;br /&gt;&lt;br /&gt;3. My /&lt;appserver-system-root&gt;"WebSphere-System-Root"/lib/ext &lt;/appserver-system-root&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;contains&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;xml-apis.jar 194.205 19.05.2009 21:00 -a--&lt;br /&gt;xalan.jar 3.078.601 19.05.2009 21:00 -a--&lt;br /&gt;postgresql.jar 448.141 19.05.2009 21:00 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;portal-service.jar&lt;/span&gt; 1.786.637 19.05.2009 20:58 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;portal-kernel.jar&lt;/span&gt; 525.263 19.05.2009 20:58 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mysql-connector-java-5.1.6-bin.jar&lt;/span&gt; 703.265 05.03.2008 17:27 -a--&lt;br /&gt;mysql.jar 536.609 19.05.2009 21:00 -a--&lt;br /&gt;mail.jar 356.519 19.05.2009 21:00 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;liferay-icu4j.jar&lt;/span&gt; 5.671.439 19.05.2009 20:18 -a--&lt;br /&gt;jutf7.jar 12.299 19.05.2009 21:00 -a--&lt;br /&gt;jtds.jar 294.726 19.05.2009 21:00 -a--&lt;br /&gt;jta.jar 13.236 19.05.2009 21:00 -a--&lt;br /&gt;jms.jar 25.998 19.05.2009 21:00 -a--&lt;br /&gt;hsql.jar 643.806 19.05.2009 21:00 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;container.jar &lt;/span&gt;98.372 19.05.2009 21:00 -a--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;activation.jar&lt;/span&gt; 55.932 19.05.2009 21:00 -a--&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;4. My /&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"WebSphere-System-Root"&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;appserver-system-root&gt;/java/jre/lib/ext contains&lt;/appserver-system-root&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;portlet.jar&lt;/span&gt; 48.725 19.05.2009 21:00 -a--&lt;br /&gt;PD.jar 1.148.187 29.06.2009 11:44 -a--&lt;br /&gt;jdmpview.jar 251.574 29.06.2009 11:53 -a--&lt;br /&gt;JawBridge.jar 15.661 29.06.2009 11:53 -a--&lt;br /&gt;jaccess.jar 50.129 26.06.2009 14:46 -a--&lt;br /&gt;iwsorbutil.jar 8.289 29.06.2009 11:53 -a--&lt;br /&gt;indicim.jar 65.709 29.06.2009 11:53 -a--&lt;br /&gt;ibmspnego.jar 41.146 26.06.2009 14:46 -a--&lt;br /&gt;ibmsaslprovider.jar 64.506 26.06.2009 14:46 -a--&lt;br /&gt;ibmpkcs11impl.jar 261.848 29.06.2009 11:53 -a--&lt;br /&gt;ibmpkcs11.jar 83.819 29.06.2009 11:53 -a--&lt;br /&gt;IBMKeyManagementServer.jar 475.560 29.06.2009 11:53 -a--&lt;br /&gt;ibmkeycert.jar 232.590 29.06.2009 11:53 -a--&lt;br /&gt;ibmjceprovider.jar 903.078 29.06.2009 11:53 -a--&lt;br /&gt;ibmjcefips.jar 240.130 29.06.2009 11:53 -a--&lt;br /&gt;ibmcmsprovider.jar 206.636 29.06.2009 11:53 -a--&lt;br /&gt;healthcenter.jar 18.812 29.06.2009 11:53 -a--&lt;br /&gt;gskikm.jar 1.110.163 29.06.2009 11:53 -a--&lt;br /&gt;dtfj-interface.jar 16.696 29.06.2009 11:53 -a--&lt;br /&gt;dtfj.jar 347.872 29.06.2009 11:53 -a--&lt;br /&gt;CmpCrmf.jar 183.719 26.06.2009 14:46 -a--&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-6932708215790420490?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/6932708215790420490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=6932708215790420490' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6932708215790420490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6932708215790420490'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/07/web-form-portlet-for-liferay-523.html' title='Web-Form-Portlet for Liferay (5.2.3) deployed in WebSphere 6.1'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7406196813084720694</id><published>2009-06-04T03:45:00.000-07:00</published><updated>2009-06-08T03:51:13.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Driver'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='ojdbc5.jar'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Provider'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere 6.0'/><title type='text'>Oracle 11 g with WebSphere 6.0</title><content type='html'>Officially the Oracle 11g JDBC driver no longer support Java 1.4 (which is used by WebSphere 6.0).&lt;br /&gt;But you can use an Oracle 10g driver to access databases on an Oracle 11g database server from WebSphere Application Server 6.0.2 .&lt;br /&gt;But some prerequisite need to be fullfiled:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;WebSphere Fixlevel 6.0.2.29 or above needs to be installed &lt;/li&gt;&lt;li&gt;The datasource custom property oracle9iLogTraceLevel needs to be "null" or blank&lt;/li&gt;&lt;/ul&gt;Link:&lt;br /&gt;&lt;a href="http://www-01.ibm.com/support/docview.wss?rs=180&amp;amp;uid=swg21314477" target="_blank"&gt;http://www-01.ibm.com/support/docview.wss?rs=180&amp;amp;uid=swg21314477&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7406196813084720694?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7406196813084720694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7406196813084720694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7406196813084720694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7406196813084720694'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/06/oracle-11-g-with-websphere-60.html' title='Oracle 11 g with WebSphere 6.0'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-967891934645543561</id><published>2009-06-02T23:58:00.000-07:00</published><updated>2009-06-03T00:18:03.517-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL injection'/><category scheme='http://www.blogger.com/atom/ns#' term='secure web applications'/><category scheme='http://www.blogger.com/atom/ns#' term='SSI Injection'/><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Cross-site scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere'/><category scheme='http://www.blogger.com/atom/ns#' term='security vulnerability'/><category scheme='http://www.blogger.com/atom/ns#' term='Malicious File Execution'/><category scheme='http://www.blogger.com/atom/ns#' term='xss'/><category scheme='http://www.blogger.com/atom/ns#' term='Injection Flaws'/><title type='text'>Examples for security vulnerabilities of web applications</title><content type='html'>Last week i found a quite good PDF about security vulnerabilities of web applications .&lt;br /&gt;Its a Document from IBM for their software &lt;span style="font-weight: bold;"&gt;AppScan&lt;/span&gt;. Which is a security-scanner for web-apps.&lt;br /&gt;The doc contains several examples (e.g.: for cross-site-scripting, SQL Injection, Failure to Restrict URL Access, Improper Error Handling, ...).&lt;br /&gt;&lt;br /&gt;Download it here:&lt;br /&gt;&lt;a href="http://eichelgartenweg.googlepages.com/107647_may_06appscan_final.pdf"&gt;http://eichelgartenweg.googlepages.com/107647_may_06appscan_final.pdf&lt;/a&gt;&lt;br /&gt;[or google for it]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-967891934645543561?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/967891934645543561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=967891934645543561' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/967891934645543561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/967891934645543561'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/06/examples-for-security-vulnerabilities.html' title='Examples for security vulnerabilities of web applications'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-701840356828451679</id><published>2009-05-11T04:36:00.001-07:00</published><updated>2009-08-18T23:04:16.734-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='secure web applications'/><category scheme='http://www.blogger.com/atom/ns#' term='CSR'/><category scheme='http://www.blogger.com/atom/ns#' term='certificate signing request'/><category scheme='http://www.blogger.com/atom/ns#' term='generate certificate request'/><category scheme='http://www.blogger.com/atom/ns#' term='Disable WebSphere Portlet Container'/><category scheme='http://www.blogger.com/atom/ns#' term='create SSL Cert'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SSL certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='https'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay'/><category scheme='http://www.blogger.com/atom/ns#' term='IHS'/><title type='text'>Generate a (new) SSL Certificate for https [IBM HTTP Server]</title><content type='html'>[FOR HTTPS/SSL BETWEEN CLIENT AND WEBSERVER]&lt;br /&gt;To generate a new CA-Signed SSL-Certificate for use with the IBM HTTP Server you need to start the iKeyman-Utility first. The iKeyman is the Key Management Tool from IBM.&lt;br /&gt;&lt;br /&gt;1. Navigate to the /bin-directory of your IHS-Installation&lt;br /&gt;2. execute&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;./ikeyman&lt;br /&gt;&lt;/div&gt;to open the Key Management Tool&lt;br /&gt;3. Use "Key Database File &gt; Open" to open your password-protected Key-Database&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JB53H1eiJxU/SggPMMY1PuI/AAAAAAAAAII/j2bIYwmKR6U/s1600-h/openkeydb.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 107px;" src="http://4.bp.blogspot.com/_JB53H1eiJxU/SggPMMY1PuI/AAAAAAAAAII/j2bIYwmKR6U/s400/openkeydb.jpg" alt="" id="BLOGGER_PHOTO_ID_5334530460778577634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. After the Key-Database is loaded switch to "Personal Certificate Requests" (under "Key database content").&lt;br /&gt;5. Click New and fill out the certificate request dialog. Depending on your CA-Provider (VeriSign,...) you may need to fill out the dialog in a special way (VeriSign demands the common name to be the domain)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JB53H1eiJxU/SggQARuOmeI/AAAAAAAAAIQ/CgPNRa3arxs/s1600-h/newcertreq.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 257px;" src="http://2.bp.blogspot.com/_JB53H1eiJxU/SggQARuOmeI/AAAAAAAAAIQ/CgPNRa3arxs/s400/newcertreq.jpg" alt="" id="BLOGGER_PHOTO_ID_5334531355563694562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;6. Click "OK" to save the certificate request in a file.&lt;br /&gt;7. now you need to provide the content of the certificate request file to your Ceritifcate Authority (e.g.: VeriSign). You will receiving a new certificate file from them.&lt;br /&gt;8. If you received the certificate switch back to "Personal Certificates" (under "Key database content").&lt;br /&gt;9. Click Receive and navigate to the certificate file. Click Ok to import the certificate file.&lt;br /&gt;&lt;br /&gt;10. Open the httdp.conf-File of your IHS and replace the SSL-Cert-Name (new one will be displayed after the import of the new certificate in iKeyman). Usally the SSL-Cert is definded within a virtual host:&lt;br /&gt;Example:&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;&amp;lt;VirtualHost "ip-adress":443&amp;gt;&lt;br /&gt;ServerName www.test.com&lt;br /&gt;SSLEnable&lt;br /&gt;SSLClientAuth 0&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SSLServerCert ihssslcert&lt;/span&gt;&lt;br /&gt;AllowEncodedSlashes On&lt;br /&gt;&amp;lt;Directory "/"&amp;gt;&lt;br /&gt;  Options Indexes MultiViews&lt;br /&gt;  Order allow,deny&lt;br /&gt; Allow from all&lt;br /&gt;&lt;br /&gt;   &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;br /&gt;DocumentRoot /usr/IBM/HTTPServer/www-doc-root/&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;11. Restart the IHS-Server (/bin/apachectl stop --&gt; /bin/apachectl start)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-701840356828451679?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/701840356828451679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=701840356828451679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/701840356828451679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/701840356828451679'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/05/generate-new-ssl-certificate-ibm-http.html' title='Generate a (new) SSL Certificate for https [IBM HTTP Server]'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JB53H1eiJxU/SggPMMY1PuI/AAAAAAAAAII/j2bIYwmKR6U/s72-c/openkeydb.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-3153730925887598248</id><published>2009-04-29T03:36:00.000-07:00</published><updated>2009-06-04T03:40:08.551-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web dav'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='WebDAV'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere WebDAV'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5.2.2'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay WebDAV'/><title type='text'>WebDAV Access for Liferay deyployed in a WebSphere Server</title><content type='html'>Enable WebDAV-Access to Liferay 5.2.2 deployed in WebSphere is quite easy.&lt;br /&gt;1. &lt;a href="http://eichelgartenweg2.blogspot.com/2009/01/liferay-52-on-websphere-61.html" target="_blank"&gt;Deploy Liferay 5.2.2&lt;/a&gt;&lt;br /&gt;2. Download the &lt;a href="http://sourceforge.net/project/downloading.php?group_id=49260&amp;amp;filename=liferay-portal-tunnel-web-5.2.2.war&amp;amp;a=6386223" target="_blank"&gt;&lt;span style="text-decoration: underline;"&gt;liferay-portal-tunnel-web-5.2.2.war&lt;/span&gt;&lt;/a&gt; from &lt;a href="http://sourceforge.net/projects/lportal/" target="_blank"&gt;Liferay's Sourceforge Folder&lt;/a&gt;.&lt;br /&gt;3. After downloading the war-File you need to deploy it into the &lt;span style="font-weight: bold;"&gt;SAME JVM&lt;/span&gt; with Liferay 5.&lt;br /&gt;4. Restart the JVM&lt;br /&gt;5. Create a new Folder in a Document Library-Portlet and click "Access from my desktop"&lt;br /&gt;6. Copy the URL&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JB53H1eiJxU/Sfgxd2NEXdI/AAAAAAAAAIA/noBC4E-YhSI/s1600-h/accessmydesk.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 98px;" src="http://2.bp.blogspot.com/_JB53H1eiJxU/Sfgxd2NEXdI/AAAAAAAAAIA/noBC4E-YhSI/s400/accessmydesk.jpg" alt="" id="BLOGGER_PHOTO_ID_5330064547829276114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;7. Create a new network resource in Windows. Use this Tutorial &lt;a href="http://jakarta.apache.org/slide/xp.html" target="_blank"&gt;http://jakarta.apache.org/slide/xp.html&lt;/a&gt;&lt;br /&gt;Hint:&lt;br /&gt;You can also use &lt;a href="http://jackrabbit.apache.org/"&gt;JackRabbit &lt;/a&gt;without Liferay in order to enable WebDAV with WebSphere.&lt;br /&gt;&lt;a href="http://jakarta.apache.org/slide/xp.html" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-3153730925887598248?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/3153730925887598248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=3153730925887598248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/3153730925887598248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/3153730925887598248'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/04/webdav-access-for-liferay-on-websphere.html' title='WebDAV Access for Liferay deyployed in a WebSphere Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JB53H1eiJxU/Sfgxd2NEXdI/AAAAAAAAAIA/noBC4E-YhSI/s72-c/accessmydesk.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-111163096688066427</id><published>2009-04-21T06:08:00.000-07:00</published><updated>2009-04-22T00:31:15.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Authentification'/><category scheme='http://www.blogger.com/atom/ns#' term='client certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='certificate'/><title type='text'>Enable Client certificate authentication with IBM HTTP Server and WebSphere</title><content type='html'>If you want to provide client cert autentication for web apps deployed in WebSphere Application Server 6.1 you first need to edit the web.xml of the application.&lt;br /&gt;You need to add a security-constraint:&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;&amp;lt;security-constraint id="SecurityConstraint_Test01"&amp;gt;&lt;br /&gt;   &amp;lt;web-resource-collection id="WebResourceCollection_TestOZ01"&amp;gt;&lt;br /&gt;      &amp;lt;web-resource-name&amp;gt;Test&amp;lt;/web-resource-name&amp;gt;&lt;br /&gt;      &amp;lt;description/&amp;gt;&lt;br /&gt;      &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;GET&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;PUT&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;HEAD&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;POST&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;DELETE&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;OPTIONS&amp;lt;/http-method&amp;gt;&lt;br /&gt;   &amp;lt;/web-resource-collection&amp;gt;&lt;br /&gt;   &amp;lt;auth-constraint id="AuthConstraint_CognosOZ02"&amp;gt;&lt;br /&gt;      &amp;lt;description/&amp;gt;&lt;br /&gt;           &amp;lt;role-name&amp;gt;Tester&amp;lt;/role-name&amp;gt;&lt;br /&gt;   &amp;lt;/auth-constraint&amp;gt;&lt;br /&gt;&amp;lt;/security-constraint&amp;gt;&lt;br /&gt;&amp;lt;login-config id="LoginConfig_1"&amp;gt;&lt;br /&gt;   &amp;lt;auth-method&amp;gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;CLIENT-CERT&lt;/span&gt;&amp;lt;/auth-method&amp;gt;&lt;br /&gt;   &amp;lt;realm-name&amp;gt;Testrealm&amp;lt;/realm-name&amp;gt;&lt;br /&gt;&amp;lt;/login-config&amp;gt;&lt;br /&gt;&amp;lt;security-role id="SecurityRole_MIS01"&amp;gt;&lt;br /&gt;   &amp;lt;description/&amp;gt;&lt;br /&gt;   &amp;lt;role-name&amp;gt;Tester&amp;lt;/role-name&amp;gt;&lt;br /&gt;&amp;lt;/security-role&amp;gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;After that you need to create a new virtual host in your ibm http server config.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;To do that edit the httpd.conf&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&amp;lt;VirtualHost &amp;lt;ip-adresse&amp;gt;:443&amp;gt;&lt;br /&gt;ServerName www.yourvh.host.com&lt;br /&gt;SSLEnable&lt;br /&gt;SSLClientAuth 2&lt;br /&gt;SSLServerCert &amp;lt;name of cert in key-db&amp;gt;&lt;br /&gt;   &amp;lt;Directory "/"&amp;gt;&lt;br /&gt;  Options Indexes MultiViews&lt;br /&gt;  Order allow,deny&lt;br /&gt;  Allow from all&lt;br /&gt;    SSLClientAuthRequire o="&amp;lt;needed dn&amp;gt;"&lt;br /&gt;   &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;br /&gt;RequestHeader set HTTPS %{HTTPS}e&lt;br /&gt;RequestHeader set SSL_CIPHER %{SSL_CIPHER}e&lt;br /&gt;RequestHeader set SSL_CLIENT_CN %{SSL_CLIENT_CN}e&lt;br /&gt;RequestHeader set SSL_CLIENT_DN %{SSL_CLIENT_DN}e&lt;br /&gt;&lt;br /&gt;DocumentRoot /usr/IBM/HTTPServer/www-doc-root2/&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left; color: rgb(0, 0, 0);"&gt;Then you need to add the root-cert of the certificate you want to use for authentification to the key-database of your ibm http server.&lt;br /&gt;1. Open the IBM Key Management utility ((i)keyman) and add the root-cert (e.g. o=host.com). Use the same name like in the httpd.conf (&amp;lt;name of cert in key-db&amp;gt;)&lt;br /&gt;2. Save the changes to the key-database&lt;br /&gt;3. Restart your IBM HTTP Server&lt;br /&gt;&lt;br /&gt;After that edit the virtual host settings in WebSphere. In the administrative console go to Enviroment &gt; Virtual Hosts and add the new Virtual Host (e.g.: Certificate Host) with its Host aliases.&lt;br /&gt;&lt;br /&gt;The plugin-cfg.xml of your IBM HTTP Server should now be automatically updated with a new Virtual Host entry.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;    &amp;lt;VirtualHostGroup Name="Certificate Host"&amp;gt;&lt;br /&gt;      &amp;lt;VirtualHost Name="&amp;lt;host-alias1&amp;gt;:*" /&amp;gt;&lt;br /&gt;      &amp;lt;VirtualHost Name="&amp;lt;host-alias1&amp;gt;:*" /&amp;gt;&lt;br /&gt;  &amp;lt;/VirtualHostGroup&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-111163096688066427?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/111163096688066427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=111163096688066427' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/111163096688066427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/111163096688066427'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/04/enable-client-certificate.html' title='Enable Client certificate authentication with IBM HTTP Server and WebSphere'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-6820175741276680676</id><published>2009-03-30T04:46:00.000-07:00</published><updated>2009-04-02T03:45:05.538-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service performance'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Web service client cache'/><title type='text'>Web service cache [client sided]</title><content type='html'>To enable a client side cache for web service requests (in a WebSphere client) you need first to activate the dynamic cache service and servlet caching (see post before).&lt;br /&gt;Then you need to create a cachespec.xml&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&amp;lt;cache&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;      &amp;lt;cache-entry&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;              &amp;lt;class&amp;gt;JAXRPCClient&amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;              &amp;lt;name&amp;gt;http://"your-url":9080/service/"your service"&amp;lt;/name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;              &amp;lt;cache-id&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;                      &amp;lt;component id="hash" type="SOAPEnvelope"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;                      &amp;lt;timeout&amp;gt;60&amp;lt;/timeout&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;              &amp;lt;/cache-id&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;      &amp;lt;/cache-entry&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&amp;lt;/cache&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;and place it into the WEB-INF-Folder of your client app.&lt;br /&gt;The cachespec.xml above is configured to compare the different requests through a HASH-Value (which is calculated for every request).&lt;br /&gt;This is the easiest way to implement a client web service cache.&lt;br /&gt;For more infos visit this &lt;a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/tdyn_wsclientcache.html" target="_blank"&gt;site&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-6820175741276680676?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/6820175741276680676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=6820175741276680676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6820175741276680676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6820175741276680676'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/03/web-service-cache-client-sided.html' title='Web service cache [client sided]'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-8470888733231996882</id><published>2009-03-20T03:33:00.000-07:00</published><updated>2009-03-30T04:55:38.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Cache'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='dynamice cache monitor'/><category scheme='http://www.blogger.com/atom/ns#' term='Web services'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><category scheme='http://www.blogger.com/atom/ns#' term='Servlet Caching'/><category scheme='http://www.blogger.com/atom/ns#' term='web service cache'/><category scheme='http://www.blogger.com/atom/ns#' term='wsgw cache'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>Setup Web service cache [server sided]</title><content type='html'>In this post i will explain how to use the web service server cache in WebSphere Application Server 6.1.&lt;br /&gt;&lt;br /&gt;1. First you need to active the dynamic cache service and servlet caching in WebSphere via the administrative console&lt;br /&gt;1.1. Navigate to&lt;span style="color: rgb(51, 102, 255);"&gt; Servers &gt; Application servers &gt; "your server" &gt; Container services &gt; Dynamic cache service&lt;/span&gt;&lt;br /&gt;1.2 Activate "Enable service at startup" and click "OK" and "Save" to apply this setting.&lt;br /&gt;1.3 Navigate to &lt;span style="color: rgb(51, 102, 255);"&gt;Servers &gt; Application serves &gt; "your server" &gt; Web Container Settings &gt; Web container&lt;/span&gt;&lt;br /&gt;1.4 Activate "Enable servlet caching" and click "OK" and "Save" to apply this setting.&lt;br /&gt;1.3 Restart server&lt;br /&gt;&lt;br /&gt;2. Deploy the dynamic cache monitor to get a  view of current state of the dynamic cache service&lt;br /&gt;2.1 Locate the CacheMonitor.ear under "WebSphere-System-Root"\installableApps\&lt;br /&gt;2.2 Deploy the ear-File (standard context root: cachemonitor)&lt;br /&gt;&lt;br /&gt;3. Add a cachespec.xml (and the cachespec.dtd (located at /"websphere-sys-root"/properties) to your webservice project (Folder WEB-INF/)&lt;br /&gt;3.1 The cachespec.xml should look like this:&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;&amp;lt;cache&amp;gt;&lt;br /&gt;&amp;lt;cache-entry&amp;gt;&lt;br /&gt;&amp;lt;class&amp;gt;webservice&amp;lt;/class&amp;gt;&lt;br /&gt;&amp;lt;name&amp;gt;"service name"&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;sharing-policy&amp;gt;not-shared&amp;lt;/sharing-policy&amp;gt;&lt;br /&gt;&amp;lt;cache-id&amp;gt;&lt;br /&gt;&amp;lt;component id="Hash" type="SOAPEnvelope" /&amp;gt;&lt;br /&gt;&amp;lt;timeout&amp;gt;420&amp;lt;/timeout&amp;gt;&lt;br /&gt;&amp;lt;/cache-id&amp;gt;&lt;br /&gt;&amp;lt;/cache-entry&amp;gt;&lt;br /&gt;&amp;lt;/cache&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;"service name" = e.g. /services/Repository&lt;/span&gt;&lt;br /&gt;3.2 (Re-)deploy  the Web service application&lt;br /&gt;&lt;br /&gt;Hint:&lt;br /&gt;A sample cachespec-file can be found at "WebSphere-System-Root"/properties&lt;br /&gt;&lt;br /&gt;Hint 2:&lt;br /&gt;To enable web service cache through a Web services gateway (WSGW) see this &lt;a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/tdyn_wsclientcache.html" target="_blank"&gt;link&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-8470888733231996882?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/8470888733231996882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=8470888733231996882' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/8470888733231996882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/8470888733231996882'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/03/setup-web-service-server-cache.html' title='Setup Web service cache [server sided]'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-6936323138298997480</id><published>2009-03-10T08:50:00.000-07:00</published><updated>2009-03-10T09:57:53.047-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service client'/><category scheme='http://www.blogger.com/atom/ns#' term='wsdl.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='web service client .net'/><category scheme='http://www.blogger.com/atom/ns#' term='csc.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='WSDL'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft .net'/><title type='text'>Generate a .NET Web service client for a Java EE Web service</title><content type='html'>[BETA] :-)&lt;br /&gt;One of the advantages of Web services is the interoperability.&lt;br /&gt;Thus its possible to use a .NET-Client for a Web services written in Java.&lt;br /&gt;Just the WSDL is needed.&lt;br /&gt;&lt;br /&gt;1. Install the newest Mircosoft .NET SDK&lt;br /&gt;2. Locate the wsdl.exe in the .NET SDK-Installation (e.g. C:\PROGRA~1\Microsoft.NET\SDK\v2.0\Bin)&lt;br /&gt;3. Execute&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;"SDK-Location (bin)"\wsdl.exe "Your WSDL-File"&lt;br /&gt;&lt;/div&gt;4. You should now see a "your service"Client.cs - File. The .cs-File is the source code for the web service client proxy. These code/methods is/are used to access the web service.&lt;br /&gt;5. To access the web service you need to instantiate the proxy client in your client code&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;YourService proxy = new &lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;YourService&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);"&gt; ();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;     To call the needed methode use something like&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;span style="color: rgb(153, 153, 153);"&gt;String result =  proxy.findItem("123454");&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: right;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;5. To compile the C-Sourcecode without your IDE locate csc.exe in of the .NET SDK-Installation (e.g. C:\PROGRA~1\Microsoft.NET\SDK\v2.0.50727)&lt;br /&gt;6. Execute&lt;br /&gt;&lt;div style="text-align: center; color: rgb(153, 153, 153);"&gt;"SDK-Location"\csc.exe /t:exe /r:System.Web.dll,System.XML.dll,System.Web.Services.dll "your client code file" "proxy client code file"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;7. You should now have a EXE-File of the client.&lt;br /&gt;&lt;br /&gt;8. Test IT!&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-6936323138298997480?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/6936323138298997480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=6936323138298997480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6936323138298997480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6936323138298997480'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/03/generate-net-web-service-client-for.html' title='Generate a .NET Web service client for a Java EE Web service'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-245711119003013101</id><published>2009-02-20T01:42:00.001-08:00</published><updated>2009-02-20T02:23:08.355-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin-key.kdb'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl between ihs and websphere'/><category scheme='http://www.blogger.com/atom/ns#' term='Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere 7'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin-cfg.xml'/><category scheme='http://www.blogger.com/atom/ns#' term='IHS'/><title type='text'>Enable SSL between WebServer (plugin-in) and the WebSphere Application Server</title><content type='html'>To setup a new SSL-Connection between a IBM HTTP Server (IHS) and your WebSphere Application Server (6.1) a (self-signed) CA SSL certificate has to be propageted to all involved servers.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;When setting up a IHS via the administrative console SSL between IHS and WebSphere AppServer should be enabled by default.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;1. First take a look at your &lt;span style="color: rgb(51, 51, 255);"&gt;plugin-cfg.xml&lt;/span&gt; of your IHS installation and search for the entry &lt;property name="keyring"&gt;&lt;/property&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&amp;lt;Property Name="keyring"...&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;server connecttimeout="0" extendedhandshake="false" maxconnections="-1" name="testNodeoglxanclatest32Bit_server1" serveriotimeout="0" waitforcontinue="false"&gt;&lt;transport hostname="oglxanclatest" port="9080" protocol="http"&gt;&lt;/transport&gt;&lt;/server&gt;&lt;/span&gt; &lt;span style="color: rgb(153, 153, 153);"&gt;&amp;lt;ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_testNodeoglxanclatest32Bit_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;      &amp;lt;Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="testNodeoglxanclatest32Bit_server1" ServerIOTimeout="0" WaitForContinue="false"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;         &amp;lt;Transport Hostname="oglxanclatest" Port="9080" Protocol="http"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;         &amp;lt;Transport Hostname="oglxanclatest" Port="9443" Protocol="https"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;            &lt;span style="font-weight: bold;"&gt;&amp;lt;Property Name="keyring" Value="/opt/HTTP/Plugins/config/test-webserver/plugin-key.kdb"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153); font-weight: bold;"&gt;            &amp;lt;Property Name="stashfile" Value="/opt/HTTP/Plugins/config/test-webserver/plugin-key.sth"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;         &amp;lt;/Transport&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;      &amp;lt;/Server&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;   &amp;lt;/ServerCluster&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This tags defines the location of the Key-Database for the secure connection between your IHS and your AppServer. &lt;/p&gt;2. In administrative console of WebSphere go to Servers &gt; WebServers &gt; "your webserver" &gt; Plugin-in properties&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_JB53H1eiJxU/SZ59s8sQ0eI/AAAAAAAAAHw/aXc3k7vJ720/s1600-h/wscert1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5304815622248518114" style="margin: 0px auto 10px; display: block; width: 307px; height: 400px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_JB53H1eiJxU/SZ59s8sQ0eI/AAAAAAAAAHw/aXc3k7vJ720/s400/wscert1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;On this page all necessary entries should be done automatically. To re-copy the default plugin-in.key to your IHS press "Copy to Webserver key store directory".&lt;/p&gt;&lt;p&gt;3. Restart your IHS&lt;/p&gt;&lt;p&gt;###############################################################&lt;/p&gt;&lt;p&gt;To manually setup SSL between IHS and WebSphere first locate the plugin-key.kdb on your AppServer. Than copy over the plugin-key.kdb to the IHS into the specified location (get location form picture above). Then edit the plugin-cfg.xml of the IHS (see tag from step 1). Then restart your IHS and your WebSphere instance.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-245711119003013101?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/245711119003013101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=245711119003013101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/245711119003013101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/245711119003013101'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/02/enable-ssl-between-webserver-plugin-in.html' title='Enable SSL between WebServer (plugin-in) and the WebSphere Application Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JB53H1eiJxU/SZ59s8sQ0eI/AAAAAAAAAHw/aXc3k7vJ720/s72-c/wscert1.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-2247657086680340082</id><published>2009-02-10T00:29:00.000-08:00</published><updated>2009-02-10T04:00:56.431-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CMS Workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='article workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5'/><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5.1.2'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='approver'/><title type='text'>Setup a CMS workflow in Liferay 5.2.1</title><content type='html'>Sometimes there is a need to sperate/limit the cms permissions for some users.&lt;br /&gt;&lt;br /&gt;These users can be an article editor or an article approver.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Create editor role:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1. Sign in as administrator (e.g. &lt;a href="mailto:test@liferay.com/test"&gt;test@liferay.com/test&lt;/a&gt;) &lt;/p&gt;&lt;p&gt;2. Go to Control panel &gt; Roles&lt;/p&gt;&lt;p&gt;3. Create a regular editor role&lt;/p&gt;4. Click Action &gt; Define permissions &gt; Add Portlet Permission&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5301084764024762962" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 106px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_JB53H1eiJxU/SZE8gavuclI/AAAAAAAAAHY/PmnB5Yj7Bmo/s400/definepermissions.jpg" border="0" /&gt;5. Select Web Content&lt;br /&gt;&lt;p&gt;6. You will get a complete list of all avaiable permissions. Select the permissions you want to assign to the editor role.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_JB53H1eiJxU/SZE9kIsmKXI/AAAAAAAAAHg/MN_c4x3lreo/s1600-h/webcontentper.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5301085927410903410" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 336px; CURSOR: hand; HEIGHT: 303px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_JB53H1eiJxU/SZE9kIsmKXI/AAAAAAAAAHg/MN_c4x3lreo/s400/webcontentper.jpg" border="0" /&gt;&lt;/a&gt;&lt;strong&gt;Create approver role:&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;1. Sign in as administrator (e.g. &lt;a href="mailto:test@liferay.com/test"&gt;test@liferay.com/test&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;2. Go to Control panel &gt; Roles&lt;/p&gt;&lt;p&gt;3. Create a regular editor role&lt;/p&gt;&lt;p&gt;4. Click Action &gt; Define permissions &gt; Add Portlet Permission&lt;/p&gt;&lt;p&gt;5. Select Web Content&lt;/p&gt;&lt;p&gt;6. You will get a complete list of all avaiable permissions. Select the permissions you want to assign to the editor role.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_JB53H1eiJxU/SZE-tNwO0yI/AAAAAAAAAHo/f-tJniun_O4/s1600-h/webcontentperapp.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5301087182898778914" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 287px; CURSOR: hand; HEIGHT: 287px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_JB53H1eiJxU/SZE-tNwO0yI/AAAAAAAAAHo/f-tJniun_O4/s400/webcontentperapp.jpg" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Assign members to roles&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1. Sign in as administrator&lt;/p&gt;&lt;p&gt;2. Go to Control panel &gt; Roles&lt;/p&gt;&lt;p&gt;3. Click Action &gt; Assign member on the role you want to edit&lt;/p&gt;&lt;p&gt;4. Select the users and click "Update Associations" (-&gt;Avaiable)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Activate Versioning&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1. Add to portal-ext.properties:&lt;/p&gt;&lt;p align="center"&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;br /&gt;journal.article.force.increment.version=true&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="color:#999999;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2. Restart Liferay/server&lt;/p&gt;&lt;p&gt;3. Test IT!&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Mail settings&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1. Edit portal-ext.properties&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;#&lt;br /&gt;# Configure email notification settings.&lt;br /&gt;#&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#999999;"&gt;#These adress should be a approver mail box&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#999999;"&gt;#If a article is created a mail will be send to this adress (from article creators address)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#999999;"&gt;#If the article is approved a mail will be send from these address to the article creator)&lt;br /&gt;journal.email.from.name=Web Content Workflow&lt;br /&gt;journal.email.from.address=&lt;mail-address&gt;&lt;br /&gt;journal.email.article.approval.denied.enabled=true&lt;br /&gt;journal.email.article.approval.denied.subject=com/liferay/portlet/journal/dependencies/email_article_approval_denied_subject.tmpl&lt;br /&gt;journal.email.article.approval.denied.body=com/liferay/portlet/journal/dependencies/email_article_approval_denied_body.tmpl&lt;br /&gt;journal.email.article.approval.granted.enabled=true&lt;br /&gt;journal.email.article.approval.granted.subject=com/liferay/portlet/journal/dependencies/email_article_approval_granted_subject.tmpl&lt;br /&gt;journal.email.article.approval.granted.body=com/liferay/portlet/journal/dependencies/email_article_approval_granted_body.tmpl&lt;br /&gt;journal.email.article.approval.requested.enabled=true&lt;br /&gt;journal.email.article.approval.requested.subject=com/liferay/portlet/journal/dependencies/email_article_approval_requested_subject.tmpl&lt;br /&gt;journal.email.article.approval.requested.body=com/liferay/portlet/journal/dependencies/email_article_approval_requested_body.tmpl&lt;br /&gt;journal.email.article.review.enabled=true&lt;br /&gt;journal.email.article.review.subject=com/liferay/portlet/journal/dependencies/email_article_review_subject.tmpl&lt;br /&gt;journal.email.article.review.body=com/liferay/portlet/journal/dependencies/email_article_review_body.tmpl&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;2. Restart Liferay/server&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-2247657086680340082?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/2247657086680340082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=2247657086680340082' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/2247657086680340082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/2247657086680340082'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/02/setup-cms-workflow-in-liferay-521.html' title='Setup a CMS workflow in Liferay 5.2.1'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JB53H1eiJxU/SZE8gavuclI/AAAAAAAAAHY/PmnB5Yj7Bmo/s72-c/definepermissions.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-1105341282629590031</id><published>2009-01-28T05:06:00.000-08:00</published><updated>2009-11-12T05:32:37.660-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript error'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5.2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5.2 WebSphere'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1. Liferay 5.2.1'/><category scheme='http://www.blogger.com/atom/ns#' term='dock is not working'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere 7'/><title type='text'>Liferay 5.2.0/5.2.1/5.2.2/5.2.3 on WebSphere 6.1</title><content type='html'>(Should work with WebSphere 7 too)&lt;br /&gt;&lt;br /&gt;The new Liferay-Versions 5.2.x can be downloaded &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=49260&amp;amp;package_id=42607" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;But deployment in WebSphere 6.1 is still a bit tricky.&lt;br /&gt;&lt;br /&gt;Steps:&lt;br /&gt;1. Deploy the Liferay 5.2.x war-File (with dependencies)&lt;br /&gt;2. Move &lt;span style="color: rgb(255, 0, 0);"&gt;portal-kernel.jar&lt;/span&gt; and &lt;span style="color: rgb(255, 0, 0);"&gt;container.jar&lt;/span&gt; to "WebSphere-System-root"/lib/ext&lt;br /&gt;3. Move &lt;span style="color: rgb(255, 0, 0);"&gt;icu4j.jar (not needed in 5.2.2./5.2.3 - new file name: liferay-icu4j.jar) &lt;/span&gt; and &lt;span style="color: rgb(255, 0, 0);"&gt;portlet.jar&lt;/span&gt; to "WebSphere-System-root"/java/jre/lib/ext&lt;br /&gt;4. Download the &lt;a href="https://saw.dev.java.net/servlets/ProjectDocumentList?folderID=10052&amp;amp;expandFolder=10052&amp;amp;folderID=0" target="blank"&gt;sun saw-api &lt;/a&gt;(saw-api.jar) or extract it from the dependencies (can be downloaded seperatly) and move it to &lt;liferay-root&gt;/WEB-INF/lib&lt;br /&gt;5. Setup Database-Connection either in portal-ext.properties or in ext-spring.xml&lt;br /&gt;5.1 To setup the database in portal-ext.properties take a look at portal-impl.jar//portal.properties (chapter JDBC). With this setup Liferay 5.2 will use the apache common connection pool.&lt;br /&gt;5.2 To use the connection pool of WebSphere you need to create a file called &lt;span style="color: rgb(51, 51, 255);"&gt;ext-spring.xml&lt;/span&gt; and place it into /WEB-INF/classes/META-INF. Download a sample &lt;span style="color: rgb(51, 51, 255);"&gt;ext-spring.xml&lt;/span&gt; file &lt;a href="http://eichelgartenweg.googlepages.com/ext-spring.xml" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;########&lt;/liferay-root&gt;&lt;strong style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Liferay 5.2.0&lt;/strong&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; only&lt;/span&gt;&lt;liferay-root&gt;##########&lt;br /&gt;&lt;br /&gt;6. &lt;strong style="font-weight: bold; color: rgb(255, 0, 0);"&gt;For Liferay 5.2.0&lt;/strong&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; only:&lt;/span&gt; deactivate the javascript fast load option in portal-ext.properties with this value&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;javascript.fast.load=false&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;It seems the fast load option (&lt;a href="http://developer.yahoo.com/yui/compressor/" target="_blank"&gt;yui compression&lt;/a&gt; of JS/CSS files) is NOT correctly implemented (for WebSphere).&lt;br /&gt;&lt;br /&gt;WORKAROUND:&lt;br /&gt;Put theses files into /html/js&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://eichelgartenweg.googlepages.com/everything_unpacked.js"&gt;everything_unpacked.js&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://eichelgartenweg.googlepages.com/everything_packed.js"&gt;everything_packed.js&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://eichelgartenweg.googlepages.com/barebone_packed.js"&gt;barebone_packed.js&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://eichelgartenweg.googlepages.com/barebone_unpacked.js"&gt;barebone_unpacked.js&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Edit JavaScript-Settings in portal-ext.properties&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;##&lt;br /&gt;## JavaScript&lt;br /&gt;##&lt;br /&gt;javascript.barebone.files=\&lt;br /&gt;\&lt;br /&gt;#&lt;br /&gt;# Self-packed files&lt;br /&gt;#&lt;br /&gt;\&lt;br /&gt;barebone_packed.js&lt;br /&gt;#&lt;br /&gt;# Specify the list of everything files (everything else not already in the&lt;br /&gt;# list of barebone files).&lt;br /&gt;#&lt;br /&gt;javascript.everything.files=\&lt;br /&gt;\&lt;br /&gt;#&lt;br /&gt;# Self-packed files&lt;br /&gt;#&lt;br /&gt;\&lt;br /&gt;everything_packed.js&lt;br /&gt;JavaScript files.&lt;br /&gt;&lt;br /&gt;javascript.barebone.enabled=true&lt;br /&gt;&lt;br /&gt;javascript.fast.load=false&lt;br /&gt;&lt;br /&gt;javascript.log.enabled=false &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;###############################################################&lt;br /&gt;&lt;br /&gt;7. Restart your server.&lt;br /&gt;&lt;br /&gt;Hint:&lt;br /&gt;Its also possible to download the dependencies seperatly and then copy them to the lib-Folders of WebSphere.&lt;br /&gt;Probably a change in class loader order will have same effect (Applications &gt; Enterprise Applications &gt; "your app" &gt; &lt;/liferay-root&gt;Class loading and update detection)&lt;liferay-root&gt;&lt;br /&gt;&lt;br /&gt;&lt;/liferay-root&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-1105341282629590031?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/1105341282629590031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=1105341282629590031' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/1105341282629590031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/1105341282629590031'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/01/liferay-52-on-websphere-61.html' title='Liferay 5.2.0/5.2.1/5.2.2/5.2.3 on WebSphere 6.1'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-5645733262114951559</id><published>2009-01-05T08:32:00.001-08:00</published><updated>2009-01-05T08:55:34.169-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database driver'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='MySQL with WebSphere'/><category scheme='http://www.blogger.com/atom/ns#' term='Data sources'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Provider'/><title type='text'>MySQL and WebSphere Application Server</title><content type='html'>WebSphere doesnt have a template for connections to MySQL-Databases.&lt;br /&gt;&lt;br /&gt;To setup one, you need to create a JDBC-Provider first:&lt;br /&gt;1. Go to Resources &gt; JBDC &gt; JDBC Provider &gt; New to create a new Provider (Driver)&lt;br /&gt;Enter in Step 1:&lt;br /&gt;Database type: User-defindedImplementation class name: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5287849977367800226" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 217px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_JB53H1eiJxU/SWI3icaQqaI/AAAAAAAAAHE/iaPc0aOZik4/s400/mysql-provider1.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Enter in Step 2:&lt;br /&gt;Path to MySQL-Driver-File (can be downloaded &lt;a href="http://dev.mysql.com/downloads/connector/" target="_blank"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_JB53H1eiJxU/SWI4eHUi2qI/AAAAAAAAAHM/ndMr5Cae9xs/s1600-h/mysql-provider2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5287851002498833058" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 176px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_JB53H1eiJxU/SWI4eHUi2qI/AAAAAAAAAHM/ndMr5Cae9xs/s400/mysql-provider2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Finish the creation in Step 3 (Summary) with "Finish".&lt;br /&gt;&lt;br /&gt;Data source:&lt;br /&gt;1. To create a data source for this JDBC Provider go to Resources &gt; JDBC &gt; JDBC Provider &gt; "YOUR JDBC PROVIDER" &gt; Data sources &gt; New&lt;br /&gt;&lt;br /&gt;Enter in Step 1:&lt;br /&gt;Your desired Data source name&lt;br /&gt;Your desired JNDI-Name (e.g. jdbc/LiferayPool)&lt;br /&gt;&lt;br /&gt;Enter in Step 2:&lt;br /&gt;No changes&lt;br /&gt;&lt;br /&gt;Finish the creation in Step 3 with "Finish"&lt;br /&gt;&lt;br /&gt;2. Go to Resources &gt; JDBC &gt; data sources &gt; "your data source" &gt; custom properties&lt;br /&gt;Create these properties:&lt;br /&gt;user = "database user"&lt;database&gt;&lt;br /&gt;password = "database user password"&lt;database&gt;&lt;br /&gt;serverName = "database server name/ip"&lt;database&gt;&lt;br /&gt;databaseName = "name of database"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Save and synchronize to finish the setup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-5645733262114951559?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/5645733262114951559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=5645733262114951559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/5645733262114951559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/5645733262114951559'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/01/mysql-and-websphere-application-server.html' title='MySQL and WebSphere Application Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JB53H1eiJxU/SWI3icaQqaI/AAAAAAAAAHE/iaPc0aOZik4/s72-c/mysql-provider1.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7814157331001825625</id><published>2009-01-02T03:18:00.000-08:00</published><updated>2009-01-02T03:33:22.391-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ca certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='SSLClientAuthRequire'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='User Certificates'/><category scheme='http://www.blogger.com/atom/ns#' term='client certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='SSLClientAuth'/><title type='text'>Client Authentication with User Certificates</title><content type='html'>If you are creating your own self signed user certificates (with you own CA) you can easily edit the httpd.conf of your IBM HTTP Server to use these certificates for a restriced access.&lt;br /&gt;After adding a prober CA root cert (see this &lt;a href="http://eichelgartenweg2.blogspot.com/2008/11/enable-ssl-https-for-ibm-http-server.html" target="_blank"&gt;post&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;open the httpd.conf and edit (one) your virtual host(s)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&amp;lt;VirtualHost &amp;lt;ip-adress&amp;gt;:&amp;lt; port&amp;gt;&lt;br /&gt;ServerName &amp;lt;server name&amp;gt;&lt;br /&gt;SSLEnable&lt;br /&gt;&lt;strong&gt;SSLClientAuth 2&lt;/strong&gt;&lt;br /&gt;SSLServerCert &amp;lt;ssl server cert&amp;gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;Directory "/" &amp;gt;&lt;/strong&gt;&lt;br /&gt;Options Indexes MultiViews&lt;br /&gt;Order allow,deny&lt;br /&gt;Allow from all&lt;br /&gt;&lt;strong&gt;SSLClientAuthRequire &amp;lt;your ca root dn&amp;gt; &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;/Directory&amp;gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;RequestHeader set HTTPS %{HTTPS}e&lt;br /&gt;RequestHeader set SSL_CIPHER %{SSL_CIPHER}e&lt;br /&gt;RequestHeader set SSL_CLIENT_CN %{SSL_CLIENT_CN}e&lt;br /&gt;RequestHeader set SSL_CLIENT_DN %{SSL_CLIENT_DN}e&lt;br /&gt;&lt;br /&gt;DocumentRoot /usr/IBM/HTTPServer/www-doc-root2/&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Add &lt;a href="http://www-01.ibm.com/software/webservers/httpservers/doc/v2047/manual/ibm/en_US/9acdssl.htm#sslclient" target="_blank"&gt;SSLClientAuth &lt;/a&gt;2 for a required client authentification.&lt;br /&gt;Add &lt;a href="http://www-01.ibm.com/software/webservers/httpservers/doc/v2047/manual/ibm/en_US/9acdssl.htm#sslrequire" target="_blank"&gt;SSLClientAuthRequire &lt;/a&gt;&amp;lt;your ca root dn&amp;gt; to a directory (/ for all directories).&lt;br /&gt;Example: SSLClientAuthRequire o="ibm.com"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7814157331001825625?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7814157331001825625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7814157331001825625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7814157331001825625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7814157331001825625'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2009/01/client-authentication-with-user.html' title='Client Authentication with User Certificates'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7584039894962421833</id><published>2008-12-10T05:12:00.000-08:00</published><updated>2008-12-30T02:08:34.391-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mod_cache'/><category scheme='http://www.blogger.com/atom/ns#' term='Cache'/><category scheme='http://www.blogger.com/atom/ns#' term='mod_mem_cache'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Cache control'/><title type='text'>Set HTTP Response Header Cache-Control and enable mod_cache for higher performance</title><content type='html'>To enable the ability of caching of pictures open the httpd.conf of your IBM HTTP Server and add following lines&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;p align="center"&gt;&lt;/location&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#999999;"&gt;LoadModule headers_module modules/mod_headers.so&lt;/span&gt; &lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;Location ~ "\.(jsgifjpgjpegpngjpe)$"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;Header add Cache-Control "public, max-age=432000, post-check=172000"&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;/Location&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/location&gt;&lt;p align="left"&gt;&lt;span style="color:#000000;"&gt;These lines enable the module mod_headers.so and are setting a Cache-Control header. A Cache-Control header enables clients, webservers and proxys to cache pictures.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;Adding the Cache-Control-Header is very useful for older Liferay-Versions.&lt;/p&gt;&lt;p align="left"&gt;To enable a IBM HTTP Server to cache those pictures add additionally these lines:&lt;/p&gt;&lt;p align="center"&gt;&lt;/ifmodule&gt;&lt;span style="color:#999999;"&gt;LoadModule cache_module modules/mod_cache.so&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;LoadModule mem_cache_module modules/mod_mem_cache.so&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;IfModule mod_mem_cache.c&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;CacheEnable mem /&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;MCacheSize 4096&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;MCacheMaxObjectCount 100&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;MCacheMinObjectSize 1M&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;CacheMaxObjectSize 2048&lt;/span&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;/IfModule&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;a href="http://eichelgartenweg.googlepages.com/httpd.conf.cache" target="_blank"&gt;Link to sample httpd.conf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7584039894962421833?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7584039894962421833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7584039894962421833' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7584039894962421833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7584039894962421833'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/12/set-http-response-header-cache-control.html' title='Set HTTP Response Header Cache-Control and enable mod_cache for higher performance'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-420717944635921708</id><published>2008-11-26T05:45:00.000-08:00</published><updated>2008-12-30T02:18:26.031-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mod_deflate'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='gzip'/><category scheme='http://www.blogger.com/atom/ns#' term='g-zip'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><category scheme='http://www.blogger.com/atom/ns#' term='mod deflate'/><category scheme='http://www.blogger.com/atom/ns#' term='IHS'/><title type='text'>Enable g-zip for IBM HTTP Server</title><content type='html'>In order to deflate the content served form a IBM HTTP Server (IHS) it is possible to enable the g-zip-option in httpd.conf to compress the traffic between a client and a IHS.&lt;br /&gt;&lt;br /&gt;To enable g-zip add this lines at the bottom of httpd.conf:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;# compress everything but images&lt;br /&gt;LoadModule deflate_module modules/mod_deflate.so&lt;br /&gt;DeflateFilterNote Input instream&lt;br /&gt;DeflateFilterNote Output outstream&lt;br /&gt;DeflateFilterNote Ratio ratio&lt;br /&gt;# log some info&lt;br /&gt;#LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate&lt;br /&gt;#CustomLog logs/deflate_log deflate&lt;br /&gt;# Insert filter&lt;br /&gt;SetOutputFilter DEFLATE&lt;br /&gt;# Netscape 4.x has some problems...&lt;br /&gt;BrowserMatch ^Mozilla/4 gzip-only-text/html&lt;br /&gt;# Netscape 4.06-4.08 have some more problems&lt;br /&gt;BrowserMatch ^Mozilla/4\.0[678] no-gzip&lt;br /&gt;# MSIE masquerades as Netscape, but it is fine&lt;br /&gt;BrowserMatch \bMSIE !no-gzip !gzip-only-text/html&lt;br /&gt;# Don't compress images&lt;br /&gt;SetEnvIfNoCase Request_URI \&lt;br /&gt;\.(?:gifjpe?gpngexe)$ no-gzip dont-vary&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://eichelgartenweg.googlepages.com/httpd.conf_sample_gzip" target="_blank"&gt;Link to sample httpd.conf&lt;/a&gt;&lt;/p&gt;&lt;p&gt;To enable mime-types exiplict look at this sample file&lt;/p&gt;&lt;p&gt;&lt;a href="http://eichelgartenweg.googlepages.com/httpd.conf.deflate2" target="_blank"&gt;Link to sample httpd.conf (Version 2)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Links:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.redbooks.ibm.com/abstracts/TIPS0288.html?Open" target="_blank"&gt;http://www.redbooks.ibm.com/abstracts/TIPS0288.html?Open&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-420717944635921708?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/420717944635921708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=420717944635921708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/420717944635921708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/420717944635921708'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/11/enable-g-zip-for-ibm-http-server.html' title='Enable g-zip for IBM HTTP Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-3375418333454618808</id><published>2008-11-19T05:45:00.000-08:00</published><updated>2008-12-09T02:15:19.201-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Form Login'/><category scheme='http://www.blogger.com/atom/ns#' term='WASReqURL'/><category scheme='http://www.blogger.com/atom/ns#' term='Basic Authentification'/><category scheme='http://www.blogger.com/atom/ns#' term='Redirect Form login'/><title type='text'>Form Login for WebSphere Application Server 6.1</title><content type='html'>To enable a form based login (instead of a Basic Authentification) edit the web.xml of the application and add a login configuration:&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;login-config id="LoginConfig_1"&amp;gt;&amp;lt;auth-method&amp;gt;FORM&amp;lt;/auth-method&amp;gt;&amp;lt;realm-name&amp;gt;Example Form-Based Authentication Area&amp;lt;/realm-name&amp;gt;&amp;lt;form-login-config id="FormLoginConfig_1"&amp;gt;&amp;lt;form-login-page&amp;gt;/login.jsp&amp;lt;/form-login-page&amp;gt;&amp;lt;form-error-page&amp;gt;/error.jsp&amp;lt;/form-error-page&amp;gt;&amp;lt;/form-login-config&amp;gt;&amp;lt;/login-config&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="color:#999999;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#000000;"&gt;The login.jsp contains the login form (ibm example):&lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN"&amp;gt;&amp;lt;html&amp;gt;&amp;lt;META HTTP-EQUIV = "Pragma" CONTENT="no-cache"&amp;gt;&amp;lt;title&amp;gt; Security FVT Login Page &amp;lt;/title&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;Form Login&amp;lt;/h2&amp;gt;&amp;lt;FORM METHOD=POST ACTION="j_security_check"&amp;gt;&amp;lt;p&amp;gt;&amp;lt;font size="2"&amp;gt; &amp;lt;strong&amp;gt; Enter user ID and password: &amp;lt;/strong&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;strong&amp;gt; User ID&amp;lt;/strong&amp;gt; &amp;lt;input type="text" size="20" name="j_username"&amp;gt;&amp;lt;strong&amp;gt; Password &amp;lt;/strong&amp;gt; &amp;lt;input type="password" size="20" name="j_password"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;font size="2"&amp;gt; &amp;lt;strong&amp;gt; And then click this button: &amp;lt;/strong&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;input type="submit" name="login" value="Login"&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;&lt;/span&gt;&lt;/div&gt;the error.jsp contains an error message (ibm example):&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="color:#999999;"&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN"&amp;gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;A Form login authentication failure occurred&amp;lt;/head&amp;gt;&amp;lt;/title&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;&amp;lt;b&amp;gt;A Form login authentication failure occurred&amp;lt;/h1&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;p&amp;gt;Authentication may fail for one of many reasons. Some possibilities include:&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;The user-id or password may be entered incorrectly; either misspelled or thewrong case was used.&amp;lt;li&amp;gt;The user-id or password does not exist, has expired, or has been disabled.&amp;lt;/ol&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="color:#999999;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#000000;"&gt;So whats going on (example):&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;1. User is trying to access &lt;a href="http://example.com/app/index.html"&gt;http://example.com/app/index.html&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;2. User get redirected to &lt;a href="http://example.com/app/login.jsp"&gt;http://example.com/app/login.jsp&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;2.1 WAS creates a cookie called WASReqURL which contains the whished path (Value: &lt;a href="http://[:Port]/app/index.jsp"&gt;http[s]://[:Port]/app/index.jsp&lt;/a&gt;)&lt;/div&gt;&lt;div align="left"&gt;3. User types in user-id and passwort and submits the login credentials&lt;/div&gt;&lt;div align="left"&gt;3.1 WAS reads the WASReqURL-Cookie and redirects the the requested path (&lt;a href="http://example.com/app/index.html"&gt;http://example.com/app/index.html&lt;/a&gt;).&lt;/div&gt;&lt;div align="left"&gt;3.2 If the credentials are wrong WAS redirects the user to &lt;a href="http://example.com/app/error.jsp"&gt;http://example.com/app/error.jsp&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;It is possible to edit the WASReqURL-Cookie to change the redirect path after a successful login.&lt;/div&gt;&lt;div align="left"&gt;Steps:&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;1. Read cookie Value:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;String url =""; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;String text = ""; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;String newurl = ""; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;//Get all cookies&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;Cookie[] cookies = request.getCookies();&lt;br /&gt;for (int index=0; index &amp;lt;= cookies.length; index++) { &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;String cookieName = cookies[index].getName(); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;if ("WASReqURL".equals(cookieName)) { &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;//If WASReqURL-Cookie is found, get the value and cancel for-loop urlwithoutlogging = cookies[index].getValue(); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;break; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;} &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;2. Set a new WASReqURL-Cookie&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;Cookie wasrequrlcookie = new Cookie("WASReqURL",newurl)); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="left"&gt;&lt;span style="color:#999999;"&gt;response.addCookie(wasrequrlcookie);&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p align="left"&gt;Links:&lt;/p&gt;&lt;div align="left"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/xsec_formlogin.html"&gt;IBM Info Center&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-3375418333454618808?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/3375418333454618808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=3375418333454618808' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/3375418333454618808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/3375418333454618808'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/11/form-login-for-websphere-application.html' title='Form Login for WebSphere Application Server 6.1'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7797054828511959704</id><published>2008-11-11T00:47:00.000-08:00</published><updated>2009-02-16T07:16:56.215-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='self signed certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtual Host'/><category scheme='http://www.blogger.com/atom/ns#' term='ikeyman'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM HTTP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SSL certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='https'/><category scheme='http://www.blogger.com/atom/ns#' term='secure http'/><title type='text'>Enable SSL (HTTPs) for IBM HTTP Server</title><content type='html'>To enable SSL on a IBM HTTP Server (Client -&gt; IHS), you need to generate a proper certificate first.&lt;br /&gt;&lt;br /&gt;Steps to generate self-signed-certificate for https traffic:&lt;br /&gt;&lt;br /&gt;1. Open /&amp;lt;ihs-root&amp;gt;/bin/ikeyman&lt;br /&gt;&lt;br /&gt;2. Select CMS as type and specify a file name and a location for the certificate file&lt;br /&gt;&lt;br /&gt;3. When prompted for a password type in your desired password.&lt;br /&gt;&lt;br /&gt;4. Click Create &gt; New Self-Signed Certificate in iKeyman. Type in your desired values.&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5267320429081836914" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 253px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_JB53H1eiJxU/SRlIBdWUvXI/AAAAAAAAAG8/yUoPqUifxyU/s400/newselfsigned.jpg" border="0" /&gt;&lt;br /&gt;&lt;p&gt;5. Exit iKeymen.&lt;/p&gt;&lt;p&gt;6. Verify that all needed files (3-4 files) are generated in your certificate location.&lt;/p&gt;&lt;p&gt;After generating a self-signed-certificate the IHS needs to be configured to use SSL.&lt;/p&gt;&lt;p&gt;1. Open /&amp;lt;ihs-root&amp;gt;/conf/httpd.conf&lt;/p&gt;&lt;p&gt;2. Add following line to load the SSL module. Add these line add the end of the Load Modules section.&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#999999;"&gt;LoadModule ibm_ssl_module modules/mod_ibm_ssl.so&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="color:#000000;"&gt;3. Add a virtual host to enable SSL.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;a href="http://eichelgartenweg.googlepages.com/httpd.conf_sample" target="_blank"&gt;Link to example file&lt;/a&gt;&lt;/p&gt;&lt;p align="left"&gt;4. Save and restart the HTTPs Server (/&amp;lt;ihs-root&amp;gt;/bin/apachectl)&lt;/p&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;p&gt;Troubleshooting 1:&lt;/p&gt;&lt;p&gt;If SSL isnt working check the Virtual Host defined in your WebSphere Server.&lt;/p&gt;&lt;p&gt;1. In Administrative Console go to Virtual &gt; default host &gt; Host Aliases and check if port 433 is defined.&lt;/p&gt;&lt;p&gt;To setup SSL between IHS and a WebSphere-Server see:&lt;/p&gt;&lt;p&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tsec_httpserv.html"&gt;http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tsec_httpserv.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Troubleshooting 2:&lt;/p&gt;&lt;p&gt;Perhaps you need to update the default plugin key files.&lt;/p&gt;&lt;p&gt;1. In Administrative Console go to WebServer &gt; &amp;lt;webserver-name&amp;gt; &gt; Plugin properties&lt;/p&gt;&lt;p&gt;2. Click "Copy to Web server key store directory" to override the old default certificates.&lt;/p&gt;&lt;p&gt;3. Restart the IHS and try again&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7797054828511959704?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7797054828511959704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7797054828511959704' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7797054828511959704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7797054828511959704'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/11/enable-ssl-https-for-ibm-http-server.html' title='Enable SSL (HTTPs) for IBM HTTP Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JB53H1eiJxU/SRlIBdWUvXI/AAAAAAAAAG8/yUoPqUifxyU/s72-c/newselfsigned.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-4917052980509986883</id><published>2008-10-27T01:30:00.000-07:00</published><updated>2008-10-27T01:51:30.659-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebContainer'/><category scheme='http://www.blogger.com/atom/ns#' term='bug 6.1.0.19'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='White page'/><category scheme='http://www.blogger.com/atom/ns#' term='6.1.0.19'/><category scheme='http://www.blogger.com/atom/ns#' term='java.lang.NullPointerException'/><category scheme='http://www.blogger.com/atom/ns#' term='fix 6.1.0.19'/><title type='text'>Bug in Fixpack 6.1.0.19 for WebSphere Application Server</title><content type='html'>After installing the fixpack 6.1.0.19 a NullPointerException occurs in some applications.&lt;br /&gt;This is a know &lt;a href="http://www-01.ibm.com/support/docview.wss?uid=swg1PK72336" target="_blank"&gt;bug (PK72336)&lt;/a&gt;.&lt;br /&gt;This Bug causes:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr R Exception in thread "WebContainer : 3" java.lang.RuntimeException: java.lang.NullPointerException&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:793)&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr     R  at com.ibm.io.async.ResultHandler$2.run(ResultHandler  .java:873)&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr     R  at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j  ava:1473)&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr     R Caused by: java.lang.NullPointerException&lt;br /&gt;at com.ibm.io.async.AsyncFuture.completed(AsyncFuture  .java:111)&lt;br /&gt;at com.ibm.io.async.ResultHandler.complete(ResultHand  ler.java:195)&lt;br /&gt;at com.ibm.io.async.ResultHandler.runEventProcessingL  oop(ResultHandler.java:743)&lt;br /&gt;at com.ibm.io.async.ResultHandler$2.run(ResultHandler  .java:873)&lt;br /&gt;at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j  ava:1473)&lt;br /&gt;&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr     R  at com.ibm.io.async.AsyncFuture.completed(AsyncFuture  .java:111)&lt;br /&gt;[9/17/08 16:44:05:508 CDT] 0000003a SystemErr     R  at com.ibm.io.async.ResultHandler.complete(ResultHand  ler.java:195)&lt;br /&gt;[9/17/08 16:44:05:524 CDT] 0000003a SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:743)&lt;br /&gt;[9/17/08 16:44:05:524 CDT] 0000003a SystemErr     R  ... 2 more&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Or:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R Exception in thread "WebContainer : 13" java.lang.NullPointerException&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.tcp.channel.impl.NioSocketIOChannel.attemptWriteToSocketUsingNIO(NioSocketIOChannel.java:160)&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.tcp.channel.impl.SocketIOChannel.attemptWriteToSocket(SocketIOChannel.java:763)&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:628)&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)&lt;br /&gt;[24.10.08 12:00:47:493 CEST] 000000b5 SystemErr     R     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To fix this exceptions see the link above or navigate to Application Servers &gt; &amp;lt;your_app_server&amp;gt; &gt; Web container &gt; Custom properties &gt; New&lt;br /&gt;&lt;br /&gt;Name: com.ibm.ws.webcontainer.channelwritetype&lt;br /&gt;Value: sync&lt;br /&gt;&lt;br /&gt;Restart your app server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-4917052980509986883?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/4917052980509986883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=4917052980509986883' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/4917052980509986883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/4917052980509986883'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/10/bug-in-fixpack-61019-for-websphere.html' title='Bug in Fixpack 6.1.0.19 for WebSphere Application Server'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-746647867589995944</id><published>2008-10-13T05:36:00.001-07:00</published><updated>2008-10-16T04:44:26.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Liferay PHP no Tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='sample php portlet'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP WebSphere Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='WAS PHP'/><title type='text'>PHP portlet in Liferay 5 running on WebSphere Application Server 6.1</title><content type='html'>Liferay supports portlets with php content. The &lt;a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Simple+PHP+Portlet" target="_blank"&gt;deployment of these portlets in Tomcat&lt;/a&gt; is quite easy.&lt;br /&gt;The deployment of a PHP portlet in Liferay 5 on a WebSphere Server is a bit more difficult.&lt;br /&gt;&lt;br /&gt;1. Download the &lt;a href="http://eichelgartenweg.googlepages.com/sample-php-portlet_WAS.war"&gt;sample_php_portletWAS.war&lt;/a&gt;. Its a enhanced version of Liferays original php portlet. The WAR contains all needed files.&lt;br /&gt;&lt;br /&gt;2. Move the portal-kernal.jar from &amp;lt;Liferay_root&amp;gt;/WebINF/lib to &amp;lt;WebSphere-System-Root&amp;gt;/lib/ext (or to any other class loading position which is higher then the Liferay 's class loader order).&lt;br /&gt;&lt;br /&gt;3. Deploy the php portlet&lt;br /&gt;3.1 In administrative console go to Applications &gt; Enterprise Applications.&lt;br /&gt;3.2 Select the Liferay 5.x App and click "Update"&lt;br /&gt;3.3 Select "Replace or add a single module"&lt;br /&gt;3.4. Select the &lt;a href="http://eichelgartenweg.googlepages.com/sample-php-portlet_WAS.war"&gt;sample_php_portletWAS.war&lt;/a&gt; and specify the context root and the module path.&lt;br /&gt;Also you need to select "Show me all installation options and parameters".&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JB53H1eiJxU/SPYI5jVFe8I/AAAAAAAAAGg/lj8rK2QaqvM/s1600-h/module.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5257399399830879170" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_JB53H1eiJxU/SPYI5jVFe8I/AAAAAAAAAGg/lj8rK2QaqvM/s400/module.jpg" border="0" /&gt;&lt;/a&gt;3.5 Click "Next" to start the deployment process&lt;br /&gt;3.6. On step 2 you need to map the server to the sample_php_portlet. Choose the server where Liferay 5.x is deployed.&lt;br /&gt;3.7. On step 7 its nesessary to define the context path again&lt;br /&gt;3.8. Start the deployment (Click "FINISH" and "SAVE")&lt;br /&gt;4. Restart the server&lt;br /&gt;5. Sign in to Liferay and add the "sample_php_portlet"&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JB53H1eiJxU/SPYKmpJPKnI/AAAAAAAAAGo/--S_iJ2b9Wk/s1600-h/sample.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5257401273997535858" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_JB53H1eiJxU/SPYKmpJPKnI/AAAAAAAAAGo/--S_iJ2b9Wk/s400/sample.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;More information about the deployment of Liferay portlets in WebSphere can be found &lt;a href="http://eichelgartenweg2.blogspot.com/2008/07/add-portlet-to-liferay-via-websphere.html" target="_blank"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-746647867589995944?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/746647867589995944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=746647867589995944' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/746647867589995944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/746647867589995944'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/10/php-portlet-in-liferay-5-running-on.html' title='PHP portlet in Liferay 5 running on WebSphere Application Server 6.1'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JB53H1eiJxU/SPYI5jVFe8I/AAAAAAAAAGg/lj8rK2QaqvM/s72-c/module.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-7505560128203211555</id><published>2008-10-13T05:01:00.000-07:00</published><updated>2008-10-13T05:13:16.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 7'/><category scheme='http://www.blogger.com/atom/ns#' term='WAS 7.0'/><category scheme='http://www.blogger.com/atom/ns#' term='released'/><category scheme='http://www.blogger.com/atom/ns#' term='whats new'/><category scheme='http://www.blogger.com/atom/ns#' term='job manager'/><category scheme='http://www.blogger.com/atom/ns#' term='new features'/><category scheme='http://www.blogger.com/atom/ns#' term='administrative agent'/><title type='text'>WebSphere Application Server 7</title><content type='html'>WebSphere Application Server 7 was released last Friday (10.10.2008).&lt;br /&gt;Some informations can be found here:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www14.software.ibm.com/iwm/web/cc/earlyprograms/websphere/wasndv7/player.html"&gt;https://www14.software.ibm.com/iwm/web/cc/earlyprograms/websphere/wasndv7/player.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/blogs/page/woolf?entry=websphere_application_server_v7_available"&gt;&lt;br /&gt;http://www.ibm.com/developerworks/blogs/page/woolf?entry=websphere_application_server_v7_available&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0809_alcott/0809_alcott.html"&gt;http://www.ibm.com/developerworks/websphere/library/techarticles/0809_alcott/0809_alcott.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download the trail here (need to sign in):&lt;br /&gt;&lt;a href="https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?lang=en_US&amp;amp;source=was60&amp;amp;S_CMP=rnav&amp;amp;S_TACT=105AGX28&amp;amp;codePage=UTF-8"&gt;https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?lang=en_US&amp;amp;source=was60&amp;amp;S_CMP=rnav&amp;amp;S_TACT=105AGX28&amp;amp;codePage=UTF-8&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-7505560128203211555?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/7505560128203211555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=7505560128203211555' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7505560128203211555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/7505560128203211555'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/10/websphere-application-server-7.html' title='WebSphere Application Server 7'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-6511147901222653076</id><published>2008-10-07T00:02:00.001-07:00</published><updated>2008-10-10T07:06:01.961-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.lang.TypeNotPresentException'/><category scheme='http://www.blogger.com/atom/ns#' term='initWebApplicationContext Context initialization failed'/><category scheme='http://www.blogger.com/atom/ns#' term='spring Liferay 5.1.2'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay Portal 5.1.2'/><category scheme='http://www.blogger.com/atom/ns#' term='Liferay 5.1.2 WebSphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='javax.annotation.Resource'/><title type='text'>Liferay 5.1.2 with WebSphere 6.1 [Temp fix]</title><content type='html'>Liferay 5.1.2 contains a new spring version. While start up of app server an error occurs.&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="font-style: italic;"&gt;org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                                 java.lang.TypeNotPresentException: Type javax.annotation.Resource not present&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;&lt;span style="font-style: italic;"&gt;java.lang.ClassNotFoundException: javax.annotation.Resource&lt;/span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;------------------------------------------------------------------------------------------&lt;br /&gt;To fix this error you need to download the &lt;span style="text-decoration: underline;"&gt;geronimo-annotation_1.0_spec-1.1.1.jar&lt;/span&gt; of &lt;a href="http://geronimo.apache.org/" target="_blank"&gt;the Apache Geronimo project&lt;/a&gt; and copy it to /Web-INF/lib.&lt;br /&gt;See &lt;a href="http://eichelgartenweg2.blogspot.com/2008/07/problems-with-websphere-application.html" target="_blank"&gt;this post for a complete tutorial of deploying Liferay in WebSphere&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Hint:&lt;br /&gt;In Liferay 5.1.2 contains still some crazy bugs like wrong virtual hosts and lazy db connections i do not recommend it for production (with websphere)&lt;br /&gt;&lt;a href="http://www.liferay.com/web/myoung/blog?p_p_lifecycle=0&amp;amp;p_p_id=33&amp;amp;p_p_state=normal&amp;amp;_33_struts_action=%2Fblogs%2Fview&amp;amp;p_p_mode=view" target="_blank"&gt;Change log&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update: To Fix the wrong virtual host settings go to Enterprise Admin &gt; Settings and replace "localhost" with your virtual host (appserver).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-6511147901222653076?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/6511147901222653076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=6511147901222653076' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6511147901222653076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/6511147901222653076'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/10/liferay-512-with-websphere-61.html' title='Liferay 5.1.2 with WebSphere 6.1 [Temp fix]'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-5036729505021728503</id><published>2008-10-02T01:49:00.000-07:00</published><updated>2008-10-06T00:43:58.307-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LDAP Compare'/><category scheme='http://www.blogger.com/atom/ns#' term='ldapcmp.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='Compare two ldap directories'/><category scheme='http://www.blogger.com/atom/ns#' term='ldapcmp'/><title type='text'>How to compare 2 LDAP-Directories</title><content type='html'>The comparison of the LDAP-Directories is a bit harder as it sounds.&lt;br /&gt;The biggest problem is the lack of tools to do this research&lt;a href="http://dict.leo.org/ende?lp=ende&amp;amp;p=thMx..&amp;amp;search=comparison"&gt;&lt;/a&gt;.&lt;br /&gt;Finally i found i tool a called ldapcmp. It seems its quite old but it works under Windows XP.&lt;br /&gt;&lt;br /&gt;How to:&lt;br /&gt;1. Download the &lt;a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SunOne-Directory-SDK-C-G-TR@CDS-CDS_SMI" target="_blank"&gt;SUN LDAP C SDK&lt;/a&gt; (you need to register) - Platform: Windows 95 4.0 for XP&lt;br /&gt;2. Extract the zip file&lt;br /&gt;3. Copy the ldapcmp.exe from \tools to \lib&lt;br /&gt;4. Execute the ldapcmp.exe with your parameters&lt;br /&gt;&lt;br /&gt;The SUN LDAP C SDK also contains the useful tool ldapsearch&lt;br /&gt;&lt;br /&gt;The available parameters can be found &lt;a href="http://docs.sun.com/source/816-6400-10/ldapcmp.html" target="_blank"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-5036729505021728503?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/5036729505021728503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=5036729505021728503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/5036729505021728503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/5036729505021728503'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/10/how-to-compare-2-ldap-directories.html' title='How to compare 2 LDAP-Directories'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2790512456962733728.post-766394283116716744</id><published>2008-09-23T05:55:00.000-07:00</published><updated>2008-09-23T06:26:13.221-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LTPA-Token'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Server 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='SSL certificate'/><category scheme='http://www.blogger.com/atom/ns#' term='LTPA'/><category scheme='http://www.blogger.com/atom/ns#' term='replace certificate'/><title type='text'>Replace a SSL Certificate</title><content type='html'>After i explained how to disable the auto generation of certificates in &lt;a href="http://eichelgartenweg2.blogspot.com/2008/04/disable-autogeneration-of-ltpa-keys.html"&gt;this post&lt;/a&gt;, i now want to explain how to replace an certificate manually.&lt;br /&gt;1. In the administrative console go to Security &gt; SSL certificates and key management &gt; Manage endpoint security configurations&lt;br /&gt;2. Select the node where you want to repleace the ssl certificate (under Inbound)&lt;br /&gt;3. Click "Manage certificates"&lt;br /&gt;4. Select the default certificate and click "Create a self-signed certificate"&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JB53H1eiJxU/SNjpIdQJX6I/AAAAAAAAAFk/WV5GDuu0c98/s1600-h/certmanreplace.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_JB53H1eiJxU/SNjpIdQJX6I/AAAAAAAAAFk/WV5GDuu0c98/s400/certmanreplace.jpg" alt="" id="BLOGGER_PHOTO_ID_5249201697200889762" border="0" /&gt;&lt;/a&gt;5. Fill out the General properties values (compare with expired certificate)&lt;br /&gt;6. Click "OK" and Save the changes&lt;br /&gt;6. Go to Security &gt; SSL certificates and key management &gt; Manage endpoint security configurations &gt; Select the node where you want to replease the ssl certificate (under Inbound) &gt; Manage certificates&lt;br /&gt;7. Select default and click "Replace"&lt;br /&gt;8. You can now choose which certificate will replace the old certificate, normally its the newly created one. Do not select "Delete old certificate after replacement" and "Delete old signers".&lt;br /&gt;9. Click "OK"&lt;br /&gt;10. Select the old certificate and delete it (click "Delete")&lt;br /&gt;11. Click "OK" and save the changes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2790512456962733728-766394283116716744?l=eichelgartenweg2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eichelgartenweg2.blogspot.com/feeds/766394283116716744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2790512456962733728&amp;postID=766394283116716744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/766394283116716744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2790512456962733728/posts/default/766394283116716744'/><link rel='alternate' type='text/html' href='http://eichelgartenweg2.blogspot.com/2008/09/replace-ssl-certificate.html' title='Replace a SSL Certificate'/><author><name>eichelgartenweg</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07135806466663662543'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JB53H1eiJxU/SNjpIdQJX6I/AAAAAAAAAFk/WV5GDuu0c98/s72-c/certmanreplace.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>