<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>No Export Directory</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:Arial;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1852184320;
mso-list-type:hybrid;
mso-list-template-ids:-1802448380 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>You are right about the export directory – it’s
created at runtime and serves as a disk cache of sorts. As far as I can
tell, export doesn’t work correctly on weblogic. To get things to display
correctly on weblogic 8.1, I had to do three things:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal style='color:navy;mso-list:l0 level1 lfo1'><font size=2
color=navy face=Arial><span style='font-size:10.0pt'>disable static export
(in WEB-INF/config/opencms-importexport.xml)<o:p></o:p></span></font></li>
<li class=MsoNormal style='color:navy;mso-list:l0 level1 lfo1'><font size=2
color=navy face=Arial><span style='font-size:10.0pt'>change the
permissions on /system/workplace/commons/style/ to allow Guests Read
access<o:p></o:p></span></font></li>
<li class=MsoNormal style='color:navy;mso-list:l0 level1 lfo1'><font size=2
color=navy face=Arial><span style='font-size:10.0pt'>modify the code in CmsFlexResponse
to enforce the rule that content-type can only be set once per response (I
am going to submit this code change to <a
href="mailto:contributions@opencms.org">contributions@opencms.org</a> later
today or early tomorrow). The weblogic servlet container was
incorrectly sending back a content-type of “text/html” for CSS
pages, which broke the rendering in many browsers.<o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>If you figure out how to make static export work, please let
me know.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>jason<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face=Arial><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>lee.cooper@bt.com<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 01, 2005
6:47 AM<br>
<b><span style='font-weight:bold'>To:</span></b> opencms-dev@opencms.org.<br>
<b><span style='font-weight:bold'>Subject:</span></b> [opencms-dev] No Export
Directory</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt'>Two days ago I
downloaded</span></font> <a
href="file:///\\export\download\opencms\opencms_6.0.0.zip"><font
face="Times New Roman"><span style='font-family:"Times New Roman"'>opencms_6.0.0.zip</span></font></a><font
face="Times New Roman"><span style='font-family:"Times New Roman"'> and
successfully deployed it too a Weblog 8.1, Oracle 9 environment. However
when I view the interface it is distorted. After further investigation I
realised the Admin pages could not reference the workplaces style sheet.
At first I thought this was a context issue. However I discovered the
export directory did not exist in the war file.</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
font-family:"Times New Roman"'>Am I missing something as far as I can tell
there should be an export directory in the root of the application that
contains .css files and other resources.</span></font><o:p></o:p></p>
<p><b><font size=2 face=Arial><span style='font-size:10.0pt;font-weight:bold'>Lee
Cooper</span></font></b> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt'>BT Rich Media</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>199 - 204 High Holborn,</span></font>
<br>
<st1:place w:st="on"><st1:City w:st="on"><font size=2><span style='font-size:
10.0pt'>London</span></font></st1:City><font size=2><span style='font-size:
10.0pt'>, </span></font><br>
<st1:PostalCode w:st="on"><font size=2><span style='font-size:10.0pt'>WC1V 7BU</span></font></st1:PostalCode></st1:place><font
size=2><span style='font-size:10.0pt'>.</span></font> <br>
<st1:City w:st="on"><st1:place w:st="on"><font size=2><span style='font-size:
10.0pt'>Mobile</span></font></st1:place></st1:City><font size=2><span
style='font-size:10.0pt'>: 07921181242</span></font> <o:p></o:p></p>
</div>
</div>
</body>
</html>