velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E.R. van Es" <e...@cdls.nl>
Subject curious about stack trace...
Date Thu, 27 Apr 2006 08:37:47 GMT
Hi,

  I'm running a velocity view servlet on a sun application server 9 
(wich is beta, i know... just testing Java EE 5) and I get this stack 
trace when un-deploying my application.  It seems to do with 
initialization of velocity wich has left open the input stream for 
reading the properties, wich strikes me as odd because it's fully 
functional while deployed, so all properties are read and well.  Never 
got this in my j2ee 1.4, jboss 4.0.3sp1 enviroment...  Anyone knows what 
happens here?  Does this have anything to do with velocity anyway?

Greets,
Eric

------ output -------
Input stream has been finalized or forced closed without being 
explicitly closed; stream instantiation reported in following stack trace
java.lang.Throwable
        at 
com.sun.enterprise.loader.EJBClassLoader$SentinelInputStream.<init>(EJBClassLoader.java:1093)
        at 
com.sun.enterprise.loader.EJBClassLoader$InternalJarURLConnection.getInputStream(EJBClassLoader.java:1186)
        at java.net.URL.openStream(URL.java:1007)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1161)
        at 
com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoader.java:752)
        at java.lang.Class.getResourceAsStream(Class.java:1998)
        at 
org.apache.velocity.runtime.RuntimeInstance.setDefaultProperties(RuntimeInstance.java:315)
        at 
org.apache.velocity.runtime.RuntimeInstance.initializeProperties(RuntimeInstance.java:443)
        at 
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:225)
        at 
org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:80)
        at 
org.apache.velocity.tools.view.servlet.VelocityViewServlet.initVelocity(Unknown 
Source)
        at 
org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Unknown 
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:262)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)
        at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
        at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:131)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1127)
        at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at 
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:664)
        at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:571)
        at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:846)
        at 
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:345)
        at 
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:237)
        at 
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:240)
        at 
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message