<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)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="metricconverter"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0mm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:Verdana;
color:maroon;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=NL link=blue vlink=purple>
<div class=Section1>
<div>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>I’m currently upgrading my source code from
OpenCms version 5.0.1 to 6 beta 1 Corrin.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Platform information;<o:p></o:p></span></font></p>
<p class=MsoNormal><span class=small1><font size=2 face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>Running on Sun
Microsystems Inc. Java HotSpot(TM) Server VM 1.4.2_06-b03 mixed mode with
Windows XP 5.1 (x86)</span></font></span><span class=small1><span lang=EN-GB><o:p></o:p></span></span></p>
<p class=MsoNormal><span class=small1><font size=2 face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>MySQL 4.1.8 database
server<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=small1><font size=2 face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana'><o:p> </o:p></span></font></span></p>
<p class=MsoNormal><b><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-weight:bold'>My code contained
the following lines;</span></font></b><b><span lang=EN-GB style='font-weight:
bold'><o:p></o:p></span></b></p>
<p class=MsoNormal><i><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-style:italic'>com.opencms.flex.jsp.CmsJspActionElement
action = new CmsJspActionElement(pageContext, request, response);<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-style:italic'>com.opencms.file.CmsObject
cms = action.getCmsObject();<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-weight:bold'>wich I changed
to;<o:p></o:p></span></font></b></p>
<p class=MsoNormal><i><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-style:italic'>org.opencms.jsp.CmsJspActionElement
action = new CmsJspActionElement(pageContext, request, response);<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-style:italic'>org.opencms.file.CmsObject
cms = action.getCmsObject();<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-weight:bold'>I get the
following error;<o:p></o:p></span></font></b></p>
<p class=MsoNormal><i><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;font-style:italic'>Unable to
compile class for JSP <br>
<br>
An error occurred at line: <st1:metricconverter ProductID="23 in" tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on">23 in</st1:metricconverter> the jsp file:
/WEB-INF/jsp/offline/system/modules/private/jsptemplates/private.jsp <br>
<br>
Generated servlet error: <br>
[javac] Compiling 1 source file <br>
<br>
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\enterdex\WEB-INF\jsp\offline\system\modules\private\jsptemplates\private_jsp.java:70:
cannot access <b><span style='font-weight:bold'>com</span></b>.opencms.file.CmsObject
<br>
file <b><span style='font-weight:bold'>com</span></b>\opencms\file\CmsObject.class
not found <br>
String FLAG=ParameterContentDefinition.getParameterText(cms, "1005");<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Why is the CmsObject.class file still linked with
the .com instead of the .org domain?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Thx. Nico.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=maroon face=Verdana><span
style='font-size:11.0pt;font-family:Verdana;color:maroon'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>