Re: JDBC & ORACLE implementation !

2003-02-24 Thread Swapneel Dange
yeah i know what ur saying PENG , but i am still at a very basic stage in the FILESYSTEM implementation , thats why before i move any further, i was making sure as to whether considering the ROBUST structure and all that stuff into account will it be better if i implement the SQLPLUS or stick to

running tomcat under unix

2003-02-24 Thread Swapneel Dange
i am trying to run TOMCAT 4.0 under unix, but i get the following messages when i try to start the TOMCAT : [EMAIL PROTECTED] ./startup.sh Using CATALINA_BASE: /home/grad12/sdange/tomcat/jakarta-tomcat-4.1.18-src/catalina/src Using CATALINA_HOME: /home/grad12/sdange/tomcat/jakarta-tomcat-4.

Re: JDBC & ORACLE implementation !

2003-02-24 Thread Peng Tuck Kwok
If you have already started on a filesystem and if it does what you want it to do at a reasonable speed then stick with it :) . Swapneel Dange wrote: hey CHONG , PENG ! i think i have really given up the idea of putting up ORACKLE for my support. after all this discussion, i just think that th

Re: JDBC & ORACLE implementation !

2003-02-24 Thread Swapneel Dange
hey CHONG , PENG ! i think i have really given up the idea of putting up ORACKLE for my support. after all this discussion, i just think that there i sno urgent need for me to take up a HUMONGOUS taks of using ORACLE and i guess i will IMPLEMENT the SQLPLUS or the FILESYSTEM as my alternatives

RE: can servlet interact with html file in someplace other than current servlet context?

2003-02-24 Thread TO_Valery
Morning! Your code wouldn't work. Servlet should before to get context of the another webapp. . ServletContext webapp2context = this.getServletContext().getContext(uri_path_to_wevapp2); webapp2context.getRequestDispather("some_target_in_webapp2").forward(request ,response); ...

Re: Database load balancing?

2003-02-24 Thread Hawkeye I. King
It seems you've confirmed my suspicions that database server load balancing is not a mature, open-source technology. I think Mr. Einfeldt's suggestion of 4 apps to 2 DBs, where one DB instance is shared by two apps, might be the best. Since load is balanced among the app servers, hopeful

Re: need 2 appbase settings

2003-02-24 Thread Craig R. McClanahan
On Tue, 25 Feb 2003, William Claxton wrote: > Date: Tue, 25 Feb 2003 13:09:09 +0800 > From: William Claxton <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: need 2 appbase settings > > We have successfully moved our appbase to a folder othe

need 2 appbase settings

2003-02-24 Thread William Claxton
We have successfully moved our appbase to a folder other than Tomcat's default. However, this means we can no longer see the manual pages or the Tomcat servlet examples. I believe the correct approach would be to create 2 host entries in 'server.xml', one with the default appbase (where we'd find

RE: Excel sheets

2003-02-24 Thread Mike Johnson
Well, I figure if you go to all the trouble of setting headers or funky request strings, the server has done it's job and you can wash your hands from there. If IE sucks that badly, just tell your users you've got a CD from mozilla.org that'll fix it. :-) On Sun, 2003-02-23 at 20:20, John Leveill

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Peng Tuck Kwok
Tomcat ignores the classpath, the only variable you need to setup on win2k (at least for me ) was the JAVA_HOME. Michael Ni wrote: Exact problem is tomcat can't read from the CLASSPATH and needs the actual files inside the web-inf folder. So basically to get a connection you need to 1 install

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Michael Ni
Exact problem is tomcat can't read from the CLASSPATH and needs the actual files inside the web-inf folder. So basically to get a connection you need to 1 install the sdk 2 install tomcat 3 get all the environmental variables correct 4 install the driver 5 (this is my problem) place a copy of th

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Peng Tuck Kwok
Ok, good to hear you got it to work but I'm curious, what was exact cause of the problem ? Michael Ni wrote: Thank you Ian Hunter and the rest of the tomcat crew!!! Just got it to work!!! I'm a grateful student from University of Pennsylvania trying to make a web application but new to java.

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
You're welcome -- this is one of the great things about the Jakarta project and open source software in general -- a great user community. - Original Message - From: "Michael Ni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 10:49 PM Subject: Re: Tomcat and Mi

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Michael Ni
Thank you Ian Hunter and the rest of the tomcat crew!!! Just got it to work!!! I'm a grateful student from University of Pennsylvania trying to make a web application but new to java. I'm spoiled by asp and IIS but I figure its time to move on to more powerful software. Thanks Everyone you g

can servlet interact with html file in someplace other than currentservlet context?

2003-02-24 Thread Xiongfei Wang
My current servlet context is in /home/jp/reg I have a login(login.java) servlet in this context In login.java i have code like private static final String TARGET_FILE="/var/www/index.html"; if( ) { (req.getRequestDispatcher(target))

Problem compiling mod_jk2 connector in Solaris 8 Apache 2.0.39

2003-02-24 Thread Julio César Mejia Vergara
Hello, I have a Sun Blade 100 (SPARC) running Solaris 8 with all its bundled patches. I'm traing to configure Apache HTTP 2.0.39 with Tomcat 4.1.18, i got Apache and Tomcat working seperatly but i'm traing to make it work together via Coyote mod_jk2, but when i try to compile mod_jk2 connector

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
One reason to use WEB-INF\lib is if you plan on distributing your app or deploying it to a different system, it's easier to move \webapps\\* than to worry about lots of little jars in common... - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
I see you just got it working: exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'sa'.[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'sa'. - Original Message - From: "Ian Hunter" <[EMAIL PROTECTED]> T

RE: 403 unavilable

2003-02-24 Thread Nandish A
Thanks Jon it worked -Original Message- From: Jon Roberts [SMTP:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 9:37 PM To: Tomcat Users List Subject:Re: 403 unavilable Nandish A wrote: > hi all i have this directory structure > c:/Windows/Desktop/Code/ >

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Peng Tuck Kwok
Uhm michael, you need to decide where you want to put the jars in the first place, if you want the driver available to all webapps then you put it there. If you just want it for your webapp then you can put it into the lib directory. I'm not sure if it will cause major problems but it's best to

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
Mine works fine. The only place I have the ms*.jar files on my system is webapps\\WEB-INF\lib -- I have a Win2K Dell laptop running jdk1.4.0 and Tomcat 4.1.18, connecting to SQL2K through a firewall -- the same box running SQL2K also hosts a duplicate application, and I've even had a Sun SPARCser

RE: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Michael Ni
ive copied to my C:\Tomcat 4.1\webapps\ROOT\WEB-INF\lib C:\Tomcat 4.1\common\lib and it still doesn't work. has anyone actually got their scripts to query from SQL Server 2000 using the Microsoft SQL Server 2000 JDBC Driver? seems like sun products never work with microsofts michael ni From:

RE: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Galbayar Dorjgotov
copy common\lib directory -Original Message- From: Michael Ni [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue My goal is to use JSP to query from my Microsoft SQL Server 2000. I hav

Re: JPDA_ADDRESS default in "catalina.sh" is 8000, but "jdbconn"in "catalina.bat"

2003-02-24 Thread Jeanfrancois Arcand
It depends on which JPDA connection method you use. Under windoses, you can use SharedMemoryAttach (transport dt_shmem) or dt_socket (like UNIX).. See the JPDA documentation for more info :-) -- Jeanfrancois Karr, David wrote: It seems perfectly reasonable to me to default JPDA_ADDRESS to 8000

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Tim Funk
Tomcat ignores your CLASSPATH variable. For more information about tomcat handles classloaders, see here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Tim Michael Ni wrote: My goal is to use JSP to query from my Microsoft SQL Server 2000. I have successfully created

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
Put msutil.jar, mssqlserver.jar, and msbase.jar in WEB-INF/lib and all will be happy. - Original Message - From: "Michael Ni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 9:32 PM Subject: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue > My goal is t

Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Michael Ni
My goal is to use JSP to query from my Microsoft SQL Server 2000. I have successfully created my environments and installed the drivers for the Microsoft SQL Server 2000 JDBC. However when i run my script i get the following error Driver not found:java.lang.ClassNotFoundException: com.microsof

How to verify SSL/HTTPS behind Tomcat via AJP13

2003-02-24 Thread Ian Hunter
>From http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html -- "Any pages which absolutely require a secure connection should check the protocol type associated with the page request and take the appropriate action of https is not specified." Also, "When running Tomcat primarily as a Serv

Re: having trouble using tomcat

2003-02-24 Thread Vy Ho
Try to diagnose your problem by printing out progress, and incrementally add codes. That is to start a jsp page that works, and does not have anythign to it. Then you can just try with any other driver such as odbc jdbc bridge first, there are plenty of example for this. Then after it works, you c

ssl on tomcat 4.0.4

2003-02-24 Thread Alex Troubadour
Hi, we have java 1.3.1 and tomcat 4.0.4 on a linux box ( Red Hat 7.3 ). I want to use https on port 8443 with tomcat. If I use keytool to create a certificate I have no problem. However, we are a Novell (5.1) shop. If I create a request, I use it in ConsoleOne to create a certificate but if I tr

Re: Connection pooling

2003-02-24 Thread Arcadius A.
"Arcadius A." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! > I'm using Tomcat 4, mod_jk1.2 and Apache 1.3.27 on Redhat > > I'm in need of connection pooling example to get me started > I've had a look at http://jakarta.apache.org/commons/dbcp/api/index.html > and th

JPDA_ADDRESS default in "catalina.sh" is 8000, but "jdbconn" in "catalina.bat"

2003-02-24 Thread Karr, David
It seems perfectly reasonable to me to default JPDA_ADDRESS to 8000, as is set in "catalina.sh". However, I noticed that in "catalina.bat", the default is not 8000, and isn't even a number, being "jdbconn", whatever that means. What is the reason for that difference? ---

RE: tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Tam, Michael
I believe the attributes named differently. I am using 4.1.19 under Windows. I don't remember from which version on the following attributes name differently. userName now called connectionName userPassword now called connectionPassword I think that maybe the problem. Cheers -Original Mess

Re: JDBC & ORACLE implementation !

2003-02-24 Thread Chong Yu Meng
I think if you take Oracle installation, configuration and maintenance out of the picture, you definitely have a much more workable plan. I agree with Peter, in that designing the tables and application logic are going to be tough. I once wrote a servlet that processed CDR data from a Cisco swi

RE: Excel sheets

2003-02-24 Thread Januski, Ken
The Freedom to Innovate does take some odd paths. -Original Message- From: John Leveille [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 11:21 PM To: Mike Johnson; Tomcat Users List Subject: RE: Excel sheets And the swirl goes on ... try putting putting response.set

Re: tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Mubaraka Arif
hi michael, yes , my JDBC connectively does work well using Servlets/jsp. I am running tomcat4 on debain linux. I also include the snippet of server.xml : port="8180" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" deb

Re: Mapping .jsp to controller servlet

2003-02-24 Thread Erik Price
Januski, Ken wrote: Thanks Eric, I know that I do need to learn about filters. It's just something I don't feel like I'm up for at the moment, though I may find it surprisingly easy once I finally look into it. I'll take a look at the articles. I felt the same way until I took a closer look and

NoClassDefFoundError: JspContext when using pageContext.getOut()

2003-02-24 Thread Viktor Gars
Hi I have a tag that contins this code -- import javax.servlet.jsp.JspTagException; import javax.servlet.jsp.tagext.TagSupport; public class TestTag extends TagSupport { public int doEndTag() throws JspTagException { try { pageContext.getOut().print("Hello!"); } catch(Exception e) { } retu

tomcat suddenly stopped reloading applications automatically..urgent

2003-02-24 Thread runu rathi
Hi all, I had configured Tomcat quite painstakingly. It was running as a WINNT service with the application being automatically reloaded on changes to any classes. Recently, I am working on an application using JDBC. And suddenly I find that Tomcat is taking one of the old classes which I have

RE: Mapping .jsp to controller servlet

2003-02-24 Thread Januski, Ken
Thanks Eric, I know that I do need to learn about filters. It's just something I don't feel like I'm up for at the moment, though I may find it surprisingly easy once I finally look into it. I'll take a look at the articles. Ken -Original Message- From: Erik Price [mailto:[EMAIL PROTEC

RE: tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Tam, Michael
Hi Mubaraka, Can you verify if your JDBC library does work? For example, use a simple jsp/servlet to call JDBC to connect to your db?? Once JDBC is working then we can narrow down where the problem is. Michael -Original Message- From: Mubaraka Arif [mailto:[EMAIL PROTECTED] Sent: Mo

Compile JSP on Startup

2003-02-24 Thread Molof, Barry
I am currently using Tomcat 3.3.1a. I would like to know how to compile all of the JSP files when Tomcat starts. Right now the JSP files get compiled on the first instance of the JSP. Therefore, running the app for the first time is very slow. Can anyone tell me what I have to configure to get

RE: Help! Anyone successfully install a purchased certificate?

2003-02-24 Thread John Roth
Sorry about the delay, but I had to go play in Vegas for a few days. Similar to Richards post, here are the actual steps I went through to get our Verisign cert installed into Tomcat. The only big caveat here was that this is based on JSSE for the 1.3 JDK, where JDK1.4 has integrated this. Sorry

IIS & Tomcat Integration

2003-02-24 Thread Reddin, Gregory
I just finished integrating our IIS 4.0 with Jakarta Tomcat 4.1.18. I have a question about running a .jsp file on my IIS website. For testing, I copied the "date.asp" example file located here: (C:\jakarta-tomcat-4.1.18\webapps\examples\jsp\dates) into my IIS's wwwroot folder and went to it usi

Re: .htaccess + htpasswd NOT working

2003-02-24 Thread Zachary Kuhn
Manu, Make sure that you have your apache config file set up with AllowOverride AuthConfig for your app dir. Manu Kits wrote: Hello: I am using Apache+Tomcat and would like to configure it for Authorization/Authentication. I read the article posted at http://httpd.apache.org/docs/howto/auth.

RE: tomcat suddenly stopped reloading applications automatically..urgent

2003-02-24 Thread Turner, John
After stopping Tomcat, before restarting it, did you clean out (delete) all of the files in the work directory for that host? John > -Original Message- > From: runu rathi [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 3:10 PM > To: [EMAIL PROTECTED] > Subject: tomcat suddenl

tomcat suddenly stopped reloading applications automatically..urgent

2003-02-24 Thread runu rathi
Hi all, I had configured Tomcat quite painstakingly. It was running as a WINNT service with the application being automatically reloaded on changes to any classes. Recently, I am working on an application using JDBC. And suddenly I find that Tomcat is taking one of the old classes which I have

RE: Servlet Problems Uprgrading from Tomcat 3.2.x to Tomcat 4.1.18

2003-02-24 Thread Matt Frame
Sorry, I found another person had asked this same question and my problem was the same. I had a space in the directory structure for the Tomcat installation. Matt -Original Message- From: Matt Frame [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:33 PM To: 'Tomcat Users List

Re: tomcat4 dies when JBDC Realm is configured

2003-02-24 Thread Mubaraka Arif
hi michael, I had provided the ConnectionURL, connectionName and connectionPassword , its jsut for security reasons I did not have it along with other details. I tried it placing under host, context and Engine services but still it dies. All help would be appreciated Mubaraka On 2003.02.24 1

.htaccess + htpasswd NOT working

2003-02-24 Thread Manu Kits
Hello: I am using Apache+Tomcat and would like to configure it for Authorization/Authentication. I read the article posted at http://httpd.apache.org/docs/howto/auth.html I made all the changes to my config to make it work. When I start my APache and point in my Browser https://My.IP.ADDR.ESS I

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 ins

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

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 ( subelements) related with the protected zones. For example, in web.xml file I have the following lines: Private Zone 1

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 l

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 installat

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

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 /welcome-file in web.xml.

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

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 P

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 fa

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 rel

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: 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 doe

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

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: www.ExoticPets.c

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: 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 search

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 followin

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 required

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 no

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

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.

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'

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'

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] >S

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 bel

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.

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.S

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 PROTECT

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 tomc

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 h

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

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 PROTEC

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. ---

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 JkWorkersFi

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öhle

tomcat 4.1.18 locks up

2003-02-24 Thread Sven Köhler
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 j

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 & .class

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: 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: 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 t

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: I have additionally tried port 8082. I have no idea which settings I have to use in mc4j. I tried "mx4j" as connection type and the urls "rmi://localhost:1099" and "rmi:/

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 Java.IO.E

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

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 gues

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 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

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"

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 scorebo

  1   2   >