Re: which to use: JK2 or JK?

2004-11-29 Thread Nikola Milutinovic
Ralph Einfeldt wrote: Sorry, but I think you are wrong. There have been several post in the last days from the developers, that clearly say, that there will be no further development for mod_jk2. This saddens me. I was under th impression that JK2 was more advanced. What are the reasons for

Re: JK/JK2 connector className?

2004-11-30 Thread Nikola Milutinovic
Thomas Charles Robinson wrote: !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=100

Re: Strange Authentication Behavior

2004-11-30 Thread Nikola Milutinovic
Peter Neu wrote: Hello all, does anyone know what I means when I get this error message: The requested resource (/favicon.ico) is not available. when I try to log in via form authentication. This error occurs when I use Firefox. /favicon.ico is a semi-supported feature, introduced by IE5, if I'm

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Nikola Milutinovic
Jack Lauman wrote: I'm using the following code to return results from drop down menues and user input text. It works fine as long as the text is an exact case sensitive match to the data record. What I want to do is evaluate the output the results of a user input search based on 'param.field'

Re: common image practice?

2004-12-02 Thread Nikola Milutinovic
D. Stimits wrote: I'm looking for a good or best practice to deal with site-wide logo type files...things that will never change, and that every app will want access to. This is on linux, but enabling sym links just seems to be an admin/backup complexity, and duplicating logos in every project

Re: apache2 tomcat5 jk2 questions

2005-01-07 Thread Nikola Milutinovic
Casas, Claudia wrote: No way! I just got my server completely working on jk2! Does anybody have any links or resources that talk about this. If this is really a big issue, I will definitely move back to jk Sorry. I was as bitten by the news as you are. The thing is, if it is working, not only

Re: workers2.properties

2005-01-07 Thread Nikola Milutinovic
Troy Simpson wrote: How does Apache2 find the workers.properties file? According to page 245 of Professional Apache Tomcat 5, it says: These settings provide detailed information about the configuration setup to Apache2, including the location of the workers2.properties file and the debuggin level

Re: Authentication - Best practice

2005-01-12 Thread Nikola Milutinovic
Rajaneesh wrote: Hi, It uses Base64 for sending the data. Heard that Base64 data is easily compramised compared to SSL. Please correct me if I am wrong. You are not wrong. HTTP Basic authentication uses base64 encoding of user credentials. base64 is encoding, not encrypting. The only thing

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Nikola Milutinovic
Wendy Smoak wrote: From: Tony LaPaso [EMAIL PROTECTED] You have some good points, Jake. Thank you for the response. If you happen to run across the statement from Craig M. regarding Struts I'd like to see it. http://struts.apache.org/faqs/kickstart.html#jar The struts.jar file MUST be in each

Re: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Nikola Milutinovic
Filip Hanik - Dev wrote: Any clues on sorting this problem alternately? don't start apache until tomcat is up and running Which is an event not trivial to catch. I know of hacks, like tailing catalina.out log and seeing when the last of the Mohicans has loaded, but, again, it is not trivial to

Re: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: Hi Yoav Shapira, Look into a simple unix administration book - for granting rights for ports(binding) to non-root user and u might save some time (may be money too) for this tool. How does one go about it? I've never seen anything like that on our Digital UNIX or Tru64

Re: three problems

2004-06-17 Thread Nikola Milutinovic
Casas, Claudia wrote: Oki doki, I just added the port 8080 following QM suggestions and also thanks very much for your help. The results here: But unfortunately I still cannot see my http://my.ip.address:8080. Getting page cannot be displayed. :( OK, so, you have a mild network permission issue.

Re: AW: How can I add Host without restarting Tomcat?

2004-06-18 Thread Nikola Milutinovic
Gunnar Pörschke wrote: Non way, because it is written in server.xml file. You'll need to stop the server, I guess Tomcat has a manager application. It can deploy new contexts (applications) on-the-fly, but I'm not sure about hosts. Nix.

Re: workers2.properties path ???

2004-06-21 Thread Nikola Milutinovic
Elijah Epifanov wrote: Silly question: Where do I need to store my workers2.properties file if my apache isn't contained in one directory? /var/conf/apache2 - replacement for ${APACHE2}/conf /usr/local/apache2 - Apache2 root Well, if you're going to re-organize your Apache, then I

Re: workers2.properties path ???

2004-06-21 Thread Nikola Milutinovic
Elijah Epifanov wrote: Thanks, I already solved this problem. mod_jk2 has a little bug: it looks for *.properties in `apxs -q prefix`/conf instead of `apxs -q sysconfdir`. OK, but you can still use JkSet config.file location to point mod_jk2 to any location for workers2.properties. Nix.

Re: Getting url which submitted form

2004-06-24 Thread Nikola Milutinovic
Mike Jackson wrote: Put a hidden field in the form with and identifier that you can use to determine which form it was that submitted it. I'd also suggest another hidden field to store a transaction id field so you can detect if it's a re-submittal of previously submitted information. [SNIP]

Re: Apache auth on JBoss 3.2.4

2004-07-02 Thread Nikola Milutinovic
Eulogio Robles wrote: I am migrating an application from Tomcat 4 to JBoss 4.2.4. It is being used from with Apache 2/JK2. However it is failing because request.getRemoteUser() is returning null in some password protected pages. All the auth configuratoion (login and passwords) is based on

Re: Apache auth on JBoss 3.2.4

2004-07-02 Thread Nikola Milutinovic
Eulogio Robles wrote: There is no jk2.config or jk2.properties file on any JBoss directory. Where should it be located? (Apache does communicate with JBoss over port 8009 for all JSP requests and they are displayed correctly). That exactly IS the problem - I don't know. JBoss has changed

Re: favicon question

2004-07-10 Thread Nikola Milutinovic
Mufaddal Khumri wrote: I have a webapp deployed under tomcat + apache. I have a taglib in which i have the following: out.print(link rel='shortcut icon' href='/mywebapp/images/favicon.ico' type='image/x-icon'); The favicon.ico is a 16 * 16 icon file. The favicon shows up in Safari on the Mac ,

Re: Finding CSS files in webapp

2004-07-12 Thread Nikola Milutinovic
Peter Rossbach wrote: Hey, I think your browser is the problem. Generate absolute css link that help % String url = request.getScheme() + :// + request.getServerName() + : + request.getServerPort() + request.getContextPath() ; % link rel=stylesheet type=text/css

Re: webapp in webapp

2004-07-12 Thread Nikola Milutinovic
agarlita,dan wrote: Hi, can I make a webapp in another webapp ? somethig like: \root = myFirstApp (WEB-INF - folder) \root\xam\nettools\ = mySecondApp (WEB-INF -folder) whitout modify the configuration files for server, only the local xml for \root? Each web-app MUST have it's descriptor and

Re: webapp in webapp

2004-07-12 Thread Nikola Milutinovic
agarlita,dan wrote: hi, the http://server.domain.com/root/xam/nettools/index.html is complied/interpreted by the root application, but in this folder is another web-app with full web.xml and WEB-INF folders. I think it will be somethig like Context in Context I try all I know on tomcat, all

Re: can a virtual host have its own privatly used SSL certificate?

2004-07-15 Thread Nikola Milutinovic
Guy Katz wrote: hi; i am going to put my application in a shared hosting solution which does not provide any shared SSL support. is it possible to buy and put a SSL certificate in the scope of my virtual host in the hosting company. (i mean is it technically possible - disregarding the hosting

Re: can a virtual host have its own privatly used SSL certificate?

2004-07-15 Thread Nikola Milutinovic
Graham Leggett wrote: Nikola Milutinovic wrote: SSL is done on IP level. I think (correct me if I'm wrong) that TLS is on application level, but I haven't heard of HTTP/TLS. HTTP/TLS does exist, it just isn't supported by the major servers yet. Good to hear that. IMHO, it will not be so much

Re: EJB Support

2004-07-20 Thread Nikola Milutinovic
R K Singh wrote: Hi All, I have been using tomcat-4.1.29 for JSP Servlets. Now I need to use EJB in my JSP pages. How can I do it with Tomcat? Well, you can't. Tomcat is not an EJB container. You must get a hold of some EJB container or full J2EE server. Thses I know of: - JBoss (FREEWARE,

Re:

2004-07-20 Thread Nikola Milutinovic
Sternbergh, Cornell wrote: Craigmcc, Are you trying to unsubscribe? No, it is a virus/trojan that is faking Craig's address. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re:

2004-07-21 Thread Nikola Milutinovic
Joel wrote: What are these BMP files coming from this guy? Well, Craig is not the kind of guy to let a virus run on his machine very long in the first place, and most viruses these days spoof the sender, so it's hard to tell where the compromised machine is. Zou can lookup IP address of the

Re: ? servlet tag

2004-07-25 Thread Nikola Milutinovic
Nolan Toone wrote: I'm relitivly new to servlets but My environment: jakarta-tomcat-4.1.30 Red Hat 9 - 2.4.20-31.9 Server version: Apache/2.0.40 Server built: Apr 21 2004 11:49:03 MySQL 3.23.58 The Error Jul 25, 2004 7:05:24 AM org.apache.commons.digester.Digester error SEVERE:

Re: SunONE versus Tomcat performance

2004-08-03 Thread Nikola Milutinovic
Jérôme Duval wrote: Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of overhead in using the connector and all that? Seems to me a more logical test would be Tomcat vs SunONE and the most recent version of both, which Tomcat 4.1.30 is not. I smell bogus test results! When I

Re: [ANN] Apache Jakarta Tomcat 5.5.0 Released

2004-09-01 Thread Nikola Milutinovic
Yoav Shapira wrote: The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.5.0. Is there any story on the version number hyper-jump-to-warp-speed? 5.0 is current, I can see links to 5.1. Why have you jumped to 5.5? Because of JDK 1.5? Nix.

Re: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Nikola Milutinovic
Ben Bookey wrote: Dear list, We have a web-based jsp-servlet application performing updates, deletes and inserts into an oracle database running with Tomcat 5. We want to support both american, and european customer client locales, so we want to use either ISO-8859-15 or utf-8. But we are having

Re: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-02 Thread Nikola Milutinovic
Ben Bookey wrote: Hi Allistair, Nikola, et al. Allistair = what made you give up setting up the encoding via the -djvm ?? Nikola == Since you have to support multiple character sets, it would be cleaner if you chose UTF-8 for your DB, in the first place. I do realise that data

Re: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-02 Thread Nikola Milutinovic
QM wrote: On Thu, Sep 02, 2004 at 02:47:19PM -0600, Peter Alvin wrote: : Here's the scoop: Massively HUGE .tmp files grow in this directory: : : /var/cache/tomcat4/temp : : Here is an example: : : -rw-r--r--1 tomcat4 tomcat4 2272915456 Sep 2 11:19 mrf20744.tmp : I don't know what

Re: How to create/run a Java Service on UNIX

2004-09-10 Thread Nikola Milutinovic
John Najarian wrote: It's very easy to launch a Java daemon in Linux/Unix. It used to be difficult require some JNI programming. On the GNU site I found a slick way someone wronte in Java and it is simple. What I wanted to know from the person asking the question is what they're trying to do

Re: How to abort processing of a JSP ??

2004-10-13 Thread Nikola Milutinovic
N Tapas Kumar Choudhury wrote: Hi, I want to know, whether it is possible to abort the jsp execution while in the midst of processing a request ?? If anybody can through light on this I would be grateful.. Abort and do what? The most sensible thing to do is: - set the buffer to some

Re: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Hi! I have tried to read the arcives about how to create an realm that uses Active Directory as source but all questions that seems to fit me has no answers. I need to be able to authenticate my users and authroize them in my jsp-code (eg: request.isUserInRole ). So, what

Re: Sv: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Hi Nikola! Thank you for your answer. Am I reading you correctly? Can't I use Active Directory today to Authenticate and Authorize people in my Tomcat-server without write a server-side GSSAPI? Isn't it possible through LDAP to do this? I have no need for SingleSignOn etc.

Re: Sv: Sv: ActiveDirectory realm

2004-10-14 Thread Nikola Milutinovic
Roland Carlsson wrote: Ok, so I can use LDAP to Authenticate and Authorize my users via AD. There are no problem with them having to write there credentials again, there are other solutions for that. About security we have to use SSL anyway so I'll guess that it will solve the problem. I'm

Re: JK2 2.0.4

2004-09-30 Thread Nikola Milutinovic
Paul D. Hester wrote: Has anyone had success installing the JK2 v2.0.4 connector with multiple virtual hosts, with each host having there own port? We have two users, each with their own instance of Tomcat 4.1.31 running. Each user has a unique port. I'm running Apache 2.0.50. When I set up

Re: Reducing network traffic for rollover images

2004-10-03 Thread Nikola Milutinovic
Robert Hunt wrote: After some analysis and trial error, I've found** that the correct JS syntax in this application is: {HTMLElement}.style.backgroundImage = 'url( ' + img1.src + ')'; where {HTMLElement} would be this as in: a href=xxx onmouseover=this.style.backgroundImage =

Re: OT 32/64 bit classes

2004-10-27 Thread Nikola Milutinovic
Dale, Matt wrote: Hi, We will shortly be moving over to a 64 bit JVM from a 32 bit one. My question is, are the classes the same between 32 bit and 64 bit? or do I have to rebuild both tomcat and the application? Every JVM on this planet uses the same Java ByteCode, which means that there are

Re: OT 32/64 bit classes

2004-10-27 Thread Nikola Milutinovic
Giuseppe Briotti wrote: Every JVM on this planet uses the same Java ByteCode, which means that there are no 32-bit or 64-bit Java Classes, just Java Classes. This is not really true ;-) The java byte code depends on target option for javac ;-) Aha. Yes, but it has nothing to do with

Re: Apache, Tomcat and mod_jk2 - question about layout

2004-10-27 Thread Nikola Milutinovic
Allen Williams wrote: Second request: Would you post what you did to integrate the two? I've followed all the clues on both apache and tomcat websites, which is exactly what it says in three books I've got, and I still get a File Not Found error from apache when I go to the dynamic content. Is

Re: channelUnix.file is missing

2004-10-28 Thread Nikola Milutinovic
FM wrote: I read that tomcat is supposed to create the channelUnix.file=${jkHome}/work/jk2.socket file. But it did not. I use the binary of tomcat, do i have to use src to be able to use unixsocket ? In order to use a UNIX file system socket, you need to build and use jkJNI.so alongside

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2004-01-04 Thread Nikola Milutinovic
Subject: Fw: jk2_init() Can't find child in none of the 1024 scoreboard slots Hi Peter, I'm using Apache 2.0.48, Tomcat 4.1.29, Jakarta-Tomcat-Connectors 4.1.29. I'm hoping the problem it is not the mod_jk2.so module as I went to great trouble in order to generate it on my RH9 Linux

Re: Threaded servlets okay in a compliant container?

2004-01-05 Thread Nikola Milutinovic
Ralph Einfeldt wrote: - Nobody (the spec included) prevents you from creating threads You just have to follow some rules. Yes, but it should make you think twice before indulging in something like that. It also might prevent re-inventing the wheel. - Besides creating threads I prefer to use

Re: Threaded servlets okay in a compliant container?

2004-01-05 Thread Nikola Milutinovic
Ralph Einfeldt wrote: The cronjob is requesting an url with wget and triggers tis way a servlet. I understood the mechanism being used, I did not understand the benefit. That's easy and sufficient to do regular jobs like sending newsletters, cleaning up files, that don't require any

Re: Threaded servlets okay in a compliant container?

2004-01-05 Thread Nikola Milutinovic
Ralph Einfeldt wrote: The servlet has access to all information inside the container/context that may be needed to do the job. For an external job this can be much harder. (Iterate over all sessions to do something with them, access attributes with application scope, access attributes from

Re: syntax error when Apache is started

2004-01-05 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I'm trying to connect Apache to Tomcat using mod_jk. When I start Apache, I get the following error: Syntax error on line 4 of C:/jakarta-tomcat/conf/auto/mod_jk.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

Re: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Nikola Milutinovic
Mladen Turk wrote: From: Yiannis Mavroukakis Sent: 8. sijeanj 2004 16:34 Would it not be possible to bind JNI under a single worker and then isolate that worker from the rest of the pool (possibly provide the ability for workers to carry some sort of identification bit with regards to who can

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Mladen Turk wrote: That was the thing that I considered, but again if you have multiple workers, what would be the benefit of having that much Tomcat instances running. What is the real benefit of running TC from within Apache via JNI? It should be a faster, cause there is no socket channel

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Mladen Turk wrote: Look at the thread. Unfortunately the JNI isn't of much use on Linux, or to be more specific, on any multi child mpm. If you manage to maintain the single worker process (like winnt-mpm does), then you can use the JNI. The reason for that is quite simple; You cannot have two

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Yiannis Mavroukakis wrote: Yep I see what you mean know (fog of stupidity lifts). Ok so to iterate, the problem is that since linux has multiple workers, these workers will want to attach themselves to their own tomcat instance. How about this then..instead of launching several tomcat instances

Re: How does a servlet request work. Not a newbie question ;)

2004-01-09 Thread Nikola Milutinovic
Donie Kelly wrote: Hi all I want to insert some form of scheduling into our application and I was wondering how Tomcat passes the request to the actual servlet I write. Does Tomcat just read the headers to create the request object and leave the body of the message in an inputstream for the

Re: SECURITY BUG: No place to disable HTTP TRACE vulnerability

2004-01-10 Thread Nikola Milutinovic
From what I am told, the other application servers used in our company all have a configuration-driven way to disable the TRACE HTTP. My project is the first one to try to use Tomcat as a real server. The only workaround (and a recomended thing to do, anyway) is to use Apache as a front-end.

Re: Mapping in workers2.properties

2004-01-11 Thread Nikola Milutinovic
There are actually several ways to map between Apache and Tomcat via mod_jk2. The first is using workers2.properties. If you've compiled with -pcre, then perl regular expressions should work as well as individual names. Also, remember that servlets traditionally live in

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Nikola Milutinovic
Dor Orgad wrote: I think this thing is playing funny buggers cos with this new code its giving me the driver not found exception. a i dont know what to d!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling this

Re: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

2004-01-12 Thread Nikola Milutinovic
Shreehari Manikarnika wrote: Hi, Is this possible? - connecting Tomcat 4 to Apache 2 via mod_jk2 under Linux, in any_of_the_JNI_modes. Any sort of help or even a reference to any available information will be great! The two modes that work on Linux are channelSocket (regular network socket) and

Re: problem starting tomcat on True64Unix

2004-01-12 Thread Nikola Milutinovic
Damian Minkov wrote: Reacently we wrote a little web app using hibernate - we run it in tomcat 4.1.29 (using : java1.4.2-1 ) INFO: instantiating and configuring caches 09.01.2004 18:18:43 net.sf.hibernate.impl.SessionFactoryImpl init INFO: building session factory segmentation violation at

Re: Tomcat 4.1.29 versus Tomcat 5

2004-01-13 Thread Nikola Milutinovic
Remy Maucherat wrote: Note: 4.1.29 and 5.0.16 use the same connectors, so reliability of the HTTP (or AJP) handling will be identical. I believe TC 4.1.x had two implementations of AJP/1.3 protocol - standard and Coyote. What is TC 5.0 using? Coyote, I suppose. Nix.

Re: Tomcat 4.1.29 versus Tomcat 5

2004-01-13 Thread Nikola Milutinovic
Daniel Gibby wrote: Great, I'm sold! OK, so what are the biggest problems there have been in upgrading? What do you mean an app running on 4.x may not work on 5.0.x? Is this only because of changes in the JSP spec, and older 1.2 is not compatible with the 2.0 spec? JSP 1.2 and Servlets 2.3

Re: dramatic performance differences on development machines

2004-01-13 Thread Nikola Milutinovic
Johan Coens wrote: Hello all, We have tomcat running with a webapplication based on Mediasurface (content mangement system). The performance of the web app is very different from machine to machine. On 1 dev. machine the performance is approx. 400 - 1000 ms. a page, on another 8000 - 14000 ms.

Re: dramatic performance differences on development machines

2004-01-13 Thread Nikola Milutinovic
Johan Coens wrote: Hello Nikola, Machines are not identical, the fast machine has different specs (less memory, less disk space and less cpu) then the slow machine (this one has better specs). Quite ironic. One hint we've got is the carachter encoding in which the file is saved, but it seems to

Re: dramatic performance differences on development machines

2004-01-13 Thread Nikola Milutinovic
Unfortunattaly no option, we are bound to a specific java version and tomcat version to gain support from the supplier... Then could you just *try* a different version? If it works, then YELL at your supplier - they would deserve it, sticking to a buggy version. For that matter, sticking to

Re: problem in jsp response

2004-01-13 Thread Nikola Milutinovic
Shapira, Yoav wrote: Howdy, You might want to read up on flushing the output as well as reducing the page buffer size, both elementary JSP issues. Yoav, why are we *encouraging* this absolute misuse of Servlets and JSPs? I mean, I understand what the original poster wants - to have a page that

Re: [OT] Apache and Tomcat together

2004-01-14 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: Security! Many-to-many configuration! Graham Reeds wrote: Something that has puzzled me for a few weeks now, and that is why use Tomcat and Apache together? Tomcat serves up HTML pages as well JSP so where is the benefit in running both? Even if Apache was faster at

Re: [OT] Apache and Tomcat together

2004-01-15 Thread Nikola Milutinovic
Apache is faster for static content. Don't get Yoav started... :) I have gotton him started on this, before. It's funny, though... last time I looked at the Tomcat Connector FAQ, it actually says flat out Apache is faster than Tomcat at serving static content:

A bit OT: Problems running JBoss on 1.3.0 JDK

2004-01-16 Thread Nikola Milutinovic
Hi all. I know this Tomcat ML, but some messages that cropped up during last day, gave me hope you guys could give me the right direction. Besides, some of you are on JBoss team (Remy)... JBoss 3.2.3 Java SDK 1.3.0-1 Compaq Tru64 UNIX 4.0D DEC AlphaStation 200 128 MB RAM When I try to run

Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
George Leeman Jr wrote: Today I downloaded and installed Tomcat 5.0.16. I get the sequence shown below. How do I fix this problem? Thanks, George Leeman c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp

Re: jk2

2004-01-16 Thread Nikola Milutinovic
Nick wrote: I noticed this as well and wrote an email about it, no response though. On Thu, 2004-01-15 at 20:18, Brennon Obst wrote: Just noticed this morning that when I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat. ARGH!

Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
Ralph Einfeldt wrote: Sounds more like the class is there, but in an outdated version. Grab the latest at http://xml.apache.org/ and place it under ${JAVA_HOME}/jre/lib/ext/ Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: dramatic performance differences on development machines

2004-01-16 Thread Nikola Milutinovic
Johan Coens wrote: Hello all, I tried: - isolating code in a java class and running it on both machines, about same performance So, the machine itself is OK. - running tomcat 4.1.29, bit faster but still ~15 sec. - changing network connection to full duplex, 2*faster but stil ~6 sec (should be

Re: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Nikola Milutinovic
You're obviously entitled to your opinion, but you're wrong on this one ;) Apps aren't necessarily going to get all their J2EE files from the container. From J2EE container, they will. Consider the case of a servlet/JSP webapp running on tomcat wishing to communicate to a remote JMS

Re: [ANN] Apache Tomcat 5.0.18 Stable released

2004-01-23 Thread Nikola Milutinovic
Is there an easy way to upgrade a Tomcat 5.0.16 that ships with JBoss 3.2.3? I can get a hold of sources, but does it require a lot of hacking? Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Nikola Milutinovic
Vitor Buitoni wrote: To be able to install tomcat rpm package, you must install a lot of other packages that tomcat depends on, first. I already did this once, and for me it was very time consuming and it wasn't easy at all. This is because JPackager can't provide some packages as binary

Re: tomcat.conf missing

2004-02-06 Thread Nikola Milutinovic
hostmaster wrote: I just installed Tomcat 4.1.29 The problem I got is: Tomcat is running under root. I'd like to change this to tomcat4 But there is no longer a tomcat.conf file available where I can change this setting. tomcat.conf is not a part of jakarta-tomcat-4.1.x package. It is a part

Re: tomcat.conf missing

2004-02-06 Thread Nikola Milutinovic
hostmaster wrote: Okay, but it should be possible to set the user like TOMCAT_USER=tomcat4 startup.sh and catalina.sh are offering no such possibility. chown -R tomcat4.tomcat4 jakarta was not able to fix the root problem. If you take a closer look at the 4.1.24 RPM, you'll notice that there are

Re: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-06 Thread Nikola Milutinovic
Holger Klawitter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All of these are running Tomcat 4.1.29 or 4.1.12. I recently tried to deploy it to the test web server at my client and it runs dreadfully slow. It takes almost 30 seconds to load a page. The main difference is that the

Re: Can I chain authenticators?

2004-02-18 Thread Nikola Milutinovic
Ryan Rhodes wrote: I have a portal project. I need to allow users to navigate seamlessly from the portal to a commercial product thats based on Tomcat 4.1 and uses Basic Authentication. To get around this, I hacked BasicAuthenticator and added some code to get the credentials from the

Re: Can I chain authenticators?

2004-02-18 Thread Nikola Milutinovic
Why would you chain authenticators? Well, i have chained SSL and BASIC authenticators. That's not exactly chaining. In SASL, SSL is called EXTERNAL authentication. You just have two independant mechanisms, one of which is solely for authentication (HTTP Basic) and the other can authenticate,

Re: Réf. : read it immediately

2004-02-25 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: the attached file is empty. I don't know what you mean. Could you explain more. That is a result of a damaged virus. The computer is infected, but the user managed to delete the *.EXE file, so the virus cannot spread it. The virus is still active, but the payload is

Re: Multiple hit from one user problem

2005-01-24 Thread Nikola Milutinovic
Dola Woolfe wrote: Hi, Since this doesn't appear to threads issue I'm taking it out into a separate thread. I'm running TC 5.4.4 on port 80 with no Apache on XP Pro. A colleague on mine has an Excel spreadsheet attempts to perform about 2000 very short queries, most likely in sequence. About half

Re: Hiding resources

2005-02-02 Thread Nikola Milutinovic
Mario Winterer wrote: Hi! I'm running a web application that is under CVS, which means my web application contains a lot of CVS-related directories (for the CVS-metadata). Is there a possibility to tell Tomcat to hide or protect all those CVS directories? More general, what I need is a way to

Re: Content-Type removed from the Http Response when file is accessed through Tomcat Connector

2005-02-09 Thread Nikola Milutinovic
Bedrijven.nl wrote: maybe security (settings) of ie?? The poster clearly indicated that the thing works on Tomcat direct port. Could be that JK is stripping that header. Maybe it expects web server to provide it's own? You could try to setup MIME type on the Apache itself and see if it fixes

Re: jk vs. jk2

2005-02-21 Thread Nikola Milutinovic
Matt wrote: If jk2 is abandoned, why would I use it over jk_1.2.8? Platform reasons? Feature reasons? Performance reaosns? Other? Anyone? Well, for one, it works and I have a ready to run config files. Nix. - To unsubscribe,

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Nikola Milutinovic
Remy Maucherat wrote: Hi, Mladen Turk and myself will do a free (registration required) presentation tomorrow (Wednesday, February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York)), mostly on native web server integration with Tomcat. http://www.jboss.org/services/online_education

Re: Starting up Tomcat when the Linux starts up

2005-02-24 Thread Nikola Milutinovic
David Smith wrote: Depends on your flavor of linux. Mandrake (I've heard RH is similar) stores the init script in /etc/init.d with a sym link in /etc/rc[runlevel-here].d. For example, if your script is tomcat5, then tomcat5 would be stored /etc/init.d w/ a sym link to it from /etc/rc5.d. 5

Re: Startup

2005-02-26 Thread Nikola Milutinovic
patrick et michelle wrote: Hi there, I'm a newcomer in Web technology and I need to understand how to configure Tomcat 3.3 First of all, current versions are 5.0.30 and 5.5.7 (for JDK 1.5.0, or actually JRE 1.5.0). While 5.5.7 can be made to run on JDK (not JRE) 1.4.x, it is not intended for

Re: Startup

2005-02-27 Thread Nikola Milutinovic
Caldarale, Charles R wrote: From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Subject: Re: Startup While 5.5.7 can be made to run on JDK (not JRE) 1.4.x, it is not intended for 1.4 series. I suspect that would be news to the developers. The 5.5 branch runs perfectly fine on the 1.4.2 JRE

JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Hi all. I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice that JavaMail API is missing from BOTH Tomcat and JRE. There is no javax.mail.* hierarchy in ${JAVA_HOME}/lib/rt.jar As a consequence, I cannot use Mail API (javax.mail.*) without adding javamail-1.3.2.jar to

Re: JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Nikola Milutinovic wrote: Hi all. I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice that JavaMail API is missing from BOTH Tomcat and JRE. There is no javax.mail.* hierarchy in ${JAVA_HOME}/lib/rt.jar It is also missing JAF (Java Activation Framework). I mean, no problem, I

Re: JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Frank W. Zammetti wrote: I wouldn't have expected to see them in Tomcat frankly... Although sending eMails from a webapp is relatively common, it's not common enough to be included with an app server (well, except for Websphere, which generally includes everything under the sun!) I am kind of

Re: Equivalent of Resin run-at servlet configuration

2005-03-03 Thread Nikola Milutinovic
Subramanya Sastry wrote: Hello, I am developing a Java web application, and one of the requirements is to run a particular servlet periodically, or even at specified times. Resin provides this ability via its run-at configuration element for servlets in web.xml Example Resin configuration:

One quick question on running TC in security mode

2005-03-11 Thread Nikola Milutinovic
Hi all. I'm faced with a situation where I need to deploy an application on a server that is running TC 4.1 with -security option enabled. I have figured out that I need to edit catalina.policy file and grant my application permissions. I'm testing config on my home machine running 5.5.7. Now

Re: One quick question on running TC in security mode - still problems

2005-03-11 Thread Nikola Milutinovic
Nikola Milutinovic wrote: Hi all. I'm faced with a situation where I need to deploy an application on a server that is running TC 4.1 with -security option enabled. I have figured out that I need to edit catalina.policy file and grant my application permissions. I'm testing config on my home

Re: [Slightly OT] MVC approach when JSP are not allowed

2005-03-19 Thread Nikola Milutinovic
Elihu Smails wrote: I am working on a project that uses servlets exclusively. I would like to take advantage of a Model-View-Controller system in order to develop my servlets. For the last servlet project I worked on, I was in charge of the back-end data processing and did not have to mess with

Re: Can you use Tomcat when you are not on line?

2005-04-06 Thread Nikola Milutinovic
Vaneet Sharma wrote: :) Well to test to examples, it connects to internet ( may be) The problem is in IE. If you're offline, it is also offline. And IE cannot connect to a server (any server) if it is offline. Just go to file menu and place it online, no need to connect. Or use Mozilla (I

Re: images/static content in jar

2005-04-09 Thread Nikola Milutinovic
Don Hill wrote: I have a war that has folder like /images and /content, is there a way to config tomcat so that I can package these in jar, I know I can write a custom servlet todo this but I would like this to be handled by the servers servlet container. The reason this is my concern is that

Re: Tomcat with PHP?

2005-04-19 Thread Nikola Milutinovic
Cameron Sim wrote: Thanks mate. From: andrew [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat with PHP? Date: Tue, 19 Apr 2005 11:04:41 +0200 Dear Cameron, You will need to use Apache with PHP, and

Re: can't see a tomcat installation on home network

2005-04-19 Thread Nikola Milutinovic
Greg Baynham wrote: I can ping to the Linux box, but not telnet. Nowdays NOBODY enables Telnet, unless they are totally sure the network is safe. And with the presence of freeware SSH clients, like OpenSSH on Linux and PuTTY on Windows, nobody has to run Telnet, even on safe networks. Try

<    1   2   3   4   5   6   >