Tuesday, January 31, 2006

How to configure/use JSTL in RSA 6.0 for WPS v5.1 test env

1. Where to find the tag definition
${portal-test-env-root}/shared/app/WEB-INF/tld

For example:

C:\Program Files\Portal51UTE\PortalServer\shared\app\WEB-INF\tld

2. Where to find the taglib jars
${portal-test-env-root}/shared/app

For example:

C:\Program Files\Portal51UTE\PortalServer\shared\app

3. How to define JSTL in web.xml

<taglib id="PortletTLD">
<taglib-uri>http://java.sun.com/portlet</taglib-uri>
<taglib-location>/WEB-INF/tld/std-portlet.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
<taglib-location>/WEB-INF/tld/c-rt.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt_rt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt-rt.tld</taglib-location>
</taglib>

Saturday, January 07, 2006

RSA/RAD 6.0 Console output fails to display in the v6 Test Env when global security is enabled.

Detail is in the following link:

http://www-1.ibm.com/support/docview.wss?uid=swg21198280

Basically the steps are:

1. Use SOAP as the server connection type
2. Run the following (with server secured and started):
3. Restart server (always use SOAP as server connection type)

wsadmin -profile redeployFileTransfer.jacl -lang jacl
-c "fileTransferAuthenticationOn cellName nodeName serverName"
-user username -password password -conntype SOAP -host hostName -port portNumber

Replace blue-highlighted with real values. The -conntype, -host and -port can be omitted for default values.

Example:

wsadmin -profile redeployFileTransfer.jacl -lang jacl
-c "fileTransferAuthenticationOn home-ptybeeka11Node03Cell home-ptybeeka11Node03 server1"
-user wsadmin -password here4you -conntype SOAP -host home-ptybeeka11 -port 8881

Wednesday, December 07, 2005

Where does WAS store cached jsp pages?

${app_server_root}/temp/${node_name}/${server_name}/${application_name}/${module_name}/jsp/

For example:

/opt/WebSphere/AppServer/temp/webdev01/server1/officeonline/OfficeOnline.war/jsp/

Tuesday, November 22, 2005

Web and EJB Tier Transaction Guidelines

Friday, November 18, 2005

JNDI object lookup in a clustered environment

In a clustered environment, it's safe to look up a JNDI object using local reference. For instance, if the JNDI name of your JMS queue connection factory is jms/myConnectionFactory, configure a local reference so that you can look it up like java:comp/env/myQueueConnectionFactory.