Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
LiveSite PageGenerator class on Solaris
djtangman
We are trying to get workflow to automatically generate HTML for every LiveSite page that is submitted to workflow. This is a very important thing to do, since many of our users will be using the ContentCenter standard interface, and there is no "Generate HTML" command accessible from the CC Standard.
The TeamSite knowledgebase only references a livesite_java.bat file for Windows platform. This .bat file is a wrapper for java.exe and invokes the com.interwoven.livesite.tools.PageGenerator class. There is no mention of a similar ".sh" file for Solaris/Unix, so we went ahead and created one. (Actually a consultant that we have been working with received it time ago and pass it along to us). I have attached the livesite_java.sh file for any of you out there who might have need of it.
Anyway, we have modified the .ipl for an external task to invoke this livesite_java.sh script, and it trys to execute, but gets the following error:
Sat Aug 25 08:20:39 2007 - gen_cmd = /usr/iw-home/local/config/wft/custom/LSI/livesite_java.sh com.interwoven.livesite.tools.PageGenerator dtangman master /usr/iw-home/tmp/wft_livesite_generate_html_20070825-082039.properties /default/main/insight/WORKAREA/insight-01/sites/insight
com.interwoven.cssdk.access.CSAuthenticationException: (Authentication error)
at com.interwoven.cssdk.access.jni.CSUserJNIServer.beginSessionUsingFile(Native Method)
at com.interwoven.cssdk.access.jni.AccessServiceAdapterImpl.beginSessionUsingFile(AccessServiceAdapterImpl.java:82)
at com.interwoven.cssdk.factory.CSLocalFactory.getClientForTrustedUser(CSLocalFactory.java:132)
at com.interwoven.livesite.iw.servlet.LiveSiteContext.getClient(LiveSiteContext.java:431)
at com.interwoven.livesite.iw.servlet.LiveSiteContext.init(LiveSiteContext.java:499)
at com.interwoven.livesite.tools.CommandLineTool.(CommandLineTool.java:94)
at com.interwoven.livesite.tools.PageGenerator.(PageGenerator.java:64)
at com.interwoven.livesite.tools.PageGenerator.main(PageGenerator.java:301)
Exception in thread "main" com.interwoven.cssdk.access.CSAuthenticationException: (Authentication error)
at com.interwoven.cssdk.access.jni.CSUserJNIServer.beginSessionUsingFile(Native Method)
at com.interwoven.cssdk.access.jni.AccessServiceAdapterImpl.beginSessionUsingFile(AccessServiceAdapterImpl.java:82)
at com.interwoven.cssdk.factory.CSLocalFactory.getClientForTrustedUser(CSLocalFactory.java:132)
at com.interwoven.livesite.iw.servlet.LiveSiteContext.getClient(LiveSiteContext.java:431)
at com.interwoven.livesite.iw.servlet.LiveSiteContext.init(LiveSiteContext.java:499)
at com.interwoven.livesite.tools.CommandLineTool.(CommandLineTool.java:94)
at com.interwoven.livesite.tools.PageGenerator.(PageGenerator.java:64)
at com.interwoven.livesite.tools.PageGenerator.main(PageGenerator.java:301)
The user and role used to invoke this class is and the role is as can be seen, and in our system, that is a valid user and role for that user. The stack dump above indicates that the PageGenerator class is failing at the "getClient" call, and is producing an "Authentication Exception".
The livesite_java.sh has been placed in the $iw-home/local/config/wft/custom/LSI directory, but we have assumed that this doesn't matter (does it?)
Anyone have any ideas on what is going wrong for me here and what I might be able to do to get the PageGenerator class to work for us?
Thanks ahead of time!
Find more posts tagged with
Comments
There are no comments yet