Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?
Is there anyone that installed (Apache + Tomcat + JBoss) combination all together? What are the advantages of Using Apache with Tomcat-JBoss combination or is Tomcat enough for complete web content serving? Should I run Apache with Tomcat + JBoss in a separate JVM? Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not be served by Apache. Nix.
RE: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?
Is there anyone that installed (Apache + Tomcat + JBoss) combination all together? What are the advantages of Using Apache with Tomcat-JBoss combination or is Tomcat enough for complete web content serving? Should I run Apache with Tomcat + JBoss in a separate JVM? Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not be served by Apache. It's ok. But I am just wondering that; Is it helpful that using Apache with (Tomcat + JBoss) combination? I mean serving the non-dynamic contents of a website through Apache instead of using the Tomcat's internal web server. And additionaly using the EJB container of JBoss and Web Container of Tomcat for non-static parts. Thus using all three products together on a single website? Any idea? Murat.
Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?
Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not be served by Apache. It's ok. But I am just wondering that; Is it helpful that using Apache with (Tomcat + JBoss) combination? Functionality of Apache's HTTP/1.1 module and Tomcat's HTTP/1.1 is the same. The only difference is the performance of serving static objects. I mean serving the non-dynamic contents of a website through Apache instead of using the Tomcat's internal web server. If you can separate your static content from the dynamic parts, you can easily make such an arrangement. If not, then the only hope for you is mod_jk (mod_jk2 is still in testing). And additionaly using the EJB container of JBoss and Web Container of Tomcat for non-static parts. Thus using all three products together on a single website? The answer to this question largely depends on your website organization and purpose. It could be that you can run both Apache and Tomcat, side by side, without any integration. Apache would listen on TCP:80 and Tomcat on TCP:8080. The presentations on both servers would have explicit links, like this: http://www.domain.com:80/path/to/link.html http://www.doamin.com:8080/another/path/to/link.jsp If this looks ugly, you can try to integrate Tomcat under Apache, using mod_jk, mod_jk2 or mod_webapp. If you want Apache to serve static contenet belonging to your web application, then mod_jk is the way. Nix.
RE: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?
Thank you for your answer. Can the JBoss EJB container be easily added to Tomcat + Apache (binded together with mod_jkxx) couple? if so how can we build-up for running all three..? As far as I know, Tomcat_JBoss couple bundled with together for enterprise usage. Can I integrate the Tomcat unit of this couple with Apache via mod_jkxx module? Thanks.. Murat. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 11:46 AM To: Tomcat Users List Subject: Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ? Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not be served by Apache. It's ok. But I am just wondering that; Is it helpful that using Apache with (Tomcat + JBoss) combination? Functionality of Apache's HTTP/1.1 module and Tomcat's HTTP/1.1 is the same. The only difference is the performance of serving static objects. I mean serving the non-dynamic contents of a website through Apache instead of using the Tomcat's internal web server. If you can separate your static content from the dynamic parts, you can easily make such an arrangement. If not, then the only hope for you is mod_jk (mod_jk2 is still in testing). And additionaly using the EJB container of JBoss and Web Container of Tomcat for non-static parts. Thus using all three products together on a single website? The answer to this question largely depends on your website organization and purpose. It could be that you can run both Apache and Tomcat, side by side, without any integration. Apache would listen on TCP:80 and Tomcat on TCP:8080. The presentations on both servers would have explicit links, like this: http://www.domain.com:80/path/to/link.html http://www.doamin.com:8080/another/path/to/link.jsp If this looks ugly, you can try to integrate Tomcat under Apache, using mod_jk, mod_jk2 or mod_webapp. If you want Apache to serve static contenet belonging to your web application, then mod_jk is the way. Nix.
Re: Tomcat / JBoss / JNDI lookup not working - HELP!
On Mon, 3 Jun 2002 11:48:14 -0500 Miller, Andy [EMAIL PROTECTED] wrote: I have seperate instances of Tomcat and JBoss running on the same machine. I'm trying to do a JNDI lookup of a JMS queue that's configured in JBoss from Tomcat but cannot get it to work. I have not taken the time to fully analyze your problem, but I have had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0. What I had to do, was to set the initial factory as a System property before creating the InitialContext for the first time, like this: System.setProperty(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); Good luck! Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat / JBoss / JNDI lookup not working - HELP!
That was all it took! Thanks a million! -Original Message- From: Håkon Hansen [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:23 AM To: Tomcat Users List Subject: Re: Tomcat / JBoss / JNDI lookup not working - HELP! On Mon, 3 Jun 2002 11:48:14 -0500 Miller, Andy [EMAIL PROTECTED] wrote: I have seperate instances of Tomcat and JBoss running on the same machine. I'm trying to do a JNDI lookup of a JMS queue that's configured in JBoss from Tomcat but cannot get it to work. I have not taken the time to fully analyze your problem, but I have had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0. What I had to do, was to set the initial factory as a System property before creating the InitialContext for the first time, like this: System.setProperty(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); Good luck! Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat / JBoss / JNDI lookup not working - HELP!
On Mon, 3 Jun 2002 12:32:11 -0500 Miller, Andy [EMAIL PROTECTED] wrote: You are very welcome :-) Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat jboss
www.jboss.org? --- renyu teng [EMAIL PROTECTED] wrote: this is a little bit off the topic, anyway, could anyone tell me where I could find a useful information to run tomcat jboss together? thank you. teng __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: tomcat jboss
you can download a package of the two and alot of info on it from www.jboss.org check it out. -reynir -Original Message- From: renyu teng [mailto:[EMAIL PROTECTED]] Sent: 4. desember 2001 12:59 To: Tomcat Users List; [EMAIL PROTECTED] Subject: tomcat jboss this is a little bit off the topic, anyway, could anyone tell me where I could find a useful information to run tomcat jboss together? thank you. teng __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: tomcat jboss
--- Javier Soques [EMAIL PROTECTED] wrote: www.jboss.org? Hi, I have gone through the web site, and I could find any doc. telling me to how set up the conf. to run both, and I have down the jboss embedded with tomcat, but it doesn't even have readme, it is a little bit hard for me to figure out. regards teng --- renyu teng [EMAIL PROTECTED] wrote: this is a little bit off the topic, anyway, could anyone tell me where I could find a useful information to run tomcat jboss together? thank you. teng __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: tomcat jboss
At 02:06 PM 04/12/01, you wrote: --- Javier Soques [EMAIL PROTECTED] wrote: www.jboss.org? Hi, I have gone through the web site, and I could find any doc. telling me to how set up the conf. to run both, and I have down the jboss embedded with tomcat, but it doesn't even have readme, it is a little bit hard for me to figure out. What I did: 1. Get tomcat running separately - configured, understood (more or less...) 2. Get JBoss running separately - configured, understood etc. 3. The JNDI stuff is pretty easy. (See http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html if you've got tomcat up and running.) 4. Ask questions, once the above is done... I'll admit it took me ages - mainly because of the database configuration stuff... don't even dream about doing it using the jdbc:odbc bridge! I never did try the embedded version - the tomcat they were using was quite a few versions behind the latest release at the time. Jim -- * Jim Cheesman * Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360 If you try and don't succeed, cheat. Repeat until caught. Then lie. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: tomcat jboss
What I did: 1. Get tomcat running separately - configured, understood (more or less...) 2. Get JBoss running separately - configured, understood etc. 3. The JNDI stuff is pretty easy. (See http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html if you've got tomcat up and running.) 4. Ask questions, once the above is done... I'll admit it took me ages - mainly because of the database configuration stuff... don't even dream about doing it using the jdbc:odbc bridge! I never did try the embedded version - the tomcat they were using was quite a few versions behind the latest release at the time. Jim I've tried the embedded version and it works fine. Except from some XML parser errors but what the heck... It works... Chris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: tomcat jboss
If you want to use JBoss as an EJB server/container and access those EJBs from Tomcat have a look here: http://mikal.org/interests/java/tomcat/archive/view?mesg=48170 --- renyu teng [EMAIL PROTECTED] wrote: this is a little bit off the topic, anyway, could anyone tell me where I could find a useful information to run tomcat jboss together? thank you. teng __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Nokia 5510 looks weird sounds great. Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! The competition ends 16 th of December 2001. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat+jboss
from jboss web site you can download a version of jboss with tomcat embeded or jetty embeded. gabi - Original Message - From: zhouhao To: [EMAIL PROTECTED] Sent: Sunday, February 20, 2000 4:09 AM Subject: Tomcat+jboss how to integrate Tomcat3.2 with jboss, and support servlet/jsp,EJB and JMS? Thanks
RE: Tomcat + Jboss - porting Pet Store
Title: RE: Tomcat + Jboss - porting Pet Store I checked the code... it says ignore this message. Check out PoolTcpEndPoint.java -Original Message- From: Madhu Narasa [SMTP:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 2:20 PM To: [EMAIL PROTECTED] Subject: Tomcat + Jboss - porting Pet Store I am running Tomcat 3.2 with Jboss and trying to port the PetStore example (J2EE Sun RI, example). I am almost done except that I see a lot of Connection reset errors after every page request. After searching through the archives, I see others have had the same problems in different contexts but there seems to be no solution to the problem. The dev lists suggest the following (that is being considered for 3.3 dev) http://w4.metronet.com/~wjm/tomcat/2000/Jul/msg00910.html Commenting out the following lines - sout.write( buffer, 0, bufferCount ); sout.flush(); in the method endHeaders() of HttpResponseAdapter.java The above fix did eliminate errors of the type - 2000-12-08 11:39:27 - Ctx( /estore ): IOException in: R( /estore + /template.js + null) Connection reset by peer: socket write error but the stack trace reported below continued. Any help is appreciated. Thanks, Madhu Complete Stack -- [Tomcat] java.net.SocketException: Connection reset by peer: socket write error [Tomcat] at java.net.SocketOutputStream.socketWrite(Native Method) [Tomcat] at java.net.SocketOutputStream.write(SocketOutputStream.java:83) [Tomcat] at org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdapter.java:164) [Tomcat] at org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletOutputStream.java:121) [Tomcat] at org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServletOutputStream.java:246) [Tomcat] at org.apache.tomcat.core.ResponseImpl.flushBuffer(ResponseImpl.java:417) [Tomcat] at org.apache.tomcat.facade.HttpServletResponseFacade.flushBuffer(HttpServletResponseFacade.java:295) [Tomcat] at org.apache.jasper.runtime.JspWriterImpl.flus(JspWriterImpl.java:209) [Tomcat] at _0002fbanner_0002ejspbanner_jsp_3._jspService(_0002fbanner_0002ejspbanner_jsp_3.java:306) [Tomcat] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) [Tomcat] at javax.servlet.http.HttpServlet.servic(HttpServlet.java:853) [Tomcat] at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) [Tomcat] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) [Tomcat] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java: 391) [Tomcat] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [Tomcat] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) [Tomcat] at org.apache.tomcat.core.Handler.service(Handler.java:286) [Tomcat] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) [Tomcat] at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:345) [Tomcat] at com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67) __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
RE: Tomcat + Jboss - porting Pet Store
From what I gather, the comment - // TCP stacks can throw SocketExceptions when the // client disconnectsso can be ignored. Addresses the case wherein the browser is closing the socket (eg. clicking on stop before completion of the request). I am ok with the server throwing an exception in the above case but throwing an exception for every request seems like a problem to me. Regards, Madhu --- "Parayali, Jayesh 1065" [EMAIL PROTECTED] wrote: I checked the code... it says ignore this message. Check out PoolTcpEndPoint.java __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
RE: Tomcat + Jboss - porting Pet Store
Title: RE: Tomcat + Jboss - porting Pet Store this happens even if u just refresh... after completion of the request -Original Message- From: Madhu Narasa [SMTP:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 3:32 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat + Jboss - porting Pet Store From what I gather, the comment - // TCP stacks can throw SocketExceptions when the // client disconnectsso can be ignored. Addresses the case wherein the browser is closing the socket (eg. clicking on stop before completion of the request). I am ok with the server throwing an exception in the above case but throwing an exception for every request seems like a problem to me. Regards, Madhu --- Parayali, Jayesh 1065 [EMAIL PROTECTED] wrote: I checked the code... it says ignore this message. Check out PoolTcpEndPoint.java __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/