[esb-java-dev] tomcat/war support

Asankha C. Perera asankha at wso2.com
Tue Aug 28 02:31:20 PDT 2007


Sanjiva
> As far as I understand it, the current claimed support for WAR 
> deployment has the ESB opening another port .. and the WAR is simply 
> used to start the ESB.
>
> Is that correct?
Yes. The console is driven off the WAR but the transports are configured 
by default to use NIO and thus would open ports
> If so that's totally not what is needed IMO. (Not to mention the fact 
> that that breaks the J2EE programming rules!)
It doesn't break the J2EE rules, as it runs in the web container where 
opening ports and starting threads is allowed.
> We need to make sure that WAR deployment means the requests come via 
> the servlet container and the ESB mediates the requests and forwards 
> them on or whatever. Yes I know the service limitations it implies but 
> don't forget most Web service runtimes are operated that way.
>
> So, what does it take to fix it to work right?
Lets get Upul to try this out first thing on Wednesday and then see how 
we could support both the servlet or the NIO transport from the same 
distribution

thanks
asankha




More information about the Esb-java-dev mailing list