mod_ssl & NT

2001-06-19 Thread P.Miller
Hi, (Apache 1.3.19- NT 4.0 SP5 - Tomcat 3.2.2) I'm trying to get Apache running with mod_ssl and openssl on a Windows NT machine. I got so far: Downloaded and installed Perl, GNU C(Mingw32) & the GNU make. Compiled openssl succesfull and created the static libs and dll's libcrypto.a, libssl.a, l

100% CPU Usage by upload from Netscape under Windows NT

2001-06-19 Thread Zsolt Koppany
Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland G

Trouble execute jsp on Tomcat 3.2.2

2001-06-19 Thread howler
Hello Everyone, I've got Tomcat 3.2.2 setup on Mandrake 8.0 running Apache 1.3.19. I've installed mod_jk. It seems that I can run servlets on Tomcat in standalone and via Apache, but I can't seem to run the JSP examples from either. I am getting the following error: Not found (404) Original

problem installing catalina

2001-06-19 Thread nevertocollege
hi > i have downloaded and configured catalina for winnt > the examples files sre running perfect > my jsp are not getting recognized > i created a directory in webapps and put my jsps in > it > i get page not found error > > The environment variables,java_home and > catalina_home are

Re: How to upload a binary file?

2001-06-19 Thread Hemant Singh
HI Folha: The reason is because yur are using readLine function in your program which can shuffle or make u loose some bytes from the file, This is most likely to occur in binary file, So you need to modify yur program so that yu use read function instead of readLine and it will definetely going t

problem installing catalina

2001-06-19 Thread nevertocollege
hi > i have downloaded and configured catalina for winnt > the examples files sre running perfect > my jsp are not getting recognized > i created a directory in webapps and put my jsps in > it > i get page not found error > > The environment variables,java_home and > catalina_home are

RE: Help!! "Tomcat-3.2.2 Out of Memory Error"

2001-06-19 Thread John Hardin
Why are you explicitly setting the min/max heap sizes so small (i.e., -Xms8m, -Xmx64m)? Given you have so much RAM on your server, I'd think you'd want to allocate a heap size on the order of *100s* of Megs (e.g., -Xms200m -Xmx400m), not merely 8-64. Thoughts? -jwh -Original Message-

Re: Help!! "Tomcat-3.2.2 Out of Memory Error"

2001-06-19 Thread Thomas S
On Tuesday 19 June 2001 23:01, John Hardin wrote: Helo John, Thank you very much. I drived these magic numbers from man pages of java (i just doubled the default values), recommended by our java programmers. After i set the heap size of -Xms150m -Xmx300m, my tomcat is happily serving withou

RE: Hi

2001-06-19 Thread Venkatesh Sangam
Thanks a Lot filip. I shall Look into that Venkatesh From: "Filip Hanik" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: Hi Date: Tue, 19 Jun 2001 17:36:31 -0700 well it really sounds like you want to measure the response time of the server. JMeter (http://j

RE: Hi

2001-06-19 Thread Filip Hanik
well it really sounds like you want to measure the response time of the server. JMeter (http://jakarta.apache.org/jmeter/) will do this for you, because it will take into consideration everything from when the request begins from the client until the response has been received. Filip ~ Namaste -

RE: Hi

2001-06-19 Thread Venkatesh Sangam
hi filip, I actually have to measure the time taken for the request to be servcied..even considering the Queing time .. Do you have any help for this .. Thanks anyways .. i shall read the doc and try to modify it thanks venkatesh From: "Filip Hanik" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTE

RE: Hi

2001-06-19 Thread Filip Hanik
the PerformanceInterceptor measures the exact time of you service() request. nothing else. the queing and other stuff has already happened.   what is it that you want to measure? the doc should tell you enough details of implementating your own measurement metrics. if you want to measure f

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
Yeah, that was also my summation of this Interface. As you say, I don't mind my servlet dealing with multiple threads as long as two threads aren't heading for the same business object / controller! So maybe we need the equivalent of "SingleThreadedBusinessObject" !? What has been useful so far

Re: Hi

2001-06-19 Thread Venkatesh Sangam
Hi filip, Your program considers only the amount of time required to execute the servlet It does not consider the amount of time to actually service the request ..Like waiting time in the Queue if there are more requests than can be serviced by the Server   thanks venkatesh

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
(o: shit... I've just gone and re-invented the wheel.. On Wed, 20 Jun 2001 09:29, you wrote: > 1) that there is some generic facility I can use to do this in tomcat yes there is, kinda, but I dont know it will do what you need. If your servlet implements SingleThreadedModel then tomcat will e

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Luba Powell
I don't think that there is anything like that in Tomcat. But if you would like prevent user from being confused by popup windows - it might be desirable to check session flag: transaction in progress, complete, etc. But you say that your logic is thread-safe. So I assume that you implemented som

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
Interesting, are you saying:- 1) that there is some generic facility I can use to do this in tomcat or 2) Each business object should decide whether it can handle another request (assuming it knows one is in progess, e.g. using some state flag) ? Cheers, Russ - Original Message - From

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
Ok, yeah that makes sense. What you want to do then is ensure that your business objects are only processing one thread at once. I'm guessing that you could do this in a similar way that ejb containers serialize access to an ejb. (THinking aloud here): Lets see, you currently have an object,

Re: Hi

2001-06-19 Thread Venkatesh Sangam
Hi filip, the member function request.getWrapper() is depcrecated in PerformanceInterceptor ..   help Venkatesh

Re: Hi

2001-06-19 Thread Venkatesh Sangam
Hi filip, I am not able to compile the file PerformanceInterceptor.java   it says org.apache.tomcat.core.Request deprecated   please help thanks Venkatesh

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Luba Powell
<< user accidentally double clicks one of the links and the same business object gets two requests, where the first isn't finished before it recieves the second. >> This probably better be intercepted, even if the logic is thread safe. Too confusion to the client. You can watch user activity thr

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
Kind of :) In fact your solution isn't far away. I am currently supporting multiple threads of activity within the same browser window and hence session. Let's say we have a big table on a page with two columns, where each column is like a "view". Each column view is displaying a different a

Re: flushing

2001-06-19 Thread Dmitry Rogatkin
Out is buffered for content length calculation as it's done in Sun's HTTP client implementation. Try to use HTTP 1.1 chuncked stream not requiring to set content length. Dmitry R., [EMAIL PROTECTED] Chief Software Architect, MetricStream.COM Santa Clara, CA -Original Message- Fr

Re: Compile ??

2001-06-19 Thread Luba Powell
servlet and JavaBean .java files are to be compiled and placed into:     \webapps\yourapp\WEB-INF\classes\     The engine will find necessary classes if you made correct     entry into \webapps\yourapp\WEB-INF\web.xml     (if not familiar with .xml - just follow their examples   .jsp files

Re: Public IP IIS and Private IP Tomcat?

2001-06-19 Thread mario libraro
thanks.. a lot for now i tested the schema with both public-ip... :) i got emotioned when I accessed win2k and heard linux's hd moving to give jsps... As soon as possible i'll install the second NIC on w2k and set linux on private address.. but I think there will be no differences other than chan

Re: Has the servlet be compiled?

2001-06-19 Thread Dmitry Rogatkin
You could put your java files in directory tomcat/work/your_host(localhost)/context_name and look what happen. Tomcat compiles JSP sources automatically in this directory, so there is a chance that you files will be compiled too. Dmitry R., [EMAIL PROTECTED] Chief Software Architect, MetricStr

Re: incomplete output

2001-06-19 Thread Dmitry Rogatkin
Mike, I had similar problems, but not exact. My experience may help you. 1. Check directives like: <%@ page buffer="18" autoFlush="true" %> and make sure that autoFlush="true" 2. Do not close out stream in include servlets and pages. I hope it could help. Dmitry R., [EMAIL PROTECTED] Chief Softw

Re: flushing

2001-06-19 Thread Dmitri Colebatch
Doesn't tomcat need to set the Content-length HTTP header in the response before sending anything? That would explain (to me at least) why flush doesn't send it to the client. I'm guessing all it does is tick over the content-length counter. cheers dim On Wed, 20 Jun 2001 08:26, you wrote:

Compile ??

2001-06-19 Thread Venkatesh Sangam
where do I have to put my java Files so that I can compile and Import org.apache.tomcat . Please help thanks venkatesh

Re: Has the servlet be compiled?

2001-06-19 Thread Dmitri Colebatch
answer to your question: you need to compile it. servlet classes need to be available to the application - compile them in to $TOMCAT_HOME/webapps/myapp/WEB-INF/classes where myapp is the name of your context. You will also need to change web.xml to define the servlet (strictly speaking I t

Re: Has the servlet be compiled?

2001-06-19 Thread Daniel de Almeida Alvares
You must compile the file (.JAVA) and put the CLASS file on WEB-INF/classes directory. Regards Daniel ___ Daniel de Almeida Alvares Santos - SP - Brasil [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 200

RE: Has the servlet be compiled?

2001-06-19 Thread Filip Hanik
>-complie and put it (file.class) in appropriate directory yes, put it in /WEB-INF/classes >and how can I compile a servlet? javac.exe I suggest you take a look at the examples and then read the servlet specification. It will answer most of your questions Filip ~ Namaste - I bow to the divine

Re: Has the servlet be compiled?

2001-06-19 Thread Neil Conway
On Wed, Jun 20, 2001 at 12:24:22AM +0200, [EMAIL PROTECTED] wrote: > I have to compile the servlet? > I ha a simple servlet (Hello world) > what I have to do: > -complie and put it (file.class) in appropriate directory Yes, compile it and put the bytecode in WEB-INF/classes > -or just put it (fi

Problem with Tomcat as a Service

2001-06-19 Thread Frank Lawlor
I am using JavaService to start Tomcat as a service. It installs and starts just fine, but when I try to access a jsp, it hangs. In jasper.log it shows the usual lines about the jsp being accessed, but hangs after the line: Classpath according to the Servlet Engine is ... Noting shows up in

flushing

2001-06-19 Thread T
How can I flush Tomcat? Nothing from the PrintWriter reaches the browser until the servlet completes. flush() does nothing. Has anybody altered the facade classes to enable flushing? Why is Tomcat set up that way? Thanks.

Has the servlet be compiled?

2001-06-19 Thread rino . mail
I have to compile the servlet? I ha a simple servlet (Hello world) what I have to do: -complie and put it (file.class) in appropriate directory -or just put it (file.java) in appropriate directory? and how can I compile a servlet? Thank you in advance, Mario.

Security exceptions.

2001-06-19 Thread Sergey V. Udaltsov
Hi all I am running tomcat 3.2.2 with Apache 1.3.19 using JDK 1.3.1 by Sun. The script /usr/bin/tomcat is called with "-security" parameter. The file /var/tomcat/conf/tomcat.policy contains, among others, the lines: grant codeBase "file:/usr/local/idle/web/-" { permission java.security.All

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
By multiple threads of activity do you mean the user has multiple windows open? If so, perhaps in the user's session you could have a Map of business logic beans instead of just one. And somehow have the client identify which thread of activity the currenty action is part of, from there get t

multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
Hi folks, I have a question about building robust beans. Context: Building a Model-2 application with tomcat that uses a home-grown MVC framework (probably going to replaced with struts). My concern is over the design of my business logic beans, which are stateful controllers. Each of my user

incomplete output

2001-06-19 Thread Mike Spreitzer
I'm having problems with what looks like a lack of a flush somewhere inside tomcat. I'm running Tomcat 3.2.2b3 on RedHat Linux 6.2 with IBM's JDK 1.3. My web app is mildly complicated, with nested <%@ include's and an invocation of RequestDispatcher.include(). The bytes returned to the brow

Re: Can't happen - classname is null, who added this

2001-06-19 Thread Frank Lawlor
I get this message if I replace one of my classes while Tomcat is running. Try restarting Tomcat. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions.

Re: Regarding loading a class on startup

2001-06-19 Thread Boris Niyazov
If your class is a servlet you may want to use 1 in your web.xml hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PROTECTED]

RE: OutOfMemory Error

2001-06-19 Thread Randy Layman
Chances are you either: 1. Are using a very small stack (using -Xmx with a small number) 2. You are putting items into sessions that you aren't removing and your sessions aren't expiring fast enough to keep your system in memory 3. You have a servlet with a clas

Re: Servlet chaining

2001-06-19 Thread Dmitri Colebatch
try struts - jakarta.apache.org/struts I think Reynir Hübner wrote: > > hi everyone, > > Does anyone know of implementation of a good ServletChaining API (for > tomcat) that´s available for download ? > > I know Filters will be introduced into Tomcat 4 and I look forward to > working with thos

Re: AW: strange behavior with netscape browser

2001-06-19 Thread Tim O'Neil
At 12:20 PM 6/19/2001, Thomas wrote: >There is no way. It is the first command I call in doGet and doPut. Huh? You have no way of issuing setContentType("text/html"); through HTTPServletResponse in your doGet() method? As in HTTPServletResponse.setContentType("text/html"); -Tim

OutOfMemory Error

2001-06-19 Thread Shailendra T Kontham
Hi Everybody ! I am geting this OutOfMemory Error for a couple of days now with no stack trace. Any idea what is wrong with TOMCAT ? Is that anythiing to do with Low memory available ?? thanks - Shailendra T. Kontham Advancework Inc.,

Re: Regarding loading a class on startup

2001-06-19 Thread Bo Xu
Pankaj Chhaparwal wrote: > Hi, > I want to load a class in the memory when the tomcat server starts. > Basically this class has some static data which I want the application to > use. I want to keep the data at application level. > > Regards, > Pankaj Hi :-) - in Servlet spec2.3, there is a new

AW: strange behavior with netscape browser

2001-06-19 Thread Thomas . Rimmele
There is no way. It is the first command I call in doGet and doPut. Greethings, Thomas -Ursprüngliche Nachricht- Von: Filip Hanik [mailto:[EMAIL PROTECTED]] Gesendet: Tuesday, June 19, 2001 9:07 PM An: [EMAIL PROTECTED] Betreff: RE: strange behavior with netscape browser YOU MUST CALL

Re: Newbie Help (the sequel)

2001-06-19 Thread Nitin Borwankar
Hi Mark, If you want to have content served both by Apache and Tomcat (usually dynamic JSP/Servlet content served by Tomcat, static by Apache) you have to understand at least all of the foll (and possibly more) a) Apache configuration - directory and URL mapping for content served by Apache b) A

Regarding loading a class on startup

2001-06-19 Thread Pankaj Chhaparwal
Hi, I want to load a class in the memory when the tomcat server starts. Basically this class has some static data which I want the application to use. I want to keep the data at application level. Regards, Pankaj

RE: strange behavior with netscape browser

2001-06-19 Thread Filip Hanik
YOU MUST CALL respone.setContentType("text/html"); before you write to the output stream. IE assumes this content type, netscape doesn't Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net >-Original Message- >From: [EMAIL PRO

strange behavior with netscape browser

2001-06-19 Thread Thomas . Rimmele
Hello, my application sends strange responses: If I try to access the servlet /xobix2/servlet/ONLI -everything works fine with IE. -Netscape Browser returns the error 404 /xobix2/servlet not found. Can anybody imagine why this happens? I append the corresponding accesslog and a http-header: Gre

Problem Installing Tomcat

2001-06-19 Thread Derek Pitts
Hi, I am having trouble getting Tomcat 3.2.2 working correctly. I have tried to install it on two Red Hat Linux 7.0 computers and neither one will function correctly. I have tried both the rpm and the binary file and I cant seem to get it to work right. When I run the startup.sh or the tomcat

RE: Error Message with Tomcat-Apache

2001-06-19 Thread Filip Hanik
in the tomcat.sh script do a export JAVA_HOME=/usr/java1.2; #or whatever your location of your java installation is the problem you are experiencing is that tools.jar located in JAVA_HOME/lib/ is not in your classpath, so Tomcat can not compile your servlets. Filip ~ Namaste - I bow to the div

Error Message with Tomcat-Apache

2001-06-19 Thread Dan Buckley
Hello, I apologize for what must be a silly question but can anyone explain how I might fix the error below. I'm using Tomcat 3.2.1 with Apache 1.3.19. on Redhat 7.0 - Someone had mentioned earlier about changing the JAVA_HOME environment variable but I'm not sure exactly what they meant by tha

Re: omegacms, thanks and a new problem: compile errors

2001-06-19 Thread Jeff Kilbride
Hi Vinny, The "<%=" opening jsp tag is for single expression evaluation, while the "<%" is for scriptlets. So, you could do this two ways: <% out.print("!"); %> or <%= "!" %> As you've seen, the "<%=" wraps whatever's inside it in an "out.print()" statement -- so you're own "out.print()" is r

Servlet chaining

2001-06-19 Thread Reynir Hübner
hi everyone, Does anyone know of implementation of a good ServletChaining API (for tomcat) that´s available for download ? I know Filters will be introduced into Tomcat 4 and I look forward to working with those but untill it will be released I need something similar. thanx bye -r

Re: xtags: Unable to load class

2001-06-19 Thread Jeff Kilbride
Where did you put the taglib tld file and the taglib jar file? What does your web.xml look like? The order of the definitions in web.xml is also important. When I first set up my taglibs, I had the definition in my web.xml at the end of the file after a definition and it didn't work. Check out

RE: duplicate posts

2001-06-19 Thread Scott Weaver
Thanks for the reply. It's a post done through a program so it wouldn't be a double click. I think that they have a synchronization problem but I wanted to rule one out on my side. I wasn't sure if it was possible for Tomcat to have an error that would receive a post and start two instances of a

Re: Apache Default Document is .jsp?

2001-06-19 Thread Jeff Kilbride
You could also have an index.html that uses the meta-refresh tag to automatically redirect to your login.jsp. This might be a lot easier than mod_rewrite. Either way, I would turn off directory browsing in Apache, unless that's what you really want. --jeff - Original Message - From: "Ja

Tomcat + Ant: precompiling servlets & making a WAR file

2001-06-19 Thread Michael 'Mickey' Sattler
Attached is the Ant build.xml file (very lightly edited from the default version). I have been reading posts in both the Tomcat-user and Ant-user lists, but I still don't feel that I understand what I need to do in order to test the most simple case of (1) using jspc to precompile servlets and

RE: Tomcat 3.2.2 and Xerces

2001-06-19 Thread Douglas E. Hornig
I have had luck with Tomcat and Xerces by putting an underscore in front of xerces.jar (i.e., calling it _xerces.jar) and putting it into the $TOMCAT_HOME/lib directory with the rest of the jar files. The shell script that generates the CLASSPATH puts them in alphabetical order (as Chris McNei

Re: Public IP IIS and Private IP Tomcat?

2001-06-19 Thread Jason Koeninger
Yes, you can do it. I was testing some configuration options yesterday and had the same thing working, but I was doing it with an aliased IP on the public box. Of course, my outside box was FreeBSD so YMMV. Best Regards, Jason On Tue, 19 Jun 2001 11:47:59 +0200, mario libraro wrote: >Hi all,

RE: Public IP IIS and Private IP Tomcat?

2001-06-19 Thread Randy Layman
I don't see why this wouldn't be possible. On the Win2K you would install the isapi_redirect.dll (see the IIS-Tomcat how to). In the workers.properties file you specify the location of the actual worker - this would be the private IP of the Linux computer. The only possible sticking po

Re: Public IP IIS and Private IP Tomcat?

2001-06-19 Thread David Wall
> i successifullt tested tomcat+apache on a single linux server. What now > a would to reach is to have a public-class-ip Win2000/IIS5 with a double > net card who communicate with a private-class-ip linux server with > tomcat. Someone thinks is it possible? > > > WIN 2000/IIS

Public IP IIS and Private IP Tomcat?

2001-06-19 Thread mario libraro
Hi all, i successifullt tested tomcat+apache on a single linux server. What now a would to reach is to have a public-class-ip Win2000/IIS5 with a double net card who communicate with a private-class-ip linux server with tomcat. Someone thinks is it possible? WIN 2000/IIS

RE: Does Tomcat provide load balancing?

2001-06-19 Thread Chauhan, Anand
I used Apache to provide "sticky" load balancing to multiple tomcats. You could set the worker.properties file and the http.conf file for the setup. For further details refer the worker.properties HOW-TO docs. If you specifically won't Tomcat to provide load balancing then.. I have no clue !

UNSUSCRIBE

2001-06-19 Thread ROBERTO RODRIGUEZ
UNSUSCRIBE PLEASE _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. UNSUSCRIBEGet Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: omegacms, thanks and a new problem: compile errors

2001-06-19 Thread Vinny
Figured it out, this statement needed a semicolon to work. Thanks all. Vinny wrote: > Thank you very much, I had to explicitly put the omega jar and the > directory containing the property file in my unix shell's classpath. > Now the problem I'm running into is that some pages are getting comp

Re: distributable servlet in Tomcat3.2

2001-06-19 Thread Boris Niyazov
Xavier, pls, disregard my posting. I didn't read your question correctly. I didn't work with distributedable servlets, so can't help with this. * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems M

Re: omegacms, thanks and a new problem: compile errors

2001-06-19 Thread Vinny
Thank you very much, I had to explicitly put the omega jar and the directory containing the property file in my unix shell's classpath. Now the problem I'm running into is that some pages are getting compile error messages. 2001-06-19 12:07:40 - Ctx( /omega ): JasperException: R( /omega +

Does Tomcat provide load balancing?

2001-06-19 Thread kevin ritter
I would like to know if within Tomcat there is a component that provide load balancing. Also, does it provide persistance? Thank you in advance. [EMAIL PROTECTED]

Re: Apache Default Document is .jsp?

2001-06-19 Thread Jason Koeninger
It sounded to me like your jsp was separate from your main document tree. If that was the case, mod_rewrite will do the job. You can only use the DirectoryIndex if you're working with static content in the same directory as the jsp content. Best Regards, Jason On Tue, 19 Jun 2001 08:29:52

Re: distributable servlet in Tomcat3.2

2001-06-19 Thread Boris Niyazov
Your servlets belong to 2 different contexts, moreover - jvms ... sessions are defined per context ... hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PRO

RE: How to upload a binary file?

2001-06-19 Thread Christian Amann
Hi,   I am sorry that I don't have time to read your sourcecode completely, but there is a very simple solution to upload files to a servlet or a jsp. There is a special package from oreilly.com for uploading files of different content-types from a browser. In my JSP I have just one line t

how protect servlets with parameters specifies?

2001-06-19 Thread Harold Arando
Hi, again I thaks again for your help... for: how protect servlet? my servlet now work with AuthType Basic fine, but I have other question.. you maybe can help me   my servlet named: AdministrationServlet.class receive parameters how:   defe/servlet/defe.servlets.AdministrationServlet?opt

RE: how to make a war file?

2001-06-19 Thread William Kaufman
> - is war-file a jar-file? Yes, except it's got some extra entries, and it ends in ".war". See the servlet spec, at http://java.sun.com/products/servlet/2.2/ , for more information on the WAR file format. - which "command"/tool can I use to do it? jar.

Re: how to make a war file?

2001-06-19 Thread Peter Choe
use the jar tool, but put a war extension instead of jar. Bo Xu wrote: > > Hi :-) could anybody tell me how to put a myapp/Servlet-context into a > war file? I can do something similar with J2EERI, but I don't know how > to do it by myself: > > - is war-file a jar-file? > - which "command"/too

RE: duplicate posts

2001-06-19 Thread William Kaufman
Are you sure they're not double-clicking the submission control? Are these the kind of users who know the difference between a single-click and a double-click? Is it only happening with one user and not another? (Can you tell that from your logs?) (I find that many users single-click buttons a

Re: JSP Examples Error 500

2001-06-19 Thread Dan Buckley
Hi, I'm having a similar error... "Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)"... and on and on. Where do you set the JAVA_HOME Envi

how to make a war file?

2001-06-19 Thread Bo Xu
Hi :-) could anybody tell me how to put a myapp/Servlet-context into a war file? I can do something similar with J2EERI, but I don't know how to do it by myself: - is war-file a jar-file? - which "command"/tool can I use to do it? thanks in advance! Bo June 19, 2001

duplicate posts

2001-06-19 Thread Scott Weaver
I'm running Tomcat 3.2.1 I have a servlet that receives posted data from a client. Some times I receive duplicate posts (the data is exactly the same...the message can't be because of some unique attributes included with the data). The client claims they are not sending duplicate messages so I'm

Re: Invalid command 'WebAppMount'

2001-06-19 Thread Vivek Bhaskaran
Instead of WebAppMount you should (I think the docs have not been updated) use WebAppDeploy. -v - Original Message - From: "Jari Salmela" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 18, 2001 11:01 PM Subject: Invalid command 'WebAppMount' Hi, I get this message when I

Re: Apache Default Document is .jsp?

2001-06-19 Thread Scott Jones
Yeah, I thought so too, but it needed the "dummy" file in the static directory before it actually worked for me. I will check into using mod_rewrite -- sounds like a good idea. Thanks to both of you. :) -Scott - Original Message - From: "Dmitri Colebatch" <[EMAIL PROTECTED]> To: <[EMA

RE: omegacms

2001-06-19 Thread Randy Layman
If you're on UNIX, add it to TOMCAT_HOME/classes, if you're on NT you'll need to modify the tomcat.bat file so that Tomcat adds this directory to its automatically built classpath. Another option it to add the conf.properties to the CLASSPATH environment variable. In either case

RE: UNSUSCRIBE

2001-06-19 Thread Arnaud . PIERRE
pas mieux. -Message d'origine- De: jianqing wang [mailto:[EMAIL PROTECTED]] Date: mardi 19 juin 2001 16:39 À: [EMAIL PROTECTED] Objet: UNSUSCRIBE UNSUSCRIBE _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

omegacms

2001-06-19 Thread Vinny
Hello, has any one tried installing omegacms on tomcat? I have a fresh install of tomcat 3.2.2 that is working fine on redhat linux 7.1. The app cannot find it's properties file no matter where I put it. Unfortunately, it seems to be closed source so I can't figure out where it is trying to look f

omegacms

2001-06-19 Thread Vincent Stoessel
Hello, has any one tried installing omegacms on tomcat. I have a fresh install of tomcat 3.2.2 that is working fine on redhat linux 7.1. The app cannot find it's properties file no matter where I put it. Unfortunately, it seems to be closed source so I can't figure out where it is trying to look f

distributable servlet in Tomcat3.2

2001-06-19 Thread Xavier Marjou
Hello, I've read on this list that Tomcat 3.2 supports serializing sessions attributes. I wanted to try it, but could not find more information on the subject here. So I tried to do it according to the servlet 2.2 specification. As it is not working, I try to sum-up here what I've done: I have i

How to upload a binary file?

2001-06-19 Thread João Folha
Hi there,   I am trying to upload a file from the client to the server. But the binary files fail and the text files don´t fail. I use tomcat 3.2.1 with apj12, on NT4.0 The bean and the jsp file i use are in attachment...   regards   jfolha   upload.java doc_entrega_autor.jsp

Re: Define the /var/www to serve .jsp ?

2001-06-19 Thread Dino Ming
Hi Brandon Cruz,       It is good to have an example for me to start. Please.        I didn't need to setting up the Virtual host for my apache. And I commented all other Context Path out, and added the following. Is this correct ?       docBase="/var/www

Re: how protect a servlet?

2001-06-19 Thread Jason Koeninger
I believe you need a Location directive in httpd.conf. You would have something like: AuthName "myauth" AuthType Basic AuthUserFile /path/to/myauthfile require valid-user Of course, replace mywebapp as appropriate. Sounds like you may want to protect just one servlet in your ap

UNSUSCRIBE

2001-06-19 Thread jianqing wang
UNSUSCRIBEGet Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

RE: Define the /var/www to serve .jsp ?

2001-06-19 Thread Brandon Cruz
You can just edit %tomcat_home%/conf/server.xml and set the docBase to be wherever you have your apache files located.  You can specify this for each virtual host you have set up though apache.  If you need examples or anything, just send me an email. Brandon CruzNorvax Inc.www.norvax.com  

RE: Tomcat 3.2.2 and Xerces

2001-06-19 Thread Chris McNeilly
Sorry. Asleep at the wheel. I didn't see this earlier. The problem is that Tomcat uses a different xml parser than xerces and there is a version conflict of some sort that I knew back when I had the problem but have since forgotten. To fix, the easiest way is to modify the tomcat.bat or tomca

Re: Define the /var/www to serve .jsp ?

2001-06-19 Thread Sam Newman
When using tomcat and apache, you simply set up a new document root and mapping within httpd.conf for each webapp you want accessable via Apache. When you run tomcat, it automatically generates the Apache directives required to use Apache and Tomcat together uising mod_jk - look at the file

how protect a servlet?

2001-06-19 Thread Harold Arando
Hi, every body   I have the following problem:   I would like protect a servlet with AuthType Basic, for apache display the dialog "login/pass".   my directory where is my servlet is:   C:/tomcat/webapps/defe/Web-inf/classes/defe/AdministrationServlet.class   the file:  AdministrationServlet.

Re: Tomcat 3.2.2 and Xerces

2001-06-19 Thread Sam Newman
If it was an inbuilt limitation of Tomcat, I wouldn't expect to see a ClassDefNotFoundExceptionare you sure you've put your xerces parser .jar file in the WEB-INF/lib directory of your webapp? Also Mail Archive does have a search facility for this list. Its pretty crap but its better than noth

Tomcat 3.2.2 Vs Tomcat3.1.1

2001-06-19 Thread Govind Agarwal
Hi all, I am using Tomcat 3.1.1 with IIS and want to upgrade my application to 3.2.2 version. Any Info on the major changes to be done for this would be helpful. Thanks in Advance Govind

Define the /var/www to serve .jsp ?

2001-06-19 Thread Dino Ming
Dear All,       Sorry for my stupid question, and I'm new to JSP & Servlet.       Here are my questions.       Is it good to set the Apache's document root to pass .jsp to Tomcat ? Or I need to define a folder under $TOMCAT_HOME/webapps/"my new folder" , and putting all of my .j

  1   2   >