SV: [opencms-dev] 500 - internal server error

Felix Sprick felix.sprick at netlight.se
Mon Oct 23 17:05:29 CEST 2006


Thanks for the quick reply, Jon. 

Publishing the entire website was the first thing I tried. I even installed
openCMS (6.2.2) from scratch on another server, imported my project files
and got the same error message. 

What do you exactly mean by “doing something which explicitly relies on the
identity”?  My jsp ( the template) uses some scriptlet methods such as
getContent on the CmsJspActionElement object, which I initialize like this:

 

CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
response);

 

However, you seem to be right with your guess, because I tried to invoke a
test html file at http://localhost:8080/opencms/opencms/mypage/test.html
(using templateOne) and it worked. So obviously I am doing something
strangein my template, but how do I know what I can do and what not?

 

Thanks,

Felix

 

 

 

  _____  

Från: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] För Jonathan Woods
Skickat: den 23 oktober 2006 16:53
Till: 'The OpenCms mailing list'
Ämne: RE: [opencms-dev] 500 - internal server error

 

Felix -

 

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.

 

Jon

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Felix Sprick
Sent: 23 October 2006 15:48
To: 'The OpenCms mailing list'
Subject: [opencms-dev] 500 - internal server error

Hi all,

 

I encounter a very strange behavior of openCMS. When I try to access my page
at http://localhost:8080/opencms/opencms/mypage/index.html I get a 500
internal server error message like this:


A server error occured!


Server error 500


Internal Server Error


The server encountered an unexpected condition which prevented it from
fulfilling the request.

The server cannot complete the request because it encountered an error.

Please try it again in a few minutes, or contact the server administrator. 

 

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 http://localhost:8080/opencms/opencms and retry
to invoke http://localhost:8080/opencms/opencms/mypage/index.html 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 http://localhost:8080/opencms/opencms/index.jsp 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
!?

 

Any ideas?

 

Thanks,

Felix

 

 

Felix Sprick

----------------------------------------------

 

NetLight Consulting AB
 <http://www.netlight.se/>  <http://www.netlight.se/> www.netlight.se

Södermälarstrand 27B

118 25 Stockholm

 

Mobil:       +46(0)735-418125
Tel:          +46(0)8-616 99 40
Fax:         +46(0)8-616 66 50

Email:         felix.sprick <mailto:felix.sprick at netlight.se>
<mailto:felix.sprick at netlight.se> @netlight.se

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061023/2115cf33/attachment.htm>


More information about the opencms-dev mailing list