Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Sriram N
If you're loading classes, then try using Thread.currentThread().getContextClassLoader().loadClass(myClass); Use this in the classes that you wish to place in the shared/lib. --Sriram --- Giovanni Cuccu [EMAIL PROTECTED] wrote: Hi all, I'm developing an application which will be

Re: GIF images don't show up on first request, but show up fine after on 4.1.12

2002-11-20 Thread Martin Jacobson
Turner, John wrote: Hello - We have an app running on 4.1.12. In stand-alone mode, this URL works perfectly: http://some.server.com:8080/myApp http://some.server.com:8080 also works perfectly (myApp is the default app) With Apache (2.0.43), using JK, the GIF images on the page show as

Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Giovanni Cuccu
At 23:59 19/11/2002 -0800, you wrote: thanks for the response, but the load occurs in library that I cannot modify. my problem is how to share some classes including servlets and deploying only the jsp part. For example consider a forum application the logic, including servlets is in a jar (i.e

Re: Startup classes in Tomcat.

2002-11-20 Thread Martin Jacobson
Justin Ruthenbeck wrote: Write a servlet that calls each of the startup classes you need to run and set it up in your web.xml. Maximum portability, minimum work. justin At 06:23 PM 11/19/2002, you wrote: Hi All, I am using tomcat 4.1. I am a newbie to tomcat. We are off-loading most of our

RE: GIF images don't show up on first request, but show up fine after on 4.1.12

2002-11-20 Thread Ralph Einfeldt
Just a loosely cupled bunch of questions/remarks. Have you configured apache to forward all request to tomcat or yust /servlet/* and *.jsp ? To isolate the problem you could create a static page that contains the same link. With this page try it with mod_jk enabled/disabled to see if you can

RE: XML parser

2002-11-20 Thread Tref Gare
:-) It's all a bit much isn't it. SAX is not a parser, it's more of a method that a parser would use. There are essentially two ways to treat XML. DOM ..where a tree is built based on the XML file given and then traversed back and forth to get stuff out of it. - And SAX ..where an XML

Re: XML parser

2002-11-20 Thread Kwok Peng Tuck
Tref Gare wrote: DOM ..where a tree is built based on the XML file given and then traversed back and forth to get stuff out of it. That sounds about right for DOM :) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

CPU Utilization Problem

2002-11-20 Thread Gaurav Arya
Hi All, We are experiencing a CPU hog on one of our servers. We are using Apache 1.3.27 as the web server and tomcat 3.3.1 as the servlet engine. Apache - tomcat communication is achieved by mod_jk and AJP 12 as the connector. Along with the Apache - Tomcat service we have a rmi daemon (rmid),

Betr.: Problem getting JK or JK2 to work on freebsd

2002-11-20 Thread Jacco Braat
my setup is a little different (freebsd4.6 + apache2.0.43 + tomcat4.1.10 + mod_jk2) but i tried the following: - build apache with WITH_THREADS option - build tomcat - build connectors from source, they are not in the port (?) . Go to the jk subdirectory, edit the build.properties file to point to

RE: XML parser

2002-11-20 Thread Paul_Wallace
It's all a bit much isn't it. You're not wrong! OK, having continued to study the article you quoted, I have downloaded and installed the JWSDP (JAXP). In the same page that describes where to download JAXP it says: To install, unzip it in a directory of your choice, and update the classpath

Re: SOAP: Unable to resolve target object

2002-11-20 Thread Philippe Burger
Hi John, I think I get it! When i unpacked the soap.war file to put my classes in TOMCAT_HOME/webapps/soap/WEB-INF/classes/packagename/, I forgot to set the WebAppDeploy to 'soap' in my Apache configuration file ( it was set on soap.war, so the classes could'nt be seen) context-param

2nd try - wildcard subdomains

2002-11-20 Thread cbh
Hi. I try this once more, since I didn't get a single response from my first posting. I'm running Tomcat 4.1.12 standalone on Windows XP. I would like to set up all subdomains to point to my domain, i.e. I would like to be able to redirect *.mydomain.com to mydomain.com. I've tried using

RE: XML parser

2002-11-20 Thread Tref Gare
No need (and some would say 'bad idea') to place the jar explicitly in the classpath. Tomcat adds any dependent files to the classpath dynamically when it starts up and as such anything in your WEB-INF/lib folders is automatically available to JSP and Servlets. If on the other hand you were

RE: XML parser

2002-11-20 Thread Paul_Wallace
Understood. And what implications would it have to use the Xerces parser on the code in that page? (http://www2.theserverside.com/resources/article.jsp?l=JSP-XML2)(DOM approach) finally, what is or what am I importing with: import org.w3c.dom.*; ? Thanks Paul. No need (and some would

RE: XML parser

2002-11-20 Thread Steve Beech
Sorry to drop in so late on this one. If all you want to do is pull out some info from an XML doc, why not use JDOM (www.jdom.org) to parse it? This gives nice easy access to all elements. Steve. -Original Message- From: Tref Gare [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:24

RE: XML parser

2002-11-20 Thread Tref Gare
Lol.. I knew I'd heard of something like that... That looks like just the ticket. Thanks -- Tref Gare Development Consultant Areeba Level 19/114 William St, Melbourne VIC 3000 email: [EMAIL PROTECTED] phone: +61 3 9642 5553 fax: +61 3 9642

Re: SUCCESSFUL Tomcat Install!

2002-11-20 Thread Cédric Viaud
I'm sorry, but Tomcat is not a J2EE container. It is only a servlet container. I don't think that a J2EE container really means something. An application server can be J2EE compliant if he is : servlet container, EJB container, and everything else defined in the J2EE specification. There's a

Apache cannot serve htrml files from Tomcat webapp

2002-11-20 Thread eone
Hi all, I have installed mod_jk but cannot get apache to serve html files from tomcat webapp. The interesting thing, Apache can serve gif files but when the request is for html files, it returns this: Forbidden You don't have permission to access /examples/index.html on this server.

RE: SUCCESSFUL Tomcat Install!

2002-11-20 Thread Ralph Einfeldt
I think the correct classification is: tomcat is a J2EE compliant servlet container and jsp engine That means tomcat implements everything that the J2EE specs requires from a servlet container and can be part of a J2EE Server (together with Jonas, jBoss, OpenEJB, ...). -Original

Jakarta-Tomcat. 3.2 + Apache1.3.14:Any help?

2002-11-20 Thread mbe bem
Hi! Is there anyone who must have used or still using Jakarta-Tomcat 3.2 and Apache1.3.14 who has encountered Problems like this? 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /MyApp ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13

Deploying Tomcat in Java Web Start

2002-11-20 Thread Adam Hudspith
Hello, I am developing a web application that also needs to run in remote (or offline) mode, ie running a web server on a disconnected machine such as a laptop. I have tried using Oracle Lite Web-To-Go for this purpose but I'm looking for a better, less proprietry solution. My plan is to run

HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
Is there any particular good reason to change HTTP port from 8080 to 80 and the SSL connector port from 8443 to 443? They causing problems for me. Some people are suggesting that we should change the ports. I changed the HTTP Connector port from 8080 to 80 Then I uncommented the SSL Connector

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Ralph Einfeldt
The reason that this is recommende is that you otherwise have to include the pot in every link. The reason why it doesn't work for you, is that ports below 1024 are restricted to users that have administrative right on the system. To use this ports you can do one of the following: - Run tomcat

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Ralph Einfeldt
Sorry little typo below pot=port number -Original Message- From: Ralph Einfeldt Sent: Wednesday, November 20, 2002 12:11 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: HTTP and SSL Connector port problems The reason that this is recommende is that you otherwise have

RE: HTTP and SSL Connector port problems

2002-11-20 Thread mech
Another good reason to change to 80/443 is the following issue: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg73342.html http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13861 If you use a security-constraint confidential to force ssl you might have a problem with IE when using

Re: Problem in Production

2002-11-20 Thread Tim Funk
We need lots more information. (tomcat version ...) Even then - it could be application specific which no one here can help you with. Have you stress tested your app? Have you looked at the access logs to see amount of traffic? Have you looked at any error logs (catalina.out ...) for interesting

Re: HTTP and SSL Connector port problems

2002-11-20 Thread Pae Choi
Strange! I've been testing HTTP with port 80, 8080, and even other ports for tunneling and HTTPS with port 443, 8443, and ohters for tunneling. They all work fine with IE v6.0 since TC v4.1.12 came out. Pae - Original Message - From: mech [EMAIL PROTECTED] To: 'Tomcat Users List'

Re: HTTP and SSL Connector port problems

2002-11-20 Thread Pae Choi
Also, everyone has different mileages. Just soemone did not able to figure out, that does not mean it's a bug. Pae Mech P.S. Don't use Tomat 4.1.12 with SSL, upgrade to 4.1.14. Minor? ssl warning bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14164 -- To unsubscribe, e-mail:

RE: I need to decide

2002-11-20 Thread Turner, John
Webapp is no longer developed. If you want to be ready for future upgrades, use JK2. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 11:55 PM To: [EMAIL PROTECTED] Subject: I need to decide I want to use Apache2

RE: newbie Q

2002-11-20 Thread Turner, John
That's web.xml, not server.xml. Server.xml DEFINITELY has SEVERAL blocks of tags CLEARLY labeled Context. John -Original Message- From: Enok Strine [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 1:35 AM To: [EMAIL PROTECTED] Subject: Re: newbie Q I have opened

RE: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Turner, John
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 instance. In your scenario, customers B, C, and D would also be

SSL keystore problem

2002-11-20 Thread brana02
I had tried playing around with the SSL connector and deleted a keystore when i was done. I thought Tomcat would stop trying to load it. For some reason it keeps trying to find the file from the path where it previously was and throws a FileNotFoundException. Where is it getting the path

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
Have you commented out the SSL connector in server.xml? -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 20. November 2002 13:49 To: [EMAIL PROTECTED] Subject: SSL keystore problem I had tried playing around with the SSL connector and deleted a

RE: SSL keystore problem

2002-11-20 Thread brana02
no i have not...i have tried that and it works, but i would like to start again clean, how do I go about doing this? -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 7:53 AM To: Tomcat Users List Cc:

RE: SSL keystore problem

2002-11-20 Thread brana02
Also I would like to know where that path information to the keystore is being stored-- is there some hidden system file or properties file that the SSLServerFactory reads from in order to attempt to initKeyStore()? -Original Message- From: Roberts, Eric

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
I don´t know about starting clean, but once you comment out the SSL connector, to use SSL again simply regenerate a new keystore and uncomment the SSL connector. -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 20. November 2002 13:55 To: Tomcat Users List

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
By default the keystore is created in the home directory of the user that creates it. If SSL Connector is called, it looks in the home directory for the keystore. -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 20. November 2002 13:58 To: Tomcat Users

RE: GIF images don't show up on first request, but show up fine after on 4.1.12

2002-11-20 Thread Turner, John
Thanks for the reply. I think I have narrowed down what the issue is, but I'm at a loss on how to resolve it. On the very first request, the image link sent to the browser is this: http://some.server.com/myApp/images/A2_incent.jpg;jsessionid=AF447A2112DDC43 E0745C06EB82623D0 However, if I

RE: Granting security permissions not working

2002-11-20 Thread Greg Trasuk
Hi: Is it possible that you're running into case-sensitivity or path-separator problems? The following is from a policy file included in a Sun product: * Note: ExecOptionPermission uses String.equals() for equality comparisons, * so the values of these permissions are case sensitive.

RE: SSL keystore problem

2002-11-20 Thread brana02
Do you know how to specify a different location? Sorry to bother u so much but im just a student trying to teach all this stuff to myself. -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 8:00 AM To: Tomcat

RE: GIF images don't show up on first request, but show up fine after on 4.1.12

2002-11-20 Thread Turner, John
Thanks for the reply. Apache is configured thusly: JkMount /myApp/*.do ajp13 JkMount /myApp/*.jsp ajp13 It happens for every session, I can reproduce the behavior at will. John -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20,

RE: SSL keystore problem

2002-11-20 Thread brana02
I tried creating a new keystore in the same directory, and it's still looking for the old one, how does it know about the old one anymore?? -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 8:00 AM To: Tomcat

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
The keystore file can be located in a different location as follows: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA -keystore \path\to\my\keystore Try reading SSL HOW TO in the documentation. -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: Mittwoch,

RE: SSL keystore problem

2002-11-20 Thread p niemandt
Don't know if this is of help, but on linux the keystore will be stored under the username in a file called .keystore {. means it's hidden } So, if you log in as root, or have generated the key as root, the keystore will be under /root/.keystore hth On Wed, 2002-11-20 at 13:03, brana02 wrote:

servlet communication

2002-11-20 Thread Felipe Schnack
I have a servlet mapped to a specific url, let's say /reset. When this URL is accessed, I would like this servlet to notify all instances of another one that they should reload their configuration data. How can I do that? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.:

RE: SSL keystore problem

2002-11-20 Thread brana02
i completely deleted it the .keystore file in my home directory and made a new one with a different name, however its still searching for the .keystore file = so does it need to be named .keystore?? -Original Message- From: p niemandt [mailto:[EMAIL PROTECTED]]

RE: GIF images don't show up on first request, but show up fine after on 4.1.12

2002-11-20 Thread Ralph Einfeldt
Syntaktically that's correct. This is the way the session id is encoded in url's if no cookie is there. For requests that are forwarded to tomcat that's OK as tomcat knows how to deal with that. But why is the url encoded at all ? Do you call response.encodeUrl() on images ? -Original

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=the keystore filename Andy -Original Message- From: brana02 To: Tomcat Users List Sent: 20/11/2002 13:03 Subject: RE: SSL keystore

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

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

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

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

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

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

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://drive name:/- { 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

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

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

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 they

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

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

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

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 using

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 # Location /myApp/WEB-INF/* AllowOverride None deny from all /Location Location /myApp/META-INF/* AllowOverride None deny from all /Location And for

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

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

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

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

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=the keystore filename 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

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

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

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

Re: Help!!

2002-11-20 Thread Georg Hanwalter
Hi Paul try using the connector !-- Define an AJP 1.3 Connector on port 8009 -- !-- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ perhaps your mod_jk isn't a JK2-compatible

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 hi i wnt

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

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

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

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

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 do

FW: How do I unsubscribe?

2002-11-20 Thread Ralph Einfeldt
It should work if you send a mail to tomcat-user-unsubscribe-address@jakarta.apache.org where address 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

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

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

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

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-

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

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

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.

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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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

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

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

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

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

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

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

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

  1   2   3   >