Welcome to the Integryst WebCenter Interaction Blog! Here you'll find the latest in WCI (or, if you prefer, Plumtree Portal, AquaLogic User Interaction, ALUI, or WCI) news, tips, and tricks.
|
December 22nd, 2011 by Matt Chiste
Well, after a little bit of a false start, intrepid reader Brad Styve noticed that our binaries for WebCenter Interaction 10gR4 – a.k.a. “Neo” – are finally available as of yesterday. As he points out, there are now “three installers to rule them all”. That is, many of the separate installers you had to work through in the past – Portal, Identity Services (LDAP and AD), Crawlers (UCM, Exchange, Windows Files), Dev Tools (IDK, JSR-168), Sharepoint – have now been bundled into the single 1.5GB installer. Couple that with Collab and Analytics, and you’ve got a pretty good foundation for your upgrade or install process.
Contrary to my previous report, you can still find the installation package in the usual “Oracle BEA” media pack, and the installers sit alongside all the others:

Still painfully missing is Publisher, which technically isn’t supported on the new Windows platforms (Windows Server 2008, SQL Server 2008). And since Publisher needs to reside in the same database as the portal, well, this stack still isn’t “fully supported” if your IT department is nagging you to get your existing portal stack off Windows Server 2003 or SQL Server 2005. I’m still looking for an official (or unofficial) response from Oracle on this oversight: we know Publisher is end-of-life’d, but are we at least going to get the existing Publisher 6.5 binaries certified on these platforms? Or is the official party line that we HAVE to move to UCM? And if so, where are the migration tools?
Oh, and while we’re “nitpicking” (if you could call such a glaring omission “nitpicking”), Brad mentions that he’s been informed there are over 200 bug fixes. Sooo… why isn’t Oracle providing a list of significant fixes in this release like they have in every past release? I mean, the release notes list 36 “known issues”, but has no “resolved issues” section. Strange, huh?
Tags: 10gR4, Neo, new release, WCI Posted in Oracle, WebCenter Interaction | Comments Off
|
|
|
December 12th, 2011 by Matt Chiste
Psyche!
Today Oracle announced WCI 10gR4 through their blog and tech network. The problem is: the download isn’t available yet, and there’s already some conflicting information out there.
Following the instructions on the download page, you can see that you’re no longer supposed to find the download via the Oracle Software Delivery Cloud using the “Oracle BEA” Media pack, but the “Oracle Application Server 10g Release 3 (10.1.3) Media Pack”.

No 10.3.3 yet:

Aside from the conflicting information about the version being available and not being there, there’s more conflicting info after the break. Stay tuned, though, as I’m sure this’ll all be worked out soon, and we’ll keep you posted on new features and functionality!
Read the rest of this entry »
Tags: 10gR4, Neo, new release, WCI Posted in Oracle, WebCenter Interaction | 7 Comments »
|
|
|
November 22nd, 2011 by Matt Chiste
Wondering how popular your Plumtree Knowledge Directory documents are? Sure, you could use WebCenter Analytics, but did you know that Plumtree has always captured card download metrics?
Try this query to get hit counts for each card in the KD, and marvel in the awesomeness that is your popular documents – regardless of how many times your Analytics collector dies:
SELECT ptc.name, ptcs.CARDID, ptcs.POPULARITY, ptcs.HITCOUNT, ptcs.LASTHIT
FROM PTCARDSTATISTICS ptcs, PTCARDS ptc
WHERE (LASTHIT > GETDATE() - 30) AND (HITCOUNT > 0) and (ptcs.cardid = ptc.objectid)
ORDER BY HITCOUNT DESC
Interesting side note – notice how all those document hit counts are a multiple of 10? The reason for this is a scalability approach that Plumtree came up with years ago. The idea is that rather than writing to the database every single time a document is downloaded, the code only increases the hit count 10% of the time, but increases the count by 10 each time. So, statistically, the counts are accurate over time, but the database is written to much less frequently.

Tags: Analytics, database, Knowledge Directory, statistics Posted in Knowledge Directory | 4 Comments »
|
|
|
November 18th, 2011 by Matt Chiste
Not happy with that extra click accepting the busted SSL certificate in the ALUI/WCI Configuration Manager? Yeah, me too – that’s like, 47 milliseconds a day of wasted time each day that I’ll never get back:

So, spend 47 seconds to activate HTTP by editing this value in %PT_HOME%\configmgr\2.0\settings\config\private.xml:
<setting name="EAS:httpEnabled">
<value xsi:type="xsd:boolean">true</value>
</setting>
Viola! You now don’t have to use SSL to access the configuration manager. In 1,000 days, your 47 second time investment of time will have paid off:

BTW, you should probably just set the “BEA AL Configuration Manager” service to manual to save a couple megamajigs of RAM – once things are set up you shouldn’t bother leaving the service running anyway.
Oh, and don’t bother wasting the additional 5 minutes trying to turn on Basic Authentication because you think all the cool kids are doing it. That janx don’t work:
<!-- Authentication type. Should be blank for none, and set to either "JAAS" or "BASIC" if enabled. -->
<setting name="EAS:authType">
<value xsi:type="xsd:string">BASIC</value>
</setting>
<!-- EAS:basicAuthUser = username of the sole user allowed to access this server. Note: This user is given the role EAS:name iff authtype == "BASIC" then this setting takes effect -->
<setting name="EAS:basicAuthUser">
<value xsi:type="xsd:string">user</value>
</setting>
<!-- EAS:basicAuthUser = password of the sole user allowed to access this server. Note: This user is given the role EAS:name iff authtype == "BASIC" then this setting takes effect -->
<setting name="EAS:basicAuthPassword">
<value xsi:type="xsd:string">password</value>
</setting>
Tags: configuration Posted in WebCenter Interaction | Comments Off
|
|
|
November 15th, 2011 by Matt Chiste
Publisher has a configuration setting in content.properties that allows it to connect directly to the imageserver. Why? Well, the comment in the file describes it appropriately enough:
# JSComponents need to directly access the imageserver from the Publisher
# machine in order to obtain some configuration information. By default it uses
# the image server URL which is provided by the portal for portal end-users,
# but you may also specify an alternate image server URL to be tried first instead,
# such as in the case where the system topography prevents the Publisher
# from accessing that end-user URL.
#JSComponents.AlternateImageServerUrl=http://machinehost:port/imageserver
Problem is, it doesn’t seem to work for the diagnostic tool, and may not work when Publisher needs to load community-themes.txt (which it needs in order to provide the style sheet drop-down for header portlets). So Publisher still needs to connect to the image server – but if the image server is configured to only use SSL, you’re likely going to see an error like this:

Exception Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
The solution – import the SSL certificate from the imageserver – is after the break.
Read the rest of this entry »
Tags: configuration, Publisher, ssl Posted in Publisher | Comments Off
|
|
|
November 12th, 2011 by Matt Chiste
Recently we discussed the Experience Definition Debug page. It’s pretty straight-forward: turn on debug mode in Portal Administration, then click the “Show Debug Messages” link that shows up in the WCI header.
But, what if you’ve customized the portal navigation and aren’t using the out-of-the-box header bar? We’ve gotchya covered – there are actually three ways this can be done.
Add the Adaptive Tags to your own header
The following code comes from \imageserver \plumtree\portal \private\pagelayouts \basepagelayout.html. You can stick this code into any header (or footer, or portlet) to get the Debug link to show up, and it will only show up for the appropriate users.
<pt:core.comment><!-- DCA - get the Rules Debug link; if we don't have access to the rules debug page, the variable won't exist --></pt:core.comment>
<pt:ptdata.rulesdebugdata pt:id="rulesDebugLink" />
<pt:logic.existexpr pt:data="rulesDebugLink" pt:key="canAccessRulesDebug"/>
<pt:logic.if pt:expr="$canAccessRulesDebug">
<pt:logic.iftrue>
<pt:core.comment><!-- DCA - there should only be 1 --></pt:core.comment>
<pt:logic.foreach pt:data="rulesDebugLink" pt:var="link">
<li><pt:core.html pt:tag="a" target="_blank" href="$link.url"><pt:core.html pt:tag="img" src= "pt://images/plumtree/portal/private/img/icon_subportal_rule.gif" alt="$link.title"/></pt:core.html><pt:core.html pt:tag="a" target="_blank" href="$link.url"><pt:logic.value pt:value="$link.title"/></pt:core.html></li> &nbsp;|
</pt:logic.foreach>
</pt:logic.iftrue>
</pt:logic.if>
Access the URL
The debug Messages page is available at /portal /server.pt? open=space &name=RulesDebugMSGAS. You can just drop that URL in there and the browser should display the debug page if you have access.
Use the MemoryDebug space
Finally, the portal session object stores this information so that it can be accessed through the MemoryDebug page we’ve discussed before. Just flip your URL to /portal /server.pt /debug /memory and you’ll see something that’s a little less readable, but still a functional alternative to the above two methods:

One caveat to all of these methods is if you have Community-based rules. Because sometimes the debug page itself applies its own URL for the rules, in some cases that means you’re no longer in any communities, so that could mean you get a false-negative for that condition. Your mileage may vary.
Tags: debug, Experience Definition, hack Posted in WebCenter Interaction | Comments Off
|
|
|
November 9th, 2011 by Matt Chiste
As we continue to prepare for a Post-WCI world, you’ll see this blog starting to highlight other best-of-breed products and challenges we’ve overcome with them. Today’s post is related to the fact that Atlassian’s Confluence doesn’t support Internet Explorer 9 (in version 3.4), and how we addressed it with our client.
In analyzing our logs, fewer than 5% of our roughly 5,000 users were actually using IE9. And in our testing, most of the site worked with IE9, so we didn’t want to prevent these users from accessing the majority of the site. Finally, we didn’t want to send an email or put a message on the site that didn’t apply to the other 95% of users. The solution? A piece of Javascript in the header that would display a warning to only those users accessing the site with IE9:

Read the rest of this entry »
Tags: Internet Explorer, javascript, post-WCI, version Posted in Coding Tricks | Comments Off
|
|
|
November 6th, 2011 by Matt Chiste
In Plumtree they were called Subportals. In Aqualogic the name was changed to Experience Definitions, and they continued to evolve in WebCenter Interaction with the introduction of Adaptive Layouts.
Experience Definitions are useful constructs in the portal that allow you to customize the header/footer, navigation, and Adaptive Layouts based on Experience Rules – which can be applied based on the host IP, community, user/group, or user-agent header. So you can apply different rules based on any of those criteria and heavily customize the experience based on any of those conditions.

An useful feature that was introduced with Experience Definitions was the “Debug Mode”, which can be accessed from Administration -> Select Utility -> Portal Settings -> User Settings Manager:

When this option is selected, a new link for “Show Debug Messages” is shown in the standard topbar, or in the out-of-the-box Adaptive Layout:

From this link, you can see the “Rules Debugging Messages”, which explains each rule, whether it matched the condition, and how long the evaluation took:

Tags: debug, Experience Definition, hack Posted in WebCenter Interaction | 1 Comment »
|
|
|
November 3rd, 2011 by Matt Chiste
By now you’re probably tired of the Knowledge Directory saga related to opening KD documents in WebCenter Interaction, but it’s a pretty serious problem. I’ve posted several solutions, but have come across a new problem with the original OpenerFilter configuration. Specifically, for some IE and Office configurations, Office 2007 and Office 2010 documents don’t open properly because the original configuration file used non-specific MIME types.
You can view the original post for the source code and a description of how this filter works, but recently I’ve discovered that the MIME types in the original post should be updated for recent Office documents (.docx and .xlsx). Instead of “application/msword”, the config file should use the MIME types provided by Microsoft. Specifically, the configuration file for OpenerFilter should look more like the following:
<?xml version="1.0"?>
<IntegrystOpener>
<default>
<removeContentDisposition value="0" />
<replaceContentDispositionWithInline value="1" />
<fixContentType value="1" />
</default>
<extension-map>
<doc value="application/msword" />
<dot value="application/msword" />
<dotx value="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
<docx value="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
<xlt value="application/vnd.ms-excel" />
<xls value="application/vnd.ms-excel" />
<xlst value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
<xlsx value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
<pdf value="application/pdf" />
<gif value="application/octet-stream" />
<jpg value="application/octet-stream" />
<png value="application/octet-stream" />
</extension-map>
</IntegrystOpener>
Tags: appforthat, hack, Knowledge Directory, mime, Office Posted in App For That, Knowledge Directory | Comments Off
|
|
|
October 31st, 2011 by Matt Chiste
I don’t think Oracle even bothered renaming Aqualogic Studio to WebCenter Studio – hell, even BEA never touched Studio after it acquired Plumtree – so whatever you call it, Studio is dead and has long been abandoned. I made a case to Oracle once it should just be open-sourced, and was laughed out of the (virtual) room….
Today’s post is about this long-dead product that a surprising number of Plumtree customers just can’t seem to shake – it provides just enough functionality to be functional for end users.
First of all: Migrate to Frevvo. Even if you don’t use Integryst’s Frevvo integration, Frevvo is how form building and workflows should have been implemented. Maybe Studio would have become this if it hadn’t been abandoned so many years ago, but really, if you have serious electronic forms and workflow needs you shouldn’t be using Plumtree Studio any more.
BUT, if you absolutely INSIST on clinging to Studio, let’s take a trip down memory lane. My very first blog post discussed an Easter Egg in Studio, but it’s worth mentioning that this Easter Egg isn’t just for playing Tetris.
Let’s say you want to change the text of a button to a different language. When you’re editing any Studio portlet, hit CTRL-ALT-? (Or, CTRL-ALT-SHIFT-/. You’ll figure it out.) to bring up the popup:

From here, click “Edit XML”, find the text of the button you want to change and update it:

Now no text in your form is out of reach. The above warning is pretty clear about being careful here, but editing the text is pretty straight-forward.

Parlez-Vous Français?
Tags: Frevvo, hack, Studio Posted in Frevvo, Studio | Comments Off
|
|
|