You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ernie Ho <er...@oracle.com> on 2006/11/13 19:20:42 UTC

Tomcat VS JBOSS

Hi,

   could anyone out there highlight some major differences between Tomcat and JBOSS?

In particular,  Tomcat is an app server with a built-in web (HTTP) server;   does JBOSS require an external webserver to run its web applications ? 


Thanks,

Ernie



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSP error

Posted by David Smith <dn...@cornell.edu>.
It is NOT reading the classpath environment variable.  You should place 
the jars your webapp needs in your web application's WEB-INF/lib where 
they can be automatically found.  For further class loader issues, see:

http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

--David

Ernie Ho wrote:
> Hi,
>
>    I'm pretty sure of this,  but Tomcat is reading the classpath environment variable right ?  I mean,  there is not another config file that specifies all the JARs it needs, correct?
>
> I'm getting a JSP compile error on Tomcat:
>
> An error occurred at line: 23 in the jsp file: /oemaccount.jsp
> Generated servlet error:
> The type javax.xml.rpc.ServiceException cannot be resolved. It is indirectly referenced from required .class files
>
>
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> root cause 
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
>
> I believe the above class is included in :  D:\axis-1_4\lib\jaxrpc.jar
>
> Which is in my classpath.  Any clues why the above happened? 
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@hotmail.com] 
> Sent: Monday, November 13, 2006 12:17 PM
> To: Tomcat Users List
> Subject: Re: Tomcat VS JBOSS
>
> You are not necessarily confined to that 2.4 Servlet Container as mentioned in the docs and Tomcat classes specified in server.xml Read install and cluster config docs info at http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html
> M-
> This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents
> ----- Original Message -----
> From: "Edoardo Panfili" <ed...@aspix.it>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Monday, November 13, 2006 1:36 PM
> Subject: Re: Tomcat VS JBOSS
>
>
>   
>> Ernie Ho ha scritto:
>>     
>>> Hi,
>>>
>>>    could anyone out there highlight some major differences between Tomcat and JBOSS?
>>>
>>> In particular,  Tomcat is an app server with a built-in web (HTTP) server;   does JBOSS require an external webserver to run its web applications ? 
>>>
>>>       
>> Jboss is an application server ( see
>> http://en.wikipedia.org/wiki/Application_Server#Java_application_serve
>> rs) like Apache geronimo, both includes Tomcat.
>>
>> and "Apache Tomcat is the servlet container that is used in the 
>> official Reference Implementation for the Java Servlet and JavaServer 
>> Pages technologies."
>>
>> Edoardo
>> --
>> edoardo@aspix.it
>> AIM: edoardopn
>> Jabber: edoardopa@talk.google.com
>> tel:075 9142766
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
>> e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: JSP error

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ernie Ho [mailto:ernie.ho@oracle.com] 
> Subject: JSP error
>
> I'm pretty sure of this,  but Tomcat is reading the 
> classpath environment variable right ?

No, the classpath environment variable (which is a truly bad idea) is
ignored by Tomcat.

> I mean, there is not another config file that specifies
> all the JARs it needs, correct?

Ideally, all jars needed by a webapp should be packaged with that
webapp, in WEB-INF/lib.  Tomcat allows use of the shared/lib and
common/lib directories for cases where classes must be shared across
webapps (e.g., common data base connections).

> Any clues why the above happened? 

Read this:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


JSP error

Posted by Ernie Ho <er...@oracle.com>.
Hi,

   I'm pretty sure of this,  but Tomcat is reading the classpath environment variable right ?  I mean,  there is not another config file that specifies all the JARs it needs, correct?

I'm getting a JSP compile error on Tomcat:

An error occurred at line: 23 in the jsp file: /oemaccount.jsp
Generated servlet error:
The type javax.xml.rpc.ServiceException cannot be resolved. It is indirectly referenced from required .class files


	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jasper.JasperException: Unable to compile class for JSP


I believe the above class is included in :  D:\axis-1_4\lib\jaxrpc.jar

Which is in my classpath.  Any clues why the above happened? 

-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Monday, November 13, 2006 12:17 PM
To: Tomcat Users List
Subject: Re: Tomcat VS JBOSS

You are not necessarily confined to that 2.4 Servlet Container as mentioned in the docs and Tomcat classes specified in server.xml Read install and cluster config docs info at http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html
M-
This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents
----- Original Message -----
From: "Edoardo Panfili" <ed...@aspix.it>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, November 13, 2006 1:36 PM
Subject: Re: Tomcat VS JBOSS


> Ernie Ho ha scritto:
>> Hi,
>> 
>>    could anyone out there highlight some major differences between Tomcat and JBOSS?
>> 
>> In particular,  Tomcat is an app server with a built-in web (HTTP) server;   does JBOSS require an external webserver to run its web applications ? 
>> 
> 
> Jboss is an application server ( see
> http://en.wikipedia.org/wiki/Application_Server#Java_application_serve
> rs) like Apache geronimo, both includes Tomcat.
> 
> and "Apache Tomcat is the servlet container that is used in the 
> official Reference Implementation for the Java Servlet and JavaServer 
> Pages technologies."
> 
> Edoardo
> --
> edoardo@aspix.it
> AIM: edoardopn
> Jabber: edoardopa@talk.google.com
> tel:075 9142766
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
> e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat VS JBOSS

Posted by Martin Gainty <mg...@hotmail.com>.
You are not necessarily confined to that 2.4 Servlet Container as mentioned in the docs and Tomcat classes specified in server.xml
Read install and cluster config docs info at
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html
M-
This e-mail communication and any attachments may contain confidential and privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Edoardo Panfili" <ed...@aspix.it>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, November 13, 2006 1:36 PM
Subject: Re: Tomcat VS JBOSS


> Ernie Ho ha scritto:
>> Hi,
>> 
>>    could anyone out there highlight some major differences between Tomcat and JBOSS?
>> 
>> In particular,  Tomcat is an app server with a built-in web (HTTP) server;   does JBOSS require an external webserver to run its web applications ? 
>> 
> 
> Jboss is an application server ( see 
> http://en.wikipedia.org/wiki/Application_Server#Java_application_servers) 
> like Apache geronimo, both includes Tomcat.
> 
> and "Apache Tomcat is the servlet container that is used in the official 
> Reference Implementation for the Java Servlet and JavaServer Pages 
> technologies."
> 
> Edoardo
> -- 
> edoardo@aspix.it
> AIM: edoardopn
> Jabber: edoardopa@talk.google.com
> tel:075 9142766
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>

Re: Tomcat VS JBOSS

Posted by Edoardo Panfili <ed...@aspix.it>.
Ernie Ho ha scritto:
> Hi,
> 
>    could anyone out there highlight some major differences between Tomcat and JBOSS?
> 
> In particular,  Tomcat is an app server with a built-in web (HTTP) server;   does JBOSS require an external webserver to run its web applications ? 
> 

Jboss is an application server ( see 
http://en.wikipedia.org/wiki/Application_Server#Java_application_servers) 
like Apache geronimo, both includes Tomcat.

and "Apache Tomcat is the servlet container that is used in the official 
Reference Implementation for the Java Servlet and JavaServer Pages 
technologies."

Edoardo
-- 
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat VS JBOSS

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ernie Ho [mailto:ernie.ho@oracle.com] 
> Subject: Tomcat VS JBOSS
> 
> In particular,  Tomcat is an app server with a built-in web 
> (HTTP) server;   does JBOSS require an external webserver to 
> run its web applications ? 

Actually, Tomcat is a component of JBoss; no external webservers are
needed.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org