Re: EE application server

2010-04-27 Thread Behrang S. Zadeh
Use JBoss or Glassfish for full-blown JavaEE apps. Here you can find the
list of all JavaEE 5.0 certified application servers:
http://java.sun.com/javaee/overview/compatibility-javaee5.jsp

On Tue, Apr 27, 2010 at 5:38 PM, Navid Esfahani na...@sobhanpaya.comwrote:

  Hi,



 I want to know is this possible to use apache tomcat application server for
 Enterprise Application(EAR)?



 I downloaded apache-tomcat-6.0.26 and O cannot use this in netbeans for
 EJB or EAR projects.







 Is there two version for web-server and EE applications server?



 If yes, how can I download EE application server?





 RGDS



 *_*

 *Navid Esfahani*
 Member of BOD /
 IT Manager


 Sobhan Paya Pardaz Co.
 na...@sobhanpaya.com

 #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave.[image:
 cid:image001.gif@01C80B40.5D9ECD80]http://www.plaxo.com/click_to_call?src=jj_signatureTo=(%2B9821)++66970895email=he...@sobhanpaya.com
 Office: +98 21 88616447

 Fax: +98 21 88616447
 Cell: 912 3277 297




 __ Information from ESET Smart Security, version of virus signature
 database 5029 (20100414) __

 The message was checked by ESET Smart Security.

 http://www.eset.com



Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
Hi all,

I have defined a very simple Web application and stored it under
webapps/example. I have also defined a Context file for it named example.xml
and placed it under conf/Catalina/localhost. The content of example.xml file
is:


Context path=/example1 docBase=example
 debug=1

  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_example_log. suffix=.txt
  timestamp=true/

/Context


Now I assume that this Web app must only be accessible via
http://localhost:8080/example1. However it is accessible via both
http://localhost:8080/example1 and http://localhost:8080/example. Any ideas
why is this happening?

The deployment server is *Tomcat 5.0.30*. The whole server directory can be
downloaded from: http://public.me.com/behrangsa

Thanks in advance,
Behrang


Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
So what's the purpose of the path=... element then?

On Mon, Apr 26, 2010 at 11:53 AM, Hassan Schroeder 
hassan.schroe...@gmail.com wrote:

 On Sun, Apr 25, 2010 at 4:58 PM, Behrang S. Zadeh behran...@gmail.com
 wrote:

  I have defined a very simple Web application and stored it under
  webapps/example.

  Now I assume that this Web app must only be accessible via
  http://localhost:8080/example1.

 A bad assumption; Tomcat will deploy it as /example. Get rid of that
 'example.xml' and rename your deployment directory to whatever you
 want it to be.

 --
 Hassan Schroeder  hassan.schroe...@gmail.com
 twitter: @hassan

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
Thanks! You made my day! :)

On Mon, Apr 26, 2010 at 12:06 PM, Hassan Schroeder 
hassan.schroe...@gmail.com wrote:

 On Sun, Apr 25, 2010 at 7:02 PM, Behrang S. Zadeh behran...@gmail.com
 wrote:
  So what's the purpose of the path=... element then?

 Only useful if you're deploying outside the given host's appBase.

 There's lots of discussions of this in the archives :-)

 --
 Hassan Schroeder  hassan.schroe...@gmail.com
 twitter: @hassan

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org