Re: Tomcat vs. JBoss

2003-04-05 Thread dwightHugget
On Sunday 06 April 2003 07:16, [EMAIL PROTECTED] professed:
> Hi there,
>
> At my company some are discussing to replace our Tomcat installation with
> JBoss application server.
> What are the main arguments pro/contra using Tomcat/JBoss?
> Is anybody able to share some production experiences?
>
> To my mind it seems
> *) if I need EJB -> take JBoss
> disadvantage: more complex
>
> *) if I need the reference J2EE engine -> take Tomcat
> advantage: easier to use, less overhead with EJB
>
> What do you think?
>
> cheers,
> Johannes

Not a fair comparison.
Jboss is a J2EE container that features Jetty as the web container.
The real comparison is that of Jetty vs. Tomcat.
Some argue that Jetty is a bit more secure and lighter that Tomcat.
I never argue those points unless I see benchmarks for the same conditions. 
Most people don't have real benchamarks so take that in stride.

JBoss can be configured to work with TomCat.

I agree with you that if you don't need EJB's and the other ilities (ie. 
scalalbility, security, manageability) then I would think again.

I came to a project where they had jBoss & Struts and all they were doing was 
reporting via the web. Way to bring a "sledge hammer" to an ant. I tore that 
out and went straight MVC with nothing but good design patterns, OO 
principles, Oracle, and Tomcat.

that's my spin
-- 
Dwight Hugget
http://www.dmhEnterprise.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JDBC URL from webserver

2003-04-05 Thread dwightHugget
Can anyone confirm that using either of these 2 styles of JDBC URL ought to 
work when web container is running on one machine and DBMS is on another 
machine across the internet.

jdbc:oracle:thin:@xxx.aa.bb.zz:1521:sid_name

jdbc:oracle:thin:@//xxx.aa.bb.zz:1521/service_name

The DBMS is Oracle 9i
When I put the machine with the webserver on the same network, same subnet, 
all is good. When I move the web server machine to another network all 
together I get nothing.

I'm running with JDK1.4 and the Oracle drivers for JDK 1.4
Yes, the DBMS is behind a firewall? 

thanks
-- 
Dwight Hugget


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



UAMS auth and Tomcat (and maybe workDir)

2003-04-05 Thread DD

---
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.

Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor.
Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti
fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat
de virusi.

Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants.
Please be aware that there is a risk involved whenever opening e-mail attachments
to your computer and that MobiFon is not responsible for any damages caused by
viruses.


java.net.SocketException: Software caused connection abort

2003-04-05 Thread WIPRO Anil Gandhi
Hi,

I am facing the following error in my Tomcat production installation.  I have tomcat 
4.0.4 installed. When I upgraded to tomcat 4.1.24, the error is same.

Can anyone please help me. Tomcat is installed on Sun Solaris 2.8.




SEVERE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored 
exception: java.net.SocketException: Software caused connection abort
java.net.SocketException: Software caused connection abort
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:356)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
Apr 1, 2003 3:52:34 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
WARNING: Reinitializing ServerSocket
Stopping service Tomcat-Standalone

Thanks
Anil Gandhi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ISAPI redirector

2003-04-05 Thread Peter F.
Hi Rick,

First, make sure you set the log modus to DEBUG (Isapi 2.0.x: logLevel: 
DEBUG, Isapi 1.x: log_level: debug).

Take a look into the Event Viewer of W2K and inspect the Application Log. 
You should see error messages there indicating what doesn't work. 

I posted my configuration info recently at this forum, simply search for: 
SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + 
workers2.properties

I hope this helps,
Johannes




Rick Baker <[EMAIL PROTECTED]> 
04.04.2003 21:31
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
[EMAIL PROTECTED]
cc

Subject
ISAPI redirector






I'm running a server with the following:
Win2k
IIS5
J2sdk1.4.0
Tomcat 4.1.12
 
I successfully install Tomcat and the ISAPI redirector and test it with 
the
following  http://localhost/examples/servlet/HelloWorldExample
  and it works just
fine.  The redirector is working as advertised.
 
However, after rebooting the server and check that Tomcat, etc is running
the redirector no longer works.  I have to use
http://localhost:8080/examples/servlet/HelloWorldExample
  in order to 
run
the example. 
 
Any suggestion would be appreciated.
 
Rick Baker
GIS/Network Administrator
Salt Lake County Recorder's Office
2001 S. State St.
Suite #N1600
SLC, UT 84190

Ph: 801-468-3399
Fax: 801-468-3335
Email: [EMAIL PROTECTED] 




Re: regarding the installation of tomcat

2003-04-05 Thread Peter F.
Hi manchi,

As of Tomcat 4.x the variable is called "CATALINA_HOME". 

If you don't set it, the startup script ("startup.bat" on Windows systems) 
will try to guess it:
===
rem Guess CATALINA_HOME if not defined
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=.
===

I hope this helps,
Johannes




manchi prathima <[EMAIL PROTECTED]> 
05.04.2003 12:34
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
[EMAIL PROTECTED]
cc

Subject
regarding the installation of tomcat







Is it necessary to set the tomcat environmental variable  TOMCAT_HOME to 
run tomcat server

Plz send the information regarding this.

regards

prathima

Catch all the cricket action. Download Yahoo! Score tracker


[OT] Thanks: Re: Tomcat vs. JBoss

2003-04-05 Thread Micael
Thanks for these references.  Much appreciated.  The IBM stuff is really 
helpful.

At 01:50 PM 4/5/03 -0500, you wrote:


> Do you know any real-life scenarios where you can't do it with
> Tomcat but need EJB seriously?
The short answer is yes.  But this is really getting off-topic for this
list.  As I and several others have pointed out, servlet and JSP technology
are just one aspect of J2EE.
If you need more information, I believe that I already responded to one
questioner who wanted EJB info to take a look at my tutorial "Getting
Started with EJB Technology", which is this week's feature at both
developerWorks ( www.ibm.com/developerworks ) and the developerWorks
Java zone ( www.ibm.com/developerworks/java ).  It includes a brief
J2EE overview.
Sun also has a J2EE tutorial, and I saw on the J2EE mailing list that
someone is offering a free online class.
These and the J2EE and EJB mailing list should help clarify your
understanding of what J2EE is about and what servlet technology provides.
 Joe Sam

Joe Sam Shirah -http://www.conceptgo.com
conceptGO -Consulting/Development/Outsourcing
Java Filter Forum:   http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400


- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, April 06, 2003 1:01 PM
Subject: Re: Tomcat vs. JBoss
> Hi Joe Sam,
>
> Thanks for your detailed reply.
>
> Do you know any real-life scenarios where you can't do it with Tomcat but
> need EJB seriously?
> So far I've done any backend-access using Apache Axis (Soap) and haven't
> yet had a great desire to use RMI/EJB remote access with pages of nested
> exceptions if anything goes wrong.
>
> Thx alot
> Johannes
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: upload and renameto apache-tomcat problem

2003-04-05 Thread johannes . fiala
Hi Peter,

You could also use the Commons FileUpload package of the Jakarta project:
http://jakarta.apache.org/commons/fileupload/index.html

I personally have used the cos.jar package of Jason Hunter as well and it 
has served its purpose fine so far.

Johannes




joe <[EMAIL PROTECTED]> 
05.04.2003 22:16
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
Tomcat Users List <[EMAIL PROTECTED]>
cc

Subject
Re: upload and renameto apache-tomcat problem






hi!

i'm using the oreilly cos multipart package. it's working perfectly and 
you have the source.

see for yourself:
http://www.servlets.com/cos/index.html

joe

Peter H. wrote:

> Hello Tomcat-Community,
>
> I try to figure out a strange but reproduceable error:
> Using Apache and Tomcat under windows and maybe linux.
>
> After uploading a file to a temporary dir and renaming (moving) it
> to a apache accessible folder i have strange problems...
>
> If i upload a image with the attached servlet and after it accessing 
> the image with apache i must wait some seconds to get a succesful 
> renameTo. the problem is that if i don't create the temporary image 
> file with java the renameTo always succeeds. but the servlet should
> have file upload behaviour...
>
> maybe its the FileServletWrapper but uploading multiple times without
> accessing the image with apache there is no problem!
>
> ps. The FileServletWrapper is only available as class code...
> Any Suggestions?
>
> Thanks
> Peter
>
>
> 
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
> import java.util.*;
>
> public final class FileServlet
> extends HttpServlet {
>
> static public final String TARGET =
> "/export/wwwdoc/test.jpg";
>
> public void service(HttpServletRequest req, HttpServletResponse resp) 
> throws IOException {
> FileServletWrapper request = new FileServletWrapper(req,
> new File("/temp"));
> File source = null;
>
> if(request.getFileParameter("file") != null) {
> source = request.ucdGetFileParameter("file").getFile();
> }
> PrintWriter writer = resp.getWriter();
> writer.write("");
> writer.write("");
> writer.write(" ACTION=\"http://127.0.0.1/fileservlet\"; METHOD=\"post\" 
> ENCTYPE=\"multipart/form-data\">");
> writer.write("");
> writer.write("");
> writer.write("");
> if(source != null) {
> File target = new File(TARGET);
> if(target.exists()) {
> writer.write("Target file exists");
> if(!target.delete()) {
> writer.write("Target file delete failed:" + target + "");
> return;
> }
> }
> if(source.renameTo(target)) {
> writer.write("rename succeeded");
> }
> else {
> writer.write("rename failed");
> }
> }
> writer.write("");
> writer.write("");
> writer.write("");
> }
> }
> 
>
>
>
> _
> Mit dem MSN Messenger eine Reise für 4 Personen nach Barcelona 
> gewinnen  jetzt mitmachen! 
> http://www.sweepstakes2003.com/entry.aspx?locationid=15
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[OFF-TOPIC] Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
hi [EMAIL PROTECTED] + Michael Maier [EMAIL PROTECTED] alias blib 
(nickname of your previous posts),

thx for your reply, I've corrected J2EE to Servlets/JSPs to increase the 
focus. I didn't take care of the EJB part of J2EE so far, but certainly 
will in the future. My clients, however, didn't care up to now.

However, I think your response is impolite at best. I don't think its a 
good way to communicate in a forum to tell others they are idiots just 
because they are asking questions. At least you could mark your reply 
OFF-TOPIC or send it directly to me to save all the others from your 
thoughts.
I reserve the right to learn something new, you probably don't have to 
anymore...

I hope you'll receive a better treatment when learning something new than 
you do to others.

Johannes

Re: ISAPI redirector

2003-04-05 Thread johannes . fiala
Hi Rick,

First, make sure you set the log modus to DEBUG (Isapi 2.0.x: logLevel: 
DEBUG, Isapi 1.x: log_level: debug).

Take a look into the Event Viewer of W2K and inspect the Application Log. 
You should see error messages there indicating what doesn't work. 

I posted my configuration info recently at this forum, simply search for: 
SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + 
workers2.properties

I hope this helps,
Johannes




Rick Baker <[EMAIL PROTECTED]> 
04.04.2003 21:31
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
[EMAIL PROTECTED]
cc

Subject
ISAPI redirector






I'm running a server with the following:
Win2k
IIS5
J2sdk1.4.0
Tomcat 4.1.12
 
I successfully install Tomcat and the ISAPI redirector and test it with 
the
following  http://localhost/examples/servlet/HelloWorldExample
  and it works just
fine.  The redirector is working as advertised.
 
However, after rebooting the server and check that Tomcat, etc is running
the redirector no longer works.  I have to use
http://localhost:8080/examples/servlet/HelloWorldExample
  in order to 
run
the example. 
 
Any suggestion would be appreciated.
 
Rick Baker
GIS/Network Administrator
Salt Lake County Recorder's Office
2001 S. State St.
Suite #N1600
SLC, UT 84190

Ph: 801-468-3399
Fax: 801-468-3335
Email: [EMAIL PROTECTED] 




Re: regarding the installation of tomcat

2003-04-05 Thread johannes . fiala
Hi manchi,

As of Tomcat 4.x the variable is called "CATALINA_HOME". 

If you don't set it, the startup script ("startup.bat" on Windows systems) 
will try to guess it:
===
rem Guess CATALINA_HOME if not defined
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=.
===

I hope this helps,
Johannes




manchi prathima <[EMAIL PROTECTED]> 
05.04.2003 12:34
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
[EMAIL PROTECTED]
cc

Subject
regarding the installation of tomcat







Is it necessary to set the tomcat environmental variable  TOMCAT_HOME to 
run tomcat server

Plz send the information regarding this.

regards

prathima

Catch all the cricket action. Download Yahoo! Score tracker


Re: upload and renameto apache-tomcat problem

2003-04-05 Thread joe
hi!

i'm using the oreilly cos multipart package. it's working perfectly and 
you have the source.

see for yourself:
http://www.servlets.com/cos/index.html
joe

Peter H. wrote:

Hello Tomcat-Community,

I try to figure out a strange but reproduceable error:
Using Apache and Tomcat under windows and maybe linux.
After uploading a file to a temporary dir and renaming (moving) it
to a apache accessible folder i have strange problems...
If i upload a image with the attached servlet and after it accessing 
the image with apache i must wait some seconds to get a succesful 
renameTo. the problem is that if i don't create the temporary image 
file with java the renameTo always succeeds. but the servlet should
have file upload behaviour...

maybe its the FileServletWrapper but uploading multiple times without
accessing the image with apache there is no problem!
ps. The FileServletWrapper is only available as class code...
Any Suggestions?
Thanks
Peter

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public final class FileServlet
extends HttpServlet {
static public final String TARGET =
"/export/wwwdoc/test.jpg";
public void service(HttpServletRequest req, HttpServletResponse resp) 
throws IOException {
FileServletWrapper request = new FileServletWrapper(req,
new File("/temp"));
File source = null;

if(request.getFileParameter("file") != null) {
source = request.ucdGetFileParameter("file").getFile();
}
PrintWriter writer = resp.getWriter();
writer.write("");
writer.write("");
writer.write("http://127.0.0.1/fileservlet\"; METHOD=\"post\" 
ENCTYPE=\"multipart/form-data\">");
writer.write("");
writer.write("");
writer.write("");
if(source != null) {
File target = new File(TARGET);
if(target.exists()) {
writer.write("Target file exists");
if(!target.delete()) {
writer.write("Target file delete failed:" + target + "");
return;
}
}
if(source.renameTo(target)) {
writer.write("rename succeeded");
}
else {
writer.write("rename failed");
}
}
writer.write("");
writer.write("");
writer.write("");
}
}




_
Mit dem MSN Messenger eine Reise für 4 Personen nach Barcelona 
gewinnen  jetzt mitmachen! 
http://www.sweepstakes2003.com/entry.aspx?locationid=15

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Simple Web App Deployment Issue

2003-04-05 Thread Manu Kits
Hello everyone,

I am using JBoss with Tomcat Catalina and Apache Web Server on UNIX.

My Web App name is "HARI" which has following structure:

/hari/index.jsp
/hari/hari.war
/hari/WEB-INF/web.xml
/hari/WEB-INF/classes/login.class
/hari/WEB-INF/classes/process.class
/hari/WEB-INF/classes/main.class
/hari/META-INF/application.xml
My WEB.XML file is:
-

   
   login
   /login/*
   
   
   process
   /process/*
   
   
   main
   /main/*
   

   process
   /process/*


   login
   /login/*


   main
   /main/*

-
This is a very basic WEB APP which checks for USerName/Password.

I run my app as http://hariom.com/hari/login and it used to work great.

Now, my Web App is getting complex with more Servlets etc and so I am 
thinking of using Sub Directories.

So now I have.(created directory SHIVA and organized the servlets)

/hari/index.jsp
/hari/hari.war
/hari/WEB-INF/web.xml
/hari/WEB-INF/classes/shiva/login.class
/hari/WEB-INF/classes/shiva/process.class
/hari/WEB-INF/classes/shiva/main.class
/hari/META-INF/application.xml
So, now what changes do I have to make to WEB.XML? How do I invoke my Web 
App?
Should I use http://hariom.com/hari/shiva/login or 
http://hariom.com/hari/shiva.login

Do I have to ADD "package shiva" in every servlets...?

what other changes do I have to make to make it work?

Thanks!

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat vs. JBoss

2003-04-05 Thread Joe Sam Shirah


> Do you know any real-life scenarios where you can't do it with
> Tomcat but need EJB seriously?

The short answer is yes.  But this is really getting off-topic for this
list.  As I and several others have pointed out, servlet and JSP technology
are just one aspect of J2EE.

If you need more information, I believe that I already responded to one
questioner who wanted EJB info to take a look at my tutorial "Getting
Started with EJB Technology", which is this week's feature at both
developerWorks ( www.ibm.com/developerworks ) and the developerWorks 
Java zone ( www.ibm.com/developerworks/java ).  It includes a brief 
J2EE overview.

Sun also has a J2EE tutorial, and I saw on the J2EE mailing list that
someone is offering a free online class.

These and the J2EE and EJB mailing list should help clarify your
understanding of what J2EE is about and what servlet technology provides.


 Joe Sam

Joe Sam Shirah -http://www.conceptgo.com
conceptGO -Consulting/Development/Outsourcing
Java Filter Forum:   http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400



- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, April 06, 2003 1:01 PM
Subject: Re: Tomcat vs. JBoss


> Hi Joe Sam,
>
> Thanks for your detailed reply.
>
> Do you know any real-life scenarios where you can't do it with Tomcat but
> need EJB seriously?
> So far I've done any backend-access using Apache Axis (Soap) and haven't
> yet had a great desire to use RMI/EJB remote access with pages of nested
> exceptions if anything goes wrong.
>
> Thx alot
> Johannes
>
>





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat vs. JBoss

2003-04-05 Thread da_alchemist
It is sad really to be exposed like this.  Your
company's web site does present you as the J2EE expert
and yet you ask questions that do not "mix", for lack
of a better description.  If you truly understood J2EE
and merely glanced at the JBoss web site
(www.jboss.org) you would hopefully be able to
ascertain that JBoss functions primarily as an EJB
container, while Tomcat can actually work with JBoss
as its servlet container.

Perhaps I am being a bit too harsh and should
recognize that maybe its your mastery of the English
language that is at fault here and you really do
understand the differences between JBoss and Tomcat
and simply did not pose the question clearly.  If that
is the case I apologize, but please be careful in
presenting future questions otherwise I would
anticipate plenty more grief from others.

Finally, to answer your questions as best as I can
interpret them.  You are absolutely correct in that
JBoss is complex.  Hell, most production level J2EE
servers (BEA Weblogic, IBM Websphere, etc.) are
complex, probably due to the J2EE specification being
a bit involved.  But, as with all things they become
much simpler with experience.  As for Tomcat being a
"J2EE engine", that is a bad characterization.  Tomcat
merely implements a piece (servlets) of the J2EE
specification.  Tomcat, last I checked, does not
function as an EJB container and so you cannot really
compare it to JBoss.  Although, JBoss does come with
its own servlet container (JBoss Web, formerly Jetty).
 To answer your overall question, you can keep Tomcat
and use it synergistically with JBoss as many others
have done and it seems to work well in production
depending on how they are being used.

I hope this helps.

Thanks.


--- Michael Maier <[EMAIL PROTECTED]> wrote:
> hi johannes!
> 
> i took a look at your companies homepage and there i
> can find infos about
> you:
> 
> *snip on*
> 
> Mag. Ing. Johannes Fiala 
> Technische Leitung, Geschäftsführer
> Specials: 
> 
> J2EE-Applikationsentwicklung mit Apache Tomcat und
> Sybase EAServer 
> J2EE-Applikationsdesign mit Aufteilung Webserver /
> Applikationsserver /
> Backend-Systeme als n-Tier System
> (z.B. Apache/MS IIS/Lotus Domino als Webserver,
> Tomcat als
> Applikationsserver) 
> Integration mit relationalen Datenbanksystemen
> (Oracle, IBM DB2, MySQL, MS
> SQL Server, ...) 
> Performancemessung und Lasttests 
> Schnittstellenarchitektur mit Apache SOAP und Apache
> AXIS 
> Anwendungsentwicklung mit PHP und MySQL 
> Anwendungsentwicklung mit Lotus Notes/Domino 
> Datenmodellierung 
> 
> *snip off*
>  
> you tell your customers that you are THE J2EE
> competence and asks questions
> like this?
> if your companies homepage would tell the truth you
> would ANSWER questions
> like this - 
> NOT ASKING ;-)
> 
> cheers!
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net
> +++
> Bitte lächeln! Fotogalerie online mit GMX ohne
> eigene Homepage!
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> <[EMAIL PROTECTED]>
> Sent: Sunday, April 06, 2003 6:16 AM
> Subject: Tomcat vs. JBoss
> 
> 
> > Hi there,
> >
> > At my company some are discussing to replace our
> Tomcat installation with
> > JBoss application server.
> > What are the main arguments pro/contra using
> Tomcat/JBoss?
> > Is anybody able to share some production
> experiences?
> >
> > To my mind it seems
> > *) if I need EJB -> take JBoss
> > disadvantage: more complex
> >
> > *) if I need the reference J2EE engine -> take
> Tomcat
> > advantage: easier to use, less overhead with EJB
> >
> > What do you think?
> >
> > cheers,
> > Johannes
> 
> 


__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
Hi Joe Sam,

Thanks for your detailed reply.

Do you know any real-life scenarios where you can't do it with Tomcat but 
need EJB seriously? 
So far I've done any backend-access using Apache Axis (Soap) and haven't 
yet had a great desire to use RMI/EJB remote access with pages of nested 
exceptions if anything goes wrong. 

Thx alot
Johannes





"Joe Sam Shirah" <[EMAIL PROTECTED]> 
05.04.2003 19:41
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
"Tomcat Users List" <[EMAIL PROTECTED]>
cc

Subject
Re: Tomcat vs. JBoss







Hi Johannes,

There is no Tomcat versus JBoss issue.  JBoss is a J2EE container 
which,
per the spec, includes a servlet engine.  The standard JBoss download
includes Jetty, but there is also one that includes Tomcat.  So the real
issue, if you want to have one, is Jetty versus Tomcat.  We've used Jetty
( with JBoss ) because it started life as an HTTP server, with servlet/JSP
functionality included as time went on.  It allows us to avoid the
mod_jk/connector business one sees all the time in questions on this list
and also avoids the Apache - servlet engine handoff; we've seen good
performance..

JBoss is pretty much a full fledged J2EE engine, not just an EJB
container.

The J2EE RI is not authorized for a production environment, so there
also is no JBoss versus J2EE RI issue.  See the RI license, which says:

"for the sole purpose of designing, developing and testing your Java
applets and applications ("Programs")"

  So, the issue is between other J2EE application servers and JBoss.

In any event, while it is my understanding that Tomcat 4.x and 5.x
versions begin to focus on performance ( anyone feel free to jump in ), 
the
J2EE RI makes no performance claims at all, being designed to show how
a J2EE server should work with applications - a *Reference Implementation* 
-
rather than mandate or perform any optimal internal operations.


 Joe Sam

Joe Sam Shirah -http://www.conceptgo.com
conceptGO -Consulting/Development/Outsourcing
Java Filter Forum:   http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400



- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, April 06, 2003 6:16 AM
Subject: Tomcat vs. JBoss


> Hi there,
>
> At my company some are discussing to replace our Tomcat installation 
with
> JBoss application server.
> What are the main arguments pro/contra using Tomcat/JBoss?
> Is anybody able to share some production experiences?
>
> To my mind it seems
> *) if I need EJB -> take JBoss
> disadvantage: more complex
>
> *) if I need the reference J2EE engine -> take Tomcat
> advantage: easier to use, less overhead with EJB
>
> What do you think?
>
> cheers,
> Johannes




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat vs. JBoss

2003-04-05 Thread Joe Sam Shirah

Hi Johannes,

There is no Tomcat versus JBoss issue.  JBoss is a J2EE container which,
per the spec, includes a servlet engine.  The standard JBoss download
includes Jetty, but there is also one that includes Tomcat.  So the real
issue, if you want to have one, is Jetty versus Tomcat.  We've used Jetty
( with JBoss ) because it started life as an HTTP server, with servlet/JSP
functionality included as time went on.  It allows us to avoid the
mod_jk/connector business one sees all the time in questions on this list
and also avoids the Apache - servlet engine handoff; we've seen good
performance..

JBoss is pretty much a full fledged J2EE engine, not just an EJB
container.

The J2EE RI is not authorized for a production environment, so there
also is no JBoss versus J2EE RI issue.  See the RI license, which says:

"for the sole purpose of designing, developing and testing your Java
applets and applications ("Programs")"

  So, the issue is between other J2EE application servers and JBoss.

In any event, while it is my understanding that Tomcat 4.x and 5.x
versions begin to focus on performance ( anyone feel free to jump in ), the
J2EE RI makes no performance claims at all, being designed to show how
a J2EE server should work with applications - a *Reference Implementation* -
rather than mandate or perform any optimal internal operations.


 Joe Sam

Joe Sam Shirah -http://www.conceptgo.com
conceptGO -Consulting/Development/Outsourcing
Java Filter Forum:   http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400



- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, April 06, 2003 6:16 AM
Subject: Tomcat vs. JBoss


> Hi there,
>
> At my company some are discussing to replace our Tomcat installation with
> JBoss application server.
> What are the main arguments pro/contra using Tomcat/JBoss?
> Is anybody able to share some production experiences?
>
> To my mind it seems
> *) if I need EJB -> take JBoss
> disadvantage: more complex
>
> *) if I need the reference J2EE engine -> take Tomcat
> advantage: easier to use, less overhead with EJB
>
> What do you think?
>
> cheers,
> Johannes




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OFF-TOPIC] Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
Hi

I cannot leave your claim unanswered here, even it is way off topic - I 
don't see any info on JBoss at my homepage, so I cannot see any sentence 
which is not true.

I hope your next post will be more helpful to the community here, instead 
of blaming others.

cheers
Johannes

Re: Tomcat vs. JBoss

2003-04-05 Thread Michael Maier
hi johannes!

i took a look at your companies homepage and there i can find infos about
you:

*snip on*

Mag. Ing. Johannes Fiala 
Technische Leitung, Geschäftsführer
Specials: 

J2EE-Applikationsentwicklung mit Apache Tomcat und Sybase EAServer 
J2EE-Applikationsdesign mit Aufteilung Webserver / Applikationsserver /
Backend-Systeme als n-Tier System
(z.B. Apache/MS IIS/Lotus Domino als Webserver, Tomcat als
Applikationsserver) 
Integration mit relationalen Datenbanksystemen (Oracle, IBM DB2, MySQL, MS
SQL Server, ...) 
Performancemessung und Lasttests 
Schnittstellenarchitektur mit Apache SOAP und Apache AXIS 
Anwendungsentwicklung mit PHP und MySQL 
Anwendungsentwicklung mit Lotus Notes/Domino 
Datenmodellierung 

*snip off*
 
you tell your customers that you are THE J2EE competence and asks questions
like this?
if your companies homepage would tell the truth you would ANSWER questions
like this - 
NOT ASKING ;-)

cheers!

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



regarding the installation of tomcat

2003-04-05 Thread manchi prathima

Is it necessary to set the tomcat environmental variable  TOMCAT_HOME to run tomcat 
server

Plz send the information regarding this.

regards

prathima

Catch all the cricket action. Download Yahoo! Score tracker

I need help

2003-04-05 Thread anurag vijay kumar rahangdale
To,

 Tomcat Help Desk

 I am Java Programmer I have developed application in JSP using
 Apache Tomcate 4.0 server. It okay when ever I am using it in 
our
 company in stand alone system but when we are going to upload 
it
 on net it create problems. Actually we purchase space in 
server
 there our companies website(general html pages) is running, 
after
 developing our companies product web site which is in JSP when 
I
 upload its .war file on server machine
 jakarta-tomcat-4.0-b7/webapp folder it is running on server
 machine when I access it through http://localhost:8080/sales
 (sales is my .war name) but I want it t access remotely through 
my
 company web site i.e. http://www.xyz.com:8080/sales ut it will
 show server/page not found error. Can you tell me how I can
 configure it for my requirement, please reply me soon.
 I am waiting for your reply

 Thanks

 Anurag rahangdale

___
Odomos - the only  mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


upload and renameto apache-tomcat problem

2003-04-05 Thread Peter H.
Hello Tomcat-Community,

I try to figure out a strange but reproduceable error:
Using Apache and Tomcat under windows and maybe linux.
After uploading a file to a temporary dir and renaming (moving) it
to a apache accessible folder i have strange problems...
If i upload a image with the attached servlet and after it accessing the 
image with apache i must wait some seconds to get a succesful renameTo. the 
problem is that if i don't create the temporary image file with java the 
renameTo always succeeds. but the servlet should
have file upload behaviour...

maybe its the FileServletWrapper but uploading multiple times without
accessing the image with apache there is no problem!
ps. The FileServletWrapper is only available as class code...
Any Suggestions?
Thanks
Peter

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public final class FileServlet
extends HttpServlet {
static public final String TARGET =
"/export/wwwdoc/test.jpg";
public void service(HttpServletRequest req, HttpServletResponse resp) throws 
IOException {
FileServletWrapper request = new FileServletWrapper(req,
new File("/temp"));
File source = null;

if(request.getFileParameter("file") != null) {
source = request.ucdGetFileParameter("file").getFile();
}
PrintWriter writer = resp.getWriter();
writer.write("");
writer.write("");
writer.write("http://127.0.0.1/fileservlet\"; 
METHOD=\"post\" ENCTYPE=\"multipart/form-data\">");
writer.write("");
writer.write("");
writer.write("");
if(source != null) {
File target = new File(TARGET);
if(target.exists()) {
writer.write("Target file exists");
if(!target.delete()) {
writer.write("Target file delete failed:" + target + "");
return;
}
}
if(source.renameTo(target)) {
writer.write("rename succeeded");
}
else {
writer.write("rename failed");
}
}
writer.write("");
writer.write("");
writer.write("");
}
}




_
Mit dem MSN Messenger eine Reise für 4 Personen nach Barcelona gewinnen – 
jetzt mitmachen! http://www.sweepstakes2003.com/entry.aspx?locationid=15

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat vs. JBoss

2003-04-05 Thread Kaarle Kaila
At 13:16 6.4.2003 +0200, you wrote:
Hi there,

At my company some are discussing to replace our Tomcat installation with
JBoss application server.
What are the main arguments pro/contra using Tomcat/JBoss?
Is anybody able to share some production experiences?
I have not used JBoss myself but had a look at it's documentation some time 
ago and if I understand it correctly JBoss is an EJB container and does not 
include the other features of J2EE that are available with Tomcat.

I.e. you need Tomcat and if you want also EJB support you can have that 
with JBoss. Tomcat does not support EJB's.

regards
Kaarle

To my mind it seems
*) if I need EJB -> take JBoss
disadvantage: more complex
*) if I need the reference J2EE engine -> take Tomcat
advantage: easier to use, less overhead with EJB
What do you think?

cheers,
Johannes
-
Kaarle Kaila
http://www.iki.fi/kaila
mailto:[EMAIL PROTECTED]
tel: +358 50 3725844 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 4.0.4 Crashing

2003-04-05 Thread WIPRO Anil Gandhi
No, I did'nt get Core dump, neither I got Internal JVM error.  patches are up to date. 
Solaris Admin guy have updated OS patch recently, still no change in situation.

regards
Anil

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:21 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.4 Crashing



Howdy,
Do you get a core dump and an hs_err file in the working directory where
you started tomcat?  This is another way of asking if it crashes with an
internal JVM error?  Make sure your solaris box has the OS patches
required for the JDK.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: WIPRO Anil Gandhi [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 02, 2003 3:52 AM
>To: Tomcat Users List
>Subject: Tomcat 4.0.4 Crashing
>
>
> Hi,
>
>I have tomcat 4.0.4 installed on Sun server with OS 2.8. Recently I
have
>experienced that tomcat goes down without any error logs being reported
in
>Catalina. out or any other log file. I am clueless, why tomcat is going
>down. has anyone faced similar problem.
>
>Version ; Tomcat 4.0.4 Candidate Release.
>JVM : java version "1.4.0_01"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
>Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
>
>Thanks
>Anil
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



error starting Tomcat

2003-04-05 Thread WIPRO Anil Gandhi
Hi,
I am getting the following error when I try to start Tomcat server. 
It waits for quite sometime Creating MBeanServer and later crashes with the following 
exception. I have checked my machine has  8005 port free.

Help seeked.

Thanks
Anil



INFO: Creating MBeanServer
Apr 5, 2003 8:37:34 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Apr 5, 2003 8:37:49 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Apr 5, 2003 8:37:49 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 5, 2003 8:37:49 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=3/52  
config=/root/tomcat2/jakarta-tomcat-4.1.18/conf/jk2.properties
StandardServer.await: create[8005]: java.net.BindException: Cannot assign requested 
address
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
at java.net.ServerSocket.bind(ServerSocket.java:308)
at java.net.ServerSocket.bind(ServerSocket.java:266)
at java.net.ServerSocket.(ServerSocket.java:182)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
at org.apache.catalina.startup.Catalina.start(Catalina.java:521)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: error starting Tomcat

2003-04-05 Thread WIPRO Anil Gandhi
Seems to be like that, Do u have any idea, how it can be configured or how can I check 
whether I have permission. I am currently trying as root.

Thanks
Anil

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:09 PM
To: Tomcat Users List
Subject: RE: error starting Tomcat



Howdy,
It might be that you don't have permission to bind to that socket on
your server.  

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: WIPRO Anil Gandhi [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 02, 2003 7:12 AM
>To: Tomcat Users List
>Subject: error starting Tomcat
>
>Hi,
>I am unable to start tomcat. Whenever I start it gives me the error
>"StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
>requested address".
>I thought initially that there is some process already running on port
8005
>but when I checked that found that there is no process running on this
>port.
>
>(i used netstat -an | grep 8005 to check that, later tried telnet 0
8005
>and got negative response).
>
>I even change this address to 9005 still the same error.
>
>Interstingly when i do ps -ef | grep tomcatthe process is
up but when
>I try to access
>
>tomcat from the browser using http://localhost:8080 then nothing comes
up.
>when I do netstat -an | grep 8080  , I get LISTEN as the status.
>
>Interestingly tomcat stops automatically after some time.  I am using
>tomcat 4.1.18 with JDK 1.4
>
>
>here is the error message.
>
>StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
>requested address
>java.net.BindException: Cannot assign requested address
>at java.net.PlainSocketImpl.socketBind(Native Method)
>at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
>at java.net.ServerSocket.bind(ServerSocket.java:308)
>at java.net.ServerSocket.bind(ServerSocket.java:266)
>at java.net.ServerSocket.(ServerSocket.java:182)
>at
>org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
>at
org.apache.catalina.startup.Catalina.start(Catalina.java:521)
>at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Stopping service Tomcat-Standalone
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.18->4.1.24 causes standard tag to fail

2003-04-05 Thread johannes . fiala
hi jim,

I had the same trouble when running jspc using ant.

Simply replacing the absolute URI (which BTW points nowhere at the sun 
website) with a relative URI:
<%@ taglib prefix="c" uri = "/WEB-INF/c.tld" %>

and supplying the c.tld file (below) solved the whole issue easily.
It  has the additional advantage you know what's really in the tld, not 
only a generic absolute uri pointing nowhere.
And... you can use ant to run JSPC!

Make sure you add the c.tld to the webapps' WEB-INF directory.

==

http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>

  1.0
  1.2
  c
  http://java.sun.com/jstl/core
  JSTL core
  JSTL 1.0 core library

  

org.apache.taglibs.standard.tlv.JstlCoreTLV


expressionAttributes

out:value
out:default
out:escapeXml
if:test
import:url
import:context
import:charEncoding
forEach:items
forEach:begin
forEach:end
forEach:step
forTokens:items
forTokens:begin
forTokens:end
forTokens:step
param:encode
param:name
param:value
redirect:context
redirect:url
set:property
set:target
set:value
url:context
url:value
when:test


Whitespace-separated list of colon-separated token pairs
describing tag:attribute combinations that accept expressions.
The validator uses this information to determine which
attributes need their syntax validated.

 
  

  
catch
 
org.apache.taglibs.standard.tag.common.core.CatchTag
JSP

Catches any Throwable that occurs in its body and optionally
exposes it.


var
false
false

  

  
choose
 
org.apache.taglibs.standard.tag.common.core.ChooseTag
JSP

Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
 and 

  

  
out
org.apache.taglibs.standard.tag.el.core.OutTag
JSP

Like <%= ... >, but for expressions.


value
true
false


default
false
false


escapeXml
false
false

  

  
if
org.apache.taglibs.standard.tag.el.core.IfTag
JSP

Simple conditional tag, which evalutes its body if the
supplied condition is true and optionally exposes a Boolean
scripting variable representing the evaluation of this condition


test
true
false


var
false
false


scope
false
false

  

  
import
 org.apache.taglibs.standard.tag.el.core.ImportTag
org.apache.taglibs.standard.tei.ImportTEI
JSP

Retrieves an absolute or relative URL and exposes its contents
to either the page, a String in 'var', or a Reader in 'varReader'.


url
true
false


var
false
false


scope
false
false


varReader
false
false


context
false
false


charEncoding
false
false

  

  
forEach
 org.apache.taglibs.standard.tag.el.core.ForEachTag
org.apache.taglibs.standard.tei.ForEachTEI
JSP

The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality


items
false
false


begin
false
false


end
false
false


step
false
false


var
false
false


varStatus
false
false

  

  
forTokens
 
org.apache.taglibs.standard.tag.el.core.ForTokensTag
JSP

Iterates over tokens, separated by the supplied delimeters


items
true
false


delims
true
false


begin
false
false


end
false
false


step
false
false


var
false
false


varStatus
false
false

  

  
otherwise
 
org.apache.taglibs.standard.tag.common.core.OtherwiseTag
JSP

Subtag of  that follows  tags
and runs only if all of the prior conditions evaluated to
'false'

  

  
param
 org.apache.taglibs.standard.tag.el.core.ParamTag
JSP

Adds a parameter to a containing 'import' tag'

Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
Hi there,

At my company some are discussing to replace our Tomcat installation with 
JBoss application server.
What are the main arguments pro/contra using Tomcat/JBoss?
Is anybody able to share some production experiences?

To my mind it seems
*) if I need EJB -> take JBoss
disadvantage: more complex

*) if I need the reference J2EE engine -> take Tomcat
advantage: easier to use, less overhead with EJB

What do you think?

cheers,
Johannes

High availability Tomcat webapps using ant undeploy/deploy??

2003-04-05 Thread johannes . fiala
Hi there!

My primary focus is high availability of the Tomcat applications running 
in production. 

Currently it takes approximately 10 seconds to redeploy an application 
using ant undeploy/deploy in production. 
This means taking the whole application down for 10 seconds leaving users 
with an 404 error.

==> What could I do to have 100% availability of my webapp during the 
undeployed-state?

thx alot
Johannes


Weird problem using ant undeploy/deploy: InitParameters not inited

2003-04-05 Thread johannes . fiala
Hi there,

I'm facing a strange problem sometimes when I'm doing an ant 
undeploy/deploy:

Sometimes, the Context InitParameters don't get initialized, they simply 
resume to "null". 

Does anybody have any idea what might cause this? It is reproducible but 
happens at different times. 
The problem occurs especially often on our production machine, which is 
running AIX 4.3.

thx alot
Johannes

RE: Switching between releases during runtime

2003-04-05 Thread johannes . fiala
Hi Yoav,

Thanks for your ideas, but how do they work out in the ant deploy 
scenario, where the application actually resides in "/usr/local/tomcat/
work/Standalone/localhost/manager/forms.war" ?

*) Is it an option to create a symlink "forms" in the /webapps directory 
to point to "/usr/local/tomcat/work/Standalone/localhost/manager/forms.war
"?
*) Do I have any other options than creating a symlink? I'm working with a 
Windows-machine for development, so I'd prefer something not os-specific!
*) The best thing would be a pseudo-context which simply points to another 
context, so each request gets mapped to the versioned context.

thx alot
Johannes





"Shapira, Yoav" <[EMAIL PROTECTED]> 
31.03.2003 16:51
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
"Tomcat Users List" <[EMAIL PROTECTED]>
cc

Subject
RE: Switching between releases during runtime







Howdy,
Several other approaches, all I think better than your context pointer
idea:

- Have the context XML definition file (tomcat 4.1 or later) name a
symlink as the docBase.  That symlink would point to myapp-1.0 and could
be changed to myapp-1.1 etc.

- Have the context entry itself in the webapps directory be a symlink to
somewhere outside the webapps directory, for example:
/local/build/myapp-1.0
/local/build/myapp-1.1
/local/tomcat/webapps/myapp -> /local/build/myapp-1.0
so "myapp" under webapps is just a symlink.

- Just redeploy appropriately using the ant tasks supplied with tomcat
an save yourself headaches in the long run.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Saturday, March 29, 2003 12:33 PM
>To: Tomcat Users List
>Subject: Switching between releases during runtime
>
>hi there,
>
>Is it possible to have a "virtual" context, which just points to
another
>context?
>e.g.
>myapp = current version, should point to myapp-1.0
>myapp-1.0
>myapp-1.1
>
>Is it possible to change the context "myapp" is pointing to during
>runtime?
>This would make switching between releases much easier rather than
having
>to redeploy for each release switch.
>
>What do you think about this idea?
>
>thx
>Johannes



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: mod_webapp to connect Apache-Tomcat

2003-04-05 Thread James Williamson
>
> How about posting it to the CVS tree?  Sounds like it is something that a
> lot of people would want.

Will do, shall I just send the patch to the dev list?

Regards,

James Williamson
www.nameonthe.net
Tel: +44 208 7415453
Fax: + 44 208 7411615

>
> John
>
> On Thu, 3 Apr 2003 10:46:40 +0100, James Williamson <[EMAIL PROTECTED]>
> wrote:
>
> > John, Hugo
> >
> > We've written a patch that introduces two new Directives, WebAppIgnore
> > and
> > WebAppMatch which allows you to do this. We've been using this for many
> > months
> > now for our clients who want to run php and .jsp's on the same account.
> > If
> > anyone's
> > interested in it, please drop me an email.
> >
> > Regards,
> >
> > James Williamson
> > www.nameonthe.net
> > Tel: +44 208 7415453
> > Fax: + 44 208 7411615
> >
> > - Original Message -
> > From: "John Turner" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 02, 2003 8:09 PM
> > Subject: Re: mod_webapp to connect Apache-Tomcat
> >
> >
> >>
> >> The webapp connector (mod_webapp) cannot separate content based on URL.
> > It
> >> sends EVERYTHING to Tomcat.  That's one of its drawbacks, and why most
> >> people end up using JK or JK2.
> >>
> >> If you need to get particular with a URL, you will need JK or JK2.
> >>
> >> John
> >>
> >> On Wed, 2 Apr 2003 13:49:53 -0300, JACA Hugo (Personal Externo)
> >>  >> [EMAIL PROTECTED]> wrote:
> >>
> >> > WebApp connector is working, if alone, but not running with Oracle
> > Apache
> >> > jserv at the same time on the same server...
> >> > I need to have both jserv (used by Oracle Portal) and webapp (used to
> >> > conect
> >> > to Tomcat), and I'm not sure if it's posible.
> >> >
> >> > If I only use jserv, Oracle Portal works but connection with Tomcat
> >> not.
> >> > If I only use webapp, connection with Tomcat works but Oracle Portal
> > not.
> >> >
> >> > If I use both all jsp are handled by jserv, I can't find a directive
> >> to
> >> > tell
> >> > webapp to handle jsp like with JkMount (using jk), do you know if
> > there's
> >> > any way to do it ?
> >> >
> >> > Oracle Apache config includes lines like:
> >> > ApJServAction .jsp /servlets/oracle.jsp.JspServlet
> >> > in a such way that I can't restrict to a VirtualHost scope
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> >
> >

> >> >
> >> >
> >> > 
> >> > From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to
> >> > connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800
> >> >
> >> > Have you tried changing
> >> >
> >> > WebAppConnection warp warp magiccubedesa:38008
> >> >
> >> > to
> >> >
> >> > WebAppConnection warp warp 172.16.1.102:38008
> >> >
> >> >
> >> > Also, sometimes but not always it is usefull to explicity provide the
> >> > address="172.16.1.102" attrubute in the Tomcat connector tag.  While
> >> the
> >> > connector is suppose to bind to all interfaces if the address is not
> >> > provided, for sometimes it is useful to give it a nudge.  This also
> >> > ensures
> >> > that you truly know what IP addressed you are binding to.
> >> >
> >> > All this assumes of coure that tomcat in on the same machine as
> >> apache.
> >> >
> >> >
> >> > To state the obvious but always useful advice, it never hurts to
> > shutdown
> >> > tomcat and apache, wait 30 seconds and then start tomcat, wait 30
secs
> >> > and
> >> > then start apache.
> >> >
> >> >
> >> >
> >> >
> >> > http://www.portalsociete.com Visítenos, lo estamos esperando.
> >> >
> >> > 
> >> > La información aquí contenida es confidencial y está dirigida
> >> > solamente a las personas direccionadas en el mail.
> >> > No debe ser considerada como recomendación de compra o venta
> >> > de valores. Todo acceso no autorizado, uso, reproducción, o
> >> > divulgación está prohibido.
> >> > Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales
> >> > asumirán responsabilidad ni obligación legal alguna por cualquier
> >> > información incorrecta o alterada contenida en este mensaje.
> >> >
> >> > The information contained herein is confidential and is intended
> >> > solely for the addressee(s).  It shall not be construed as a
> >> > recommendation to buy or sell any security.  Any unauthorized
> >> > access, use, reproduction, disclosure or dissemination is prohibited.
> >> > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
> >> > shall assume any legal liability or responsibility for any incorrect,
> >> > misleading or altered information contained herein.
> >> > 
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional co