<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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:ns0 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR><o:SmartTagType
downloadurl="http://www.5iamas-microsoft-com:office:smarttags" name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iantlavalamp.com/" name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="State"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Courier;
}
@font-face {
font-family: Verdana;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
H3 {
FONT-WEIGHT: bold; FONT-SIZE: 13.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
H4 {
FONT-WEIGHT: bold; FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.E-postmall17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=348415114-23102006><FONT face=Arial
color=#0000ff size=2>Felix -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=348415114-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=348415114-23102006><FONT face=Arial
color=#0000ff size=2>Unless your JSP is doing something which explicitly relies
on the identity of the project the user is 'in', it sounds like index.jsp, or
resources on which it relies, are not the same in your online project as in your
offline project. If you publish everything, you shouldn't see this
error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=348415114-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=348415114-23102006><FONT face=Arial
color=#0000ff size=2>Jon</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Felix
Sprick<BR><B>Sent:</B> 23 October 2006 15:48<BR><B>To:</B> 'The OpenCms mailing
list'<BR><B>Subject:</B> [opencms-dev] 500 - internal server
error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi all,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I encounter a very strange behavior
of openCMS. When I try to access my page at <A
href="http://localhost:8080/opencms/opencms/mypage/index.html">http://localhost:8080/opencms/opencms/mypage/index.html</A>
I get a 500 internal server error message like
this:<o:p></o:p></SPAN></FONT></P>
<H3><B><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">A server error
occured!<o:p></o:p></SPAN></FONT></B></H3><!-- Status error messages start -->
<H4><B><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Server error
500<o:p></o:p></SPAN></FONT></B></H4>
<H3><B><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Internal Server
Error<o:p></o:p></SPAN></FONT></B></H3>
<P><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">The server encountered an
unexpected condition which prevented it from fulfilling the
request.<o:p></o:p></SPAN></FONT></P><!-- Status error messages end -->
<P><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">The server cannot complete the
request because it encountered an error.<o:p></o:p></SPAN></FONT></P>
<P><FONT face=Courier size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Please try it again in a few
minutes, or contact the server administrator. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The weird thing about that is, this
index.html works fine when I look at the preview from within the openCMS
explorer. And even weirder: when I invoke the openCMS default page at <A
href="http://localhost:8080/opencms/opencms">http://localhost:8080/opencms/opencms</A>
and retry to invoke <A
href="http://localhost:8080/opencms/opencms/mypage/index.html">http://localhost:8080/opencms/opencms/mypage/index.html</A>
again, it works fine. I can call every page of my website without any problems.
But when I close the browser-window (i.e. close the session), and try again, I
am getting the 500 error code again. So what is happening? Does the default
index.jsp page at <FONT color=blue><SPAN style="COLOR: blue"><A
href="http://localhost:8080/opencms/opencms/index.jsp">http://localhost:8080/opencms/opencms/index.jsp</A>
</SPAN></FONT>initialize some kind of session? How can I avoid that, since I
can’t ask all visitors of the website to open the openCMS default page first in
order to view my website…!?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any
ideas?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Felix<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Felix
Sprick</SPAN></FONT></B><SPAN lang=EN-GB><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">----------------------------------------------</SPAN></FONT></B><SPAN
lang=EN-GB><o:p></o:p></SPAN></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt">NetLight <ns0:place w:endInsDate="2006-10-23T16:39:00Z"
w:endInsAuthor="Felix" w:insDate="2006-10-23T16:39:00Z"
w:insAuthor="Felix"><ns0:City w:endInsDate="2006-10-23T16:39:00Z"
w:endInsAuthor="Felix" w:insDate="2006-10-23T16:39:00Z"
w:insAuthor="Felix">Consulting</ns0:City> <ns0:State
w:endInsDate="2006-10-23T16:39:00Z" w:endInsAuthor="Felix"
w:insDate="2006-10-23T16:39:00Z"
w:insAuthor="Felix">AB</ns0:State></ns0:place><BR></SPAN></FONT><FONT
face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A
title=http://www.netlight.se/
href="http://www.netlight.se/"></A></SPAN></FONT><FONT face=Verdana size=2><SPAN
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><SPAN
title=http://www.netlight.se/><A href="http://www.netlight.se/"><SPAN
title=http://www.netlight.se/><SPAN
title=http://www.netlight.se/>www.netlight.se</SPAN></SPAN></A></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Södermälarstrand
27B</SPAN></FONT><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">118 25 <ns0:City
w:endInsDate="2006-10-23T16:39:00Z" w:endInsAuthor="Felix"
w:insDate="2006-10-23T16:39:00Z" w:insAuthor="Felix"><ns0:place
w:endInsDate="2006-10-23T16:39:00Z" w:endInsAuthor="Felix"
w:insDate="2006-10-23T16:39:00Z" w:insAuthor="Felix"><st1:City
w:st="on"><st1:place
w:st="on">Stockholm</st1:place></st1:City></ns0:place></ns0:City><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Mobil:
+46(0)735-418125<BR>Tel:
+46(0)8-616 99 40<BR>Fax:
+46(0)8-616 66 50<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Email:
</SPAN></FONT><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A
href="mailto:felix.sprick@netlight.se">felix.sprick</A><A
title="mailto:johan.berggren@netlight.se
mailto:mandus.engman@netlight.se"
href="mailto:felix.sprick@netlight.se"><FONT color=black><SPAN lang=EN-GB
style="COLOR: windowtext; TEXT-DECORATION: none"><SPAN
title=mailto:johan.berggren@netlight.se><SPAN
title=mailto:johan.berggren@netlight.se><SPAN
title="mailto:johan.berggren@netlight.se
mailto:mandus.engman@netlight.se">@netlight.se</SPAN></SPAN></SPAN></FONT></SPAN></A></SPAN></FONT><FONT
face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>