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)
CSSDK - Factory initialization failed
Premshan
I have an app which has a link to the TeamSite GUI. The link when clicked calls a LoginServlet, which has the below code.
The LoginServlet has code to create an object of CSFactory. But I keep getting this exception.
[STDOUT] Cookie Setting exception:com.interwoven.cssdk.factory.CSFactoryInitializationException: (Factory initialization failed)
Can you please help me determine why I keep getting the error.
Here is the code for the factory
Properties props = new Properties();
props.setProperty("cssdk.cfg.path", CFG_PATH);
props.setProperty("com.interwoven.cssdk.factory.CSFactory", FACTORY);
return CSFactory.getFactory(props);
CFG_PATH points to the correct path for cssdk.cfg and the value of FACTORY is com.interwoven.cssdk.factory.CSLocalFactory
The servlet is accessed using the url, /iw-cc/LoginServlet?tsrole=master&iw_which_ui=ccpro
Version of TeamSite : 7.2.1
Find more posts tagged with
Comments
Untak
Instead of CSFACTORY use
com.interwoven.cssdk.factory.CSJAVAFactory
for more info check CSSDK docs. You can check the same in 6.7.1 docs also.
Premshan
Thanks Untak. Your suggestion fixed the issue that I was having. Thanks again !