Re: Best practices question

2002-10-18 Thread Nikola Milutinovic
Qmail List wrote: I have been wondering about this as well. Apache screams and hollers BIG_SECURITY_HOLE if you compile it with the flags allowing it to run as root. That said, I love the fact that Tomcat runs as root. It makes it easy for your webapp to do things admin applications, servers,

Re: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Nikola Milutinovic
Filip Sergeys tc wrote: On Mon, 2002-10-21 at 11:57, Nikola Milutinovic wrote: Filip Sergeys tc wrote: What does sendRedirect do? sendRedirect launches a new HTTP request, and this request goes via apache again(you can see it in the apache access_log). However

Re: tomcat install problems on Tru64unix

2002-10-21 Thread Nikola Milutinovic
Mr. Cristian Romanescu wrote: Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful,

Re: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Nikola Milutinovic
Filip Sergeys tc wrote: Hi, Maybe somebody in the near or distant future will hit the same problem. I hope this can help you avoiding it. Error HTTP spoken on HTTPS port using apache 1.3.26 with mod_ssl, mod_jk1.2 and tomcat 4.1.12. If I understand correctly, a client has connected to the

Re: Security RISK !

2002-10-22 Thread Nikola Milutinovic
Sigurður Bjarnason wrote: Hi all The question is.. is there any security risk if I Have the Apache DocumentRoot pointing straight to the webapps folder ?! First of all, Apache cannot handle JSPs and has no knowledge of Servlets. Second, if both Apache and Tomcat-via-connector access the same

Re: Security RISK !

2002-10-23 Thread Nikola Milutinovic
Robert L Sowders wrote: This doesn't really pose a problem with a correctly configured connector that is setup to handle all *.jsp and servlet requests. Perhaps, but that idea somehow defeats my idea of a web application as a path deployed from some other server. Maybe I'm wrong... Nix. --

Re: Security RISK !

2002-10-29 Thread Nikola Milutinovic
Rodrigo Ruiz wrote: I think the idea of letting Apache directly access to the files into the webapp is interesting. This way there is no need to replicate the static content for Apache, and Apache will be faster serving all static content than Tomcat. True, but bothersome to maintain. But, at

Re: Tomcat on Thru64 Unix (OSF1)

2002-10-30 Thread Nikola Milutinovic
Denys Sene dos Santos wrote: Hi, I'm having some troubles while running Tomcat 4.1.12-LE under Digital Unix (OSF1). The server are running ok, but the /examples dir with the servlets are returning the error : HTTP Status 404 - /examples/servlets/ type Status report message

Re: packages

2002-10-31 Thread Nikola Milutinovic
Andy Wickson wrote: Hi all, If I put a servlet called Hello.class into a package called com.myco.test and have a suitable dir structure under WEB-INF\classes to reflect this, do I still need to give the full URL of the class in the web.xml file e.g., servlet-nameHello/servlet-name

Re: Can't solve SAXParseException: The string -- is not permittedwithin comments

2002-11-04 Thread Nikola Milutinovic
Jacob Kjome wrote: Yep, known issue. Try using the previous version of Xerces-2.x.x. The newest one doesn't seem to play well with Digester. I've read in the mail archives that this bug can be solved using a different version of Xerces. I've replaced

Re: Starting tomcat as user apache instead of root

2002-11-17 Thread Nikola Milutinovic
Randy Paries wrote: Thanks The problem is that they have to both read and write files The weird thing is if I do a su - apache -c $TOMCAT_HOME/bin/startup.sh It does not start But if I do a su - tomcat -c $TOMCAT_HOME/bin/startup.sh Is does. The one diff is that in the etc/passwd file

Re: Netscape 6.2.x problem

2002-11-26 Thread Nikola Milutinovic
Richard Heath wrote: I am developing a servlet on Apache Tomcat 4.0. On Netscape 6.2.x occasionally it displays the raw http, rather than the html. See this image for an example. http://www.c-o-g-s.org.uk/work/netscape623.jpg Any idea why this is? It doesn't do it on any other browsers that I

Re: Netscape 6.2.x problem

2002-11-26 Thread Nikola Milutinovic
Richard Heath wrote: I wondered about that chunked header myself, but don't really know what that means. It means that the object being transfered isn't... ?raw, but compressed? I'm not sure... I've been doing some more investigation. It appears to only happen when Tomcat is running on our

Re: The page cannot be displayed, HTTP 500 - Internal server error

2002-12-03 Thread Nikola Milutinovic
Tomislav Miladinovic wrote: Hi, After so many tries to get Tomcat 4.1.12 works (get home page) I am still experiencing error (after browsing http://localhost:8080). I try change Catalina port to 80 (server.xml) but no difference. The page cannot be displayed, HTTP 500 - Internal server error

Re: Why run tomcat as root

2002-12-08 Thread Nikola Milutinovic
Craig R. McClanahan wrote: Unix (and Linux) provide mechanisms to deal with this already, without changing the root-only restriction for ports 1024. * There's a system call to change your user id (this is what Apache itself does to grab port 80 as root and then switch itself to a

Re: JNDI - What resources are loaded?

2002-06-27 Thread Nikola Milutinovic
Is there a way to list all of the JNDI Resources that are loaded for a particular context? Sure. Here is a snipp from my JNDI browser JSP: % page info=JNDI browser import=javax.naming.*, javax.sql.*, java.sql.* contentType=text/html; charset=windows-1250 %%! static public

Re: JNDI - What resources are loaded?

2002-06-29 Thread Nikola Milutinovic
August Detlefsen wrote: Thanks Nikola ! I was intrigued by this, so I took it a step further and made it recursive -it now lists all bindings with one click. I hope this is useful to someone: Heh, nice. I didn't want to go for recursion, since I was not sure how many levels of recursion

Re: Where can I find SCO binaries for Tomcat

2002-07-02 Thread Nikola Milutinovic
I have been using tomcat for a little while now, on Linux and Win2K and love it to bits. I have a need to run it on a SCO Openserver box, and I have been trying to locate some binaries for it. Tomcat is a pure Java application, so go to jakarta.apache.org and download the (general

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Nikola Milutinovic
Neither adding description nor removing slashes helped. I've checked the path in manual: jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database This last form is the most complete one. Anyway, that will not make a difference, since it is up to

Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Nikola Milutinovic
Is there anyone that installed (Apache + Tomcat + JBoss) combination all together? What are the advantages of Using Apache with Tomcat-JBoss combination or is Tomcat enough for complete web content serving? Should I run Apache with Tomcat + JBoss in a separate JVM? Tomcat + JBoss

Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Nikola Milutinovic
Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not be served by Apache. It's ok. But I am just wondering that; Is it

Re: AW: AW: Connection Pooling?

2002-07-05 Thread Nikola Milutinovic
Ralph Einfeldt wrote: AFAIK DBCP not part of the distribution, but you can download it seperately from: I believe it is, from 4.0.4 Nix. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: jdk1.4 vs jdk1.2

2002-07-14 Thread Nikola Milutinovic
Tomcat 4.1.7 fails to compile any jsp files giving some stupid error about handleException. If I change the JDK to 1.2 everything works fine. Is tomcat4.1.x allergic to jdk1.4? Perhaps it is, that's why there is a Tomcat LE version, tailored for JRE 1.4. Nix.

Re: File Download and then Reloading a page

2002-07-17 Thread Nikola Milutinovic
I would like to be able within a servlet to launch a file download and just after reloading a jsp page( =The servlet generates two response ). Is it possible ? No, but you can give a JSP/HTML page in response that will have JScript function that opens another page that will be

Re: Frame annoyance

2002-07-24 Thread Nikola Milutinovic
That is perfect. I was hoping to avoid JavaScript, but I couldn't find any other way. We ran into this exact issue with the admin webapp in Tomcat 4.1.x (which also uses frames), and solved it by adding the following to the top of the login page: script language=JavaScript

Re: howto avoid overuse of session object?

2002-08-01 Thread Nikola Milutinovic
Thanks, Cédric and Peter Lin, for your responses. Both of you seem to be saying that, instead of storing large objects in the session object, I should be storing them in the application object (ServletContext). ServletContext is not application context (yes, there is an application

Re: Enterprise Java Beans (EJB)

2002-08-14 Thread Nikola Milutinovic
Does Tomcat support EJB?. No, it is not the task of Tomcat. if not, is there a project to migrate tomcat to support EJB?... it will be a very nice feature... Other servers, like JBoss, are EJB containers, Tomcat can connect/integrate with them. There is a version of JBoss that

Re: Enterprise Java Beans (EJB)

2002-08-14 Thread Nikola Milutinovic
Don't suppose anybody can send me a pointer as to what EJB and Jboss actually achieve? All i managed to glean from their website were some pretty 3d variations on the usual our product in the middle and some arrows diagrams. My knowledge of EJB is informational. EJB as are JEE

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
Hi, I'm wondering if there's a way to get some code called before doGet/doPost? I want to build a superclass for my JSP pages that checks for some login stuff and redirects if it's not found, without having to put the detect code in every page. That is a job for Servlet Container

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
I am using tomcat's session object, but i store a magic string in the session that i need to decode to see if it's a valid magic string and populate a LoginSession object if they're logged in... i was just hoping to do it without having some code at the top of every page, but it's not

Re: Using Tomcat as a proxy?

2002-08-17 Thread Nikola Milutinovic
ope wrote: I am looking for a way to use Tomcat as a proxy similar to the way that Apache can be setup to proxy to Tomcat. What I want to do is have Tomcat setup so that any URLs that have the path http://myserver/someapp are forwarded to http://otherserver/someapp. Apache can do this

Re: retrieving HttpSession in Filter?

2002-08-17 Thread Nikola Milutinovic
Craig R. McClanahan wrote: This is not the right test for a newly created session, because there *was* no requested session. Try something like this instead: HttpSession session = request.getSession(false); if (session == null) { ... no session exists ... } else if

Re: BasicDataSourceFactory and TC 4.1.9

2002-08-18 Thread Nikola Milutinovic
Paul McGovern wrote: Upon further investigation, I found that the config I use below does work if, and only if, I access the servlet from localhost:8080. I'm using mod_webapp with Apache 1.3.24 and have the following entry, which seems to work fine, in httpd.conf: Lookup archives. This

Re: Java FTP and Tomcat

2002-08-27 Thread Nikola Milutinovic
Does anyone know if there is a FTP connector(?) for Tomcat? If not, is it something that's doable with Tomcat? FTP, as a protocol, is stateful. In other words, you login to the server and until you log out, you have an FTP session. HTTP is stateless. There is no login/logout. There are

Re: Threads Question in Tomcat

2002-08-27 Thread Nikola Milutinovic
1. Is it true that requests from the SAME client always served by the SAME thread? Not always. Even if a servlet implements SingleThreadModel, the container may still keep a pool of instances of this servlet and issue requests as they come in, as long as no two requests share an instance

Re: Threads Question in Tomcat

2002-08-28 Thread Nikola Milutinovic
Craig R. McClanahan wrote: This is true in a very particular situation. Basically, a servlet container will instantiate ONE servlet class into an object. Each request is handled via it's own separate thread. Unless Servlet implements SingleThreadModel, all threads that are directed to that

Re: Sharing a bean between servlet and jsp. Arrggghhhhh

2002-02-11 Thread Nikola Milutinovic
Now I'm going crazy. This can't be so hard. Please help... I can't figure this out. I'm trying to share a bean between a jsp page and servlet. Arggh... Please I help on other lists... and donate time to charity. I've been to Barnes and Noble and looked at a heap of texts. I've

Re: JSP Tag Life Cycle

2002-02-13 Thread Nikola Milutinovic
I was just looking at the JSP Tag Life Cylcle diagram and had the following question. The doEndTag flows into a decision block that states use t yet another time. In what case is the tag re-evaluated (i.e., the decision block returning yes)? I have a tag that is somehow

Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
Hi all. I have a HTML FORM that I'd like to use to update data in my database. DB (PostgreSQL + Unicode) is configured and correctly loaded with Unicode data. Translations from UTF-8 - Win-1250 works like a charm (and so does UTF-8 - ISO-8859-2). In other words, displaying the data is OK.

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
try this ... quote FORM attribute accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
quote FORM attribute accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
Attila Szegedi wrote: Don't bother fiddling with FORM attributes. I've done this before to no avail. Right now, no matter what you specify as an encoding in a HTML page, most browsers (all favorite IE and NN flavors) ignore it altogether and encode the form data using the encoding in

Re: Input from a FORM - encoding problem SOLVED

2002-02-20 Thread Nikola Milutinovic
The solution was to set the character encoding on the request (not on the response) object. Aparently, the parameters of the request are fetched on method call, which is a nice thing :-) Thanks to all who helped. And, by the way, IE6 doesn't honour enctype of the FORM, just splashes it's

Re: Who uses connection pool?

2002-03-05 Thread Nikola Milutinovic
We are database independent. If you look at the initializeDbConnectionBroker method you will see we load all that information from the web.xml via servlet init parameters. Our code can use any database you have a driver for (granted it supports ANSI SQL).. private void

Re: Global JNDI Resources

2002-03-12 Thread Nikola Milutinovic
Craig R. McClanahan wrote: Global JNDI resources are a feature of the current nightly builds of Tomcat 4, which will eventually be delivered in 4.1. They are not a feature of the 4.0.x series. I hope it will be well documented. Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For

Re: jndi versus database connection pooling

2002-03-15 Thread Nikola Milutinovic
I use the JNDI based connection pool with Postgres quite successfully. You will need to have postgresql.jar in $CATALINA_HOME/common/lib, and a server.xml configuration something like this: Finally, someone using PostgreSQL... Context path=/foo ... What about automatically

Re: jndi versus database connection pooling

2002-03-15 Thread Nikola Milutinovic
Craig R. McClanahan wrote: In 4.0.x, automatically deployed contexts with no Context entry do not have any resources assigned to match up the resource references. Therefore, you must explicitly define such webapps in the server.xml file to give them access to the corresponding JNDI

Re: jndi versus database connection pooling

2002-03-16 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I think all servlet tags should be defined prior to defining the servlet-mapping tags. You could be right. I added both ResourceRef and the second Servlet definition at the same time, thinking that itæs OK. I'll test it on Monday. Nix. -- To unsubscribe:

Re: jndi versus database connection pooling

2002-03-17 Thread Nikola Milutinovic
Nikola Milutinovic wrote: [EMAIL PROTECTED] wrote: I think all servlet tags should be defined prior to defining the servlet-mapping tags. You could be right. I added both ResourceRef and the second Servlet definition at the same time, thinking that itæs OK. I'll test it on Monday

Re: URL Length

2002-03-17 Thread Nikola Milutinovic
When I submit a page , tomcat is appending the sessionID to the URL, which causing me a lot of problem. Please help me, how can I avoid this. By turning the cookies on in your browser. There are only two ways Tomcat (or any other web application server) can support HTTP sessions,

JNDI blues

2002-03-18 Thread Nikola Milutinovic
Hi all. Well, I'm not having much success with JDBC data source over JNDI. What happens is that the object that should be javax.sql.DataSource is returned null from the lookup. What steps can I take to identify the source of (not only) my problem? SERVER.XML -- Context

JDBC/JNDI problem, continued

2002-03-18 Thread Nikola Milutinovic
Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-18 Thread Nikola Milutinovic
Nikola Milutinovic wrote: Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-18 Thread Nikola Milutinovic
Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection(

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-18 Thread Nikola Milutinovic
Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection(

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-18 Thread Nikola Milutinovic
Shouldn't it be java:comp/env/jdbc/AddressBookDB? Yes, a typo. Nix.

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-19 Thread Nikola Milutinovic
I get the same problem on Win2k with Tomcat 4.0.3 and JDK 1.3.1 From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that

Re: multiple WEB-INF?

2002-03-19 Thread Nikola Milutinovic
Can I tomcat4 search multiple WEB-INF in one webapp like: docbase/dira/WEB-INF /dirb/dirb1/WEB-INF /dirc/WEB-INF No and it shouldn't. One webapp has one deployment descriptor. Nix.

Re: JDBC/JNDI problem, continued - PUZZLED

2002-03-19 Thread Nikola Milutinovic
On Tue, 19 Mar 2002, Nikola Milutinovic wrote: From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's

Re: JNDI / DataSource problems

2002-03-25 Thread Nikola Milutinovic
I'm having some problems initialising a DataSource object for the purposes of connection pooling under tomcat. The database to which I'm trying to connect is Postgresql. The connections work fine with the standard java.sql.* approach. Join the club. :-( Basically when I try to

Re: bill caricature -- This was a virus (just in case anyone did not understand)

2002-03-25 Thread Nikola Milutinovic
W32/Caric-A as recognized by Sophos AV. Nix.

Re: JNDI / DataSource problems

2002-03-26 Thread Nikola Milutinovic
Thanks - I've tried both the latest stable (which doesn't appear to contain a DataSource implementation) and the latest dev version (which does) of the postgres jdbc drivers. Both fail... I have both of them, but there is no DataSource implementation class. What was your download link?

Re: Deployment [Newbie]

2002-03-26 Thread Nikola Milutinovic
Got tomcat going well on linux, but deployment is giving me a headache :-(( I'm looking at the documentation and the example web.xml file and I'm not sure what I need to do to set up a webapp ??? I've got my folder in webapps: groupa Directory Structure: groupa WEB-INF

Re: sessions, security, and the RFCs

2002-03-28 Thread Nikola Milutinovic
The problem is, that if you keep the same session id after you switch to https it is possible that somebody steals your secure session. Yes, of course. (Sometimes I miss the obvious.) IMHO, HTTP session cannot do authentication. That is the job of SSL/TLS and client certificates. There is

Re: Tomcat crashing on Tru64 UNIX 4.0F

2002-03-28 Thread Nikola Milutinovic
I am running Tomcat 3.3 on Tru64 UNIX 4.0F (ES40 dual CPU, 1.5 GB Memory). Tomcat crashed when 7 users were logged in - any suggestions/ clues ? Maybe it has nothing to do with it, but in my expirience, Tru64 v4.0F is a very shitty version. A much more stable one is 4.0D. There is nothing

Re: Tomcat Nobody

2002-03-29 Thread Nikola Milutinovic
I have two cosiderations about your Tomcat-nodody advices: 1) There is no tomcat4.conf in conf directory. 2) Your advice is to do - chown nobody:nobody /usr/local/tomcat1 - su -l -c /usr/local/tomcat1/bin/startup.sh There is a big problem with this procedure, in my

JNDI, PostgreSQL problems, revisited

2002-03-29 Thread Nikola Milutinovic
Hi all. I've made some progress - I'm closer to the wall I've been hitting my head on :-) Oracle works, but PostgreSQL doesn't. The error that I made in my previous attempts was in server.xml. I user capital letters for Paramaeter, instead of parameter. Now that is OK, but I'm still

Re: Character Encoding

2002-04-01 Thread Nikola Milutinovic
I have used: request.setCharacterEncoding(ISO-8859-1); and when I want to display the following line (in Danish): Sjclland og Rerne Is it supposed to be ISO-8859-1, in the first place? Danish should be in the Latin-1 subset, AFAIK. Also, why are you setting request and complaining on

How to debug Tomcat itself?

2002-04-01 Thread Nikola Milutinovic
Hi all. I would like to get some advice on debugging Tomcat itself. I have downloaded Tomcat-4.0.3-src and managed to make a JBuilder 6 project out of it. I can start Tomcat and I can enter a debugging session. My main goal is to see what is going on with those JNDI JDBC resources (JNDI

Strange bean problem in JSP

2002-04-03 Thread Nikola Milutinovic
Hi all. I have a strange bean problem in my JSP page. The bean in question has several properties, most of them are R/W. Anyway, those that I'm trying to set from the request parameters are R/W. My problem is that one of the properties *refuses* to be set. That is eMail. Others, like name,

Re: Strange bean problem in JSP

2002-04-03 Thread Nikola Milutinovic
Sayre Robert wrote: You should check the capitalization of your bean properties: is it eMail or EMail? the jsp tag: jsp:setProperty name=dataBean property=eMail/ calling the set method: dataBean.setEMail( request.getParameter( eMail ) ); I would try jsp:setProperty name=dataBean

Re: Debugging the servlet

2002-04-04 Thread Nikola Milutinovic
Valera Molyakov wrote: Hi! You can use IDE that allow local and remote debug( for example Intel JIDEA or JBuilder). Just how exactly? You start Tomcat in JPDA mode, connect to the server and how do you set a break point? I remember some article on debugging servlets that sait to import

Re: Warp and Virtual Hosts (quick question)

2002-04-06 Thread Nikola Milutinovic
Charlie Toohey wrote: When configuring Apache's httpd.conf (or Vhosts.conf) with multiple name-based virtual hosts, I can not find any documentation regarding the WebAppConnection statement. Should I have a separate WebAppConnection within each virtual host section, or should I just have one

Re: Tru64 mod_jk compilation Problem

2002-04-09 Thread Nikola Milutinovic
I am trying to compile mod_jk.so on tru64 compaq unix but I am getting this error gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/home5/staff/genepick/usr/apache/include -I../common -I/usr/opt/java131/includ e -I/usr/opt/java131/include/alpha -c

Re: starting Tomcat 4.0.3 on Compaq Tru64 Unix

2002-04-09 Thread Nikola Milutinovic
--- Lee Newman [EMAIL PROTECTED] wrote: I'm having some problems starting Tomcat 4.0.3 on Compaq Tru64 Unix. I've looked for a FAQ that might address the problem, because it seems like this is probably a common beginner's issue, but I haven't been able to find any

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Nikola Milutinovic
Performance isn't so important as future-proofing - I don't want to have to re-write the db interface when struts drops it's connection pool provision, for example. I believe that mm.mysql does support pooling, although I take your point that others may not. I can't see us moving

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Nikola Milutinovic
Struts provides a basic Connection Pool, but user comments suggest that this is not suitable for large-scale, high-traffic applications, and also that it will soon be removed from Struts in favour of a container-managed connection pool So what will Tomcat Users do? Will Tomcat get

Re: Html/jpg from db to client?

2002-04-21 Thread Nikola Milutinovic
Hello List... Using a servlet, I retrieve an image from a database, but I want to send it in a formatted html page to the client... any suggestions on how to approach this (combining html and streaming images) appreciated. If you wish to send BOTH html and the image in the same

Re: Ejb vs jsp

2002-05-07 Thread Nikola Milutinovic
Hello, Because I am curious about how these technologies are used in the real world. I would like to know how do you professionals use as your rule of thumb wether or not you are going build web based application using Enterprise Javabeans or a standalone jsp applications. Why

Tomcat 4.1.1 + PostgreSQL 7.2.1 + JNDI problem

2002-05-15 Thread Nikola Milutinovic
Hi. I seam to be hitting the same wall *again*. (Sigh) I thought Jakarta-DBCP would work better (at all) in my case. Here is my situation. - Tomcat 4.1.1 configured OK and working. DBCP actually works with Oracle's JDBC driver. - placed PostgreSQL's JDBC driver, JEE variant, containing:

Re: Tomcat 4.1.1 + PostgreSQL 7.2.1 + JNDI problem

2002-05-15 Thread Nikola Milutinovic
Remy Maucherat wrote: JNDI resources bound to context java:/comp/env/jdbc 1. TestDB: org.apache.commons.dbcp.PoolingDataSource:org.apache.commons.dbcp.PoolingDat aSource@7ccee4 2. AddressBookDB: org.apache.naming.ResourceRef:ResourceRef[ className=javax.sql.DataSource,

Re: How to end a JSP

2002-05-15 Thread Nikola Milutinovic
- Original Message - From: Adam Pfeiffer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 8:11 PM Subject: How to end a JSP If you have a try/catch block in a jsp and you catch an error that is know to cause the page not to function, how can you

Re: How to hide code of JSP when we deploy app in Customer site

2002-05-18 Thread Nikola Milutinovic
Phupha Punyapotasakul/MIS/RY-CPP/Petro wrote: I decide to use JSP develop web-base app for customer but I don't want Customer to see source code. Use Jasper: $CATALINA_HOME/bin/jspc.sh to compile all JSP pages to Java sources for their equivalent Servlets. Use JDK's javac to compile them to

WARP connector and Apache2 - error

2002-05-19 Thread Nikola Milutinovic
Hi all. Apache 2.0.35 Tomcat 4.1.1 mod_webapp 4.1.2 I've built mod_webapp from sources, the build was more/less OK. The module loads. I have copied tomcat-warp.jar to server/lib dir of Tomcat 4.1.1 When I start Apache2 and it attempts to connect and deploy webapp, I get errors in error logs:

Apache 2 + mod_webapp WORKING!

2002-05-21 Thread Nikola Milutinovic
Hi all. I just thought to share my experience with the list (instead of just whining). Finally got it to work. This is the lucky combo: Tru64 UNIX 4.0D/F GCC 3.0 Apache 2.0.36 (this was the real fix) mod_webapp from Tomcat 4.0.2 The only thing not working is WebAppInfo, but that is

Re: Use Worker MPM with mod_webapp

2002-05-22 Thread Nikola Milutinovic
Does mod_webapp work well with Worker MPM?? I find no problem when I am using prefork MPM but return code to be 500 when I am using worker MPM. My config is Apache2.0.35, mod_webapp built from jakarta-tomcat-connector-src, jdk1.3.1, Solaris8. OS: Tru64 UNIX 4.0D (Digital UNIX or

Re: Mod Webapp?

2002-05-23 Thread Nikola Milutinovic
since I couldn't find very much info about mod_jk, and was having problems, I decided to use mod_webapp to connect apache 1.3.23 and tomcat 4.0.3 (on a fresh install of redhat 7.0). it worked great when I first installed it, then I rebooted the box. tomcat starts fine, when I try

Re: Mod Webapp?

2002-05-23 Thread Nikola Milutinovic
Interestingly enough, I don't have the 'AddModule mod_webapp.c' statement in my httpd.conf. I am using Apache 2, however - I don't know if that makes a difference. Apache 2 doesn't have two different module directives. Apache 1.x had directives to load the module into runtime

Re: tomcat 4.0.3 an Apache 2.0 Warp

2002-05-26 Thread Nikola Milutinovic
Ekkehard Gentz wrote: hi, who can tell me, how to configure the connection between apache 2.0 an Apache 4.0.3 using the warp connector the tomcat doc tells me something about the warp connector, but I think thats not all we want to build an environment with Tomcat 4.0.3 with one

Re: [Proposal] Tomcat and Cactus (Repost)

2002-05-27 Thread Nikola Milutinovic
Vincent Massol wrote: I'm reposting in the secret hope that I got no response to this email I sent last week because no one saw it in the flood of Tomcat emails ! If I get no answer this time, I will understand that no one finds this of interest and will try again in 6 months - 1 year :-)

Re: mod_webapp segmentation fault

2002-05-28 Thread Nikola Milutinovic
I'm attempting to set up mod_webapp with Tomcat 4.0.3, but it segfaults. At least, I'm getting notifications of childern segfaulting in the error log, the webapp keeps restarting based on the initialization output, and submitting a request to Apache that is handled through the webapp

How to donate: Apache-Tomcat HOWTO?

2002-05-30 Thread Nikola Milutinovic
Hi all. I have assembled a Apache-Tomcat integration howto, with virtual hosts. That is the config I actually use. I'm not saying that the document is good enough for immediate publishing on the Jakarta site, but it should be good enough for reviewing. Hopefully, it will appear on Tomcat

Re: How to donate: Apache-Tomcat HOWTO?

2002-05-31 Thread Nikola Milutinovic
you might find starting points here: http://jakarta.apache.org/site/getinvolved.html Well, that's fine, but it looks like it is too much for me. I've fiddled with the problem for some time, found a solution and written a document. I don't want to open a maintainer/developer account or

Re: Apache 2.x and tomcat 4.x integration - Unix

2002-06-02 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: Hi - I have not used Apache/Tomcat for awhile. I am trying to configure Apache 2x and Tomcat 4x - Unix. The most recent I have found is integrating Apache 1.3.24 with Tomcat 4.0.3.

Re: Apache 2.x and tomcat 4.x integration - Unix

2002-06-02 Thread Nikola Milutinovic
whats the difference between mod_jk and mod_jk2 I believe mod_jk2 uses improved AJPv1.4 protocol for communication and is generally the future of mod_jk and AJPv1.3 Nix.

Apache-Tomcat an VirtualHosts, here they are

2002-06-02 Thread Nikola Milutinovic
OK guys. Enough people asked for it, so here it is. Keep in mind that it is my personal expirience and understanding of the works. If anyone has a correction to the docs, please say so. Nix. pre { font-size: 12px; } th { font-weight: bold; background: #CC; } a { font-family:

Re: Apache-Tomcat an VirtualHosts, here they are

2002-06-02 Thread Nikola Milutinovic
Your mail just contains a style sheet and a signiture. The main document is missing. --- I have just checked. I have sent an e-mail with two files attached: vh_howto.html vh_howto.css The client is Outlook Express 5.5. I can re-send with Netscape 6.2 if you wish. Nix.

Apache-Tomcat and VirtualHosts, second try

2002-06-03 Thread Nikola Milutinovic
I'm posting a zip this time. Nix. vh_howto.zip Description: Zip compressed data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Apache 2.x and tomcat 4.x integration - Unix

2002-06-03 Thread Nikola Milutinovic
so should I using mod_jk2. Bear in mind that mod_jk2 might still be experimental. Nix.

Re: Apache-Tomcat and VirtualHosts, second try

2002-06-03 Thread Nikola Milutinovic
Nikola, Thanks for the virtualHost file it has helped a great deal. Glad to have helped. One more question. I've had this working on 3.x using ContextManager but is it still possible on tomcat 4.x eg. http://www.blablah.com:8080/index.jspwhich serves up a jsp page

  1   2   3   4   5   6   >