Ok, so I was wrong about my seperated Jetty working...

I setup a webapp with:

<Call name="addWebApplication">
<Arg>/</Arg> <Arg><SystemPropertyname="jboss.server.home.dir"/>/webapp</Arg>
<Set name="extractWAR">false</Set>
</Call>

Then I extracted an example .war at that path, hit a .html, which worked fine... then 
a .jsp and it can't compile... about missing javax.servlet and friends.

If I deploy the .war it works fine... WTF?

I am trying to test out SiteMesh, which lists that is supports Jetty4, which I 
*thought* was what we had integrated.

Even with the deployed .war (so I could compile) I get erros like:

00:03:22,874 WARN  [Jetty] WARNING: GET /sitemesh-example/counter.jsp HTTP/1.1
java.lang.IllegalStateException: getOutputStream called
        at 
org.mortbay.jetty.servlet.Dispatcher$DispatcherResponse.getWriter(Dispatcher.java:550)
        at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166)
...

I am going to see if this will work under 3.0-rc1 or even plain Jetty4.

But why doesn't a static webapp config work just like a deployed app?

*frustrated*

--jason

* * *

View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=13522

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to