Tomcat 4.1.18 session

2003-02-24 Thread D Bamud
I moved my web appl from Tomcat 4.0.4 to Tomcat4.1.18. For each user session I store the reference to the session in a Vector so that I can tell what users are logged-in, last-accessed-time etc. It was working fine in Tomcat 4.0.4. But in Tomcat4.1.18 (perhaps due to new specifications) session

Re: Mac os x and class files

2003-02-24 Thread Peng Tuck Kwok
Hi Warren, classes can go into two places in a webapp, let's say I have a myapp as an example myapp |WEB-INF |-classes |-lib You can put all your classes (if they are not in jar in classes, follow whatever package structure you need) in

Read parameters from web.xml

2003-02-24 Thread Tomcat User
Hi all. I've creating my own JNDIRealm and I would like to read the parameters from $CATALINA_HOME/webapps/example/WEB-INF/web.xml file. How I can to read these parameters?? Regards. - To unsubscribe, e-mail: [EMAIL

urgent (servlets+jdbc(oracle8i thin driver)+tomcat)

2003-02-24 Thread zafar ahsan
Hello Am working on oracle8i,servlets and tomcat. My tomcat3.2.4 is working ok. Am new and novice to tomcat as well as java technology can pls any one help me, how to get my application working on tomcat.i just mean what i will have to do it to connect the oracle to tomcat, would i have to

urgent (servlets+jdbc(oracle8i thin driver)+tomcat)

2003-02-24 Thread zafar ahsan
Hello Am working on oracle8i,servlets and tomcat. My tomcat3.2.4 is working ok. Am new and novice to tomcat as well as java technology can pls any one help me, how to get my application working on tomcat.i just mean what i will have to do it to connect the oracle to tomcat, would i have to

urgent (servlets+jdbc(oracle8i thin driver)+tomcat)

2003-02-24 Thread zafar ahsan
Hello Am working on oracle8i,servlets and tomcat. My tomcat3.2.4 is working ok. Am new and novice to tomcat as well as java technology can pls any one help me, how to get my application working on tomcat.i just mean what i will have to do it to connect the oracle to tomcat, would i have to

RE: JDBC ORACLE implementation !

2003-02-24 Thread Swapneel Dange
hey peter, mike chong ! so if i stay with a small thing like SQLPLUS, the JDBC connectivity wont be a tough thing to do as compared to the ORACLE implementation. right ? because in last few days after consulting with some people in-house here, i am thinking over the OPTION of SQLPLUS. do

web.xml and server.xml for *.jsp pages

2003-02-24 Thread Romeo Dickason
Hi all, I've got the following jsp page: C:\Apache\Tomcat\webapps\holidayspots\jsp\index.html What changes do I need to make to the server.xml and the web.xml to be able to able to open the jsp page using: http://localhost:8080/holidayspots/ Thanks! Romeo Dickason Java Developer eMMS

MBeans and MC4J

2003-02-24 Thread Achim Hügen
Hi, I'm trying to manage Tomcat from mc4j, but I can't find any documentation for the MBeans support. Is the MBean support official and how can I use it from an external tool? Achim

urgent (servlets+jdbc(oracle8i thin driver)+tomcat)pls reply soon

2003-02-24 Thread zafar ahsan
-- - Forwarded Message - DATE: Mon, 24 Feb 2003 01:10:47 From: zafar ahsan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello Am working on oracle8i,servlets and tomcat. My tomcat3.2.4 is working ok. Am new and novice to tomcat as well as java technology can pls any one help me,

Read parameters from web.xml

2003-02-24 Thread Manuel Gil Perez
Hi all. I've creating my own JNDIRealm and I would like to read the parameters from $CATALINA_HOME/webapps/example/WEB-INF/web.xml file. How I can to read these parameters?? Regards. - To unsubscribe, e-mail: [EMAIL

RE: Excel sheets

2003-02-24 Thread John Leveille
And the swirl goes on ... try putting putting response.setHeader(Content-disposition, attachment; filename=foo.csv); and watch as you get two save as dialogs from the browser (I.E. 5.5, I think) ... ouch! WARNING: You can waste a lot of time on this problem. Proceed at your own risk :-) We

Database load balancing?

2003-02-24 Thread Hawkeye I. King
Does anyone have a clue about load balancing read-only database requests to PostgreSQL? I'm developing a data-intensive application that requires scalability, not just from Tomcat, but from Postgres as well. I will use hardware load balancing to Tomcat, but I cannot do the same to a

RE: Database load balancing?

2003-02-24 Thread Ralph Einfeldt
It depends on your requirements. For read only load balancing to achieve more performance you might also consider to use replication: http://gborg.postgresql.org/project/pgreplication/projdisplay.php This way you could for exapmle setup 4 instances of tomcat and 2 instances of postgreSQL where

RE: urgent (servlets+jdbc(oracle8i thin driver)+tomcat)pls reply soon

2003-02-24 Thread zafar ahsan
Tx for help Do u mean i will have to copy it to my application . i mean in $tomcat_home\webapps\zaf_fin\web_inf\classes\ or $tomcat_home\lib\ and then add the class path environment variable. pls let me know soon , i would be thankful for yr help, also pls let me what else do i need to do.

Tomcat 4.1.18 standard version XML parser

2003-02-24 Thread Hong Li
All, this might be a old question but I'd searched online and can't find any tomcat 4.1.x related. so hope someone could help. I am using a vendor's jar file which need using a version of Xerces parser(sorry asking them now which version) so I guess can't use default tomcat one. so I place the

Re: Tomcat and Virtual Sites in IIS

2003-02-24 Thread Konrad Rusz
Hi. Thank You very much for Your help. It is working very well. I did it earlier, but I forgot restart IIS and I couldn't connect to Tomcat by means of redirect.dll. This is my fault. Thanks and have a nice day. Konrad - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

AW: Connection Pooling

2003-02-24 Thread chris weber
Hello Sebastian, i think, the common-dbcp + commons-pooling is the better way. I tried both ways, but no one works! My problem is the context. Whe i make a Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds =

Get URL within JNDIRealm

2003-02-24 Thread Manuel GP
Hi... I've making a JNDIRealm with LDAP access and I need to get the URL where JNDIRealm is called. I've various security constraints and I would like to distinguish the protected zones. How I can to get the URL within of my own JNDIRealm??

RE: Subject: RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-24 Thread Turner, John
1. Tomcat-dev is the place for that discussion 2. Submit a patch 3. Solved John -Original Message- From: nord ehacedod [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 10:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Subject: RE: Tomcat 4.1.18-LE re-writes

RE: Apache modules with Tomcat

2003-02-24 Thread Turner, John
My point was that changing the output of a servlet stream, from an architectural and portability standpoint, is probably more appropriate while Tomcat still has control over the output. I'm sure there are a number of ways to get what you want, some requiring more work, some requiring less. John

RE: Problem with Tomcat Apache running on Different IPs

2003-02-24 Thread Turner, John
I don't use JK2, so I cant answer #2 and #3. The answer to #1 is: No, it is not required to run Tomcat and Apache on the same IP address, as long as the relevant properties files for your chosen connector point to the IP address where Tomcat listens. Looking at your URL, it looks like the

Servlet deployment problems (Apache 2.0.44 / Jakarta-Tomcat 4.1.18)

2003-02-24 Thread Lars Nielsen Lind
Hi. I have some problems with the deployment of servlets with Apahce / Jakarta-Tomcat. 1.) I have placed the servlet class in: .../webapps/application/WEB-INF/classes/servlet class 2.) I have added a web.xml file in: .../webapps/application/WEB-INF/web.xml 3.) I have added the following

RE: Servlet deployment problems (Apache 2.0.44 / Jakarta-Tomcat 4.1.18)

2003-02-24 Thread Turner, John
Add servlet-mapping servlet-nameTesting/servlet-name url-pattern/servlet/MyServlet/url-pattern (change this as needed) /servlet-mapping to your web.xml below the entry you already made. The entry you have is incomplete, there is no URL map. That's the reason for the 404. John

RE: Servlet deployment problems (Apache 2.0.44 / Jakarta-Tomcat 4.1.18)

2003-02-24 Thread John Trollinger
Are you using jdk 1.4, in 1.4 you can no longer have non packaged classes.. Also you might need to setup the default servlet as it is disabled by default for security reasons. If you do not want to enable the default servlet you could also create a servlet mapping. John -Original

RE: web.xml and server.xml for *.jsp pages

2003-02-24 Thread Nandish A
In the server.xml you have to define a context like Context path=/holidayspots docBase=C:/Apache/Tomcat/webapps/holidayspots/jsp .. in the same location you have web.xml you will find the last entry(most of the times) welcome-file-list

Apache and Tomcat: a bad practice

2003-02-24 Thread Vic Cekvenich
Lot's of Apache to Tomcat questions. In the past, (Hardware sales) people would say you need a html server (Apache) and a jsp server (Tomcat). Now Tomcat can server HTML pages very fast and can do SSL, etc. There is no reason to maintain and configure in operations communications between

urgent pls help me(servlets+jdbc(oracle8i thin driver)+tomcat)pls reply soon

2003-02-24 Thread zafar ahsan
Hello Am working on oracle8i,servlets and tomcat. My tomcat3.2.4 is working ok. Am new and novice to tomcat as well as java technology can pls any one help me, how to get my application working on tomcat.i just mean what i will have to do it to connect the oracle to tomcat, would i have to

Re: Database load balancing?

2003-02-24 Thread Vic Cekvenich
Try caching first; with Poolman.sf.net or http://www.phworks-online.com/cache.html Replication could slow you down. .V Ralph Einfeldt wrote: It depends on your requirements. For read only load balancing to achieve more performance you might also consider to use replication:

Tomcat Manager in 3.3.1

2003-02-24 Thread João Augusto Charnet
Hello, I'd like to know if there is any way to execute the Tomcat Manager in 3.3.1. I know this is a 4.0.1 functionality, but is there a patch that enables this in 3.3.1 ? Thanks a lot .. Sincerely, John - To unsubscribe,

RE: Apache and Tomcat: a bad practice

2003-02-24 Thread Turner, John
Please don't troll the list. There are all sorts of reasons besides need CGI to use Apache. I can think of one right now (load balancing) that would pretty much make using Apache mandatory in many installations. Instead of bashing people for the software they choose to use, a more helpful

RE: JDBC ORACLE implementation !

2003-02-24 Thread Peter Lin
overall, using JDBC with Tomcat is the easy part. Deciding how to implement your tables and application logic will be the hard part. If your data is not normalized and doesn't need to be, then the first thing you should look into is statistical analysis of text. there are several well tested

Re: Apache and Tomcat: a bad practice

2003-02-24 Thread Vic Cekvenich
No need to use big words. I was just giving you good practice, vs no so good practice. I take it you disagree. You can load balance Tomcat just fine. IMO: It's a good practice to try to avoid using Apache. Mostly newbies think that this is required. I am just saying, this is not required or

RE: Internal Server Error

2003-02-24 Thread Shapira, Yoav
Howdy, Apologies in advance - newbie here. Don't apologize for that ;) Running Tomcat 4.0.6 on 2000 box, using JDK 1.3.1_02, and Apache 1.3. I'm Cool. Suggest you update JDK to 1.4.1 if you can, as 1.3x has numerous bugs and 1.4.1 is faster. (pasted below). From looking through the

RE: Is it necessary to use a jdk with tomcat?

2003-02-24 Thread Shapira, Yoav
Howdy, Technically, as things are right now, if you don't have JSPs that need to be compiled at runtime, you can use the JRE. If you have JSPs and want to use the JRE, pre-compile your JSPs using JspC. However, please note that the official tomcat requirement for installation is the JDK, not

RE: Microsoft JVM

2003-02-24 Thread Shapira, Yoav
Howdy, What's the -version output on that JVM? From you message I gather you've so far tried unsuccessfully to do this. That's not too surprising. I think the MS JVM is really old. Yoav Shapira Millennium ChemInformatics -Original Message- From: rf [mailto:[EMAIL PROTECTED] Sent:

RE: Mapping .jsp to controller servlet

2003-02-24 Thread Cox, Charlie
You should use filters instead of a bean. They will greatly simplify what you are trying to do as Erik explained. When you create new JSP's, you will just be able to drop them in the mapped directory and they will automatically be protected by your filter. any JSP that is not protected by

RE: Odd classloader behavior in Tomcat 4.x

2003-02-24 Thread Shapira, Yoav
Howdy, See intermixed. I'm having trouble executing a JSP page that is throwing NoClassDefFoundError for a class that it should find. The JSP page instantiates an object via the tag: One of the keys to understanding this issue is understanding the difference between a ClassNotFound and a

RE: OT: Is it ok to close connection in finalize() ?

2003-02-24 Thread Shapira, Yoav
Howdy, That's not the half of it. Garbage collection requires that all running threads (except its own) are halted. Not always true. Depends on the collector chosen and its implementation. Use to be always true when the JDK offered only a stop-the-world implementation. Yoav Shapira

RE: OT: Is it ok to close connection in finalize() ?

2003-02-24 Thread Shapira, Yoav
Howdy, 2. With very few exceptions, calling System.gc() is a bad idea. The JVM knows what it's doing better than you do. I completely agree. 4. From what I can tell, the main reason to have a finalize() method is if your object has some kind of JNI resources that it needs to clean up outside

Re: Mac os x and class files

2003-02-24 Thread Warren Burholt
Thanks Peng, I have been doing exactly that and more, and that is the problem, it should work, but doesn't. If you get a chance, please read through the entire thread to see if you can find anything that I might be doing wrong. Warren On Monday, February 24, 2003, at 03:07 AM, Peng Tuck

RE: Re[2]: Best Logging practices

2003-02-24 Thread Shapira, Yoav
Howdy, I wrote up a brief comparison, it's at http://darksleep.com. The It's an interesting comparison (and a generally interesting web site, plus a very cool domain name) -- thanks for writing and sharing it. I wanted to point out, however, that your comparison doesn't include a crucial

RE: MBeans and MC4J

2003-02-24 Thread pqin
Does your tomcat load MBean server during startup? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Achim Hügen [mailto:[EMAIL PROTECTED] Sent: February 24, 2003 4:44 AM To: [EMAIL PROTECTED] Subject: MBeans and

Have a jakarta-tomcat version question

2003-02-24 Thread george mouyios
I have downloaded the jakarta tomcat version 4.1.18 I was reading the documentation from the link provided on this page http://wwfcanon.panda.org/index.jsp Now when I did that I read the introduction and now on the install and running part. I clicked on that link:

Re: urgent (servlets+jdbc(oracle8i thin driver)+tomcat)pls replysoon

2003-02-24 Thread Yves Lambert
Galbayar:*PLEASE DON'T BLIND COPY TO THE LIST * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat Porting

2003-02-24 Thread Shapira, Yoav
Howdy, 2003-02-19 01:26:43 ApplicationDispatcher[] Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: /templates/gaggle/html/systemError.jsp at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.j ava:211) at

RE: Have a jakarta-tomcat version question

2003-02-24 Thread Shapira, Yoav
Howdy, Use either the docs on the tomcat site (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html) or the ones that ship with your distribution. Yoav Shapira Millennium ChemInformatics -Original Message- From: george mouyios [mailto:[EMAIL PROTECTED] Sent: Monday, February 24,

Application redeploy does not work! Please reply.

2003-02-24 Thread Jim Cobban
When I use the manager app to redeploy my servlet context it does not affect the behavior as seen by the outside world. On my ISP users come in through an Apache server, not directly to the Tomcat server. Issuing the redeploy command through the manager app reloads the classes only on the Tomcat

RE: Apache and Tomcat: a bad practice

2003-02-24 Thread Dennis Cartier
I disagree. In my opinion you should play to the applications strengths, and serving static content is NOT Tomcat's strength. When you throw in load balancing and the ability to dynamically add and subtract Tomcat nodes out of your pool by adjusting the Apache's on the front-end, the benefits

Re: Tomcat 4.1.18 standard version XML parser

2003-02-24 Thread Jacob Kjome
Not sure what you mean by I am not start tomcat using the -D endors setting so the parser in COMMON/ENDORSED shouldn't be used by tomcat, because the parser in common/endorsed will get used if it exists. This is by default. You would have to modify the default for this not to be the case.

mod_jk2: Can't find child in scoreboard error msg

2003-02-24 Thread Kenneth Rothwell
I am using Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6g mod_jk2/2.0.2 on a Solaris 8. Apache forwards requests to Tomcat , but I get suspicious messages in apache/logs/error_logs when a servlet is accessed... [Thu Feb 20 23:50:39 2003] [error] jk2_init() Can't find child 25336 in

Re: including header, footer in jsp

2003-02-24 Thread jeff . guttadauro
The Struts template taglib handles this very nicely and is pretty straightforward, although the Struts team is now recommending using a more complex version of this called Tiles. Check it out. runu rathi [EMAIL PROTECTED] 02/22/03 12:25 PM Please respond to Tomcat Users List To:

RE: Tomcat 4.1.18 standard version XML parser

2003-02-24 Thread Hong Li
Oops, is this why fewer people response? Ok, from the documentation of 4.1.18,Class Loader HOW-TO,at the bottom said as below: . XML Parsers and JDK 1.4 Among many other changes, the JDK 1.4 release packages the JAXP APIs, and a version of Xerces, inside the JDK. This has

mod_jk + ssl

2003-02-24 Thread Adam Greene
I am getting ready to setup a Linux box running Apache 1.3.29, Tomcat 4.1.18, and mod_jk and I am wondering if there is anything special I need to do to my Tomcat config as the Apache HTTP is what will have the SSL running on it (via mod_ssl).

RE: Tomcat Apache

2003-02-24 Thread Eduardo Jaunez S.
The problem seems to be the CA certificate. There are two levels of authentication; one certificate from server-client (wich says this server is ...) and a client-server (wich says this connection is made from ...). For the server-client you import your certificate (I

RE: Have a jakarta-tomcat version question

2003-02-24 Thread Steve Guo
The link you provided has Running The Tomcat 4.0 Servlet/JSP Container under Install and Run - Just a little wrinkle on documentation. Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Use either the docs on the tomcat site (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html) or the ones

Apache/Tomcat(linux) Permission denied error

2003-02-24 Thread vim m
Hi: I am running apache2.044/tomcat4.1.18 on linux. I am having a servlet that creates a file on the server(under usr/local/apache2/htdocs/subdirectory) on getting a particular request. This works welll for sometime, but after a period of inactivity generally overnight I start getting a

Antwort: RE: MBeans and MC4J

2003-02-24 Thread Achim Hügen
Does your tomcat load MBean server during startup? Regards, Yes it does, I have included this entry in the server.xml: Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 port=-1 login=admin password=admin/ I have additionally tried port 8082. I have no

Re: new instalation missing startup scripts

2003-02-24 Thread Jon Roberts
Zachary Kuhn wrote: I just installed the 4.1.8 release of Tomcat via the linux binary RPM. However, when I go to /var/tomcat4/bin i have no startup scripts, only a couple jar files. The docs say the startup files should be there. Is there something I am missing? The bin/ scripts are only found in

Re: Mapping .jsp to controller servlet

2003-02-24 Thread Erik Price
Januski, Ken wrote: I've found a workaround for the time being. Each .jsp page has access to a bean that includes login info. I changed jsp page to test to see if the login flag is true. If so nothing happens. If not then I use jsp:forward to send it back to the login.jsp page. So this will work

Re: tomcat5.0 build problem

2003-02-24 Thread Steve Guo
When I tried, telnet cvs.apache.org 2401, I got 'connect failed' message. I assume I already have everything on my PC, can I turn off the 'cvs' feature, and compile all local files? I understand there is need for version control, but for a starter, is there a simple way out? Thanks, Steve

Re: 403 unavilable

2003-02-24 Thread Jon Roberts
Nandish A wrote: hi all i have this directory structure c:/Windows/Desktop/Code/ | |___Web-inf |__web.xml |__classes |MyServlet(.java

tomcat 4.1.18 locks up

2003-02-24 Thread Sven Khler
this is all i can tell you (from catalina.out) SCHWERWIEGEND: Caught exception executing [EMAIL PROTECTED], terminating java.lang.OutOfMemoryError 24.02.2003 14:55:03 org.apache.jk.server.JkCoyoteHandler action SCHWERWIEGEND: Error in action code java.net.SocketException: Broken pipe at

RE: tomcat 4.1.18 locks up

2003-02-24 Thread Shapira, Yoav
Howdy, Once you get an OutOfMemoryError, you're in an indeterminate state. Configure your JVM such that you don't get OutOfMemoryErrors. See http://java.sun.com/docs/hotspot/VMOptions.html for your options. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sven Köhler

Apache Alias Error (Apache+Tomcat+JBoss)

2003-02-24 Thread Manu Kits
Hi: I am using Apache 1.3.26 + JBoss(embedded with Tomcat). I configured my MOD_JK.SO and my Apache + Tomcat connection is working fine. I have following on my HTTPD.CONF file: -- LoadModule jk_module libexec/mod_jk.so

Re: tomcat 4.1.18 locks up

2003-02-24 Thread Sven Köhler
Once you get an OutOfMemoryError, you're in an indeterminate state. Configure your JVM such that you don't get OutOfMemoryErrors. See http://java.sun.com/docs/hotspot/VMOptions.html for your options. Sorry, but which option should i use? i seem to be blind.

RE: tomcat 4.1.18 locks up

2003-02-24 Thread Shapira, Yoav
Howdy, For starters, try -Xmx512m. That will set a max heap size of 512MB for your JVM. To set the option for tomcat, modify the JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sven Köhler [mailto:[EMAIL

Re: Database load balancing?

2003-02-24 Thread Will Hartung
From: Vic Cekvenich [EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:02 AM Subject: Re: Database load balancing? Try caching first; with Poolman.sf.net or http://www.phworks-online.com/cache.html Yeah, that's what I would try first. Especially if it's read only data, make it an issue to

Re: how to protect file

2003-02-24 Thread Will Hartung
From: Xiongfei Wang [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 9:21 AM Subject: how to protect file I have tomcat 4.1.18 i want to develop a login system similar to login system of my bank's website. Why not go and read Section 12. Security in the Servlet Spec. This wheel has

Re: tomcat 4.1.18 locks up

2003-02-24 Thread Sven Köhler
ps aux now shows something like /opt/java/bin/java -server -Xmx512m ... i think, this should help. is it a good idea, to use -server (selects the server vm)? Shapira, Yoav wrote: Howdy, For starters, try -Xmx512m. That will set a max heap size of 512MB for your JVM. To set the option for

RE: tomcat 4.1.18 locks up

2003-02-24 Thread Ralph Einfeldt
The mosts posts in this list indicate that the server option is not a good option. It's faster, but also less stable. Havn't seen anything about the latests JDK's in this respect. So you may have to try and stress test it. -Original Message- From: Sven Köhler [mailto:[EMAIL

Re: Tomcat Porting

2003-02-24 Thread Will Hartung
From: Jeff Masud [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 1:28 AM Subject: Tomcat Porting 2003-02-19 09:57:37 StandardManager[] Cannot serialize session attribute GAGGLE$STATE for session 54279C61F055148C959AE9D7B7B51962 java.io.NotSerializableException: com.gaggle.util.Services

Re: tomcat 4.1.18 locks up

2003-02-24 Thread Sven Köhler
The mosts posts in this list indicate that the server option is not a good option. It's faster, but also less stable. shouldn't it be the other way round? Havn't seen anything about the latests JDK's in this respect. So you may have to try and stress test it. i'll removed the -server switch.

tomcat with secrurity option prevents access

2003-02-24 Thread John Zastrow
Another question about getting Tomcat to work with security. It seems like there are quite a few these. Platform: Tomcat 4.0.4 running with security option on Redhat8 acessing Oracle at host.xxx.com:1521 The policy regarding our web application is specified in catalina.policy file (Quoting

RE: tomcat 4.1.18 locks up

2003-02-24 Thread Shapira, Yoav
Howdy, I agree with what Mr. Einfeldt said. -server is less stable even though it should be more stable, so we don't use. That includes the latest stable JDK release from Sun. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sven Köhler [mailto:[EMAIL PROTECTED]

problem with FilePermisson for context

2003-02-24 Thread Jochen Schurich
is it possible to set a FilePermission in the catalina.policy file that every context can access his own directory for read write ? i found this somewhere in the internet: grant codeBase file:${doc.root}/- { permission java.io.FilePermission ${doc.root}/-, read,write,delete; }; but i can't find

problem with FilePermission for context

2003-02-24 Thread Jochen Schurich
is it possible to set a FilePermission in the catalina.policy file that every context can access his own directory for read write ? i found this somewhere in the internet: grant codeBase file:${doc.root}/- { permission java.io.FilePermission ${doc.root}/-, read,write,delete; }; but i can't find

RE: tomcat 4.1.18 locks up

2003-02-24 Thread Ralph Einfeldt
No, the ideal would be faster and more stable :) Just some statements from Sun: The Java HoSpot Client VM ... it is tuned for best performance ... by reducing application start-up time and memory footprint. The Java HotSpot Server VM is designed for maximum program execution speed.

tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Mubaraka Arif
hello , I have been trying to establish conainer amanaged security , so I tried to configure it using JDBC Realm. Steps what I follwed where : 1. created users table with fields username, password. 2. created roles tables with fields username, rolename. 3. In server.xml I added the JDBC Realm

tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Mubaraka Arif
hello , I have been trying to establish conainer amanaged security , so I tried to configure it using JDBC Realm. Steps what I follwed where : 1. created users table with fields username, password. 2. created roles tables with fields username, rolename. 3. In server.xml I added the JDBC Realm

catalina_log* filling up with errors

2003-02-24 Thread Simone Chiaretta
Hello all, I was looking at catalina_log files and I found out that every day I get dozen of this errors...Connection reset by peer... don't know it's a normal behaveour or if it's problem with some connector (I'm using tomcat 4.0.4 for the moment) and if it's a normal behaveour is there a way not

RE: Apache and Tomcat: a bad practice

2003-02-24 Thread Turner, John
Great! I'd love to see a HOWTO for load-balancing Tomcat instances across multiple hosts without spending any money for a dedicated hardware solution and doesn't use another software product besides Tomcat. Got a link for one? Newbies on this list are FREQUENTLY told that Apache is NOT

Re: Apache Alias Error (Apache+Tomcat+JBoss)

2003-02-24 Thread Manu Kits
There was a typo in my last posting... Here is the modified posting... ~~~ Hi: I am using Apache 1.3.26 + JBoss(embedded with Tomcat). I configured my MOD_JK.SO and my Apache + Tomcat connection is working fine. I have following

RE: Tomcat 3.3.1a Install Windows 2000 Service

2003-02-24 Thread Haytham Samad
Check this link out on apache's site: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html There are various tools out there. I read a posting that listed this site: http://web.bvu.edu/staff/david/tcservcfg/ If you run a search on google you will find a bunch and if you

RE: mod_jk + ssl

2003-02-24 Thread Turner, John
Nope. The communications between Tomcat and Apache, via mod_jk, will be in the clear (non-SSL). Assuming you can configure your Apache for SSL correctly, and can configure the JK connection correctly, there's nothing else you have to do to Tomcat. John -Original Message- From: Adam

RE: having trouble using tomcat

2003-02-24 Thread Mark Clarke
You may need to set your database context as well. I.e. DriverManager.getConnection(jdbc:microsoft:sqlserver://128.91.107.105:1 433;User=sa;Password=duder;DatbaseName=myDB); = Mark Clarke - Exotic Pets E-Mail: [EMAIL PROTECTED] WWW:

RE: catalina_log* filling up with errors

2003-02-24 Thread Shapira, Yoav
Howdy, Try changing to the Coyote connector, and better yet moving to 4.1.18. Yoav Shapira Millennium ChemInformatics -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:31 PM To: Tomcat User List Subject: catalina_log* filling up with

Re: Apache and Tomcat: a bad practice

2003-02-24 Thread Will Hartung
From: Turner, John [EMAIL PROTECTED] Sent: Monday, February 24, 2003 9:31 AM Subject: RE: Apache and Tomcat: a bad practice Great! I'd love to see a HOWTO for load-balancing Tomcat instances across multiple hosts without spending any money for a dedicated hardware solution and doesn't use

Re: More info on custom tag problem

2003-02-24 Thread Percival Bragg
Thanks for your help on the custom tag error problem. When I move the application from the ROOT/ folder to the webapps folder everything worked fine. I am new to JSP and tomcat and have been putting all my applications under ROOT and everything worked fine before this. WHY? --- Bill Barker [EMAIL

RE: tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Tam, Michael
In your xml, if it is what you're using in your setup, then you didn't provide any value to connectionURL, connectionName, and connectionPassword to establish connection to the database. If you need help on this, you should read the document that comes with tomcat where you will find a section

Initialization of Dispatcher Failed

2003-02-24 Thread Tancreto, John
When starting up The Tomcat 3.3.1a (startup.bat on Win2000), I get the following error message in the prompt window: WARNING: Dispatcher could not be set up: javax.servlet.UnavailableException: Initialization of Dispatcher failed javax.servlet.UnavailableException: Initialization of Dispatcher

Do not display the wekcome-file

2003-02-24 Thread Søren Blidorf
Hi. How can I setup my Tomcat so that the welcome-file is not shown in the adresse field http://mydomain.net/welcome-file Best regards Soren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

NT Service for Tomcat 4.1

2003-02-24 Thread Anthony Shawver
Does the same functionality to load Tomcat as an NT service exist for 4.1 as it does for 3.2? Thanks, Tony

RE: Do not display the wekcome-file

2003-02-24 Thread Shapira, Yoav
Howdy, You can't right now with tomcat standalone. But you do have several other options: - Wait for servlet spec 2.4, implemented by tomcat 5.x, to come out. The spec allows for servlets to be welcome files. So you could just write a welcome servlet and map it to

RE: NT Service for Tomcat 4.1

2003-02-24 Thread Turner, John
Tomcat 4.1.x can be run as a service in NT, 2000, and XP. John -Original Message- From: Anthony Shawver [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:11 PM To: Tomcat Users List Subject: NT Service for Tomcat 4.1 Does the same functionality to load Tomcat as an

Re: Is it necessary to use a jdk with tomcat?

2003-02-24 Thread Oliver Geisser
Hi Shapira, Yoav wrote: Howdy, Technically, as things are right now, if you don't have JSPs that need to be compiled at runtime, you can use the JRE. If you have JSPs and want to use the JRE, pre-compile your JSPs using JspC. However, please note that the official tomcat requirement for

classfile availability for applets while maintaining restricted access

2003-02-24 Thread Jake Robb
Weird problem here. Any help or suggestions would be greatly appreciated. This is slightly off-topic, but is still relevant to Tomcat users. I have a large package of Java classes, which contains half a dozen subclasses, each with several classes. Total class count is about 150. I have Apache

Retrieve parameters from web.xml in my own JNDIRealm

2003-02-24 Thread Manuel GP
I've making my own JNDIRealm and my web application has various protected zones. In my JNDIRealm I would like to retrieve the parameters from web.xml (security-constraint subelements) related with the protected zones. For example, in web.xml file I have the following lines:

Re: NT Service for Tomcat 4.1

2003-02-24 Thread Jacob Kjome
Hello Anthony, Yep, see: http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake Monday, February 24, 2003, 1:11:15 PM, you wrote: AS Does the same functionality to load Tomcat as an NT service exist for 4.1 as AS it does for 3.2? AS Thanks, AS Tony -- Best regards, Jacob

Servlet Problems Uprgrading from Tomcat 3.2.x to Tomcat 4.1.18

2003-02-24 Thread Matt Frame
I am a newbie at Tomcat and Java so please forgive me if I am about to ask some stupid question that everyone should no when working in this environment. Our customer has asked me to upgrade their Tomcat installation from 3.2.4 to 4.1.18. This environment is on Windows 2000. I first

  1   2   >