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)
recompile of jsp
bodo
Hi,
I tried to recompile my webapplication as described in an earlier thread:
rename /iw-home/httpd/webapps/webdesk/WEB-INF/web_no_jsp.xml to
/iw-home/httpd/webapps/webdesk/WEB-INF/web.xml.
Finally run /iw-home/bin/iwreset -ui
I did it with root-permissions.
Sounds easy but nothing happened with my datacapture_buttonframe.jsp
I've seen in the web.xml the entry
<servlet>
<servlet-name>templating.datacapture_0005fbuttonframe</servlet-name>
<servlet-class>templating.datacapture_0005fbuttonframe</servlet-class>
</servlet>
and found that datacapture_0005fbuttonframe.
Is it a precompiled class? And how can I
force it to recompile my jsp?
Any Ideas?
Thx in advance,
Bodo
Find more posts tagged with
Comments
Migrateduser
Something is wrong with your web_no_jsp.xml (that you renamed to web.xml). The entries that you see in your web.xml are entries to the JSP. However, web_no_jsp.xml (and thus your web.xml) should have no entries referring to JSPs. Contact Interwoven support and ask for a copy of the web_no_jsp.xml file for your version of install.
--Daniel
Gregg Faus
I'm not sure why this method was recommended. Why not do something far simplier by running this command:
iwperl c:\iw-home\install\install_webapps.ipl -c
You may have to change your path to reflect the iw-home root. Let me know if you want the syntax to recompile just certain apps (i.e. WebDesk) instead of everything.
bodo
Hello Gregg,
Does it recompile the webapp or does it extract the *.war files and all my changes are lost?
Greetings and thanks,
Bodo
Gregg Faus
No it doesn't extract the war files. That is a different option on this script.
bodo
Hi Gregg,
what is the syntax like for a single webapp you talked about? Is it perhaps possible to force only the changed jsp to recompile?
Thx al lot,
Bodo
Gregg Faus
Bodo,
From looking at and running the script this is what seems to compile just the one webapp:
iwperl c:\iw-home\install\install_webapps.ipl -c webdesk
There aren't any ouput messages indicating this, but the code seems to reflect this. Also, this really doesn't speed things up really since most of the compilation is in the webdesk app. The other two apps supported, tsadmin and eventsubsystem, really don't account for much compile time.
This particular script doesn't support compilation of just one jsp page either. You could write a batch file (or perl script) to compile your one page, but I'd recommend just using this script.