RE: Multipart and mod_jk

2000-12-12 Thread Kwan, Kenneth Y
Seems ajp13¡¦s problem as I can use the O¡¦Reilly package in JRun and mod_jserv w/o any prob Kenneth Kwan -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 3:53 PM To: [EMAIL PROTECTED] Subject:

RE: Rare problem

2000-12-12 Thread Stubenrauch,Andreas
This is a bug in 3.1. Propably you have case mixed filenames. If the file is name.jsp and you enter name.JSP in your Browser the Sourcecode will be displayed. Regards, Andreas -Original Message- From: Chris Chen [mailto:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 10:21 PM To:

RE: Rare problem

2000-12-12 Thread arnold
Pls create a handler for *.JSP files in web.xml file. i think this prob occurs on Linux. Hope this helps. rahul

Reroute the output of a processed jsp page into a String

2000-12-12 Thread NINA.de Internet Service Agentur
Hello, is it possible to reroute the output of a processed jsp page into a String or StringBuffer object in order to send it as an email message with the Java Mail API? We use Tomcat 3.2 final with beans and jsp pages and want to use the parse mechanism of jsp pages of Tomcat to generate user

RE: Multipart and mod_jk

2000-12-12 Thread GOMEZ Henri
It's a known bug in ajp13. I'll try to fix before 3.2.1 ;-) "Pour la plupart des hommes, se corriger consiste à changer de défauts." -- Voltaire -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 8:53 AM To: [EMAIL PROTECTED] Subject: RE: Multipart

RE: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-12 Thread GOMEZ Henri
David Thompson wrote: What about the mod_jserv.so or whatever that connects Apache to Tomcat? dt it's now mod_jk.so..;-) There is two method to connect an apache server to tomcat : - mod_jserv which use ajp12 protocol (from Apache JServ) - mod_jk which could use ajp12 and also support

Follow-up: Forward problems servlet to JSP in 3.2

2000-12-12 Thread Steve Quail
Thanks for this, I now have the application working OK via a servlet mapping in the applications web.xml file. For the benefit of those who find themselves in the same situatuion and this is what I used : servlet-mapping servlet-name

RE: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-12 Thread GOMEZ Henri
I am a linux newbie so this might be a stupid question but... I have linux 6.2 installed (using Redhat). I have Apache 1.3.14 running well. With mod_ssl ? I have JDK 1.3 installed and working. IBM or SUN ? Now to get to where I want to be, I want to get Tomcat 3.2 running with Apache. There

Re: Rare problem

2000-12-12 Thread Ludovic Maitre
[EMAIL PROTECTED] wrote: Pls create a handler for *.JSP files in web.xml file. i think this prob occurs on Linux. Hope this helps. rahul Hello, Did you know if this problem is fixed in 3.2 ? Regards, -- [EMAIL PROTECTED] INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4

Re: Rare problem

2000-12-12 Thread Sam Terburg
It's not a problem. It's a feature of linux :) as you know filenames in linux are case-sensitive. read my previous email to solve the problem. Sam - Original Message - From: "Ludovic Maitre" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 11:07 AM Subject:

Re: Tomcat Build Problem on Solaris

2000-12-12 Thread Kief Morris
Stephen F. Kispersky typed the following on 11:55 11/12/2000 -0800 - In the README, "servletapi" is referenced, but it is not to be found on the Tomcat site that I could see. I tried substituting the JSAPI classes on Sun site (version 2.2). If you go to

Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
Hi ppl: I had posted a very simple query..but had not received any comments. So am i the only unlucky person who's stuck on this simple problem. Any suggestions are welcome plz. I want Custom error pages, in my application, the two solutions i have is to use the "ErrorDocument"

Re: Multipart and mod_jk

2000-12-12 Thread Pier Paolo Bortone
Thanks, now my multipart runs well I'm come back to ajp12. I'm using: Linux OS (Best Linux distribution) Apache 1.3.14 mod_jk (ajp12) tomcat 3.2 and I'm not using JSP but servlet. Pier Paolo. - Original Message - From: "GOMEZ Henri" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:17 12/12/2000 +0100 I want Custom error pages, in my application, the two solutions i have is to use the "ErrorDocument" directive in Apache or to use the "error-pages" xml element while deploying my servlet in Tomcat (please note that i am using Apache

RE: a great problem with tomcat in linux whit the system memory

2000-12-12 Thread Stubenrauch,Andreas
This is the standard linux behaviour. If any application claims memory it is taken from the free-pages. If the memory is not in use anymore it is not put back to the amount of free memory (even if the application is shutdown). Instead it is chached and freed on demand. So don't worry here

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:58 12/12/2000 +0100 So now what i can understand is that it should be Tomcat's problem to intercept any errors occuring in the servlet and then passing me onto the specified url in the deployment descriptor. I believe this only applies to JSP pages. For

RE: Multiple GETs on an SSLSocket

2000-12-12 Thread Michael Cohen (ETL)
Hi Ken, Thanks for your suggestion. Certainly helped but not the whole ten yards. I found that by not reading the 'null' at the end of the buffer the IO exception is not thrown. I did this using the ready() method of BufferedReader. ready() returns false if there is no data in the buffer to be

RE: How can i share session between servlet and jsp

2000-12-12 Thread Raphaël Lemaitre
Raphaël Lemaitre typed the following on 11:56 12/12/2000 + But when i want to follow a hyperlink that points to a servlet, i do not get the same session (session Ids are different). How are you building this hyperlink exactly? Is it a relative link? What exactly does the URL to the

Re: How can i share session between servlet and jsp

2000-12-12 Thread John Clark L. Naldoza
Raphaël Lemaitre wrote: Hi, I've got a big urgent problem : it seems that mu JSPs and my servlets don't share the same session. I explain : I have a JSP login form which action points to a servlet. In this servlet, i create the HttpSession object using request.getSession(true), i

RE: Multiple GETs on an SSLSocket

2000-12-12 Thread horn_ken
I wouldn't rely on the ready() to get this right - it will depend on whether data has arrived in the underlying stream (native). This will probably be system dependent ;o) The only way I've had this working reliably is to rely on content length headers or chunking. Chunking is probably best it

AW: Custom error pages!!

2000-12-12 Thread Amrhein, Thomas
Hi, How is your error-page named? I use JSP and have found, that the error-page itself has to be a .jsp-file. With .html it did not work (Tomcat 3.2b6). Haven't tested 3.2 (final). But I don't expect any changes. Try to name your error-page a .jsp-file and retry it. Perhaps it works. regards,

RE: Multiple GETs on an SSLSocket

2000-12-12 Thread Michael Cohen (ETL)
Hi Ken, Can you give me a more explicit idea of what you mean by 'chunking'? Ie the kind of stream/methods to use? Mike. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 12 December 2000 12:22 To: [EMAIL PROTECTED] Subject: RE: Multiple GETs on an

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 12:58 12/12/2000 +0100 But just for information, can you comment on the error-pages tag not working in the deployment descriptor of Tomcat 3.2 I just tried it, it works fine for me. Are you specifying the full names of the exceptions? e.g.

Problems with Tomcat Netscape Intgeration

2000-12-12 Thread Nijholt, Ralf
Hello there, I followed the instructions in the how-to file on the jakarta.apache.org site. But i keep getting this error when i try to start the Netscape server (4.1): Status: [https-inv31254.noblestar.com]: start failed. (2: unknown early startup error) [https-inv31254.noblestar.com]:

Re: Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
Thanks a lot for ur help atleast now i am atleast near to the solution. Hey but i was just aping what you suggested and it worked. The only difference in what i was trying previously and this one is that for an error page i was going to an html file whereas now its working if i redirect

Re: I have Small Problem

2000-12-12 Thread Matt Goss
Sunil put your servlet class in the webapps/contextname/WEB-INF/classes/ folder, then call them via http://localhost:8080/contextname/servlet/servletname. Matt Sunil Chandurkar wrote: I am new user of Tomcat. I have created simple helloworld servlet. Please can u tell me where to copy class

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 14:58 12/12/2000 +0100 The only difference in what i was trying previously and this one is that for an error page i was going to an html file whereas now its working if i redirect to a jsp. Aha, someone else just pointed this out. Dont know

linux-NT-MSsqlServer

2000-12-12 Thread Carlos
I am using tomcat in a linux, and my database is in a NT (it is a microsoft SQL server). anybody can say me what driver i good to use with this database? there is any experience in this database from a linux using a JDB driver? i have see a long list for buying a driver but i dont kown what i

Qs on Load Balancing and JkMount

2000-12-12 Thread Shahed Ali
Hi , All the examples and archive messages that I have seen so far talk about load balancing using either multiple JVM's or Multiple Connector Directives with different port numbers and corrosponding workers in the workers.properties file. But they all use different Mount Moints for each

Re: Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
yup that sure is the problem i was also getting. thanks for helping me outta that... n cheers. v have found a bug..hahahaha so guess a lot of ppl. like us wont have to waste their time on it regards Pankaj - Original Message - From: "Kief Morris" [EMAIL

Re: Custom error pages!!

2000-12-12 Thread Shahed Ali
I dont know about the specs, but I think all errorpages need the iserrorpage = true page directive. So that could mean that they should be .jsp (?) Shahed

can jsp handle multipart/form-data ?

2000-12-12 Thread John D. Smith
I try to make a jsp page that handles a file upload. The problem i face is that i get a Internal Server Error from apache when i submit FORM enctype="multipart/form-data" ... to a jsp as action. Sending the same to php / cgi works fine. Question is: Is my server(apache/tomcat) misconfigured or

Re: Reroute the output of a processed jsp page into a String

2000-12-12 Thread Bryan Basham
is it possible to reroute the output of a processed jsp page into a String or StringBuffer object in order to send it as an email message with the Java Mail API? I know that you are using Tomcat v3.x, but you might want to consider upgrading to v4.0 because you could use a Servlet Filter to

JAAS and Tomcat: how to plug into request processing?

2000-12-12 Thread Mick Krippendorf
Hi, we use JAAS in our webapplication and it works. The implementation however is not satisfying. Before accessing sensitive data from within JSPs, we check wether the user has sufficient permissions. Therefore, we divided (i.e.duplicated) the interface into protected abstract and final public

RE: linux-NT-MSsqlServer

2000-12-12 Thread Eric Hartmann
Hello, I've test two drivers JDBC for Microsoft SQL Server 7 / 2000. jdbcKona driver from BEA (does not works with SQL 2000) and JTurbo from Ashna. JTurbo 2.0 (www.jturbo.com) is a very good driver for SQL Server. It's fast and reliable with my tests. I didn't test it on Linux but you can

AW: linux-NT-MSsqlServer

2000-12-12 Thread Ralph Einfeldt
Depending on your needs you can use one of the following commercial tools: http://www.jturbo.com/products.html http://www.inetsoftware.de/English/Produkte/JDBC_Overview/default.htm http://www.beasys.com/products/weblogic/drivers.shtml (We made good experience with

Re: can jsp handle multipart/form-data ?

2000-12-12 Thread Joe Laffey
On Tue, 12 Dec 2000, John D. Smith wrote: I try to make a jsp page that handles a file upload. The problem i face is that i get a Internal Server Error from apache when i submit FORM enctype="multipart/form-data" ... to a jsp as action. Sending the same to php / cgi works fine. Question is:

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Shahed Ali typed the following on 08:49 12/12/2000 -0600 I dont know about the specs, but I think all errorpages need the iserrorpage = true page directive. So that could mean that they should be .jsp (?) The spec doesn't seem to say this ... I believe that's just needed if you want the

RE:HPUX11 + mod_jk

2000-12-12 Thread Matchim, Brian - BOP/BDP
Hi Everyone, I have received several e-mails from concerned users of Tomcat and HPUX11 since I first posted the article "HPUX11 + mod_jk" on this listserv. I am happy to say that I did solve my own problem with the help of a co-worker, however, due to work activities I was unable to deliver

Re: ServletContext.getResourceAsStream() in 3.2?

2000-12-12 Thread Sean Dowd
If you want to load a file that is under WEB-INF, you don't need to involve the class loader at all. Simply use: InputStream is = getServletContext().getResourceAsStream("/WEB-INF/myprops.properties"); Cool. That works (missed the part about relative to the context directory in

Error loading servlets in Tomcat

2000-12-12 Thread Simon Freytag
Hi, I'm new to the list so apologies if I miss a point of protocol. I've consulted the Tomcat docs, faqs and mailing list faq / archives, the jGuru site and the Zeus support site and now turn to help from the list. I'm using a Cobalt RAQ4i with Cobalt Linux 6.0 and Zeus 3.3. I confess I don't

unix AIX virtual machine

2000-12-12 Thread Ing . José A . Alcázar Willis
Hi!... I am working with tomcat in a Unix AIX OS and tomcat.log says : Error in default service() : There is no proc ess to read data written to a pipe. java.io.IOException: There is no process to read data written to a pipe. at java.net.SocketOutputStream.write(Compiled Code) I

RE: Reroute the output of a processed jsp page into a String

2000-12-12 Thread CPC Livelink Admin
One option is to use Java's URL capabilities and open a connection to tomcat, make the request, and capture the output of that in a ByteArrayOutputStream. Something like this, though I did not even try to compile it : URL url = new URL(yourURL); InputStream is = url.openStream();

doPost invoked twice on ServletException

2000-12-12 Thread Ralf Suckow
Hello, with tomcat 3.1 I'm throwing a ServletException in a servlet's doPost method, and in this case the doPost is invoked a second time, throwing the ServletException again, which is then shown in the response page. What am I doing wrong? Thanks, be well, Ralf

Re: linux-NT-MSsqlServer

2000-12-12 Thread Pier Paolo Bortone
I'm using jdbc from freetds project. It's very small, very good and very easy to use (JDBC level 4). Thanks to freetds development team. My environment is: Good components: Linux (best linux) on intel apache 1.3.14 tomcat 3.2 jdbc:freetds 0.51 Bad components: Windows NT4.0 MSSQLServer

Re: I have Small Problem

2000-12-12 Thread Bryan Basham
I am new user of Tomcat. I have created simple helloworld servlet. Please can u tell me where to copy class file and how to call this from browser. I have worked on Java Web Server, there i used to copy servlet file in the following diretory: JWS-HOME/examples/Web-Inf/servlets and used to

Re: doPost invoked twice on ServletException

2000-12-12 Thread Thomas Schreiner
- Original Message - From: "Ralf Suckow" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 4:28 PM Subject: doPost invoked twice on ServletException Hello, with tomcat 3.1 I'm throwing a ServletException in a servlet's doPost method, and in

static html from webapps

2000-12-12 Thread Frank Morton
Looking through docs/faqs I think the following is true. Is it? Given a project "xyz" I can serve static .html files out of webapps/xyz, but on a production machine it should be served out of htdocs. However, there is no way to have "htdocs/xyz" and "webapps/xyz" using the same directory name,

java app - servlet via serialization problem

2000-12-12 Thread Noll, Jeff HS
I'm having a problem with sending a serialized object to a servlet and I'm hoping someone can help me out. The error i'm getting is: java.io.InvalidClassException: com.hsssi.rda.client.Session; Local class not compatible: stream classdesc serialVersionUI=-670601590654791455 local class

RE: static html from webapps

2000-12-12 Thread Pat Berry
It should depend on your setup. Do you plan on using tomcat (via mod_jk or mod_jserv) with apache anytime soon? If so you can tweak your apache conf to try and get the results you want. Pat -Original Message- From: Frank Morton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12,

Re: static html from webapps

2000-12-12 Thread Frank Morton
I'm using mod_jk. So, how would I tweak the config file? Thanks. It should depend on your setup. Do you plan on using tomcat (via mod_jk or mod_jserv) with apache anytime soon? If so you can tweak your apache conf to try and get the results you want. Pat Looking through docs/faqs I

Re: Custom error pages!!

2000-12-12 Thread Catherine Jung
Hiya, n cheers. v have found a bug..hahahaha Boy mailing lists have a short memory!, I'd been having trouble with this last week and posted about it, on tomcat-dev too, but to no avail. so guess a lot of ppl. like us wont have to waste their time on it grin If my

RE: Error loading servlets in Tomcat

2000-12-12 Thread Simon Freytag
Hi, I've fixed my problem and thought I would report back for other people who wanted to use the demo HelloWorldExample servlet to test that new webapps had been correctly set up. HelloWorldExample.java (from $TOMCAT_HOME/webapps/examples/WEB-INF/classes in the default install) contains this

Re: Custom error pages!!

2000-12-12 Thread Alexandre Simonin
Catherine, I'm new to this mailing-list and reviewing the WELCOME notice, I found no trace related to the database you're refering to. Can you please provide me with the directions? Thanks in advance, Alexandre Catherine Jung wrote: Hiya, n cheers. v have found a

Re: Custom error pages!!

2000-12-12 Thread Catherine Jung
Hiya, No problem, if you go to the Tomcat site: jakarta.apache.org/tomcat/index.html it has links to both the bug report/search site: http://znutar.cortexity.com/BugRatViewer/ and the searchable mailing list archives: http://mikal.org/interests/java/tomcat/index.html Hope it helps,

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Catherine Jung typed the following on 16:18 12/12/2000 + Boy mailing lists have a short memory!, I'd been having trouble with this last week and posted about it, on tomcat-dev too, but to no avail. No-one seems to check the archives/bug database these days :) Actually I did look, but I

RES: can jsp handle multipart/form-data ?

2000-12-12 Thread Jose Euclides da Silva Junior - DIGR.O
Hi everybody and Joe! I am trying to use the oreilly's package for multipart/form-data streams. But I didnt find any method to deal with input text field which comes ( mixed ) with the uploaded file from my form. Any hint? Best Regards, José Euclides Júnior __

A Christmas present from The DJ Agency KlubDJ

2000-12-12 Thread KlubDJ
Hi, KlubDJ still have DJ's available across the country for the festive season! We even have a few slots left for the much requested Producers, Remixes and DJ's, LUMINA... Please contact us for more details preferably by email for initial enquiries [EMAIL PROTECTED] Happy Christmas and

Clusters

2000-12-12 Thread Steve Haines
Does Tomcat 3.2 support sharing sessions between clusters of Tomcats running in a web farm environment? The documentation spoke of plug-able session managers but gave very little help. If this is the only way, will Tomcat 4.0 support clustering?? Thanks in advance! Steve

Re: linux-NT-MSsqlServer

2000-12-12 Thread Carlos
can you say me where are these tests? - Original Message - From: "Matt Goss" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 6:11 PM Subject: Re: linux-NT-MSsqlServer Ditto... I'm also using the JTurbo 2.0 JDBC driver, and on benchmark tests against Bea's

RE: Linux-NT-MSsqlServer

2000-12-12 Thread Martino, Karl
We are using JTurbo with our Cofax content management system delivering 17 newspapers to the net, amoungst which is the Philadelphia Inquirer and Tallahasse Democrat. -Karl -Original Message- From: G.Nagarajan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 12:30 PM To:

Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error

2000-12-12 Thread Ali Abdollahi
I am running tomcat 3.2 on NT. While trying to access http://localhost/index.html I get the following errors: 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /index.html + null) socket write error (code=10053) 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /tomcat-power.gif + null)

RES: Database connection pooling

2000-12-12 Thread Edson Carlos Ericksson Richter
We are currently using Bitmechanic JDBC Pool, and is very - really very - stable (with MSSQL FreeTDS driver and Oracle driver). And best: is free. Edson Richter - Mensagem original - De: Martino, Karl [SMTP:[EMAIL PROTECTED]] Enviada em: terça-feira, 12 de

RE: Help me !!

2000-12-12 Thread Josh Knowles
Start by reading the documentation, then ask specific questions -Original Message-From: Carlos Benavides [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 12, 2000 5:52 AMTo: [EMAIL PROTECTED]Subject: Help me !! Hello, How do I install Tomcat on Solaris

Re: linux-NT-MSsqlServer

2000-12-12 Thread Matt Goss
Carlos, I ran both drivers against a Microsoft SQL 7 datbase, pulling back a 792 row table. After 5 times, the Jturbo driver was averaging 700 milliseconds to bring back the data, and the bea driver was averaging 4000 milliseconds! (This was my own personal test, no public benchmark) Matt

FW: java platform

2000-12-12 Thread John de la Garza
Does anyone here have experience running java under Solaris on a sparc and Linux on a x86? I am looking to set up a server to run servlets and was wondering which os runs java better. I would assume running Solaris on a sparc would be the best, but I just wanted some feedback. Im using

url-pattern behaviour

2000-12-12 Thread Jose Oliver
Hello, I'm trying to configure tomcat with some servlets, and I've found a difference in behaviour from other servlet engines. I'm trying to configure it in such a way that requests for the main page (http://www.blah.blah.com/) are served by a servlet called StartServlet:

RE: java platform

2000-12-12 Thread David Rees
Here's a comprehensive benchmark of one application under a variety of different JVMs on the x86 platform: http://www.volano.com/report.html Keep in mind that the results found here may not be the same for your particular application! -Dave -Original Message- From: John de la Garza

Re: FW: java platform

2000-12-12 Thread Trevor Little
I'm not sure but I thought about it this way... Sun = java and Sun = Solaris. John de la Garza wrote: Does anyone here have experience running java under Solaris on a sparc and Linux on a x86? I am looking to set up a server to run servlets and was wondering which os runs java better.

Re: Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket w rite error

2000-12-12 Thread Dave Smith
I get the same error with the same configuration (NT4/tomcat3.2 standalone). My machine is configured and working properly, and I have no other problems related to winsock. So, does anyone know where this error originates in the code? Is it a tomcat bug? If so, I'll try and figure out how to do a

Re: Database connection pooling

2000-12-12 Thread Dave Smith
The bitmechanic connection pool is excellent. Easy to use and free, opensource. What more does anyone want? Dave - Original Message - From: "Edson Carlos Ericksson Richter" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 3:12 PM Subject: RES: Database

Cookie question

2000-12-12 Thread Rick Bosch
hey i want to set a cookie so when i go to www.myurl.com/one and i get a cookie it is also visible at www.myurl.com/two , but the default behavior is not the case. I tried cookie.setDomain(".myurl.com") and cookie.setDomain(request.getServerName()) and nothjing seems to work. any ides?

RE: Sessions and absolute URLs

2000-12-12 Thread Sen, Puny
OK - I'll try that. Excuse the lack of knowledge, but is it possible to access a bean from a servlet (not a jsp)? -Original Message- From: Michael Quinn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 9:40 AM To: [EMAIL PROTECTED] Subject: RE: Sessions and absolute URLs

RE: Cookie question

2000-12-12 Thread Richard Xia
Use theCookie.setPath("/"); Yue (Richard) -Original Message- From: Rick Bosch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 4:05 PM To: [EMAIL PROTECTED] Subject: Cookie question hey i want to set a cookie so when i go to www.myurl.com/one and i get a cookie it is

404 with isapi_redirect.dll, tomcat3.2

2000-12-12 Thread Carles Pi-Sunyer
Hi, I'm having a problem getting the IIS redirect to work with tomcat 3.2. Here are the details: *) The filter is loaded (green arrow up). *) It appears that tomcat is never receiving the requests. *) I can load the IIS default page at localhost *) I can browse with no trouble at

Re: RES: can jsp handle multipart/form-data ?

2000-12-12 Thread Philippe de M. Sevestre
We've used the JspSmartUpload component with Tomcat. Check the following link for more info: http://industry.java.sun.com/solutions/products/by_product/0,2348,all-2631-2 6,00.html At 15:05 12/12/00 -0300, you wrote: Hi everybody and Joe! I am trying to use the oreilly's package for

RE: Sessions and absolute URLs

2000-12-12 Thread Josh Knowles
Yup you just grab it from the session object and cast it to whatever object that it is. -Original Message- From: Sen, Puny [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 10:41 AM To: '[EMAIL PROTECTED]' Subject: RE: Sessions and absolute URLs OK - I'll try that. Excuse the

nsapi redirector for solaris

2000-12-12 Thread Mukul Sood
Hello All, I am having problems with the netscape redirector shared object, nsapi_redirector.so I have Netscape Enterprise Server 3.6 and Tomcat 3.1 on Solaris 2.7 I was able to compile the redirector, nsapi_redirector.so However, after modifying netscape's obj.conf for tomcat redirection, am

Apache SOAP 2.0 w/Tomcat 3.2

2000-12-12 Thread Shahed Ali
Hi, I know that this must have come up before, but can any one tell me if I can safely run Tomcat 3.2 with Apache SOAP 2.0 (latest version) I remember postings in the dev list talking about class loader problems when it came to loading the XML parsing classes used by Tomcat Vs Apache

RE: Apache SOAP 2.0 w/Tomcat 3.2

2000-12-12 Thread Steven Newton
I know that this must have come up before, but can any one tell me if I can safely run Tomcat 3.2 with Apache SOAP 2.0 (latest version) Yes it works just fine, at least as far as running the demos included with the distribution. s

2 Configuration Issues

2000-12-12 Thread Jason Heddings
Hello Folks- I hope that I'm not asking a question that's been asked a bunch of times before, but here goes: Small background: I'm trying to run tomcat along with apache. I have apache v1.3.14 and tomcat v3.2. I'm using the jk module for the layer, not jserv. On startup: I get a

Reloadable property for more than one servlet instances

2000-12-12 Thread Selvaraj N
Hi, This is regarding the problem with relodable property that is set for an application. Problem: * In server.xml, the application's (toms) context has been defined with relodable="true". Context path="/toms" docBase="webapps/toms"

RE: a great problem with tomcat in linux whit the system memory

2000-12-12 Thread David Thompson
In sun's VM you can control this by modifying the maximum heap size for the VM with -Xmx256M for 256 megabytes. Then, your VM garbage collector will be forced to free it up. Of course, if there is actually a memory problem with dangling object references you will eventually get out of memory

How to role your own Security/RequestInterceptor? (SimpleRealm::authorize() question)

2000-12-12 Thread Mike La Budde
Please note: I'm using Tomcat 3.2 1) I'm interested in creating my own RequestInterceptor for security purposes. Using SimpleRealm as a base/model, it is clear that I must implement at least the following two functions: public int authenticate( Request req, Response response )

RE: Question about Linux install of Tomcat 3.2 (is there an RPM y et)

2000-12-12 Thread David Thompson
I do not have SSL working yet but it need eventually. I am using Sun's jdk 1.3. And, thanks for the RPM's. I have not tried it yet but it looks like a breeze. At first, I was like "how do I know that is is ok?" and everyone seems to know your stuff (except a newbie like me who does JWS on NT by

RE: Sessions and absolute URLs

2000-12-12 Thread Bryan Basham
OK - I'll try that. Excuse the lack of knowledge, but is it possible to access a bean from a servlet (not a jsp)? There is a rough equivalence between JSP bean "scopes" and servlet code: * jsp:useBean id="name" class="..." scope="page"/ servlet equiv. is a local variable in the doXyz

Servlet init parameters

2000-12-12 Thread Yin Tse
Hi all, I'm having some problems reading my init parameters. I define the init parameters in the web.xml file like this : servlet servlet-namelogin/servlet-name servlet-classLoginServlet/servlet-class init-param param-namelogin/param-name

RE: 2 Configuration Issues

2000-12-12 Thread CPC Livelink Admin
The kill signal is 9, so 'kill -9 Your Java PID' will kill tomcat. TO find out what ports are being used and by whom, use 'netstat -a'. grep can also be useful for that command. -Original Message- From: Jason Heddings [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 04:58 PM

TOMCAT+IIS5

2000-12-12 Thread Gilles Hooghe
I've tried with all your instructions to install the Tomcat(jakarta) javaserver to work with IIS5 (with the isapi filter). I've created the virtual directory and the filter but when I execute the jsp page, only the pure html in the page appears into the browser, not the html output from this jsp.

mod_rewrite + tomcat

2000-12-12 Thread Brendan O'Bra
Sorry if this has already appeared in the past... Has anyone had any luck getting tomcat (any version) to work behind an apache 1.3.12mod_rewrite box? Tomcat seems to ignore the rewritten URL,return a path relatice to the box that it is running on, making it hard for clients on the other

RequestDispatcher.include() appears to do nothing.

2000-12-12 Thread David Mulligan
I am a Java developer who is somewhat new to web development. I have just installed Tomcat 3.2 and have been playing with servlets for a few days now and I have come up against a problem trying to call a servlet from another servlet. As far as I can tell I am supposed to get a

Servlet init parameters problems

2000-12-12 Thread Yin Tse
Hi all, I'm having some problems reading my init parameters. I define the init parameters in the web.xml file like this : servlet servlet-namelogin/servlet-name servlet-classLoginServlet/servlet-class init-param param-namelogin/param-name

Re: Question about Linux install of Tomcat 3.2 (is there an RPM y et)

2000-12-12 Thread Filip Hanik
Line by line instructions on how to install Apache with Open SSL and mod_ssl download the packages from apache.org, mod-ssl.org, openssl.org this script has to hard coded things --prefix and the setenv SSL_BASE gunzip apache_1.3.12.tar.gz tar -xvf apache_1.3.12.tar gunzip openssl-0.9.5a.tar.gz

Multi part stream error with 3.2 final - Any solutions?

2000-12-12 Thread jokozlow
Title: Multi part stream error with 3.2 final - Any solutions? I read in the bug database that some one reported the multi part stream error with Tomcat 3.2 final. Does any one know of a quick fix for 3.2 final to make multi part streams work? (I just recently joined this list, so I

RE: Servlet init parameters problems

2000-12-12 Thread David Mulligan
You have to put ini-param tags around each parameter. If you do this and call the servlet as named in the servlet-name tag, as opposed to servlet-class it should work. Hope this helps. -Original Message- From: Yin Tse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 6:18 PM

Tomcat 4.0 milestone 4 and jsp:expression tag

2000-12-12 Thread Patrick McFarlane
Hello, I'm trying to use Tomcat 4.0 milestone 4 to take advantage of it's support for XML compliant JSP tags. I understand from the New Spec document that this functionality is not complete (medium rare if I recall). To that effect, I've noticed some strange behavior when evaluating

RE: Servlet init parameters problems

2000-12-12 Thread Yin Tse
Here's the code I use to read the the init parameters : logFile = config.getServletContext().getInitParameter("logFile"); System.out.println("LogFile: " + logFile); driverName = config.getInitParameter("driverName");

RE: Servlet init parameters problems

2000-12-12 Thread Yin Tse
Thanks david, it works great. :-) -Original Message- From: David Mulligan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 3:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Servlet init parameters problems You have to put ini-param tags around each parameter. If you do this and

Re: Multiple GETs on an SSLSocket

2000-12-12 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Chunking is a transfer encoding, introduced in HTTP 1.1. In 1.0, the server can set a header, at the start of the stream like: Content-length: 400\r\n \r\n 400 bytes of content Meaning 400 bytes in the body. The problem with this is that the server

How to precompile jsp

2000-12-12 Thread Joan Xiao
Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate the java code and web.xml 2. insert the web.xml generated in step1 into my web.xml. 3. compile the java files into class files. Now I have problem with

  1   2   >