camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndyBell <andy.b...@dstglobalsolutions.com>
Subject Camel Web Console and Websphere
Date Tue, 24 Apr 2012 09:24:11 GMT
Hi

I'm using Camel 2.9.1 and have successfully deployed my application to
WebSphere 7.0.0.11, where it works fine.

However, when I try to run the in-built Camel Web Console, it causes an
exception to be thrown. This is the stack trace:

Error Page Exception
SRVE0260E: The server cannot use the error page specified for your
application to handle the Original Exception printed below.

Original Exception:
Error Message: 
Error Code: 500
Target Servlet: null
Error Stack: 
java.lang.NullPointerException 
     at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:115) 
     at
scala.collection.IndexedSeqLike$class.iterator(IndexedSeqLike.scala:90) 
     at scala.collection.mutable.ArrayOps.iterator(ArrayOps.scala:38) 
     at scala.collection.mutable.ArrayOps.seq(ArrayOps.scala:96) 
     at scala.collection.mutable.ArrayOps.seq(ArrayOps.scala:38) 
     at
scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:242) 
     at scala.collection.mutable.ArrayOps.toList(ArrayOps.scala:38) 
     at
org.fusesource.scalate.util.ClassPathBuilder$.getClassPathFrom(ClassPathBuilder.scala:142) 
     at
org.fusesource.scalate.util.ClassPathBuilder.addPathFrom(ClassPathBuilder.scala:68) 
     at
org.fusesource.scalate.util.ClassPathBuilder.addPathFrom(ClassPathBuilder.scala:63) 
     at
org.fusesource.scalate.servlet.ServletTemplateEngine.buildClassPath(ServletTemplateEngine.scala:117) 
     at
org.fusesource.scalate.servlet.ServletTemplateEngine.<init>(ServletTemplateEngine.scala:100) 
     at
org.fusesource.scalate.servlet.TemplateEngineFilter.createTemplateEngine(TemplateEngineFilter.scala:134) 
     at
org.fusesource.scalate.servlet.TemplateEngineFilter.init(TemplateEngineFilter.scala:47) 
     at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:140) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:548) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:462) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:379) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:860) 
     at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:997) 
     at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:985) 
     at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:682) 
     at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826) 
     at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) 
     at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931) 
     at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) 
     at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272) 
     at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) 
     at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:557) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:607) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:984) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1069) 
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550) 
     


Error Page Exception:
Error Message: SRVE0190E: File not found: /WEB-INF/scalate/error.scaml
Error Code: 403
Target Servlet: null
Error Stack: 
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found:
/WEB-INF/scalate/error.scaml 
     at
com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:637) 
     at
com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1180) 
     at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:394) 
     at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:341) 
     at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3262) 
     at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:999) 
     at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:682) 
     at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826) 
     at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) 
     at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931) 
     at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) 
     at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) 
     at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272) 
     at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) 
     at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:557) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:607) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:984) 
     at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1069) 
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550) 
      


I had a bit of a dig around at some code and got to here (line 117)...


https://github.com/scalate/scalate/blob/master/scalate-core/src/main/scala/org/fusesource/scalate/servlet/ServletTemplateEngine.scala


And then here (line 63, 68, 142)...

https://github.com/scalate/scalate/blob/master/scalate-util/src/main/scala/org/fusesource/scalate/util/ClassPathBuilder.scala


And that suggests that something there is null but I'm not sure what!

Is this a known issue or i there something I can dio to work around it?

Thanks

Andy

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Web-Console-and-Websphere-tp5661449p5661449.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message