This looks like a bug in the Sun java hotspot compiler (the thing that
converts Java bytecode into native code after a certain number of
calls to the same class).

http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English

On Fri, Jul 4, 2008 at 11:45 AM, Rick Root <[EMAIL PROTECTED]> wrote:
> Windows 2k3, Coldfusion 8.0.1 Standard on JDK 1.6.
>
> Is it normal behavior for coldfusion to restart itself for no apparent
> reason?  And by restarting, I mean starting.. restarting implies it's
> stopping.. there's no indication in the server log of it stopping.  It
> must be crashing and crashing hard.
>
> It happened to me today.  A lot.
>
> Nothing of interest in the coldfusion logs or the system event logs...
> the jrun logs show this error though, which is interesting:
>
> 07/03 23:13:53 error The request has been canceled by the
> administrator or by the server.
> coldfusion.monitor.event.MonitoringServletFilter$StopThreadException:
> The request has been canceled by the administrator or by the server.
>        at 
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:65)
>        at 
> coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
>        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
>        at com.seefusion.Filter.doFilter(Filter.java:49)
>        at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1500)
>        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
>        at jrun.servlet.FilterChain.service(FilterChain.java:101)
>        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
>        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
>        at 
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
>        at 
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
>        at 
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
>        at 
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
>        at 
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
>        at 
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
>        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
> 5 seconds later... it looks like CF is starting again.
>
> 07/03 23:13:58 info No JDBC data sources have been configured for this
> server (see jrun-resources.xml)
> 07/03 23:13:59 info JRun Proxy Server listening on *:51800
> 07/03 23:13:59 info Deploying enterprise application
> "Adobe_ColdFusion_8" from: file:/C:/ColdFusion8/
> 07/03 23:14:02 user ColdFusionStartUpServlet: init
> 07/03 23:14:02 user ColdFusionStartUpServlet: ColdFusion: Starting
> application services
> 07/03 23:14:02 user ColdFusionStartUpServlet: ColdFusion: VM version = 
> 10.0-b19
>
> In the jrun coldfusion-out.log, I found this:
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # java.lang.OutOfMemoryError: requested 23970816 bytes for jbyte in
> C:\BUILD_AREA\jdk6_04\hotspot\src\share\vm\prims\jni.cpp. Out of swap
> space?
> #
> #  Internal Error (allocation.inline.hpp:42), pid=4160, tid=3312
> #  Error: jbyte in C:\BUILD_AREA\jdk6_04\hotspot\src\share\vm\prims\jni.cpp
> #
> # Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode windows-x86)
> # An error report file with more information is saved as:
> # C:\ColdFusion8\runtime\bin\hs_err_pid4160.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> Starting Macromedia JRun 4.0 (Build 108673), coldfusion server
>
> So... I looked at the file referenced... and you can view it here:
>
> http://cfm.pastebin.com/f208c730d
>
> Certainly looks like a memory problem but I've never seen CF behave this way.
>
> Anyone care to offer insight?

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308579
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to