Thursday, August 22, 2013

Everything about XMLAccess - Task.xml

http://www-10.lotus.com/ldd/portalwiki.nsf/dx/XMLAccess_Frequently_Asked_Questions#What+is+XMLAccess%3F


There is a /opt/IBM/WebSphere/PortalServer/docs/xml-samples/Task.xml - Use this xml script to do clean up after deleting any component and not allowing to create a new component with the same name.

Websphere Portal - Security - SSO


http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Configuring_%E2%80%98Single_Sign_On%E2%80%99_between_Web_Sphere_Portal_Server_7.0com_Tivoli_Access_Manager_WebSEAL_version_6.1_on_AIX_6.1_?OpenDocument&sa=true#Required+junction+parameters

ftp://ftp.software.ibm.com/pub/info/portal/WebSphere_Portal_Security_overview.pdf

http://www.ibm.com/developerworks/tivoli/library/t-ssotam/

http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Web_security_concepts_and_considerations_for_IBM_WebSphere_Portal_administrators#Sessions

Monday, August 19, 2013

RAD 9.0 Maven Plugin

With RAD 9.0 there are immense improvements in terms of Maven working with RAD for building and deploying portlet based project.

But I found it hard to find a plugin which actually deploys the code to the websphere portal server.

After a lot struggle found the location of the plugin...

https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/maven/repository/com/ibm/tools/plugin/portal-deployment-maven-plugin/1.0/


But somehow cant download so downloaded each file...

maven-metadata.xml
portal-deployment-maven-plugin-1.0.jar
portal-deployment-maven-plugin-1.0.pom

Copied them in a folder named "portal-deployment-maven-plugin" ( this can be anything ! ).

And then copy across that folder into plugin folder where RAD has stored other plugins...

For me it's

C:\IBM\IBMIMShared\plugins

In your project's pom.xml you need to mention this plugin...

     <plugin>
<groupId>com.ibm.tools.plugin</groupId>
<artifactId>portal-deployment-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>integration-test</phase>
<configuration>
<username>wpsadmin</username>
<password>wpsadmin</password>
<hostname>localhost</hostname>
<port>10039</port>
</configuration>
<goals>
<goal>deploy-portlet</goal>
</goals>
</execution>
</executions>
</plugin>

After doing all this, restart your RAD.

And that's it.

Go to your project, right click and build. It should build and deploy your portlet to mentioned portal server.

http://pic.dhe.ibm.com/infocenter/radhelp/v9/index.jsp?topic=%2Fcom.ibm.portal.doc%2Ftopics%2Ft_DeployingMavenPortletProjects.html

Hope this helps.

Leave comments if you get stuck.

//HP



Friday, August 16, 2013

Websphere Portal / Websphere Application Server


IBM WAS Administrator scripts sample

http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html#download


WAR Export Script...
http://wpcertification.blogspot.co.uk/2010/06/updating-wpsear-using-wsadmin-script.html

WPS Export script...

[root@wput-1 bin]# ./wsadmin.sh -conntype none -host localhost -user wpadmin -password gr\!n.baR1t -port 20033 -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
wsadmin>AdminApp.export('PA_MoodleEntryPoint','/tmp/PA_MoodleEntryPoint.ear')
''
wsadmin>AdminApp.export('PA_WCMLRingPortJSR286','/tmp/PA_WCMLRingPortJSR286.ear')
''