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)
Templating Error Page
mmadhu
Hi,
We are using Interwoven Team Site version 5.5.2. While creating new DCR or opening an existing DCR it is giving following error, even though the datacapture.cfg file is fine.
“Templating Error Page
Exception while parsing templating.cfg”
The servlet logs are:
java.lang.ArrayIndexOutOfBoundsException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
at com.interwoven.xml100.xml.TXMLParser.parse(TXMLParser.java:127)
at com.interwoven.xml100.xml.TXMLParser.Parse(TXMLParser.java:115)
at com.interwoven.xml100.xml.TXMLParser.Parse(TXMLParser.java:98)
at com.interwoven.templating.TmplCfgInitObj.getTmplCfg(TmplCfgInitObj.java:43)
at com.interwoven.templating.TemplatingServlet.getTmplCfgObj(TemplatingServlet.java:331)
at com.interwoven.templating.DatacaptureServlet.getDataType(DatacaptureServlet.java:323)
at com.interwoven.templating.DatacaptureServlet.doOpenDCR(DatacaptureServlet.java:1069)
at com.interwoven.templating.DatacaptureServlet.doGet(DatacaptureServlet.java:128)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at com.interwoven.framework.base.FrameworkServlet.service(FrameworkServlet.java:66)
at com.interwoven.framework.auth.AuthServlet.service(AuthServlet.java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:423)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
2004-11-10 07:04:20 - Ctx( /iw/webdesk ): Exception in: R( /iw/webdesk + /templating/templatingErrorPage.jsp + null) - java.lang.NullPointerException
at com.interwoven.templating.DatacaptureServlet.getDataType(DatacaptureServlet.java:332)
at com.interwoven.templating.DatacaptureServlet.doOpenDCR(DatacaptureServlet.java:1069)
at com.interwoven.templating.DatacaptureServlet.doGet(DatacaptureServlet.java:128)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at com.interwoven.framework.base.FrameworkServlet.service(FrameworkServlet.java:66)
at com.interwoven.framework.auth.AuthServlet.service(AuthServlet.java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:423)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
We already have checked the templating.cfg file, permissions, replaced it, recreated it using contentlevels.xml file but nothing is working. Any pointers will be helpful.
Thanks in advance,
Find more posts tagged with
Comments
Migrateduser
Hi mmadhu,
according to the error message it seems that the issues are not within the datacapture.cfg but in configuration file templating.cfg
“Templating Error Page
Exception while parsing templating.cfg”
Could it be any 'invisible' problems with this one, such as junk characters in beginning of file? Perhaps you should attach the file and perhaps someone can have look at it.
# Martin
mmadhu
i already have checked the templating.cfg file and have tried all the permutions and combinations with it. i have checked for special characters also.
But it seems that the server is trying to look for the templating.cfg file on local machine.it is also asking to install team site templatinf client.
is there any configuration on server we specify that look for the templating.cfg at this location. and where we can hardcode the location of cfg file.
Migrateduser
When did your problems start? Is this a new installation/upgrade? Did it work before?
What do you mean when you say it's trying to look for templating.cfg on local machine? and what do you mean by templating client (java?)
Did you change the location of templating.cfg?
# Martin
gzevin
we had a number of issues in temaplating.cfg, mostly caused by XML comments, that the parser somehow refused to handle. It was in pre-6 teamsite.
removal of comments did heal the file..
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
mmadhu
no, it is neither new installation nor any upgrade. it just happened that we start getting this error message.
it asks for installing team site clent (ya, java client)on local manchine from server and when i install this client on my machine and when i access the server it opens the dcrs in that team site client rather than in IE.
is there any way we can change the behaviour?
No i haven't changed the path of cfg file. Where to specify the path for templating.cfg file on server.
mmadhu
sorry, but we dont have even a single comment in templating.cfg file.
Migrateduser
I don't think it's possible to change the location of templating.cfg.
In iw.cfg you have a setting for the java client in section teamsite_templating, and you should also be able to change the templating in the view-menu (at least in webdeskpro).
iw.cfg:
[teamsite_templating]
use_java_ui=true
# Martin
mmadhu
we have option in team site GUI also to change the templating view from java to browser. it is fine about the client but i am still getting the error message while creating new dcr or opening existing one DCr.
When i changed it from browser to java i was able to create the DCr but by changing it to browser based it is showing same templating error message.
Jeremy
Hi Madhu,
Hows things going with you?
Could you maybe post your templating.cfg so we can take a look to see if we can see anything strange?
I have seen that sometimes some text editors put strange characters at the begining of the file, making it corrupt for Teamsite. Try opening templating.cfg in something like WordPad and see if there are any strange chars at the top?
Just a shot in the dark though.
Jeremy
mmadhu
Everything is fine other than this Team Site.
i have checked the file in vi editor but i am not able figure out anything...hope you can find something.
nipper
I checked it with iwxml_validate and it is good XML. If I get a chance I will load it on the dev server & see what happens.
nipper
I loaded it on my system and the got an error that no DCRs available for my branch (which is what I expected). The templating.cfg you posted it good. Did you get it straight from /iw-home/local/config ?
Andy