Re: Tomcat, webapp, SSL, and index files?

2002-04-03 Thread Gary McGowan
there is actually a setting where you can force it to say 'https'. What is this setting? and please do kep me informed of your progress. - Original Message - From: Joseph Molnar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 9:14 AM Subject:

problem with large servlets( classes )?

2002-04-03 Thread Mikkel Lindhard
We are having a not so fun problem with the size of our controller servlet class loaded( could be file size, could be other size problems ) basically were getting this error when adding one more line of code( of any kind ) in our controller servlet: java.lang.VerifyError: (class: ServletName,

Deployment Question

2002-04-03 Thread Neo Gigs
Hi there, How does I can deploy a EAR, WAR or JAR file into Tomcat server? Does there have any deployment tools available like deploytool that can deploy applications into J2EE server? Thanks Neo

Tomcat and JWSDP

2002-04-03 Thread Lenhart Stefan
Hi everyone! I'm trying to develop a small WebService example and therefore use Sun's Java WebService Development Pack which has a Tomcat version 4.something distribution included. Packaging the service class into a war file is no problem, and on startup Tomcat extracts the war archive to the

AW: Deployment Question

2002-04-03 Thread Lenhart Stefan
Hi Neo! If you haven't set the unpackWars attribute of your host element in server.xml to false, Tomcat should be extracting the archives automatically on startup. Just copy the archive file to your webapps directory and TC will create a subdirectory with the archive's name in the work directory

Re: sessions, security, and the RFCs

2002-04-03 Thread Anders Rundgren
Ralph, I could not find anything that disallow switching between https and http in any order while maintaining. Although not a particularly good idea, it is anyhow used out there to protect passwords but be less protective about the session. I think that security issues should be dealt with as

Re: JSP and MYSQL: Connection Sample??

2002-04-03 Thread yilmaz
Hi subceero, Obviously you need to establish your own mysql database and table, here is a simple sample jsp file to give you some hints to get you started. Change the connection parameters in connect.jsp file, and create a sample table according to sample jsp (test.jsp) parameters. Hope it helps

How to configure MySql ( mm.mysql-2.0.4-bin.jar ) in Tomcat v4

2002-04-03 Thread Chuck Amadi
How to configure MySql ( mm.mysql-2.0.4-bin.jar ) in Tomcat v4 i have a copy of the jar file in my /WEB-INF/lib dir. Thus i tried to create a tld.file and a tag element none worked so is there a correct procedure as PostgreSql worked ok with the dbtags.jar. So Plz reply as this is severly

Connection Apache - Tomcat

2002-04-03 Thread [EMAIL PROTECTED]
Hi, the root of my webapplication is: /home/my-user/public_html/docroot/my-app/ I tried to configure Apache and Tomcat to serv the web form this path without success. Apache is recognizing that webapplication when I access files within the docroot folder but not within the wwa-m/ folder (as

Re: Tomcat, webapp, SSL, and index files?

2002-04-03 Thread Joseph Molnar
there is actually a setting where you can force it to say 'https'. What is this setting? Hmm, so far it isn't working (just tried it now). I had presumed that you could set the scheme attribute in the connector to https and have secure set to false...didn't work that way in my first test

Help with ClassLoading

2002-04-03 Thread John Wadkin
All, Tomcat 4.0.1 Apache 1.3 mod_WebApp Java 1.2 I've got a servlet that uses Eteks PJA ToolKit. I've set CATALINA_OPTS to include the environment variables: -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava.awt.fonts=font directory

Re: Connection Apache - Tomcat

2002-04-03 Thread Joseph Molnar
Your connector (server.xml) is actually set to serve from the webapps directory (which is presumably found at /usr/local/tomcat/) There is your problem. You have to change the connector appBase. Joseph Molnar http://www.codesta.com/ - Original

N/w Problem (Puneet Sachar)

2002-04-03 Thread puneet sachar
Hi friends Plz find with the word file along with this mail(virus scanned ) and help me if u have solutions for this Puneet __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ DIAGRAM.doc

Re: Connection Apache - Tomcat

2002-04-03 Thread [EMAIL PROTECTED]
Ho Joseph, thanks for your idea! I was trying that before. (appBase=/home/wwa-m/public_html/docroot/wwa-m/) but without success! I of course restartet Tomact after changing server.xml and restartet Apache as well. In the error log there is still the same (old) adress listed!! Any further

Re: Connection Apache - Tomcat

2002-04-03 Thread Gary McGowan
Rainer I think tomcat4 uses the $CATALINA_HOME environment to get to your context What I did to get round it was to create a symbolic link in the tomcat webapps directory to point to the actual directory. So in your case: ln -s /home/wwa-m/public_html/docroot/wwa-m

RE: N/w Problem (Puneet Sachar)

2002-04-03 Thread John Burgess
Hi Puneet This is off topic but If your structured cabling is already connected to the panel (usually called a patch panel) then its all very easy on the hardware side. Just make sure that the switching hub you are using is an UNMANAGED one -- if the ADCOM is managed then it requires setting

error 404

2002-04-03 Thread Yunce Gunawan
hi all, i have added this charakters to my configuration on httpd.conf IfModule mod_webapp.c WebAppConnection conn warp picard:8080 WebAppDeploy tomcat conn / WebAppDeploy cocoon conn /cocoon WebAppInfo /webapp-info /IfModule and than on my browser i always see this error. WebApp:

RE: error 404

2002-04-03 Thread John Burgess
If 8080 is what you actually put in httpd.conf, are you sure that is the port the warp connector is on. 8008 is more usual, with 8080 being the http port for standalone tomcat. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From:

Re: error 404

2002-04-03 Thread Yunce Gunawan
i'm not sure ... where can i check this warp connector ? -- if i use 8008, i see the same error On Wednesday 03 April 2002 14:29, you wrote: If 8080 is what you actually put in httpd.conf, are you sure that is the port the warp connector is on. 8008 is more usual, with 8080 being the

RE: error 404

2002-04-03 Thread Chris Newland
Hi, Did you restart Apache after you started Tomcat? Regards, Chris -Original Message- From: Yunce Gunawan [mailto:[EMAIL PROTECTED]] Sent: 03 April 2002 13:22 To: Tomcat Users List Subject: error 404 hi all, i have added this charakters to my configuration on

Re: error 404

2002-04-03 Thread Yunce Gunawan
of course On Wednesday 03 April 2002 14:30, you wrote: Hi, Did you restart Apache after you started Tomcat? Regards, Chris -Original Message- From: Yunce Gunawan [mailto:[EMAIL PROTECTED]] Sent: 03 April 2002 13:22 To: Tomcat Users List Subject: error 404

order of files in directory listing strange

2002-04-03 Thread Meinolf . Klement . extern
We are using tomcat 3.2.2 and everthing worked fine. But now the order in which files appear isn't chronological anymore (nor alphabetic); there seems to be no order at all. I haven't found anything in the bug database. Any clue what this might be? Regards Meinolf -- To unsubscribe:

error page customization

2002-04-03 Thread Julien OIX
hi everyone, I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat 7.1; If I want to define templates for 404 or 403 errors, where do I have to configure this stuff ? If Apache, with ErrorDocument directives in my virtual host If Tomcat, where can I configure this ? (I'm using

Re: package org.apache.jasper.runtime does not exist

2002-04-03 Thread Chuck Amadi
hatem zanaty wrote: Include jasper-runtime, jasper-compiler to your class path and logoff/login your computer then try agin Have luck Chuck Amadi [EMAIL PROTECTED] wrote: Hi any takers . All my previous work no longer functions due to this error . Note unfortunatley i don't run cvs and

Re: error page customization

2002-04-03 Thread Gary McGowan
In the web.xml file you can define error pages Example: error-page error-code404/error-code location/missing.jsp/location /error-page And so on You can also define error pages for any exceptions: (again in web.xml) Example : error-page

Re: error page customization

2002-04-03 Thread Julien OIX
Gary McGowan a écrit : In the web.xml file you can define error pages Example: error-page error-code404/error-code location/missing.jsp/location /error-page And so on You can also define error pages for any exceptions: (again in web.xml) Example :

How to manage log files?

2002-04-03 Thread Mike Millson
What is the philosophy behind managing Tomcat log files? Why is it that log files can only be created with the date attached? This makes it impossible to manage the files using logrotate like you can w/ Apache. Instead of a single log file name that you can rotate, you get a file for every day of

Re: error 404

2002-04-03 Thread rsequeira
1) What's the URL you are using? 2) check the tomcat logs to see if there were any errors when deploying the cocoon and tomcat web applications. 3) The port in your WebAppConnection line should match port defined in server.xml. By default the WarpConnector listens on port 8008. See server.xml

session time out

2002-04-03 Thread Mahesh Agarwal
Hi All What is the default value of session timeout in tomcat if we dont provide any value in web.xml file. I am using JBoss-2.4.1_Tomcat-3.2.3. Is the session timeout is total of activity+inactivity? Thanks in advance Mahesh -Original Message- From: kelly, Burrowa [mailto:[EMAIL

Re: error 404

2002-04-03 Thread Yunce Gunawan
On Wednesday 03 April 2002 15:23, you wrote: 1) What's the URL you are using? i use picard.rz.hu-berlin.de 2) check the tomcat logs to see if there were any errors when deploying the cocoon and tomcat web applications. i don't see any errors just this . .. 2002-04-03 15:46:33

Tyrex/Warp JDBC NamingContext problem

2002-04-03 Thread @Basebeans.com
Subject: Tyrex/Warp JDBC NamingContext problem From: Hermod Opstvedt [EMAIL PROTECTED] === Hi all I have looked all over the place, and come across several people that are experiencing the same as me. When I access my .jsp's directly to TC, a lookup of the JDBC that I configured in server.xml

Re: Connection Apache - Tomcat

2002-04-03 Thread [EMAIL PROTECTED]
thanks Gary, that worked. (together with the docBase of course)! Rainer Rainer I think tomcat4 uses the $CATALINA_HOME environment to get to your context What I did to get round it was to create a symbolic link in the tomcat webapps directory to point to the actual directory. So in

writing logfile in webappfolder

2002-04-03 Thread [EMAIL PROTECTED]
Hi, we try to have the logfiles in the webapp-folder WEB-INF/log my appBase is /home/wwa-m/public_html/docroot/ How to I have to set up the Logger/ of the server.xml to work? I tried: Context path=/ docBase=/home/wwa-m/public_html/docroot debug=0 reloadable=true Logger

Make, won't create mod_webapp.so

2002-04-03 Thread David Parham
I'm trying to link apache-2.0.32 to tomcat-4.0.3 using webapp-module-1.0.1-tc401. On a RS/6000 with AIX4.3.3 I run the ./configure --with-apxs=/app/apache-2/bin/apxs. This appears to run correctly, no errors are returned. I then run the make command. It returns the following data, again no

RE: error 404

2002-04-03 Thread John Burgess
Yunce Assuming a default tomcat setup- can you connect to http://localhost:8080/tomcat/your_file.jsp_here or http://localhost:8080/cocoon/your_file.jsp_here or http://picard.rz.hu-berlin.de:8080/tomcat/your_file.jsp_here If you first get tomcat standalone working then you have a firm foundation

Can't run tomcat 4.0.2 examples anymore nothing will compile- package org.apache.jasper.runtime does not exist

2002-04-03 Thread Chuck Amadi
Hi im having problems with getting my examples to work . Somehow i have done something as i was able to run everthing ie my own work projects , thus i have been trying to get the MySql Jar File working and all hell has broke loss. Any Suggestions Error clipboard below Cheers Chuck Amadi

Working Directory

2002-04-03 Thread Sanjay Bahal
I am trying to read a properties file from my servlet. It always comes back saying file not found. I have tried placing the file in classes/web-inf/context-path. Ideally I would like to lace it in my classes directory- How do I achieve it. Thanks Sanjay

Servlet Destroy Method....

2002-04-03 Thread Mark Diggory
Hi all, Is there a way I can test if the Servlet is being destroy()ed because the tomcat server is being shutdown as opposed to the Servlet being reloaded? -Mark Diggory -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

RE: Working Directory

2002-04-03 Thread Wagoner, Mark
I place my properties files in the WEB-INF directory and do the following to find them - String webInfFolder = getServletContext().getRealPath(/WEB-INF) -Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:34 AM To: tomcat Subject: Working

Saving Userid under Form-based Security

2002-04-03 Thread @Basebeans.com
Subject: Saving Userid under Form-based Security From: Dave Butler [EMAIL PROTECTED] === For convenience, I wish to save the userid in a cookie when the form-based login.jsp is processed. I have tried a few different approaches, without success. My current effort is to use a Filter, which

weird behaviour with jsp pages

2002-04-03 Thread Alex Sauve
Hi all, I have a tomcat that is performing a little weird and I am sure that it is a configuration issue, but I have spent days trying to pin-point the problem with little effect. So here is the scenario, I am running Tomcat with Apache and the Apache server that connects to the Tomcat

Re: Servlet Destroy Method....

2002-04-03 Thread Joseph Molnar
Hi Mark. Easiest way would be write something to disk (file/log-file). Joseph Molnar http://www.codesta.com/ - Original Message - From: Mark Diggory [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 8:33 AM Subject:

Re: Servlet Destroy Method....

2002-04-03 Thread Mark Diggory
I'm looking for something more explicit, like a Servlet Engine status code or something... that identifies the state of the Servlet Engine. -thanks for the reply, Mark Diggory Joseph Molnar wrote: Hi Mark. Easiest way would be write something to disk (file/log-file).

Re: error 404

2002-04-03 Thread Joseph Molnar
Hi Yunce. If this two work one of two things needs to happen a) The module needs to be statically link to Apache. You can check this by doing httpd -l, it will list all modules (this is most likely what you need to do unless you built apache yourself) b) You need to specifically load

Re: Servlet Destroy Method....

2002-04-03 Thread Joseph Molnar
Are you looking to take different action during the actual destroy call itself? Joe - Original Message - From: Mark Diggory [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 9:08 AM Subject: Re: Servlet Destroy Method I'm looking for

Re: Servlet Destroy Method....

2002-04-03 Thread Mark Diggory
Yes I was looking to not do something in the destroy() method if its just the case that the servlet is being reloaded by the server. Otherwise, if the server was actually going through a shutdown process then I want my destroy() method to do something. -Mark Joseph Molnar wrote: Are you

Unable to make Tomcat work with localhost

2002-04-03 Thread Kairam, Raj
Installed Tomcat on a HP machine running HP-UX 11. Also running Netscape Navigator 4.x Set required environment variables ( TOMCAT_HOME and JAVA_HOME ) in the start up .profile file and verified. Not able to see Tomcat welcome page and facing problems not mentioned in any of the books I

Re: reading html-form parameters within servlet filter on tomcat4.0.3

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Alexander Thomas wrote: Date: Wed, 03 Apr 2002 00:17:55 +0200 From: Alexander Thomas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: reading html-form parameters within servlet filter on tomcat

Re: Images and STRUTS

2002-04-03 Thread Craig R. McClanahan
On Tue, 2 Apr 2002, Micael Padraig Og mac Grene wrote: Date: Tue, 02 Apr 2002 22:29:28 -0800 From: Micael Padraig Og mac Grene [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Images and STRUTS I tried to do an ordinary image tag with the

Re: problem with large servlets( classes )?

2002-04-03 Thread Craig R. McClanahan
Java has a maximum size of 64kb on any particular method. There might also be other limits on the overall size of the class, but I've had no problems with some pretty large classes. However, I would consider a class this large to be a warning sign that you really need to look at your

Re: Tomcat and JWSDP

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Lenhart Stefan wrote: Date: Wed, 3 Apr 2002 10:45:29 +0200 From: Lenhart Stefan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat and JWSDP Hi everyone! I'm trying to develop a small WebService example and

Re: Deployment Question

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Neo Gigs wrote: Date: Wed, 3 Apr 2002 16:54:13 +0800 From: Neo Gigs [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Deployment Question Hi there, How does I can deploy a EAR, WAR or JAR file into

RE: session object [urgent!]

2002-04-03 Thread Huy K Dung
I have exactly the same problem. I am working on a solution but still no luck. This problem happens to me only when i am using Netscape 4.79. IE 5.5 and Netscape 6.2.2 are OK. I find that IE 5.5 creates a new session in a new window when IE 5.5 is run by clicking on its icon. However, if a new

Re: Images and STRUTS

2002-04-03 Thread Micael Padraig Og mac Grene
THNX Craig At 10:12 AM 4/3/02 -0800, you wrote: On Tue, 2 Apr 2002, Micael Padraig Og mac Grene wrote: Date: Tue, 02 Apr 2002 22:29:28 -0800 From: Micael Padraig Og mac Grene [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Images and

Re: Servlet Destroy Method....

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Mark Diggory wrote: Date: Wed, 03 Apr 2002 12:24:31 -0500 From: Mark Diggory [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Servlet Destroy Method Yes I was looking to

RE: session object [urgent!]

2002-04-03 Thread Huy K Dung
Hi Nancy, I don't think it's Tomcat's problem. It's a problem with the browsers themselves. This problem happens to me even with Tomcat 3.2.3. At first I thought it's a problem with Tomcat 3.3.1 but I ran the same app with Tomcat 3.2.3 and the problem still persists. A workaround or some

RE: Working Directory

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Wagoner, Mark wrote: Date: Wed, 3 Apr 2002 11:38:31 -0500 From: Wagoner, Mark [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Working Directory I place my properties files in the WEB-INF directory

SOAP-ENV:Server.BadTargetObjectURI

2002-04-03 Thread Paul Kelly
hi, no matter what i try i keep getting SOAP-ENV:Server.BadTargetObjectURI / Unable to resolve target object when trying to run soap tests using tomcat to serve the requests. I have tried putting my service classfiles in %CATALINA_HOME%/classes, im using the IBM xerces xml parser, its first

Re: Servlet Destroy Method....

2002-04-03 Thread Mark Diggory
Wow, mine eye's have been opened! I had always thought it was just individual servlets that were reloaded. In this case I guess I can live with destroying everything on reload, because the stuff I wanted to keep up is stored in the ServletContext. Thanks for the clarification, Mark Craig R.

RE: session from URL/Cookie

2002-04-03 Thread Huy K Dung
How do i encode URLs in Velocity Macro? I am using Tomcat and Turbine. -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 10:36 AM To: Tomcat Users List Subject: Re: session from URL/Cookie I'm not entirely sure I understand your problem, but

RE: session from URL/Cookie

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Huy K Dung wrote: Date: Wed, 3 Apr 2002 13:55:33 -0500 From: Huy K Dung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: session from URL/Cookie How do i encode URLs in

Re: session object [urgent!] [solution]

2002-04-03 Thread Nancy Crisostomo Martinez
Hi everybody and thank you for your answers I have found the solution to my problem... Actually there were no errors in my code neither in Tomcat 3.3. The problem was that the Jsp file called in the left side of the frames, was in the Security context ($TOMCAT_HOME/webapps/security) and the jsp

Re: problem with large servlets( classes )?

2002-04-03 Thread Christopher K. St. John
Craig R. McClanahan wrote: Just as a comparison, I did a quick scan of all the classes in Tomcat 4 -- the largest single class in the entire server is around 28k (it's the class that dynamically deploys a new webapp, called by the Manager servlet). $ cd

Re: How to manage log files?

2002-04-03 Thread Jeff Larsen
I share your frustrations, but at this time I believe that our only recourse is to write our own subclass of org.apache.catalin.logger.FileLogger. At this point, I've got bigger fish to fry, so I haven't even looked at this yet. If you come up with something, post it! Jeff - Original

[Coyote] Coyote 1.0 Beta 5 available

2002-04-03 Thread Remy Maucherat
Coyote 1.0 Beta 5 is now available, and includes: - A high performance HTTP/1.1 processor - An adapter for Tomcat 3.3.x - An adapter for Tomcat 4.0.x Changes over Beta 4 include: - Optimized host header parsing. - Add code to prevent filter loops. - Fix NPE with some header values. - Other small

RE: Working Directory

2002-04-03 Thread Sanjay Bahal
Thanks Mark Craig. My situation is slightly different. I am trying to read the property file from a Java class on the server(not the servlet). I would think there would be a way around to do this- else I can work around to pass a param to the helper class. Thanks Sanjay --- Craig R. McClanahan

Configuration problems

2002-04-03 Thread Robertwhadcock
My hosting company are having problems configuring Tomcat on their server, i wondered if you can help, as im really in need of JSP support. here is the last email i got from them: We keep running into problems when runnin jsp that it won't parse the code: root@global [/usr/local/apache/conf]#

RE: XXX Assert failed, buff too small

2002-04-03 Thread John Roth
After two weeks, I am still troubleshooting the same problem uploading files via https where the filesize is greater than 10.7MB. I am not having much luck determining the order in which to problem flows, but the following things are happening: 1. stdout.log records XXX Assert failed, buff too

Strange bean problem in JSP

2002-04-03 Thread Nikola Milutinovic
Hi all. I have a strange bean problem in my JSP page. The bean in question has several properties, most of them are R/W. Anyway, those that I'm trying to set from the request parameters are R/W. My problem is that one of the properties *refuses* to be set. That is eMail. Others, like name,

RE: Strange bean problem in JSP

2002-04-03 Thread Sayre Robert
You should check the capitalization of your bean properties: is it eMail or EMail? the jsp tag: jsp:setProperty name=dataBean property=eMail/ calling the set method: dataBean.setEMail( request.getParameter( eMail ) ); I would try jsp:setProperty name=dataBean property=EMail/. Robert Sayre

Re: Strange bean problem in JSP

2002-04-03 Thread Nikola Milutinovic
Sayre Robert wrote: You should check the capitalization of your bean properties: is it eMail or EMail? the jsp tag: jsp:setProperty name=dataBean property=eMail/ calling the set method: dataBean.setEMail( request.getParameter( eMail ) ); I would try jsp:setProperty name=dataBean

RE: Working Directory

2002-04-03 Thread Craig R. McClanahan
On Wed, 3 Apr 2002, Sanjay Bahal wrote: Date: Wed, 3 Apr 2002 12:00:17 -0800 (PST) From: Sanjay Bahal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Working Directory Thanks Mark Craig. My situation is slightly

Re: session object [urgent!] [solution]

2002-04-03 Thread rsequeira
Set the crossContext attribute of the Context tag to true. This way you eliminate redundancy. And I think your session info will be preserved too. RS Nancy Crisostomo Martinez [EMAIL PROTECTED] on 04/03/2002 01:20:00 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat

Re: how to store a document file?

2002-04-03 Thread rsequeira
How about a BLOB type RS Nancy Crisostomo Martinez [EMAIL PROTECTED] on 04/03/2002 03:18:32 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED], Tomcat Users List [EMAIL PROTECTED] cc:

Re: how to store a document file?

2002-04-03 Thread Jason Johnston
If you want to store an actual Word file, you should do it as a BLOB (Binary Large OBject or Binary Logical OBject depending on your school of thought). I don't have any code examples but Java does have some tools for storing and retreiving BLOB's from an Oracle database.

Tomcat won't find my web.xml files.

2002-04-03 Thread Jason Johnston
I've been working with Tomcat 4.0.1 and I'm running into a major stumbling block. I can run servlets and jsp's letting tomcat default to the default web.xml but I can't make my own. I have the following web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC '-//Sun

TOMCAT STOPS!

2002-04-03 Thread Bob Swerdlow
We're in trouble. We're using Tomcat 4.0.2 Stand-alone on Solaris 8. Periodically it just stops servicing requests. We know it is Tomcat because we can still get to the machine on other ports. We can SSH to it and everything seems fine. We know it is not just one project since we cannot get

Re: TOMCAT STOPS!

2002-04-03 Thread Bob Swerdlow
One more detail, which may be important: If we use lynx on the server running Tomcat, we CAN access the pages. I can't figure that out at all. Please help if you can. - Original Message - From: Bob Swerdlow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday,

Re: TOMCAT STOPS!

2002-04-03 Thread Nancy Crisostomo Martinez
Hi Bob! I don't know if this could help you,but before I had the same problem when I started Tomcat 3.3 from a Telnet window and close it... Tomcat was only alive when the telnet window was opened, so now I started as follows and everything is OK: nohup tomcat.sh start nohup.out Then you could

RE: TOMCAT STOPS!

2002-04-03 Thread Dahnke, Eric
If this is true: If we use lynx on the server running Tomcat, we CAN access the pages. then Tomcat is not your problem, and it is more likely a networking / firewall issue. When it goes down what does telnetting to port 80 show you? How about traceroute? could also be a hostname dns

Re: TOMCAT STOPS!

2002-04-03 Thread Bob Swerdlow
Hi, Eric - That is what I thought, too (I was not the one to see lynx working, but I'll try it myself the next time). Unfortunately, I don't know whether it was to localHost or www.emergentmusic.com (that's the URL we're having trouble with). I'll asked the engineer who did that testing, but

Re: TOMCAT STOPS!

2002-04-03 Thread Bob Swerdlow
It just happened again. Latest about 3 minutes and then went back to normal, with no intervention. I was able to access the real URL from lynx on that server, through SSH, even during the blackout. Is there somewhere that such network problems might be logged? Thanks, Bob - Original

RE: Working Directory

2002-04-03 Thread Sanjay Bahal
Carig, I tried this it does not work. I can't get the stream. I have a property file in the classes directory- where I all my classes are. My code is: MyClass thisInstance = new MyClass(); InputStream stream = thisInstance.getClass().getResourceAsStream(propFile); if ( stream != null) {

RE: Working Directory

2002-04-03 Thread Chapman, Carl
This code actually works for me. getClass().getResourceAsStream(Configuration.xml); I did dump the Configuration.xml file into the same directory where this code exists and jar'ed them all up. com/blort/packagename/Configuration.class com/blort/packagename/Configuration.xml You can

RE: Working Directory

2002-04-03 Thread Robert Priest
I think that you may need a / in front of the properties file name. If you don't have that. I think that it expects like a path/package name in front of the package file (like org_myorg_util_myprops.properties or something like that). So when you call getResourceAsStream(), you will need

RE: Working Directory

2002-04-03 Thread George McKinney
-Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:28 PM To: Tomcat Users List Subject: RE: Working Directory Carig, I tried this it does not work. I can't get the stream. I have a property file in the classes directory- where I

single-sign-on and cookies

2002-04-03 Thread Aditya
Is there any reason why the JSESSIONIDSSO cookie, if set via a SSL'd login form, wouldn't be presented on the same server on a subsequent non-SSL page? Adi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

JDBCRealm problem (EMPTY page after login)

2002-04-03 Thread Alvin Wang
Hi! I am using JDBCRealm in Tomcat to setup the user authentication. For example if the user want to access abc.html, Tomcat will first display the login.jsp page. However, after the user logs in, it shows an EMPTY page. The user has to refresh the browser to see the content of abc.html Can any

how to store a document file?

2002-04-03 Thread Nancy Crisostomo Martinez
Hi! Does any of you know how to store a formatted document (text with bolds, italics, etc) just like a Word document or html file in an Oracle database? Do you know what datatype the record must have? And how does it is stored in programming (Java Code)? you could give me a trick (Java code) to

HTTPS connection switched to HTTP

2002-04-03 Thread John Burnley
Sorry for the bandwidth, I saw postings on this the other day but I cleaned out my Email folders yesterday. We are experimenting with Apache 1.3.22 and Tomcat 4.0.3 using the warp connection. When we use an SSL connection, it looks like it gets switched back to a non-SSL connection by

RE: Question about container-managed security

2002-04-03 Thread Wellie W. Chao
The other weird thing is that request parameters don't propagate either across the protected/unprotected boundary. If the user is viewing a form on a protected page and submits with an action that subsequently does a forward (via a forward mapping in a Struts action) to an unprotected page, the

RE: TOMCAT STOPS!

2002-04-03 Thread Ricky Leung
which jdk are you using and how was the memory during that time? It might be a memory issue and the system is heavily swapping, causing the server to almost halt? Just throwing random ideas out. -Original Message- From: Bob Swerdlow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03,

RE: Working Directory

2002-04-03 Thread Jacob Kjome
That might work in most cases, but it won't find the file in a container that doesn't expand the .war archive. The following will read it whether in a directory structure or in a .war archive: InputStream is = getServletContext().getResourceAsStream(/WEB-INF/myApp.properties); If the file

Debugging the servlet

2002-04-03 Thread Juliet
Hello everyone, I'm new to developing a servlet and I wanted to debug it. Is anyone has an idea on how to do it? Thanks, Juliet -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: TOMCAT STOPS!

2002-04-03 Thread Bob Swerdlow
Thanks, Ricky - We're throwing around some pretty crazy idea here, so thanks for chiming in. Memory (and disk space) seem fine during these episodes. For the record we have set export CATALINA_OPTS='-Xmx256m -Xms128m' The JDK is 1.3.1 - Original Message - From: Ricky Leung [EMAIL

RE: how to store a document file?

2002-04-03 Thread kalbee
I would store it as HTML in a text field -- that works great, and you don't have to deal with blobs -- I'm not sure what I'd do with rich text format, but HTML works great. Kim -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the

status mod_webapp.so?

2002-04-03 Thread Bernd Prager
Hi everybody, I just installed Tomcat 4.0.3 and everything seems to work fine. Next step was the Apache HTTP server integration. First I had a hard time to find the mod_webapp.so module, before I realised it exists only in /release/v4.0.3/bin/linux/ on the build site. I can't find any sources.

Re: Debugging the servlet

2002-04-03 Thread Valera Molyakov
Hi! You can use IDE that allow local and remote debug( for example Intel JIDEA or JBuilder). - Original Message - From: Juliet [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 3:39 AM Subject: Debugging the servlet Hello everyone, I'm new to