Re: Expression Language question

2003-06-02 Thread Nikola Milutinovic
I think that's the ticket. Yes, Tim, but I'd like to be able to differentiate between user not logged in - session.isNew() and user logged in, but error in web-app - !session.isNew() and session.getAttribute( userID ) == null. Is there a way to call a method from EL? Like: c:set var=login

Re: Database connection No suitable driver?

2003-06-03 Thread Nikola Milutinovic
Your config looks fine. Have you placed Sybase's JDBC driver into ${CATALINA_HOME}/common/lib/? Nix.

JSTL and EL question

2003-06-03 Thread Nikola Milutinovic
Hi all. I'm using JSTL (Java Standard Tag Library), the EL (Expression Language) version. I have a DB where one particual query can return exactly one row (primary key). So, I use this: sql:setDataSource dataSource=jdbc/EVracunDS/ sql:query var=userData SELECT * FROM user_tab WHERE user_id =

Re: Database connection No suitable driver?

2003-06-04 Thread Nikola Milutinovic
Yes. Then there is something wrong with JDBC URL you're using to connect. That message is actually from DriverManager/DataSource code. Nix.

Re: JSTL and EL question - SOLVED

2003-06-04 Thread Nikola Milutinovic
Oh boy, I get to contribute after asking a lot of questions! ; ) Here's a query I am using in a current project: sql:query var='picks' maxRows='1' select * from contestant_picks where contestant='q' and week = ? order by entered desc sql:param value='${thisWeek}'/ /sql:query

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Nikola Milutinovic
- Original Message - From: Schwartz, David (CHR) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:55 PM Subject: RE: JSTL and EL question - SOLVED I'm still having problems. Can you please post a complete sample along with web.xml sample?

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Nikola Milutinovic
- Original Message - From: Schwartz, David (CHR) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:35 PM Subject: RE: JSTL and EL question - SOLVED can you also send the taglib line from the top of jsp? Sure, look below. In web.xml you

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Nikola Milutinovic
I thought I liked the idea of having the taglib in the web.xml file. When I try it I'm getting This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application. Do I have to download it somewhere in order to use it in

Re: How to UTF-8 your site.

2003-06-10 Thread Nikola Milutinovic
1. JSP pages must inlcude the header: %@ page contentType=text/html; charset=UTF-8 % This is if you use JSP. If you work with servlets, then you should output the appropriate headers. Actually, it also sets encoding of the output stream. Or at least it used to in some versions

Re: PHP and JSP on Tomcat

2003-06-11 Thread Nikola Milutinovic
On Wed, 11 Jun 2003 01:03, Isai Arasu wrote: Is it possible to run both JSP and PHP on Apache Tomcat 5.0? No, to do that you would have to install the Apache webserver and connect it to Tomcat with mod_jk2: Or to employ PHP servlet. Search Google. Nix.

Re: Apache, Tomcat/JBoss, SSL, redirection

2003-06-11 Thread Nikola Milutinovic
As I have not received any hints, is there a better list I should be posting this type of question to? Like I said, I think the question is reasonable but I might be overlooking something completely obvious. Don't give up on us :-) The error you describe is strange, I've read it just now

JAAS Realm - GSSAPI

2004-03-18 Thread Nikola Milutinovic
Hi. This is off the top of my head. I'm currently trying to get mod_spnego to work with my Apache 2.0.48 on Tru64 UNIX. I have just browsed Tomcat 5.0 docs and there is a JAAS realm, can it be used in MS ADS and Kerberos/GSSAPI environment? Ideally, I would like my users to login to Active

Re: Possible thread crossing

2004-03-21 Thread Nikola Milutinovic
Denise Mangano wrote: The only thing I can narrow it down to is Tomcat/Java. Like I said the serial numbers are hard coded on the jsp pages. Everytime this jsp page is submitted it forms its own instance of my java bean which can be called one or more times. So I guess my question is - is it

Re: JK2 and SHM

2004-03-28 Thread Nikola Milutinovic
SH Solutions wrote: Hi I get the following errors in apache2s log: [error] shm.create(): error creating shm 70014 End of file found [error] shm.create(): error creating shm /isp/apache2.shm Can someone tell me what to do ? The shm file mentioned in workers2.properties exists (created using

Re: JK2

2004-03-29 Thread Nikola Milutinovic
SH Solutions wrote: Hi Now I am stuck with configuration. The online documentation really isnt useful. Sorry. This differs from tomcat. Anyway, I stored a lot of bookmarks in the last weeks about JK2 from this list. The docs are really awful. But there are a lot of questions open. Some

Re: JK2

2004-03-29 Thread Nikola Milutinovic
Nikola Milutinovic wrote: SH Solutions wrote: Hi Now I am stuck with configuration. The online documentation really isnt useful. Sorry. This differs from tomcat. Anyway, I stored a lot of bookmarks in the last weeks about JK2 from this list. Oh, and I forgot, there is also a mod_jk2 Apache

Re: Compile jk2 2.0.4 connector on Tru64

2004-03-30 Thread Nikola Milutinovic
Eulogio Robles wrote: I'm trying to compile a JK2 connector on Tru64 : Hello, blood brother :-) I compiled it on Tru64 UNIX 4.0D I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 ./configure --with-apxs2=/usr/local/apache2/bin/apxs make I get this : /bin/ksh

Re: Compile jk2 2.0.4 connector on Tru64

2004-03-31 Thread Nikola Milutinovic
Eulogio Robles wrote: You are right, it worked... almost :-) I get this error : libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' /sbin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so ../../../build/jk2/apache2/mod_jk2.so cp:

Re: Application loading twice

2004-04-02 Thread Nikola Milutinovic
Shapira, Yoav wrote: Hi, It's probably because you have autoDeploy set to true AND an explicit context with a different path for your webapp. So tomcat deploys it twice, one with your explicit context and once via autoDeploy with a path=/ + the app name, i.e. /myApp. Pick one, in your case

Re: JK2 connector built and installed but is there something wrong?

2004-04-07 Thread Nikola Milutinovic
kwilding wrote: Hi, This is a minimalistic workers2.properties. Remember to change to your ip address. It works for me on SuSE. Kevan # comment these lines out in production [logger.apache2] level=DEBUG [shm] file=/usr/local/apache2/logs/shm.file size=1048576 Is this neccessary? #

Re: Inter Servlet Communication

2004-04-08 Thread Nikola Milutinovic
Gareth Western wrote: Hi, Can someone fill me in as to what I need to do to make objects that are instanstiated in one servlet available to another servlet? I tried using getServletContext().setAttribute(some.name, myObj) however I was unable to retrieve the object in the other servlet. I

Re: use own property file for db-connection

2004-04-12 Thread Nikola Milutinovic
Amrun wrote: Hi everyone, I'm working with Tomcat 5.0 and I'm trying to write a little webapplication. In this case I need to get the data from a database. Now I want to write my own property-file from which I can get the information about the driver, user and password. I've done this before,

JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-12 Thread Nikola Milutinovic
Yang Xiao wrote: Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able to get JK2 to compile and placed the mod_jk2.so and libjkjni.so in /usr/local/apache/modules But when I start the Tomcat server, I'm getting this error INFO: APR not loaded, disabling jni components:

Re: Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Nikola Milutinovic
Jens Saade wrote: Hi, I already sent an email named jk2 + apache vhosts + tomcat sessions but no response yet. Maybe I didn't describe my problem clearly enough so here is another go: I've got an apache http 1.3.x running in front with multiple vhosts. Some of those vhosts are redirected to

Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Nikola Milutinovic
Yang Xiao wrote: Hi, Thanks for the help I went back and modified the Makefile with all 3 libraries as you have said, recompiled and now I'm getting a different error: INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError:

Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Nikola Milutinovic
Yang Xiao wrote: Hem, unfortunately, I tried that, which worked, but then tomcat complains about another XML library not being linked. I'm building Apache from scratch now... please help. Well, you can always try to get it all. Re-building Apache from scratch might be a scarry task. You'll need

Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Robert Krüger wrote: Hi Freddy, do you know (or anyone else for that matter) where to find instructions how to configure a minimal JBoss to provide Tomcat 5 with JTA? On the JBoss website I can only see bundles with Tomcat 4. In case you succeed. I would be interested in having a look at

Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Freddy Villalba Arias wrote: Hi, Sorry if I misled you. I'm using JBoss v3.2.3. According to that version's download page: (includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine, EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX and more) Look under doc/examples, there is a build dir

Re: JTA support

2004-04-15 Thread Nikola Milutinovic
Freddy Villalba Arias wrote: You are right, Nik. There it is. However, I believe the default used by JBoss (as shipped, of course) will be v4.1.29... right? (haven't confirmed it yet) :) I don't think so. There is absolutely no reason to stick with 4.1 branch if 5.0 is stable (and it looks that

Re: jboss tomcat integration

2004-04-16 Thread Nikola Milutinovic
Peter Choe wrote: thanks for the reply. so, once the initialcontext is set up in the environment, i just need to put everything (jsp, servlets, ejbs) under the webapps directory? No, I believe the idea is to let JBoss handle everything except JSP/Servlet. So EJBs will be on JBoss. and i

Re: jboss tomcat integration

2004-04-19 Thread Nikola Milutinovic
Peter Choe wrote: it's just that i have a lot of things configured on tomcat and i am not too familiar with jboss yet. Most of those things can be configured on JBoss, too. Note that things tied to JNDI (DataSources, etc.) are not configured from Tomcat, but from JBoss. my preference is to

Re: jk2 connectivity options

2004-04-19 Thread Nikola Milutinovic
Pete Stokes wrote: Hi. I'm assuming that JK2 over AF_UNIX socket is meant for apache / tomcat on the same box? Yes. And you'll need JK JNI module, too. (libjkjni.so or jkjni.so). Nix. - To unsubscribe, e-mail: [EMAIL

Re: jboss tomcat integration

2004-04-19 Thread Nikola Milutinovic
Peter Choe wrote: do you know where the corresponding configuration files for tomcat is in jboss (i.e. server.xml, tomcat-user.xml)? Huh. somewehre in the JBoss config dir. And JNDI stuff is in some other file. i have apache and jk2 set up on a different server to pass request to tomcat for

Re: JK/JK2 startup explanation

2004-04-19 Thread Nikola Milutinovic
Daniel Gibby wrote: I'm especially wondering if I need to jave apr, JK and JK2 running. I was trying to only use JK2 with unixSockets... maybe that isn't what is actually happening, eh? Can I disable JNI? How do I use just JK or JK2? JNI is used mainly in two situations: starting Tomcat from

Re: Virtual Host, Locations and Mod_JK2

2004-04-19 Thread Nikola Milutinovic
Angus Mezick wrote: Use the uri property in workers2.properties instead of using JkUriSet. I do it that way and have no such problems: [uri:www.guidestar.org/*.jsp] group=lbWWW I know, I have this, too. But, still, why is Location approach not working as it should? Nix.

Re: JK2 configure thinks apache 2.0.48 is apache 1.3 on solaris 9

2004-04-19 Thread Nikola Milutinovic
Greg Adams wrote: 8. ./configure --with-apxs2=/usr/apache2/bin/apxs Shouldn't this be /usr/apache2/sbin/apxs? When I install Apache 2.0.49 in a custom dir of my choice, apxs goes into ${PREFIX}/sbin/ directory. Nix. - To

Re: JK2 configure thinks apache 2.0.48 is apache 1.3 on solaris 9

2004-04-20 Thread Nikola Milutinovic
Greg Adams wrote: Nope, at least not in my install.. maul(grega):/usr/apache2 % find /usr/apache2 -name apxs /usr/apache2/bin/apxs maul(grega):/usr/apache2 % Aha, OK. That depends on a chosen layout. Anyway, look into config.status and config.log files to see what went wrong. Nix.

Re: Apache2 encryption to Tomcat5

2004-04-22 Thread Nikola Milutinovic
Parsons Technical Services wrote: Pete, I know it can be done, but I don't have the experience to tell you how. What will work is to set up a vpn/encrypted connection between the two machines. Googling I found this site: http://ringstrom.mine.nu/ipsec_tunnel/ Or simple hack with SSH tunneling

Re: What is the relationship between the JK2 uri compoennt and the context?

2004-04-23 Thread Nikola Milutinovic
It is simply the case that what is forwarded via AJP13 is some sort of HTTP request (it has all the headers, request URI,...). In that sense, the request URI that you mapped from workers2.properties must exist on the Tomcat side, too. In the environment of VHosts, you need to match VHosts on

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Nikola Milutinovic
Chong Yu Meng wrote: Hi Andrew ! Clute, Andrew wrote: If it is channelUnix, I just now need to figure out this crazy 'undefined symbols: apr_md5_final' error. I wrote a document for compiling mod_jk2 on Fedora Core 1, in which I specified the necessary packages, one of which is the APR

Re: JK2 equivalent of JkMount

2004-05-17 Thread Nikola Milutinovic
Jack Lauman wrote: Is there a JK2 equivalent of JkMount? If there is what is the JK2 syntax for: JkMount /members/minutes/*.jsp worker1 JkUriSet, I believe. There are docs in Tomcat on JK connectors. Nix. - To unsubscribe,

Re: JK2 uri context question

2004-05-18 Thread Nikola Milutinovic
Jack Lauman wrote: I have a site where users enter the members area through a URL like this: http://www.domain.com/members/minutes.jsp My workers2.properties file [uri:/minutes/*] group:ajp13:localhost:8009 How do you remap the members directory so that jk2 know that it point to a tomcat app

Re: jk2 problems

2004-05-18 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I'm getting error in my apache tomcat configuration and I don't know why. I'm running Tomcat 4.1.18 with apache 2.0.49 under linux. And I can't make apache running with mod jk stuff. Here is an extract of my apache httpd.conf file LoadModule jk2_module modules/mod_jk2.so

Re: Tomcat 4 on Compaq Tru64?

2003-08-22 Thread Nikola Milutinovic
Does anybody have any succes with Tomcat on Tru64? I think I need to alter some shell scripts, but I have no clue what and where to make what changes? I have set the JAVA_HOME to the Compaq Fast JVM, but the startup.sh gives me thins in the catalina.out: usage: java

Re: Tomcat 4 on Compaq Tru64?

2003-08-23 Thread Nikola Milutinovic
I'm not sure why it works that way. I've got Tomcat working on Tru64 by calling bin/startup.sh start and bin/shutdown.sh stop in the $CATALINA_HOME directory. That's another way of handling it, I guess. Tru64 shows problems not in those two scripts, but in catalina.sh, when

Re: [OT] but IMPORTANT

2003-08-28 Thread Nikola Milutinovic
Time to get the board out and move to Vanuatu ... You'd be followed by half of Europe. Hasn't Germany opted for SuSE Linux as their OS for the government institutions? Nix.

Re: dbtags and tomcat 4.1

2003-09-04 Thread Nikola Milutinovic
You could use jstl instead, but from my experience SQL in the jsp is more trouble then it is worth and causes imense headaches when you want to do something complicated. Just a suggestion but it could be a good time for you to have a look at migrating to Struts or some other framework

Re: Memory leaks?

2003-09-05 Thread Nikola Milutinovic
But depending on the DB, it can cause problems from the DB with too many open ResultSets... I had an issue with performance testing where everything but ResultSets were being closed and the Oracle DB started throwing errors after about 500 queries. Better safe than sorry. Well, from what I

Unusual network bind on TC 4.1.24 and a JK2 Q

2003-09-10 Thread Nikola Milutinovic
Hi all. Network question -- TC: 4.1.24 OS: Mandrake Linux 9.1 JVM: Sun 1.4.2b java 3600 tomcat4 10u IPv4 4319 TCP *:8009 (LISTEN) java 3600 tomcat4 11u sock0,04317 can't identify protocol java 3600 tomcat4

Building/using JK2 - linking problem

2003-09-10 Thread Nikola Milutinovic
Hi all. I have built mod_jk2.so and jkjni.so from the latest tomcat-connectors-jk2-2.0.2. This is my jk2.properties: handler.list=apr,channelUnix,request channelUnix.file = /var/tomcat4/work/jk2.socket shm.file = /var/tomcat4/work/jk2.shm apr.NativeSo =

Re: Active Directory Single Sign-On

2003-09-10 Thread Nikola Milutinovic
It sounds like we should come up with a de facto way of achieving SSO with Tomcat and NTLM (since there is plenty of M$ workstations out there).Which leads me to believe that a lot of people could very well benefit from this.. I'm required to implement this for our intranet application

Re: Building/using JK2 - linking problem

2003-09-10 Thread Nikola Milutinovic
I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the ./configure --with-apxs=/some/path/to/apache2/bin/apxs command suggested in John Turner's Solaris 8 + Tomcat HOWTO, which is, BTW, and excellent resource. I have been able to get

Re: Building/using JK2 - linking problem

2003-09-11 Thread Nikola Milutinovic
I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the ./configure --with-apxs=/some/path/to/apache2/bin/apxs configure objects on this. However, I'km wading through my problem. The problem is in unsatisfied references. libapr requires

Re: Building/using JK2 - linking problem - SOLVED, mostly

2003-09-11 Thread Nikola Milutinovic
I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the ./configure --with-apxs=/some/path/to/apache2/bin/apxs Got it to compile and load, had to add this into the ./src/jk/native2/server/apache2/Makefile: JK_LDFLAGS=-L${APACHE2_LIBDIR}

OT: HEADS-UP: viral storm out there

2003-09-19 Thread Nikola Milutinovic
Hi all. This is off topic and is a cross-post, so I'll be brief. There is a very nasty virus out there and I urge everybody to get their AV in order. The virus is known as: W32.Gibe-F or W32.Swen-A. Yesterday, I got cca. 200 viral messages. Today, it's about 800 viral messages! I suspect

Re: OT: sloppy English

2003-09-22 Thread Nikola Milutinovic
i disaggree, unforuntealy i don't have time to perfom complete spel checks or fix grammar on all words. i try to be as coherent as possible but since i do this for free, you get what your pay for. please killfile me if it is that bothersome. I don't mind bad grammar and spelling. I detest

Re: Tomcat Admin Password

2003-09-25 Thread Nikola Milutinovic
Hi All, I can't log as administrator in to Tomcat 4.1.24 using username : admin password : setup is this the default password? There is no default password, you have to enter your own in tomcat-users.xml Nix.

Re: Error Finding config file: workers2.properties

2003-09-26 Thread Nikola Milutinovic
INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26 07:54:52 2003] (error ) [jk_config_file.c (279)] config.update(): Can't find config file ${serverRoot}/conf/workers2.pr operties [Fri Sep 26 07:54:52 2003] ( info ) [jk_config.c (251)] config.setAttribute() Error setting config: file

IGNORE: test

2003-09-23 Thread Nikola Milutinovic
Just testing to see if I've cut out some of the lists with my anti-Gibe-F blocking :-) Nix.

Re: Error Finding config file: workers2.properties

2003-09-27 Thread Nikola Milutinovic
Duncan Smith wrote: I had same problem. I found that if the workers2.properties file was supposed to be in {apache-home}/conf/ Yea, I symbolically linked it there as well, but still nada. Will it not follow symbolic links? I said before, as I learned from another guy on this list, jk2

Re: Apache Authentication with Tomcat

2003-09-30 Thread Nikola Milutinovic
When I remove [uri:/*] from workers2.properties and create a dummy htdocs\downloads directory under apache, the apache authentication works fine. But when I put [uri:/*] back, I do not get prompted for ID/Password. Here is what I have in httpd.conf. Any ideas? Directory

Re: Apache Authentication with Tomcat

2003-09-30 Thread Nikola Milutinovic
http://marc.theaimsgroup.com/?l=tomcat-userm=106070071117870w=2 Excellent! Now, when are we going to see an update on the JK2 docs? I'm not expecting a tutorial, just a (complete) list of all the options. I hate digging through the code myself. I know, I can dig through the code, but it is

Re: [OFF-TOPIC] RE: can resultset object be re-used

2003-10-01 Thread Nikola Milutinovic
Well I just gotta say that's not true. You *can* re-use a resultset object. ResultSet rs = st.executeQuery(SELECT * FROM FOO); //code that loops over rs and outputs results... rs = st.executeQuery(SELECT * FROM BAR); //a re-used ResultSet object. You're not re-using anything here, pal!

Re: Blowing away objects that have been stored in the session context

2003-10-05 Thread Nikola Milutinovic
Does Tomcat release all the resources used by an object if the object has been stored in the session context and a call to session.removeAttribute(objName) is made? I'd like to blow away several beans that are used throughout the processing of a transaction once the confirmation page is

Re: Instantiate a bean on startup

2003-10-06 Thread Nikola Milutinovic
Hello all. Is there an easy way to instantiate a bean as soon as tomcat starts? Basically, I want a bean to be instantiated and available to all sessions as soon tomcat starts. Any ideas? There is no such thing as Tomcat scope for variables, so you're hosed. Not just with Tomcat... Why

Re: Dynamic Authenticator

2003-10-16 Thread Nikola Milutinovic
Does anyone know of a good authentictor plugin for Tomcat. I reviewed the sample(XML based) authentcator from Tomcat, but this authenicator is only used at startup. I need onw that will able to add and delete users on the fly - not just at start up. I think LDAP realm does that. Nix.

Re: mod_webapp connector ?

2003-10-19 Thread Nikola Milutinovic
i am searching the mod_webapp web connector in order to connect tomcat 4.1.27 LE and Apache 1.3.27. I am using solaris. This connector does not appear anymore under the jakarta-tomcat server. Anyone that already downloaded it?, please send me it to this email. mod_webapp is not maintained

Re: Tomcat and Active Directory / 2003

2003-10-22 Thread Nikola Milutinovic
I'm also trying to authenticate to AD from Tomcat. I'm having some struggles. --- Search the archives of the list, there are some good success stories. BTW, all examples are using LDAP as a method of interaction with AD. Is anybody considering Kerberos5 (GSS-API)? I do realize Tomcat doesn't

Re: Use of return statement in servlet.

2003-10-30 Thread Nikola Milutinovic
Antony Paul wrote: Hi, If any one feel it off topic mark it as off topic. I want to exit from a servlet if no database connection is available. For this can I use a return statement in the beginning of a servlet. Will it cause any state problems. I dont like putting the code in an if block.

Re: Missing DataSourceRealm MBean definition

2003-11-06 Thread Nikola Milutinovic
Christopher Schultz wrote: Jacob, Tomcat5 no longer provides a separate LE version. You can take that as a hint not to use the LE version in Tomcat4.1.x. It causes nothing but confusion. I disagree. The 'LE' version actually has less confusion because there aren't fighting XML parsers

Re: TC 5.0.14 Breaks UTF-8 Content via HTTP Header

2003-11-11 Thread Nikola Milutinovic
Tony LaPaso wrote: Here's What I Did - In both versions of TC, I added an em dash character to the /tomcat-docs/cgi-howto.html documents that come with the TC documentation. The UTF-8 representation for the em dash character is the three bytes 0xE28094. I also made sure both

OT: Linux specific JVM problem

2003-11-20 Thread Nikola Milutinovic
Hi all. I have a problem which, I suppose, I can solve - this way or another. I'd like to hear a recomendation from the list, since I'm supposed to go live ASAP. I have installed: - Mandrake Linux 9.1 - paranoid security setting - Sun JDK 1.4.2 rel_02 - Tomcat 4.1.24 from RPM If I try to

Re: Slow on Linux

2003-11-24 Thread Nikola Milutinovic
Yonatan Goraly wrote: The exact execution time of that line of code is not very relevant, since the difference is between an interval I can't notice to an interval I can notice very well - should be at least a factor of x100. I just finished installing RedHat 9 (32 bit), the performance is much

Re: Slow on Linux

2003-11-25 Thread Nikola Milutinovic
Yonatan Goraly wrote: I have read that Suse linux team has been working closely with AMD to support AMD64, and I am going to try their commercial product (professional edition, $130). I know that SUN plan to have an AMD64 version for the JDK 1.5, which should be next year. The reason for

Re: Slow on Linux

2003-11-25 Thread Nikola Milutinovic
Wade Chandler wrote: Just wondering. Did you know that every Postgres connection creates a system process, and not a thread? PostgreSQL uses Fork. I don't use it because of this. DB Connection = Separate Process. I use Firebird. You can use Firebird 1.5 even. That's just a consideration

Re: Difference between JK 2.0.2 JK 4.1.29

2003-11-26 Thread Nikola Milutinovic
Jose wrote: Hello. What is the difference between both ? I use tomcat-4.1.29 then which i must use to works with apache 2.0.48 ? Connectors accompanying TC distribution are for that version. WARP, JK and JK2 consist of two parts: Tomcat part (Java classes) and Apache/(otehr web servers) part (C

Re: Problem Compiling JSP under tomcat 5

2003-11-27 Thread Nikola Milutinovic
Simone Chiaretta wrote: While trying to run for the first time a JSP I get this error org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file [javac]

Re: Problem Compiling JSP under tomcat 5 - addon

2003-11-27 Thread Nikola Milutinovic
Simone Chiaretta wrote: i forgot to mention that the same configuration runs in tomcat 4.0.4 Strange. It shouldn't, unless you placed your package in some JAR under .\WEB-INF\lib\ dir. Nixie. - To unsubscribe, e-mail: [EMAIL

Question on mod_jk2 (working)

2003-11-27 Thread Nikola Milutinovic
Hi all. I tried and managed to setup mod_jk2 with UNIX socket channel and I have some questions. First I tried to do it without apr handler. It would open a socket, but would refuse connection from Apache. Then I tried with apr, reasoning that AF_UNIX socket is not native to JVM and JNI

Re: R: Problem Compiling JSP under tomcat 5

2003-11-27 Thread Nikola Milutinovic
Simone Chiaretta wrote: D:\Documenti\Progetti\piyosailing.com\admin\WEB-INF\class\com\piyosail in g\PiyoWebEngine.class This is wrong. The path should be ...\WEB-INF\classes\... Nixie. That was really the problem I think I'm going to jump from the third floor and land over a bed of

Re: shm.file

2003-11-28 Thread Nikola Milutinovic
Asif Chowdhary wrote: Hi, Apache running on linux with mod_jk2 Tomcat on windows. Running Do I need to create a map to the shm file defined on the Linux server. No. What is the purpose of this file and what is the recommended size? That file makes sense in a situation where Apache and Tomcat

Re: Tomcat FAQs on Wiki

2003-12-01 Thread Nikola Milutinovic
Mark Eggers wrote: Folks, I have put some of my documentation on the Tomcat Wiki at: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb These are sort of bare-bones documents about some ways to connect Tomcat/Apache on Linux, Tomcat/Apache on Windows/2000, and Tomcat/IIS 5 on Windows/2000.

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Nikola Milutinovic
Tim Funk wrote: Google for Wiki. Most of the links are great and you'll learn more about Wiki than you wish to know. The best page about Wikis is this one: http://c2.com/cgi/wiki I still haven't figured out how to publish to Wiki and frankly, I don't have the time. I'm up to my ass in

Re: Tomcat FAQs on Wiki - mod_jk2 howto

2003-12-02 Thread Nikola Milutinovic
Tim Funk wrote: Writing anything like that for the list is a good thing since we can always link to it in the archives ;) Here goes. STEP 1 -- Build mod_jk2.so and jkjni.so - do whatever needs to be done :-) STEP 2 -- Place mod_jk2.so and jkjni.so with other Apache modules. In case of

Re: Servlets with JDBC connectivity

2003-12-03 Thread Nikola Milutinovic
Peter Harrison wrote: On Wed, 03 Dec 2003 16:18, Todd O'Bryan wrote: How do people handle this elegantly? The requirements are: a single, globally visible (within a webapp) database interface and the ability to access multiple databases easily. The first point is to use a singleton to set up

Re: Auto start scripts

2003-12-03 Thread Nikola Milutinovic
Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so that Tomcat starts automatically? Tomcat works fine when I run startup.sh as root. However,

Re: Tomcat5 close to production?

2003-12-08 Thread Nikola Milutinovic
Philip Busby wrote: Is there any word, or any place where I could check the status of Tomcat5 to move to production? My host would rather not go through with a Tomcat5 install until it comes out of beta, but I like all of the new things in JSP2. Will Tomcat5 be going production within a month or

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Nikola Milutinovic
Federico Fernandez Cruz wrote: Hi all! I am using tomcat 5 and I want to do some integration work with Apache and mod_jk2. Is there a direct way to map a whole web application in apache? It works but I have to write a lot of [uri:*] commands in mi workers2.properties file. What do you

Re: google yourself

2003-12-11 Thread Nikola Milutinovic
Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? There is a web archive of this list. Nix. - To unsubscribe, e-mail:

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Nikola Milutinovic
Federico Fernandez Cruz wrote: By whole web application I mean the entire application... well... I have a context inside Tomcat called UserMan. I want to map an Apache URL to this application... In my workers2.properties I put these lines... [uri:/UserMan] info=Example webapp in the default

Re: Apache SSL variables - Imposible!

2003-12-12 Thread Nikola Milutinovic
Federico Fernandez Cruz wrote: I have connected Apache and Tomcat (5) using JK2. The communication is right, but I can't access any apache SSL variables! No matter what I do. It's impossible! I have read several docs and all I get is frustration! :-( Can someone tell me how to do it,

Re: javax.mail.SendFailedException: Sending failed

2003-12-12 Thread Nikola Milutinovic
Ashwin Kutty wrote: Was wondering if someone could help me out here. I am trying a product out called DSPACE which gives the following error in catalina.out 2003-12-12 08:53:34,957 INFO org.dspace.app.webui.servlet.RegisterServlet @

Re: Need some Tomcat Configuration help badly

2003-12-14 Thread Nikola Milutinovic
BTW, there is a bug with Tomcat which will cause it to run out of memory after a number of restarts. You will probably run into this with 30 students uploading new classes. You will also want to make sure that the fork attribute for the JspServlet is set to true as well as compiling

Re: Need some Tomcat Configuration help badly

2003-12-17 Thread Nikola Milutinovic
Dick Steflik wrote: I had the same question. In all of the years I've worked with Java I've always thought it was free of memory leaks. If you use a different compiler does the problem go away. Is that how people like JRun (Macromedia) and WebSphere (IBM) avoid the problem? It could be.

Re: DOES_ANYONE_HAVE_CONFIGURED_MOD_JK2+APACHE+TOMCAT_USING_unix_channel

2003-12-30 Thread Nikola Milutinovic
Ingmars Rubenis wrote: Hello All! I am using standart Red Hat 9.0 apache http server 2.40 Tomcat 4.2.24 Mod_jk2... .rpm RedHat 9.0 - ugh! I have not tried to install it from source. Do try. I have tried all kind of mod_jk2 rpms, but still I get error: INFO: APR not loaded, disabling jni

Re: channelUnix.file is missing

2004-10-29 Thread Nikola Milutinovic
FM wrote: Thanks, I modified my jk2.properties but now in catalina.out I have : INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: /usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final How can I load

Re: Hi

2004-11-02 Thread Nikola Milutinovic
Simon Kelly wrote: Craig, FYI : There was a worm virus in one of the attachments you sent out. Time to virus scan your sun box ;o) It is NOT Craig! Todays (and yesterdays) viruses forge the sender's email address. They usually pick one from the address book. So, the only thing we can conclude is

Re: FW: Virtual host (JSP) in Apache+Tomcat+Mod_jk

2004-11-02 Thread Nikola Milutinovic
Batpurev wrote: Dear all, I am sure the list is always talking and discussing about Virtual host (JSP) in Apache+Tomcat+Mod_jk problems. Though I need some advices from experts or experienced people in this list. There are three (sometimes complex) steps to take: 1. Setup Tomcat VHost 2. Setup

Re: Form Authentication Trouble with Firefox

2004-11-28 Thread Nikola Milutinovic
Peter Neu wrote: Hello everybody, I'm using form authentication to log on the users to my website. Until now I was using Mozilla Firefox for developement but now I came across this problem that Firefox doesn't allow a clean log in and always redirects to the error.jsp. The authentication is

Re: which to use: JK2 or JK?

2004-11-28 Thread Nikola Milutinovic
Erez Efrati wrote: Hi, I am installing an apache + JBoss/tomcat and I need to run the JK module. Now I understand that the JK2 is no longer supported so does it mean that it would be better using JK1.2? What do you mean by no longer being supported? The current status is thet JK1 is considered

<    1   2   3   4   5   6   >