Re: article on tomcat performance

2003-09-16 Thread Jan Agermose
YES - Original Message - From: "Peter Lin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 5:17 AM Subject: article on tomcat performance > > > > It looks like the tomcat performance book probably won't happen, so I am writing a short

Re: jk2_init() Can't find child

2003-09-16 Thread Vikram Goyal
In your workers.properties under Apache conf put the following line: [shm] file=path-to-a-writeable-log-file-usually-under-apache-logs size=1048576 Restart Tomcat, wait 10 seconds and then restart Apache. If this does not work, then create the file as specified under the path and touch it. Try r

jk2_init() Can't find child

2003-09-16 Thread Johan Louwers
Build JK2 now on solaris 9. Placed mod_jk2.so in the Apache module dir. Also added: LoadModule jk2_module modules/mod_jk2.so at the end of my httpd.conf file. Stop and start apache and try to open http://10.99.1.115/examples Nothing!! http://10.99.1.115 is giving me the basic apache site http://

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
K, seems I can't. Anyway, here is a link, hope it is available from outside the firewall ... http://kanagawa.up.ac.za/~s21191493/tuksmanager.tgz On Wed, 17 Sep 2003, Jaco Kroon wrote: > I hope I can use attachments. > > Ok, first off, there are a few issues with this, as I've said, it's quick

RE: JSP that doesn't work with IBM JVM 1.4

2003-09-16 Thread Ralph Einfeldt
- What is the compiler complaining about ? BTW: It's not legal to cast a String[] to an ArrayList. This should at least produce a runtime error. You have to explicitly convert the String[] to an ArrayList. ArrayList importList = new ArrayList(Arrays.asList(request.getAttribute("importList")); >

Re: Starting EmbeddedTomcat

2003-09-16 Thread Dave Stoker
Yoav, All, BrowserLauncher works great! Once EmbeddedTomcat has started I call the openURL method. In creating a desktop icon to call javaw, I receive the error "Could not find the main class. Program will exit". This is the target string: C:\WINNT\system32\javaw.exe -classpath "C:\EmbeddedTomca

Re: Connection Pooling

2003-09-16 Thread Filip Hanik
look at the docs - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 9:06 PM Subject: Connection Pooling Hi All, Can anybody send me the configuration for DBCP Connection pooling with TOmcat 4.0 Regards, Santosh Bhushan i-flex soluti

Connection Pooling

2003-09-16 Thread santosh.bhushan
Hi All, Can anybody send me the configuration for DBCP Connection pooling with TOmcat 4.0 Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 "Where there is will there is a way and everything is possible for a willing heart." -Original Message- From: Yann Cébron [

Could any one help me with this : Extracting ROOT.war

2003-09-16 Thread Sarika Inamdar
Hi, When we run tomcat, the ROOT.war should be extracted automatically. With tomcat 4.1.24, when I run tomcat, its unable to extract ROOT.war We have set the unpackWARs="true" in server.xml. Am I missing any other configuration ? Please help me on this. Thanks, Sarika The

Admin app

2003-09-16 Thread Jeff Cummings
Hi all, I have a JDBCRealm configured the server.xml to authenticate users. It all works fine. The following lines are in my server.xml and show up in when I click on the “User Database” followed by the “UserDatebase” nodes in the tree in the admin application.

Apache 2, Tomcat 5, mod_jk?

2003-09-16 Thread Vaga Bond
Hey Guys, I've recently setup Apache2 and Tomcat 5 separately and was wondering if mod_jk or mod_jk2 can be used to link the two of them. Secondly, what's the difference between mod_jk and mod_jk2? Awaiting your reply. vagabond

article on tomcat performance

2003-09-16 Thread Peter Lin
It looks like the tomcat performance book probably won't happen, so I am writing a short article based on some of the benchmark results. I should have a draft done in a week. Anyone interested in reviewing it? peter lin - Do you Yahoo!? Yahoo! SiteBuil

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Bill Barker
If you have only a small number of static file types, then you could also do: default *.gif Another trick is to include in your servlet something like: ServletContext cntx = getServletContext(); URL resource = cntx.getResource(request.getPathInfo()); if(resource != null)

Re: SSL Cipher Suite Config in Tomcat JSSE

2003-09-16 Thread Bill Barker
Tomcat 5 supports configuring the cipher suite (by specifying ciphers="" on the Connector). I don't believe that this has been ported to Tomcat 4. "McClure, Timothy J(IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am trying to configure Tomcat to only su

Tomcat and Naming Context

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource "jdbc/test" When tomcat starts up, it parses the server.xml file.It finds:

Re: Stackoverflow after DB inactivity

2003-09-16 Thread Vikram Goyal
Yes I do. > I don't use dbcp but it sounds like your database connections are timing > out. Do you have autoReconnect=true in your mysql jdbc connection url? > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

newbie

2003-09-16 Thread Dan McCullough
I cant seem to get started. After tackling some hardware issues I have all the pieces installed and everything setup according to several HOW-TOs. I have mod_jk configured and install, apache configured and installed, tomcat was a binary so that is setup and j2sdk 1.4.2 is setup. I start tomc

Re: Can access tomcat locally but not from another machine

2003-09-16 Thread James Harman
Or it could be that the xp firewall is turned on an not allowing the 8080 connection externally. Christopher Williams wrote: If your company is hot on security, the most likely cause is that port 8080 is blocked (possibly at the router). Ask your admin guys about freeing it for internal network

MbeanException with realm defined within context

2003-09-16 Thread megarane
Hi. I am using tomcat 4.1.27. I have a context defined as shown below: I have created an mbeans-descriptor file for PhoenixRealm, which appears to be being read successfully: eg Upon starting tomcat however, I get the following error: ServerLifecycleListener: cr

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
I hope I can use attachments. Ok, first off, there are a few issues with this, as I've said, it's quick and extremely dirty. Extract the archive, cd tuksmanager, ant. This will produce a .jar file (If I haven't left it lying around - hope not). This jar file needs to go into ${CATALINA_HOME}/se

Tomcat error: "org.apache.coyote.http11.Http11Processor process SEVERE: Error processing request"

2003-09-16 Thread Lucas, Maurice
I am running Tomcat 4.1.27 on Windows 2000. > Installation/setup came out fine. A few days ago I load SAP DB on the same pc. > Outside of that nothing has changed. Tomcat starts fine, no errors. But when I > open IE to view localhost:8080 I get an HTTP 500 Internal error within IE. >

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource "jdbc/test" When tomcat starts up, it parses the server.xml file.It finds:

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jason Lanpher
How about letting me see your code for your version of the manager app hack? I would love to play with it and any doc's you create to go along with it. Jason Lanpher [EMAIL PROTECTED] http://www.stealthnetworking.com -Original Message- From: Jaco Kroon [mailto:[EMAIL PROTECTED] Sen

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource "jdbc/test" When tomcat starts up, it parses the server.xml file.It finds:

Re: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
Actually no, reloadable="true" will only reload the classes and lib directories (I've tried). Also, having almost 315 (314 iirc) users on the system each with his/her own webapp can get quite bad. Also, tomcat doesn't load all the contexts on startup unless there exists a WEB-INF/web.xml file

Help with Tomcat 5.0 setup.

2003-09-16 Thread Giri Gopal
Hello: Thanks for the help in installing Tomcat 5.0. I cannot start tomcat from the menu or icon, but I am able to start from dos prompt. I run the sample JSP test in Tomcat, they work fine. Now the real test: 1) I have an Oracle DB. I copied the classes12.Jar file to the tomcat folders

Re: JBoss embedded Tomcat setup with IIS - 2nd post

2003-09-16 Thread Carlos Cajina
Hi HS. I'm also having problems with the embedded Tomcat distribution. So far I haven't been able to find reliable documentation on the subject but I suggest you start with the free Quickstart guide for JBoss (@jboss.org documentation) and also take a look at the forums in the same web site. I

RE: webapp classpath

2003-09-16 Thread Shapira, Yoav
Howdy, Put them in the WEB-INF/classes folder of your webapp... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Rob Augustinus [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 16, 2003 3:18 PM >To: Tomcat Users List >Subject: webapp classpath > > >I could use some

webapp classpath

2003-09-16 Thread Rob Augustinus
I could use some help on a little problem I ran into. As I'm developing with eclipse I have 2 projects on which I'm working. One of them is supposed to be packaged into a jar file for releases, but during development I'd like to just include the classes in my webapplication (the other project) whic

Re: Specifying content type for file downloads

2003-09-16 Thread Jon Wingfield
Tomcat is serving the static resource using its default servlet? If so, try adding the mime type to the conf/web.xml file: xls application/vnd.ms-excel Doug Chamberlin wrote: I'm using Tomcat 4.06 standalone and cannot find how to configure the server to properly identify downloaded files

Re: Servlet testing tools

2003-09-16 Thread Rishikesh Tembe
JMeter http://jakarta.apache.org/jmeter/ fits your need perfectly. ciao, Rishi > I'm looking for a tool to use for stress testing a servlet. = Yahoo! India Matrimony: Find your partner online. Go to http://yahoo.sha

servlet unavailable

2003-09-16 Thread Dorin Neagu
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

RE: Logging with tomcat

2003-09-16 Thread Shapira, Yoav
Howdy, Try putting the commons-logging configuration file at the WEB-INF/classes directly of your webapp. Another location for it can be $CATALINA_HOME/common/classes. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Francisco Vides Fernandez [mailto:[EMAIL PROTECTED

Re: A Hebrew Problem

2003-09-16 Thread Anton Tagunov
Hello Yair! YZ> I have this hebrew problem: YZ> I'm trying to include a html in a jsp page: YZ> YZ> When it comes to a hebrew html the browser displays question marks YZ> instead of hebrew (no matter what charset do I choose in the browser). YZ> The same html is viewed nicely when I get it dire

RE: Logging with tomcat

2003-09-16 Thread Francisco Vides Fernandez
> "Yoav" == Yoav Shapira writes: Yoav> Howdy, Where are your commons-logging, commons-logging-api Yoav> jars, and logging configuration file? jakarta-tomcat-4.0.6-src/lib/commons-logging.jar also jakarta-tomcat-4.1.27/common/lib/commons-logging-api.jar jakarta-tomcat-4.1.27/server/lib/c

JSP that doesn't work with IBM JVM 1.4

2003-09-16 Thread McClure, Timothy J(IndSys, GE Interlogix)
ArrayList importList = (ArrayList)request.getAttribute("importList"); // returns String[] String[] sortArray = new String[importList.size()]; // array for sorting input data sortArray = (String []) importList.toArray(sortArray); It seems the above code works fine under Tomcat when using the Sun J

Specifying content type for file downloads

2003-09-16 Thread Doug Chamberlin
I'm using Tomcat 4.06 standalone and cannot find how to configure the server to properly identify downloaded files as Excel spreadsheets. I'm using links which look like: https://webserver.com\Info\Docs\4211/SomeSpreadsheet.xls";> SomeSpreadsheet.xls When the user clicks on the link the file

Re: servlet unavailable

2003-09-16 Thread Paul Yunusov
On September 16, 2003 11:27 am, Dorin Ciuca wrote: > Hi, > > In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it > possible that a servlet is set unavailable after a high load ? Some users > of my web application report error page HTTP Status 503 - Servlet xxx is > currently unav

Re[2]: Memory Leak with static content

2003-09-16 Thread Anton Tagunov
Hello Yoav! Seth Newton <[EMAIL PROTECTED]> wrote: SN>Virtual Size: 112592 SN>Real Size: 61880 SN>Time Up(days-hours:minutes:seconds): 01:05:20 SY> You realize these numbers are meaningless to anyone except you, as we SY> don't know what you're measuring, how you're measuring it, what the SY> pro

Re: Character Set Issues (windows vs. Unix)

2003-09-16 Thread Anton Tagunov
Hello Hans! HL> When the application is installed on the windows server the particular HL> character (which is some kind of spacing character in word) gets read out of HL> the database as HL> Ascii code 160, HL> BUT on the Linux server the exact same routine reads it as ascii code 65533 HL> Same

Re: Tomcat 4.1 MIME Type from web.xml

2003-09-16 Thread Lukas Bradley
> Is there a corresponding method within the Tomcat 4.1 framework? I would > like to determine a file's MIME type as specified within the web.xml > document. I'm an idiot, please don't bombard me Servlet Context java.lang.String getMimeType(java.lang.String file) Retu

Tomcat 4.1 MIME Type from web.xml

2003-09-16 Thread Lukas Bradley
In Tomcat 5.0 beta, there is a class MimeMap offering the following method: public String getContentType(String extn) {...} Is there a corresponding method within the Tomcat 4.1 framework? I would like to determine a file's MIME type as specified within the web.xml document. Thanks Lukas

Re: ? catalina.out under Windows

2003-09-16 Thread Adam Hardy
It depends on your logging configuration rather than catalina.bat. When you say catalina.out, you mean the console? On 09/16/2003 02:20 PM Csaba Nemeth wrote: Hi all, I would like to log everything under Windows (like under linux) to catalina.out. How should I configure this? ( A proper cat

tomcat apache webapps connector trailing slash

2003-09-16 Thread Zhi Cheng Wang
dear all I have been search the internet but could not find a solution. I need to omit the trailing "/" to enable apache to handle requests to tomcat. I am using apache 2.0, tomcat 4.1.27 and appropriate webapp connector any suggestions are welcome many thanks ---

RE: CATALINA_BASE/lib ?

2003-09-16 Thread Maxime Colas des Francs
Hi, I think i have a good raison I use an authentification with a JDBC Realm and Mysql defined in my server.xml, where can i put driver jar ? Tks At 11:03 2003-09-16, you wrote: Howdy, >For keep my files (configuration, lib) clearly separate from the Tomcat >distribution files i attempt to us

Re: Looking for isapi_redirect.dll

2003-09-16 Thread Juergen Heckel
Barry Rader wrote: If anyone has a valid link or could email me this dll I would greatly appreciate it. Unless there is another way to run Tomcat along side IIS. Hi, http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4/bin/win32/ -- Juergen Heckel --

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

[OT]Tomcat-Apache-Cocoon-Perl-Java-Linux-XML Job

2003-09-16 Thread Joachim Bauernberger
Hi, -> plz, excuse this off-topic post. Anybody interested please contact me off-list under. mailto:[EMAIL PROTECTED] Good knowledge of German language is required. Best regards, ~/joachim - To unsubscribe, e-mail: [EMAIL PR

problems receiving date through the input stream

2003-09-16 Thread Bannert, Markus (Exchange)
Hi, I use the doPost method and send it a short string. However, reading from the input stream on the server, I get nothing. Any explanations? I added code snippets for client and server: client HttpURLConnection connection = (HttpURLConnection)url.openConnection(); connection.se

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
Once more with feeling? Bill Barker, John Turner and others might recognize this question. Yes, it's me AGAIN. httpd.conf: ServerName foo.myfoo.com ServerAlias www.foo.myfoo.com DocumentRoot /home/webhome/myfoo #deny WEB-INF AllowOverride None deny

Tomcat web.xml & Apache httpd.conf DocumentRoot

2003-09-16 Thread [EMAIL PROTECTED]
Hi, Currently i'm having virtual hosts (subdomains) on Apache-2: abc.xxx.com def.xxx.com ghi.xxx.com ... with different DocumentRoots! On Tomcat-5 i have a servlet 'file' with /file On workers2.properties i have [uri:/docs/*] This makes that i got the following: abc.xxx.com/docs/file def.xxx.co

RE: performing init operations in webapp

2003-09-16 Thread Agarwal, Naresh
thanks Williams for the detailed mail. Naresh -Original Message- From: Christopher Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 6:15 PM To: Tomcat Users List Subject: Re: performing init operations in webapp The easiest way is as follows: Say your web service is

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Tim Funk
That is because your have overridden the default servlet. It is now your servlet's job to also serve static content. A simple workaround: Extend the DefaultServlet, then use super.doGet(), super.doPost() ... when your servlet doesn't want the mapping. -Tim Mike Curwen wrote: Apologies if this

Re: setup of global resources, dbcp, mail, etc.

2003-09-16 Thread Paul
Hi Adam, thanks for samples. I finally got it working. My problem was simply in naming, specifically, the ResourceLink name, and using that in the jsp connection code, the specific ResourceLink name for each webapp connect code, respectively. -paul. - Original Message - From: "Adam H

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
Apologies if this is a dupe. I just realized I sent the first one from an account that is not subscribed ** Once more with feeling? Bill Barker, John Turner and others might recognize this question. Yes, it's me AGAIN. httpd.conf: Ser

RE: CATALINA_BASE/lib ?

2003-09-16 Thread Shapira, Yoav
Howdy, >For keep my files (configuration, lib) clearly separate from the Tomcat >distribution files i attempt to use CATALINA_BASE Use directories under your webapp root only. Don't use the tomcat common/shared directories unless you have a really good reason ;) Yoav Shapira This e-mail, in

Re: error when starting tomcat

2003-09-16 Thread Yann Cébron
Hello, > Hello. > in my linux i start the tomcat and appears this error: > can anybody helps me for solving it? > thnaks > > > Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources > > INFO: Initializing, config='org.apache.struts.util.LocalStrings', > returnNull=true > Sep 16,

CATALINA_BASE/lib ?

2003-09-16 Thread Maxime Colas des Francs
Hi, For keep my files (configuration, lib) clearly separate from the Tomcat distribution files i attempt to use CATALINA_BASE I use JDBC Reaml with mysql driver, cryptographic external provider ... where can i put my jar file under CATALINA_BASE ? i test $CATALINA_BASE/common/lib $CATALINA_BA

RE: servlet unavailable

2003-09-16 Thread Shapira, Yoav
Howdy, Are you seeing any errors in your logs? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dorin Ciuca [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 16, 2003 10:51 AM >To: Tomcat Users List >Subject: servlet unavailable > >Hi, > >In what circumstances tom

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

Re: Garbled Pages

2003-09-16 Thread Frank Febbraro
I also get error_log entries like this.. [Tue Sep 16 09:55:41 2003] [error] channelSocket.receive(): Error receiving message body -1 131 [Tue Sep 16 09:55:41 2003] [error] workerEnv.processCallbacks() Error reading reply [Tue Sep 16 09:55:41 2003] [error] ajp13.service() ajpGetReply recoverable er

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

jk2_init() Can't find Child xxx in scoreboard

2003-09-16 Thread Johan Louwers
Build JK2 now on soalris 9. Placed mod_jk2.so in the Apache module dir. Also added: LoadModule jk2_module modules/mod_jk2.so at the end of my httpd.conf file. Stop and start apache and try to open http://10.99.1.115/examples Nothing!! http://10.99.1.115 is giving me the basic apache site http://

Garbled Pages

2003-09-16 Thread Frank Febbraro
Hello Everyone, I have connected apache 2.0.43 and Tomcat 4.1.27-LE with mod_jk2. Some of the pages in my webapp are all screwed up when being returned via apache. It appears that they display a portion of included javascript files, then an HTTP header, and then my rendered content underneath

SSL Cipher Suite Config in Tomcat JSSE

2003-09-16 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am trying to configure Tomcat to only support cipher suite SSL_RSA_WITH_3DES_EDE_CBC_SHA as we have a requirement to only use Triple DES encryption. How does one do this? Tim McClure - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Using ParameterMap throws ClassCastException

2003-09-16 Thread Shapira, Yoav
Howdy, Terrible idea. Don't use tomcat internal classes. Stick to the interface defined by the spec, whereby HttpServletRequest#getParameterMap returns an instance java.util.Map. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Morten Andersen [mailto:[EMAIL PROTECTE

Using ParameterMap throws ClassCastException

2003-09-16 Thread Morten Andersen
I am using the ParameterMap in request in an authentication mechanism. Therefore I need to do the following: add a mapping of parameters to the request.getParameter(). I do the following: import org.apache.catalina.util.ParameterMap; ... System.out.println("ParameterMap is a: "+ reque

RE: Application Not Updated After Reload from TOMCAT Manager

2003-09-16 Thread Mike Curwen
If you're using 4.1.27, there is a known bug in class reloading. There is a hotfix available http://apache.mirrored.ca/jakarta/tomcat-4/binaries/ > -Original Message- > From: Thana Letchumi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 5:33 AM > To: 'Tomcat Users List' >

RE: Memory Woes

2003-09-16 Thread Mike Curwen
There are reports of jdk 1.4.1 having a memory leak. You could try updating the JDK http://www.raibledesigns.com/page/rd/20030331 > -Original Message- > From: Pountain, John (KAZ at Alcoa) > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 4:45 AM > To: 'Tomcat Users List

problems receiving date through the input stream

2003-09-16 Thread Bannert, Markus (Exchange)
Hi, I use the doPost method and send it a short string. However, reading from the input stream on the server, I get nothing. Any explanations? I added code snippets for client and server: client HttpURLConnection connection = (HttpURLConnection)url.openConnection(); connection.se

Basic authentication works - form authentication does not work

2003-09-16 Thread news
I'm having a problem that I was unable to find any info on in the documentation or the mailing list archives. I've set up Basic Authentication with Tomcat 4.1.27 and an Oracle LDAP server. I've got this working just fine but what I really want is Form-Based Authentication which has thus far el

RE: Vedr.: RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Thomas, Thanks a lot for all your help, I will check it out and will revert back in case of problem. Thanks a lot once again. Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 "Where there is will there is a way and everything is possible for a willing heart."

Vedr.: RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Thomas Nybro Bolding
The way I have done it (though this might not be the best...) is this: i) Copied the DBConnectionBroker.class file to Web-inf/classes/com/javaexchange/dbConnectionBroker ii) I have an initializing method being called from JspInit() such as this: package com.db.regnskab; import com.javaexchange.

RE: Starting EmbeddedTomcat

2003-09-16 Thread Shapira, Yoav
Howdy, >After starting EmbeddedTomcat I run my application by entering a starting >jsp page. Something that is not obvious to me is how to accomplish both in >one fell swoop. What is the best way to do this? So you need a request to that JSP page in order to start your webapp? That's an interest

RE: Specifying startup port on the command line?

2003-09-16 Thread Shapira, Yoav
Howdy, I mean writing a little Java class to launch tomcat as an embedded service. Then this class could read whatever CLI arguments you'd like and setup tomcat accordingly. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Stefan Lasiewski [mailto:[EMAIL PROTECTED] >S

RE: Query on element of web.xml file ??

2003-09-16 Thread Shapira, Yoav
Howdy, Senor Wingfield pointed you at the right (and definitive) resource on this already. I just wanted to mention this EXACT question (complete with the /*.jsp mapping) has been asked on the list before, so you can search the archives if you'd like. Yoav Shapira Millennium ChemInformatics >-

RE: Logging with tomcat

2003-09-16 Thread Shapira, Yoav
Howdy, Where are your commons-logging, commons-logging-api jars, and logging configuration file? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Francisco Vides Fernandez [mailto:[EMAIL PROTECTED] >Sent: Monday, September 15, 2003 5:37 PM >To: [EMAIL PROTECTED] >Subj

Re: performing init operations in webapp

2003-09-16 Thread Christopher Williams
The easiest way is as follows: Say your web service is called MyWebService. Implement the class that does the real work as a singleton class (i.e. private constructor, public getInstance() method which returns the only instance of the singleton class, creating it if it doesn't exist). This class

RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Thomas, As you have used DBConnectionBroker, can you tell me what configuration is required,whatso ever and the second question i want to ask is if it is free. Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 "Where there is will there is a way and everything is possible for

? catalina.out under Windows

2003-09-16 Thread Csaba Nemeth
Hi all, I would like to log everything under Windows (like under linux) to catalina.out. How should I configure this? ( A proper catalina.bat might help. ) Thanks: Csabi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Thomas Nybro Bolding
Hi santosh. I have been using DBConnectionBroker from http://www.javaexchange.com/ with Tomcat 4.03 and am currently using it with Tomcat 4.1.27. I have no clue what so ever about its performance etc. vs. DBCP but found it very easy to configure and use as I had no experience with connection poo

Recall: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Santosh Bhushan-OP would like to recall the message, "Connection Pooling in Tomcat 4.0". DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,pri

RE: performing init operations in webapp

2003-09-16 Thread Hans Liebenberg
Create a servlet that gets initialised on the context start up (you set that up in web.xml), Stick your code in the servlet's init() method -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 2:28 AM To: [EMAIL PROTECTED] Subject: p

RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi andoni, First of all thanks for reply. Because you have already done this configaration, Do we need to put Database user id and Password in the server.xml file. if yes what other thing we need to put in server.xml and what things we need to put in web.xml Thanks a lot.. Any other

Re: performing init operations in webapp

2003-09-16 Thread Tim Funk
2 ways: 1) init() of the Servlet 2) See ServletContextListener -Tim Agarwal, Naresh wrote: Hi I am developing an web application (essentially axis, the web service toolkit), which will be deployed in Tomcat. Now before any client make a request to this web application, I want to perform some

RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Andoni, Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 "Where there is will there is a way and everything is possible for a willing heart." Hi andoni, First of all thanks for reply. Because you have already done this configaration, Do we need to put Database user id and Pa

RE: error during make JK2

2003-09-16 Thread Dean Searle
I find that using gmake instead allows the comile to complete. I think that gmake is GNU's make. I have seen this problem in other postings and found one that recommended using gmake instead. I hope that this helps you. Dean -Original Message- From: Johan Louwers [mai

performing init operations in webapp

2003-09-16 Thread Agarwal, Naresh
Hi   I am developing an web application (essentially axis, the web service toolkit), which will be deployed in Tomcat.   Now before any client make a request to this web application, I want to  perform some *init* operations.   How can I do this?   thanks, Naresh ---

Re: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Andoni
I have tried this and ended up using the DBCP package that comes with Tomcat 4.1. It is not part of Tomcat 4.1 thought so you can download it separately and use it with Tomcat 4.0.4 or later (I hope you have these). Tyrex is not the most useful of things and is major hassle to get working. You c

TOMCAT 4.1.x AND JNI

2003-09-16 Thread David LAFAY
Hi, Hi, I have a stand alone Java Application that access native library (C++ DLL) via JNI. The application works properly in stand alone mode. However, when I need to run it from a Servlet into Tomcat * System.loadLibrary("MYdll") works properly. Library is found in the java.library.path BUT *

error during make JK2

2003-09-16 Thread Johan Louwers
I am trying to build a JK2 connector on a solaris 9 box. I do: ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-tomcat41=/usr/local/jakarta-tomcat-4.1.27 \ --with-java-home=/usr/local/j2sdk1.4.1_05 \ --with-jni \ --with-pcre All is fine, after that i do make and then the problem start

Extracting ROOT.war

2003-09-16 Thread Sarika Inamdar
Hi, When we run tomcat, the ROOT.war should be extracted automatically. With tomcat 4.1.24, when I run tomcat, its unable to extract ROOT.war We have set the unpackWARs="true" in server.xml. Am I missing any other configuration ? Please help me on this. Thanks, Sarika The server.xml looks li

error when starting tomcat

2003-09-16 Thread Dionisio Ruiz de Zarate
Hello. in my linux i start the tomcat and appears this error: can anybody helps me for solving it? thnaks Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Sep 16, 2003 1:07:14 PM org.apache.s

Re: JNI and Tomcat

2003-09-16 Thread Dirk Griesbach
Hi Harald, Hi David, look at the fully classified name of your native functions in the DLL or in the .so and compare them to the ones you have in your .h headerfile (created using 'javah'). If you have a (windoze).DLL you can view at them using a tool like "Depends.exe". Keep in mind that the fu

Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi, Can anyone send me the process of using Connection pooling in Tomcat 4.0 I have gone through Tomcat documentation, it says it can be done using Tyrex.jar file. Can anyone send me the process. The second question is It is likely to put Database(SqL Server in our case) credential like DSN,USE

Re: Query on element of web.xml file ??

2003-09-16 Thread Jon Wingfield
Read chapter 11 of the servlet 2.3 specification. It's all there. The spec is available from here: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ Bikash Paul wrote: Hi all friends, If my web application's web.xml file contains this: Test Filter /*.jsp then the filter doesn't run w

Re: JNI and Tomcat

2003-09-16 Thread David LAFAY
Hi, I have exactly the same problem ! do you found a solution ? Thanks, David LAFAY -- "Harald Wehr" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > I use tomcat 4.0.1 on a Su

Query on element of web.xml file ??

2003-09-16 Thread Bikash Paul
Hi all friends, If my web application's web.xml file contains this: Test Filter /*.jsp then the filter doesn't run when I invoke a JSP in the application's top-level directory. If I change the url-pattern to this: *.jsp then the filter does run. Can any one please explain it why it is not

help: can't unsubscibe from digest

2003-09-16 Thread scott
To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] doesn't work - anyone know why? thanks, Scott -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can access tomcat locally but not from another machine

2003-09-16 Thread Christopher Williams
If your company is hot on security, the most likely cause is that port 8080 is blocked (possibly at the router). Ask your admin guys about freeing it for internal network access or try running Tomcat on port 80. Ping doesn't use TCP so you won't experience the same connectivity problems. -

  1   2   >