Manager--hangs during clean up

2002-11-20 Thread Michele Emmi
Hi, I was wondering if anyone else had run into the server hanging during cleanup and if there is a fix to this? I don't have direct access to the server to just restart it. I am looking for a permanent fix. Thanks _ Add pho

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
I am using Windows2000 and I think it is the IIS server that is already using port 80. this prevents tomcat from using port 80. Does anyone know how to disable IIS server on Windows2000? In addition, I think some other services are using port 443 on Windows2000. Does anyone know anything ab

RE: newbie Q

2002-11-20 Thread Turner, John
They're good for 4.0 for the most part. Here are the 4.0 docs: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html John > -Original Message- > From: Price, Erik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 2:59 PM > To: Turner, John; [EMAIL PROTECTED] > Subj

RE: newbie Q

2002-11-20 Thread Price, Erik
Whoops. I have the 4.0 docs on my host's server. That is what I was looking at. There are a lot more docs on the site you linked to. Are most of these applicable to 4.0, or is this for the most part 4.1 references? Thanks for the pointer, John. Erik > -Original Message- > From:

RE: XML parser

2002-11-20 Thread Mark Schmeets
Definitely take a look at JDOM. It will allow you to access the data in a very familiar fashion. SAX is great when you need it, but for most things the implementations are too much. http://www.jdom.org Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Novemb

Re: mod_webapp.so versus mod_jk

2002-11-20 Thread Kent Perrier
On Wed, 2002-11-20 at 13:24, Steve Cromer wrote: > > Hi, > > I would like to integrate Tomcat and Apache. I noticed that there is more than > one way to do this. One way involves Warp, using mod_webapp.so and another > involves mod_jk. > Please, go look in the archives. This question is ask

tomcat version numbering (Was: HttpServletRequest.isSecure()fails...)

2002-11-20 Thread Steinar Bang
> Steinar Bang <[EMAIL PROTECTED]>: > Steinar Bang <[EMAIL PROTECTED]>: >> Do the 4.1.13 and 4.1.14 versions you refer to, exist as separate >> branches in the CVS? Or is 4.1.13 a branch, and 4.1.14-to-be HEAD? > Not sure if they are branch tags, but there are tags named > TOMCAT_4_1_13

Tomcat Newsgroup?

2002-11-20 Thread David White
Just curious, since this mailing list gets so much traffic, is there any desire to create a newsgroup instead? It would be great to be able to search old posts using a newsreader or google groups. cheers, David White -Original Message- From: David Wall [mailto:[EMAIL PROTECTED]] Sent: We

Re: stderr.log and stdout.log

2002-11-20 Thread billfly3
Consider log4j at the jakarta.apache.org web site. Bill > > Hi, > > I would like to configure the Tomcat 4.0.4 (OpenVMS 7.3-1 port) so that it will > create the stderr.log and stdout.log in the logs directory. So that I can > capture all the debug information by using System.out.println(). Is

RE: newbie Q

2002-11-20 Thread Turner, John
Most of the stuff in server.xml is explanation/documentation and optional. Minimum Context: Simple Context: More involved Context: the Examples Context in server.xml. Are we looking at the same docs? There's all sorts of stuff in there, like this from the Configuration reference: http://j

stderr.log and stdout.log

2002-11-20 Thread Chiming Huang
Hi, I would like to configure the Tomcat 4.0.4 (OpenVMS 7.3-1 port) so that it will create the stderr.log and stdout.log in the logs directory. So that I can capture all the debug information by using System.out.println(). Is there a way to do that? I got these log files create for Tomcat 4

RE: generating mod_jk.auto-conf with Tomcat 4.1.12

2002-11-20 Thread Turner, John
http://www.johnturner.com/howto/apache1-tomcat404-howto.html Step 3 in the Connector section. John > -Original Message- > From: Pierson, Dennis [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 2:29 PM > To: [EMAIL PROTECTED] > Subject: generating mod_jk.auto-conf with To

RE: newbie Q

2002-11-20 Thread Price, Erik
Hi John, Thanks for the suggestion, but... I can't find it. Creating a entry is introduced but not really explained. The paragraph you mention is this: """ * Add a entry in the $CATALINA_HOME/conf/server.xml configuration file. This approach is described briefly below, and allows you to

generating mod_jk.auto-conf with Tomcat 4.1.12

2002-11-20 Thread Pierson, Dennis
On NT4: The doc says "The simplest way to configure Apache to use mod_jk is to turn on the Apache auto-configure setting in Tomcat". But I can't find any other reference to this. How is this done? -- ps: I gave up trying to get Ajp12 between Apache1.3.26 and Tomcat

mod_webapp.so versus mod_jk

2002-11-20 Thread Steve Cromer
Hi, I would like to integrate Tomcat and Apache. I noticed that there is more than one way to do this. One way involves Warp, using mod_webapp.so and another involves mod_jk. My question is, which one of these is better and why. Are one of these methods a newer and better approach for integ

RE: HTTP and SSL Connector port problems

2002-11-20 Thread brana02
it may be some very simple syntax error like leaving out the / before you close the tag, it just happened to me before -Original Message- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 2:12 PM To: Tomcat Users List Cc:

status 500 error- advise plz

2002-11-20 Thread Anton Hughes
Greetings I have just installed Tomcat 4.1 but am getting the following error msg- could some please advise me as to how I can fix this? HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. except

Re: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
Did I miss something that I should I have changed in some other files or place? All I did was to change the ports number in server.xml On 20 Nov 2002 at 7:33, Pae Choi wrote: > Strange! I've been testing HTTP with port 80, 8080, and even other > ports for tunneling and HTTPS with port 443, 8443

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
I am already running tomcat as Administrator, but it stilll does not load. It just threw some exceptions and the window closed quickly. Did I miss something that I should I have changed in another place or file? On 20 Nov 2002 at 12:10, Ralph Einfeldt wrote: > The reason that this is recomm

Re: Session Tracking based on the Client's IP

2002-11-20 Thread Jose Miguel Guzman Cassanello
Thanks Norbert In my environment, all client are well-know stations in a well-know network. There isn't any NAT or FW, and the clients are not going to spoof their IPs addresses. Basically, I need to have a Session Status Table in memory, with some very basic status info for each client, indexed

RE: newbie Q

2002-11-20 Thread Price, Erik
Carsten, I forgot to thank you for helping me the other day with your suggestion to use a soft link from the $CATALINA_HOME/webapps directory to the directory in my ~/public_html directory. I appreciate it. I'm still waiting for my system administrator to restart Tomcat so I can test the Hell

Apache environment variables

2002-11-20 Thread Daniel Fisher
Hello, I'm using Apache1.3.26 and Tomcat/4.1.12-LE-jdk14 connected with mod_webapp. I am letting Apache handle SSL connections and I need to use some the the SSL environment variables in a JSP file. I added the following line to my httpd.conf file: SSLOptions +StdEnvVars +ExportCertData The apache

Re: Know a good Apache HTTP Stat Collector???

2002-11-20 Thread Becky Phaneuf
Thanks everyone for your help. Someone passed me the link below and it provided a good solution b/c I don't care about the server's certificate (in this case): http://javaalmanac.com/egs/javax.net.ssl/TrustAll.html?l=rel -Thanks >>> [EMAIL PROTECTED] 11/04/02 08:51AM >>> Webalizer is really eas

Martin GEORGE/VIENNA/UNO is out of the office.

2002-11-20 Thread Martin GEORGE
I will be out of the office starting 15/11/2002 and will not return until 24/11/2002. I will respond to your message when I return. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Where is JMeter for Linux/FreeBSD ?

2002-11-20 Thread achana
Ralph Einfeldt wrote: > > Hey, jMeter is pure java. So it runs under any os > for that there is a jdk. Opps, besten Dank ! Zuerst genau anschauen dann eine Frage stellen. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: OFF Topic : Any java based API converters from DOC or PDFto HTML

2002-11-20 Thread Nagarjuna Rao Chakka
Hi Joel, I did ask google before coming to this site. But there was no java based API conversion tool to convert to HTML. I found other tools such as SoftInterface, BCLTech, Snowbound, LDConverter all these are commerical products and only does batch/GUI based utilities. There was no API based c

Tomcat List Duplicates?

2002-11-20 Thread David Wall
Is anybody else getting duplicate emails from the Tomcat list? I not only seem to get duplicates, but I even get messages that I'm sure I saw yesterday arrive again today (such as my own postings). David -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: OFF Topic : Any java based API converters from DOC or PDFto HTML

2002-11-20 Thread Joel Sather
Well, you could always try http://www.jpedal.org/, but it seems to only be an API to extract info from a PDF--you'd still have to build the HTML pages. If you don't mind paying, you could always ask Google--they seem to convert PDF and DOC to HTML on the fly. I'd also recommend running the conve

Re: Tomcat with Access '97 & IIS

2002-11-20 Thread Larry Meadors
I would still use mysql or um...anything other than access via odbc/jdbc. >>> [EMAIL PROTECTED] 11/20/02 11:12 AM >>> in that case, you're probably safe. the access odbc driver doesn't support connection pooling for that version, so you'll only be able to support a couple simultaneous queries. p

Re: Tomcat with Access '97 & IIS

2002-11-20 Thread peter lin
in that case, you're probably safe. the access odbc driver doesn't support connection pooling for that version, so you'll only be able to support a couple simultaneous queries. peter Andoni wrote: > > If you think that's the biggest problem I can safely say this app will never > have 200K+ reco

Re: Tomcat with Access '97 & IIS

2002-11-20 Thread Andoni
If you think that's the biggest problem I can safely say this app will never have 200K+ records. It is an internal tool and will never be a public web-site. Andoni. - Original Message - From: "peter lin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, Nov

OFF Topic : Any java based API converters from DOC or PDF to HTML

2002-11-20 Thread Nagarjuna Rao Chakka
Hi, We have a situation where the documents (DOC/PDF) will get uploaded to server and we need to convert and publish them to HTML format (which is accessible for all the users). We are looking for any kind of convertion utility (java based API) for converting to HTML. Our enviroment is Apache - T

Re: Tomcat with Access '97 & IIS

2002-11-20 Thread peter lin
I'll have to third that sentiment. avoid jdbc-odbc unless you absolutely have no other choice. Access is fine for light weight database, but once the database starts to grow, be aware that indexes start to fail miserably. I don't know if the latest version has the same problems of the past, but I

RE: Tomcat Realm Example Problems

2002-11-20 Thread Andrew Geery
This error means that you directly referenced the login page. This is an annoyance with Tomcat security realms: you get authenticated, but since you weren't going anywhere in the realm, you get the HTTP Status 400 error. Rather than accessing the login page, simply access any page that is protected

RE: Tomcat with Access '97 & IIS

2002-11-20 Thread Larry Meadors
I will second this - do not use the jdbc-odbc bridge unless you absolutely have to. If there is ANY other path, take it instead. Larry >>> [EMAIL PROTECTED] 11/20/02 10:43 AM >>> You'll need the JDBC-ODBC bridge. It's not pretty...if you're doing anything serious, don't use it. Switch to Pos

RE: Tomcat with Access '97 & IIS

2002-11-20 Thread Turner, John
You'll need the JDBC-ODBC bridge. It's not pretty...if you're doing anything serious, don't use it. Switch to PostgreSQL or MySQL or SQL Server instead. If you are using SQL Server, you can get a free JDBC Type 4 driver from Microsoft, but it is SQL Server version dependent, so your mileage may

Tomcat with Access '97 & IIS

2002-11-20 Thread Andoni
Hello, I am going to try to get a web app working with Access '97 & IIS for the first time. Does anyone know where I should start. Presumably using an ODBC-JDBC bridge driver?? Can I use regular SQL queries on this setup? How about prepared statements? I usually only use Oracle so I'm a bit d

Re: Session Tracking based on the Client's IP

2002-11-20 Thread Kristján Rúnarsson
Is there any way of keeping track of people that contact a site? I have had problems with people writing automated scripts to abuse a JSP based service. What they basically do is to write a script that fakes a http request sequence, pretending it is a browser like IExporer or Netscape. I realis

mime-type for .SIS (Symbian OS file)

2002-11-20 Thread Daniel Hellstrand
What mime-type would I set in tomcat to be able to serve .sis (Symbian OS) files ? /Dan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Rodrigo Ruiz
I find the next article clear to understand: http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j.html It presents a perspective of the class loading problems that can arise in a J2EE application. You can skip all the Oracle specific part, if you want. It makes some mentions to the uses of getConte

cross context in TC 4.1

2002-11-20 Thread Jason Novotny
Hi, I have a webapp that needs access to the context of other webapps. In TC 4.0, I added the following to server.xml: reloadable="false" crossContext="true"> prefix="localhost_gridsphere_log." suffix=".txt" timestamp="true"/>

Re[4]: XML parser

2002-11-20 Thread Jacob Kjome
Hello Cédric, Here's a good explanation. It even explains why it probably works for you. Here's the bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7175 Here's the applicable comment: --- Additional Comments From Patrick Luby 2002-03-16 23:24 --- I agree with Remy that you shou

Tomcat Realm Example Problems

2002-11-20 Thread Brown, Melonie S. - Contractor
Running Tomcat 4.1.12 on Windows 2K... I try running the jsp security realm example and get the following error after logging in: HTTP Status 400 - Invalid direct reference to form login page type Status report message Invalid direct reference to form login page description The request sent by th

Re: Session Tracking based on the Client's IP

2002-11-20 Thread Norbert Kuhnert
Jose, Unfortunately, this approach would be somewhat unreliable, depending on the sites accessing Tomcat. Most corporate networks are protected by a firewall and many of the do "Dynamic Network Address Translation". Dynamic NAT is used to hide the real IP address of clients connected from the int

mod_jk error and Header dumping

2002-11-20 Thread Ben Ricker
I am running using Apache 1.2.6 talking to two Tomcat 4.0.5 (I think that is the version number; how do you verify it? The Tomcat default page comes up with just '4.0') listening on two separate ports. I am seeing a strange problem. We have a customized web application which we run through Tomcat

cpu abuse avoid

2002-11-20 Thread Jose Antonio Martinez
I know it is posible in the context of a shared tomcat hosting to avoid memory abuse (you can manage jvm parameter for limiting it), but how is posible to limit cpu of a jvm? ___ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más

Access by IP Address

2002-11-20 Thread Kevin Andryc
I have an application that I would like to authenticate using IP address and also username/password. For example, if a user has a username/password then he/she could just log in as normal. If, however, the user is coming from a known range of IP addresses, then I wish to assign them a temporary use

RE: Access Log valve

2002-11-20 Thread Reynir Hübner
Ok, that's what I thought... Thanx. -reynir > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED]] > Sent: 20. nóvember 2002 16:48 > To: Tomcat Users List > Subject: Re: Access Log valve > > > There is no way unless you either: > - extend AccessLogValve to do your bidding

Re: Access Log valve

2002-11-20 Thread Tim Funk
There is no way unless you either: - extend AccessLogValve to do your bidding - Use cron and shell scripting to massage your files into a format you like -Tim Reynir Hübner wrote: Hi, I have configured an access log valve, it works ok, except it always makes one file per day, I would like to

RE: Where is JMeter for Linux/FreeBSD ?

2002-11-20 Thread Ralph Einfeldt
Hey, jMeter is pure java. So it runs under any os for that there is a jdk. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 1:27 AM > To: [EMAIL PROTECTED] > Subject: Where is JMeter for Linux/FreeBSD ? > > > Hi! > Cannot see

Access Log valve

2002-11-20 Thread Reynir Hübner
Hi, I have configured an access log valve, it works ok, except it always makes one file per day, I would like to have one file for longer time-period. It would make it easyer to analize with the usual accesslog tools, such as AWStats, or webalizer. How do I configure it so that it's a one fi

RE: I need to decide

2002-11-20 Thread Lee Grey
But if you want it to work today, use JK. I couldn't get JK2 to work. I couldn't even build it. Lee Grey -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 7:42 AM To: 'Tomcat Users List' Subject: RE: I need to decide Webapp is no long

RE: newbie Q

2002-11-20 Thread Turner, John
It's here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html You want the part that says "Add a entry in the $CATALINA_HOME/conf/server.xml configuration file", fifth paragraph under "Deployment with Tomcat 4". You can also use server.xml's entries for the /examples direct

Re: newbie Q

2002-11-20 Thread Carsten Ziegert
It is sufficient to create the directory containing the new webapp directly nested under the webapps directory. Tomcat recognized the new webapp when being restarted. Am Mittwoch, 20.11.02, um 17:00 Uhr (Europe/Berlin) schrieb Price, Erik: No, I have read through the guide for my distribution (4

Re: Re[2]: XML parser

2002-11-20 Thread Cédric Viaud
I'am interested by more informations on this subject. I actually use XML librairies in my /WEB-INF/lib directory, on a Tomcat 4.0.4-LE, and it works fine. May be because of the light edition. Regards, Cédric - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat User

Re[2]: XML parser

2002-11-20 Thread Jacob Kjome
Hello Charlie, There is actually more to it. Putting XML or DOM libraries in WEB-INF/lib violates the Sun classloading spec which Tomcat has been enforcing since the 4.0.2 release. Now, don't ask me why the Sun classloading spec says what it says. Just know that you are prohibited from putting

Where is JMeter for Linux/FreeBSD ?

2002-11-20 Thread achana
Hi! Cannot seem to find a copy of JMeter for Linux, am I looking at the right place ? Would like to hear comments and pros and cons... -- To unsubscribe, e-mail: For additional commands, e-mail:

Managed Bean Question

2002-11-20 Thread Anthony Mutiso 2
I have a webapp with a custom realm class. The webapp worked fine in TC 4.0.5. When I migrate my webapp to 4.1.12 I get Managed Bean errors which fail my realm initialization. On searching the mail-list I found suggestions that I need to register the realm class in the mbeans-discriptors.xml file.

Re: Loading properties file for an external class

2002-11-20 Thread David Wall
> Where do I need to drop it? webapps/yourappname/WEB-INF/classes if it's a standalone file -- remember that's the base, so if the properties file is considered to be in a package, it has to be a subdirectory of this base location. webapps/yourappname/WEB-INF/lib/yourjar.jar -- if you've put it

logging versus ant tasks

2002-11-20 Thread Benson Margulies
I can't figure out how to specify context options such as the existence of a logger for a context established with the ant tasks.

RE: newbie Q

2002-11-20 Thread Price, Erik
No, I have read through the guide for my distribution (4.0.6) and I cannot find an explanation of how to configure server.xml for a new webapp that I have created. (Though I did create the webapp along the guidelines provided in the Application Developer's Guide, so that should be all set once I c

RE: Tomcat 4.0.1 on Solaris 8 drops out of memory

2002-11-20 Thread Matthew Ritenburg
Hi Christian, I appreciate your response, however, it is my undertsanding that only startup.sh receives the nohup. Shouldn't the nohup be included in the catalina.sh? Also, shouldn't the Tomcat process detache itself from the shell anyway? Thanks again, Matt -Original Message- From:

RE: How do I unsubscribe?

2002-11-20 Thread srinath narasimhan
To remove your address from the list, send a message to: <[EMAIL PROTECTED]> -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 10:38 To: Tomcat Users List Subject: Fw: How do I unsubscribe? - Original Message - From: "Thronicke Klau

New SSL keystore problem

2002-11-20 Thread brana02
I actually tried netscape 4.7 to access the welcome page of Tomcat on port 8443 and netscape gave me a better message than iexplorer6 (which printed ). It said the document contained no data.Try again later or contact the server's administrator. Any ideas what I am missing from the server

RE: SSL keystore problem

2002-11-20 Thread Steve Beech
are you using the prefix https? e.g. https://www.yoursite.com -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 15:35 To: Tomcat Users List Subject: RE: SSL keystore problem I'd like to thank all of you for helping me out, I got tomcat configured with the

FW: How do I unsubscribe?

2002-11-20 Thread Ralph Einfeldt
It should work if you send a mail to tomcat-user-unsubscribe-@jakarta.apache.org where is your old address in the format: user=domain (e.g.: [EMAIL PROTECTED] -> foo.baz=bar.tld) Have a look at the Return-Path of the mails that you receive from the tomcat list. > -Original Message- >

Re: Tomcat 4.0.1 on Solaris 8 drops out of memory

2002-11-20 Thread Christian Krohmann
Matthew Ritenburg wrote: This is my configuration: J2se 1.3.1_06 Tomcat 4.0.1 Solaris 8 Sparc on Sunfire 280r When I start the Tomcat process it runs fine until > I exit the shell or xterm the process was started on. > When I exit the shell or xterm the Tomcat process drops > from memory. How

Fw: How do I unsubscribe?

2002-11-20 Thread Andoni
- Original Message - From: "Thronicke Klaus-Peter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 2:19 PM Subject: AW: How do I unsubscribe? ok, i have the same problem i know my email-address has changed. and i'm registered on the list with the old on

SSL strangeness.

2002-11-20 Thread Steve Beech
I've set up a SSL socket in Tomcat on port and everything appears to work okay. I can connect to the port install the cert and access the site. However, when I access this port with my browser and get the 'Security Alert' prompt telling me about the certificate and asking me if I want to cont

RE: SSL keystore problem

2002-11-20 Thread brana02
I'd like to thank all of you for helping me out, I got tomcat configured with the SSL and keystore and it doesnt crash on startup anymore. However... When I go to view the welcome page on port 8443 which is what I specified, using IE 6 I only see these 5 characters on a white page ().

Re: Please respond, I am at a roadblock, Tomcat cannot find sette r method

2002-11-20 Thread Jim Cobban
Thank you for your assistance. I do not know exactly what Tomcat is looking for, but once I renamed the get methods that returned int values (because that is what the internal logic of my app required) so that all that the compiler saw was the setLang method, it accepted that as the setter method.

RE: hi

2002-11-20 Thread Cox, Charlie
check out the application developer's guide http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html Charlie > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 3:26 AM > To: [EMAIL PROTECTED] > Subject: hi > > > > >

Re: Help!!

2002-11-20 Thread Georg Hanwalter
Hi Paul try using the connector To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail:

hi

2002-11-20 Thread praveena
hi i wnt to know how to comfig the tomcat.how to run the servlet in this webserver.mail me back details regrading this plz...how to set the class path.aslo...package r not imported here. its is giving the error that import servlets r not exists.plz mail me back regarding this

Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Giovanni Cuccu
At 15:39 20/11/2002 +0100, you wrote: . The rule of thumb is that no class in shared/lib will be able to see any class from your webapps. Well, unless you use "Thread.getCurrentThread().getContextClassLoader()" to load the class, of course. If you use getContextClassLoader().loadClass(), you

RE: XML parser

2002-11-20 Thread Cox, Charlie
do not put xerces.jar in WEB-INF/lib. It will not work there since it is already in /common/lib. Tomcat comes with Xerces already, so unless you need functionality not contained in the provided xerces.jar, you don't have to do anything. if you need a newer version, replace the one in /common/lib.

RE: Loading properties file for an external class

2002-11-20 Thread Cox, Charlie
you may want to try ServletContext.getResourceAsStream() getServletContext().getResourceAsStream("/WEB-INF/classes/myprop.properties" ); Charlie > -Original Message- > From: Klein, Scott @ TW [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 7:37 PM > To: 'Tomcat Users List'

Tomcat 4.0.1 on Solaris 8 drops out of memory

2002-11-20 Thread Matthew Ritenburg
This is my configuration: J2se 1.3.1_06 Tomcat 4.0.1 Solaris 8 Sparc on Sunfire 280r When I start the Tomcat process it runs fine until I exit the shell or xterm the process was started on. When I exit the shell or xterm the Tomcat process drops from memory. How do I ensure the Tomcat process

RE: SSL keystore problem

2002-11-20 Thread Bodycombe, Andrew
No problem. If you're using UNIX or LINUX, type the following at the command line: export CATALINA_OPTS="-Djavax.net.ssl.keystore=" If you're on Windows (this process may vary for different versions of Windows...) Go to the control panel, and double-click the "System" icon. Go to the "Advanced"

Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Rodrigo Ruiz
Giovanni, If you cannot change the third party library behaviour, then you will have to put that jar into each webapp. Anyway, you can put any other library in shared/lib if it does not need to load resources. Also, take into account that depending on the way forum.jar was implemented, it could b

Please help : how to reduce java instances ??

2002-11-20 Thread Erwin Prasanna
Wishes to everyone, I have installed Tomcat 3.3.1 and integrated it with Apache 1.3.26 and everything works fine, but whence i issue the command "ps -ef | more " i see nearly 35 java threads running each taking 1.2% of system memory. On seeing the forums i tried to configure server.xml for max_thr

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Giovanni Cuccu
At 09:07 20/11/2002 -0500, you wrote: You can share a JAR across Contexts. From the ClassLoader HOWTO http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html "Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Giovanni Cuccu
At 08:54 20/11/2002 -0500, you wrote: To each, his own. There's no such thing as "waste of resources" in a service business...clients and customers pay for what they get. If they need 256MB RAM for the JVM, they pay for it. I'm responsible for an ASP system right now...there are 17 (going on 2

RE: Apache/Tomcat Security

2002-11-20 Thread Turner, John
For your webapp, in httpd.conf, you'll want: # Deny direct access to WEB-INF and META-INF # AllowOverride None deny from all AllowOverride None deny from all And for the manager on that virtual host: # Deny direct access to WEB-IN

RE: servlet communication

2002-11-20 Thread Varley, Roger
> > Could you just rely on the manager application to reload the webapp? > Then there is no code to maintain. > I've been looking for an effective way to emulate the unix 'kill -HUP' command for ages. It's not always practical to kill off the webapp, since you need to ensure that no-one is usin

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Turner, John
You can share a JAR across Contexts. >From the ClassLoader HOWTO http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html "Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications (unless Tomcat internal classes also

Apache/Tomcat Security

2002-11-20 Thread Anderson, M. Paul
I am preparing to launch my first web site utilizing an Apache/Tomcat configuration. The server will host a single web site, at least for now that uses servlets and jsp with a database backend. I have set up the Apache and Tomcat as discussed in the documentation with much help from people on thi

Re: servlet communication

2002-11-20 Thread Tim Funk
If your using apache - a good admin will be able to sufficently protect the manager webapp. The ServletContext is always available. From servlets: ServletContext myContext= this.getServletConfig().getServletContext(); From JSP: Provided via the "application" scripting variable. Felipe Schnack

Re: Tomcat Featured in Out-of-the-Box

2002-11-20 Thread Kent Perrier
On Tue, 2002-11-19 at 18:41, Eric Weidner wrote: > FYI, Tomcat is featured in Out-of-the-Box 1.0, a distribution of Open > Source projects. > Woah. When I saw your subject, I thought you ment the kids show on Playhouse Disney. My 4 year old loves it. I might start enjoying it as well if the

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Turner, John
To each, his own. There's no such thing as "waste of resources" in a service business...clients and customers pay for what they get. If they need 256MB RAM for the JVM, they pay for it. I'm responsible for an ASP system right now...there are 17 (going on 21) customers. Each has their own Tom

Re: SUCCESSFUL Tomcat Install!

2002-11-20 Thread bido
It's all semantics and some loose writing in some cases and I agree with Ralph. Note that the link to flashline (see below or original post) indicates that JBOSS is not J2EE compliant. How true is this?? JBOSS is a J2EE EJB container that ships integrated with Tomcat or Jetty as J2EE Servlet co

Re: Granting security permissions not working

2002-11-20 Thread Pae Choi
On Win32, the forward slash works as well . For example, grant codebase "file://:/-" { Pae - Original Message - From: "Greg Trasuk" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 5:05 AM Subject: RE: Granting security permission

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Giovanni Cuccu
At 07:47 20/11/2002 -0500, you wrote: John, thanks for the response My advice would be use a separate tomcat instance for every customer, for one very simple reason: if the forums for customer A hang for whatever reason, you would be able to restart their Tomcat instance, and only their Tomcat i

RE: SSL keystore problem

2002-11-20 Thread brana02
I am really not familiar with where to add that line and under what conditions in the catalina.bat file, could you be a little more specific thanks -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 8:18 AM To

RE: SSL keystore problem

2002-11-20 Thread p niemandt
I have a similar problem, but mine is related to Apache. It seems that Tomcat is picking up the Apache certificate and not the Tomcat certificate. I haven't found a solution yet, but what seems to help is to use the keytool to delete the key ... something in the line of keytool -list lists certs

Re: servlet communication

2002-11-20 Thread Felipe Schnack
yes.. synch is really a pain! but what you mean you mean set ServletContext.setAttribute()? This isn't only visible in all instances of a specific servlet? My problem with manager is that a sysadmin here don't like the idea of have such an adminastive tool open to the web... i don't agree wi

Configuration Questions !

2002-11-20 Thread Joseph Stephen Vaithara
Hi All, I was trying to tweak around the tomcat configuration and had couple of questions. 1) How do we specify java run time options for tomcat 4. In this case I want to increase the min & max heap size. 2) In the http connector what do the following parameters signify and what is the

RE: Tomcat 4.12 no longer likes my admin directory.

2002-11-20 Thread Colic, Alex
Hmm, not quite sure about that. My admin directory is within an existing context 'myApp'. Why should the admin.xml care about the names within my existing context. I can understand that I can't create a new web app called admin but should I not be able to give any name to directories within an exis

Re: servlet communication

2002-11-20 Thread Tim Funk
Could you just rely on the manager application to reload the webapp? Then there is no code to maintain. Otherwise - your in a kludge. You can: - Put a "status" object in your application context - When a servlet is executed - it can first check its "status" instance locally stored against the ap

RE: SSL keystore problem

2002-11-20 Thread Bodycombe, Andrew
You can tell tomcat to look in a different location at startup by specifying the following value in your CATALINA_OPTS variable: "-Djavax.net.ssl.keystore=" Andy -Original Message- From: brana02 To: Tomcat Users List Sent: 20/11/2002 13:03 Subject: RE: SSL keystore problem Do you know h

<    1   2   3   >