vanastrios
Posts: 5
|
Posted: 06/14/2007, 4:38 AM |
|
Hi,
from time to time in my application the following error occurs. The page has display errors. When I reload the page, the error will not occur again.
Any suggestions why the failure occurs and how I can solve the problem?
Regards
vanastrios
ERROR: missing end of block 'main'
java.lang.ArrayIndexOutOfBoundsException: -1
at com.codecharge.template.TemplateParser.getBlock(TemplateParser.java:3
44)
at com.codecharge.template.TemplateParser.parse(TemplateParser.java:159)
at com.codecharge.template.CCSTemplate.load(CCSTemplate.java:75)
at com.codecharge.View.init(View.java:1552)
at Header.HeaderView.getContent(HeaderView.java:26)
at com.codecharge.ViewerServlet.service(ViewerServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:301)
at com.codecharge.ControllerServlet.passControl(ControllerServlet.java:1
20)
at com.codecharge.ControllerServlet.service(ControllerServlet.java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSock
et.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
|
|
|
fady005
Posts: 115
|
Posted: 06/18/2007, 1:02 AM |
|
What's the jsp server you're using ?
_________________
Be inventive ! |
|
|
vanastrios
Posts: 5
|
Posted: 06/18/2007, 1:15 AM |
|
I use Tomcat 5.5.20 as application server.
|
|
|
fady005
Posts: 115
|
Posted: 06/18/2007, 2:04 AM |
|
Then I don't really know what's the problem... I think that it happen when not having enough free RAM...
_________________
Be inventive ! |
|
|
vanastrios
Posts: 5
|
Posted: 06/18/2007, 7:15 AM |
|
That should not be the reason. I'm currently using the application only on my own. How can I increase the memory used by the application? How can I improve the applications performance?
|
|
|
fady005
Posts: 115
|
Posted: 06/19/2007, 2:44 AM |
|
I don't know how to change memory allocation but when using the server, the ram is very solicited and the server generate some error...
PS: I've 512Mb and I have errors sometimes...
_________________
Be inventive ! |
|
|
vanastrios
Posts: 5
|
Posted: 06/19/2007, 3:06 AM |
|
The display errors are annoying, even when they occur without showing any error in the tomcat logs or in the application.
It would be nice to find a solution somehow.
|
|
|
fady005
Posts: 115
|
Posted: 06/19/2007, 4:11 AM |
|
If you have the possibility, use two PC one for the server and another for the client and you'll normally have less errors
_________________
Be inventive ! |
|
|
miko
Posts: 50
|
Posted: 06/19/2007, 4:18 AM |
|
I think the best way to solve this problem is to contact with support (http://support.yessoftware.com).
_________________
Regards,
Michael |
|
|