Re: apache and native library ?

2006-11-06 Thread Mladen Turk
mast wrote: in fact there is a "little" diffrence without native : INFO: JK: ajp13 listening on /0.0.0.0:9570 with native : INFO: Initializing Coyote AJP/1.3 on ajp-9570 INFO: Starting Coyote AJP/1.3 on ajp-9570 Not sure when you have downloaded the .dll Download the tcnative-1-ipv4.dll from

Re: Complier not recognizing

2006-11-06 Thread gp
My eclipse seems to support compiler compliance levels 1.3 and 1.4 only Seems I have downloaded an old version of eclipse thanks a lot Stephen Souness wrote: > > Sounds more like eclipse is not set up to allow use of Java 5 (your > examples are the new for loop and generics). > > Change your

Re: A custom profiling security manager, and an anomaly

2006-11-06 Thread Mark Petrovic
For those interested, I believe I got this working, although I'm not yet certain precisely what I did differently that made the difference. Details of the custom security profiler are here http://www.petrovic.org/content/SecMgrTutorial/sm.html . On 11/5/06, Mark Petrovic <[EMAIL PROTECTED]> wr

Include Directive

2006-11-06 Thread Justin Jaynes
Hello, I am trying to eliminate unnecessary duplication of code by using include directives. Currently my directory structure is like this: [main app directory] index.jsp header.jsp footer.jsp [admin subdirectory] index.jsp The index.jsp file in the main directory contains the code <%@ include

Re: Comet + tomcat6

2006-11-06 Thread Mark Thomas
Nimit Walia wrote: > F ANYBODY CAN HELP PLS HELP ME AS SOON AS POSSIBLE Please do not send the same message multiple times. http://tomcat.apache.org/faq/tomcatuser.html#why I haven't looked at or been involved in the Comet development but as far as I can tell from looking at the code and the docs

Comet + tomcat6

2006-11-06 Thread Nimit Walia
F ANYBODY CAN HELP PLS HELP ME AS SOON AS POSSIBLE We are using comet feature provided by Tomcat 6.0. According to Documantation we have implemented the CometProcessor Interface this is same as example given in Tomcat Advanced IO documentation. but when we sends a request(that is a normal Http

Re: how to get the client certificate and save/retrieve it to/from openldap

2006-11-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: How Tomcat working with IIS

2006-11-06 Thread Mark Thomas
Tom Dog wrote: > 1. Will that be related with the Http/1.1 port number or ajp13 listening > port number? > 2. Are there any configurations I was missing to connect to IIS? We need to see copies of your config files to help with this. Please provide all the mod_jk config files and the connector elem

Re: Request for WMV file to machine name doesn't work

2006-11-06 Thread Mark Thomas
Zachary Wiener wrote: > I still have the problem even if I do add the MIME type. And the problem > occurs only when I am on the same machine as where Tomcat is installed, > and I request the file using http:// as opposed to > http://localhost:8080. Bizarre. Have you tried using different brows

Re: apache and native library ?

2006-11-06 Thread mast
in fact there is a "little" diffrence without native : INFO: JK: ajp13 listening on /0.0.0.0:9570 with native : INFO: Initializing Coyote AJP/1.3 on ajp-9570 INFO: Starting Coyote AJP/1.3 on ajp-9570 (no listening) any clue ? - Original Message - From: "mast" <[EMAIL PROTECTED]> To: "

apache and native library ?

2006-11-06 Thread mast
Hi i have install the native library 1.1.6 to resolve the INFO : INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path but i have notice something that seem strange to me, when i have this INFO the server is wo

Re: Locale difference with Console and Windows Service

2006-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max, maxt wrote: > To give a little more background, I have a Servlet, Tomcat application that a > potential customer can download and install on their Windows PC. I would > like to create localizations for it. > > It is easier to enable such a perso

Re: Application Path

2006-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vernon, > That can solve the problem. However, is it little silly to prefix > ${pageContext.request.contextPath} into every single URLs in the JSP files? It's not silly if that's what you want. Some frameworks provide either JSP taglibs or some othe

Re: Complier not recognizing

2006-11-06 Thread Stephen Souness
Sounds more like eclipse is not set up to allow use of Java 5 (your examples are the new for loop and generics). Change your "Java Compiler" settings for Compiler Compliance level for the project or workspace. -- Stephen gp wrote: My Eclipse is not recognixing formats like the for loop str

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Michael Hencin
I looked at the TC 5.0 pages for this, and it does not appear to be the same for 5.0 (which I use now) http://tomcat.apache.org/tomcat-5.0-doc/config/context.html says " The context path of this web application, which is matched against the beginning of each request URI to select the appr

Re: Application Path

2006-11-06 Thread Vernon _
That can solve the problem. However, is it little silly to prefix ${pageContext.request.contextPath} into every single URLs in the JSP files? Vernon __ Your local community information service - news, blogs, classifieds

Re: Locale difference with Console and Windows Service

2006-11-06 Thread maxt
To give a little more background, I have a Servlet, Tomcat application that a potential customer can download and install on their Windows PC. I would like to create localizations for it. It is easier to enable such a person to use Windows Services to start Tomcat without having any knowledge of

Re: Application Path

2006-11-06 Thread David Smith
Is there any reason you can't just have the paths composed dynamically?: For the ROOT webapp, the expression will return an empty path, so it's always correct. --David Vernon _ wrote: I have another new application deployed in a non-root directory. I need to have absolute paths for CSS a

Complier not recognizing

2006-11-06 Thread gp
My Eclipse is not recognixing formats like the for loop structure for (Query q : history) and things like Vector history = session.getHistory(); (for < symbol it shows invalid assignment operator) I am using eclipse with TomCat 5.5 and jdk1.5.0_09 I am very new to tomcat, please someone help -

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread John Langan
Will do. Thanks for the info. John. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 4:11 PM To: Tomcat Users List Subject: RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20 > From: John Langan [mailto:[EMAIL PROTECTED] > Subject: RE:

RE: Tomcat 5.5 service.bat

2006-11-06 Thread Caldarale, Charles R
> From: Derrick Koes [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5 service.bat > > Where? The windows install does not put them in the bin directory? Depends on which package you downloaded. The .exe does not contain the .bat files, the .zip does. I have no idea why they're different.

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Caldarale, Charles R
> From: John Langan [mailto:[EMAIL PROTECTED] > Subject: RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20 > > I have META-INF/context.xml in my app, which contains the following. > > > WEB-INF/web.xml > META-INF/context.xml > > The path attribute should be removed, since its

Application Path

2006-11-06 Thread Vernon _
I have another new application deployed in a non-root directory. I need to have absolute paths for CSS and Javascript in order to import them properly with differenct level structure of JSP files. I can deploy it as the root application or add the application name in the absolute path. Neither

RE: preserving files/folders when updating an app

2006-11-06 Thread Michael Hencin
As for my updates, I was hoping to keep it simple, i.e. just the war file, and not a script as well. I don’t currently have an install script, or update script. We just create a new WAR file, and supply that to the end users. They then drop this war into webapps, and it "normally" replaces the old

RE: Tomcat 5.5 service.bat

2006-11-06 Thread Derrick Koes
Where? The windows install does not put them in the bin directory? The only files in the bin dir are: Bootstrap.jar Commons-logging-api.jar Tcnative-1.dll Tomcat5.exe Tomcat5w.exe Tomcat-juli.jar Thanks, Derrick -Original Message- From: Stephan Schöffel [mailto:[EMAIL PROTECTED] Sent

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread John Langan
Thanks Larry for the advice, which solved the problem. Thanks also to Chuck and John for the speedy replies and help. My web application does display a directory listing in 5.5.9 and so I have edited conf/web.xml to set listings to true and now my webapp runs. I'm using eclipse 3.2 with WTP but

Re: Tomcat 5.5 service.bat

2006-11-06 Thread Stephan Schöffel
both, catalina.bat and service bat are included in 5.5.20 Derrick Koes wrote: http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html The tomcat 5.5 documentation states that service.bat can be used to create a tomcat service. However, the install appears not to have installed the

Tomcat 5.5 service.bat

2006-11-06 Thread Derrick Koes
http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html The tomcat 5.5 documentation states that service.bat can be used to create a tomcat service. However, the install appears not to have installed the service.bat file. I noticed that other files such as catalina.bat that existed i

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Larry Isaacs
Just in case, does your web application display a directory listing in 5.5.9? If so, be aware that directory listings have been turned off in conf/web.xml for 5.5.20 (I forget in which version this occurred) due to the potential of a DOS attack if your web application contains lots of files. Othe

Re: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread John McPeek
Hi John, Are you running this with WTP in eclipse? I see that Chuck was talking about the tag. WTP puts the tag in the server.xml like days gone by. This may be related to your situation. John From: John Langan [mailto:[EMAIL PROTECTED] Subject: Webapp runs on Tomcat 5.5.9 but not 5.5.20

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Caldarale, Charles R
> From: John Langan [mailto:[EMAIL PROTECTED] > Subject: Webapp runs on Tomcat 5.5.9 but not 5.5.20 > > I have tried various things with no luck including editing > C:\apache-tomcat-5.5.20\conf\server.xml, You should not be putting tags in conf/server.xml. > C:\apache-tomcat-5.5.20\conf\Catali

Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread John Langan
Webapp runs on Tomcat 5.5.9 but not 5.5.20 I compile my war file using eclipse and it runs no problem on Tomcat 5.5.9 but if I try to run the same war on 5.5.20 then I get the error report The requested resource (/ProjectName/) is not available. I have tried various things with no luck inc

reply_timeout

2006-11-06 Thread Dan Carwin
Is reply_timeout designed to be set... 1. only for the loadbalancing worker. 2. for every worker except the loadbalancer. 3. for every worker including the loadbalancer. Thanks, Dan Carwin - To start a new topic, e-mail: users@t

Re: preserving files/folders when updating an app

2006-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, > Yeah I thought about that. And it certainly an option. I can create a batch > file that does the same. > > I just was curious if you could specify in your war file options for no not > overwrite folder "X" or something. Do you have the o

how to get the client certificate and save/retrieve it to/from openldap

2006-11-06 Thread Eric Yin
Hi, I'm using Tomcat for mutual authitication. after the brower and server finish the certificate exchange and verification (which is already done). I want to get the client certificate and compare it with what's been stored in the LDAP. I'm new with linux. how can i get the client certifica

RE: preserving files/folders when updating an app

2006-11-06 Thread Michael Hencin
OK. I am just trying to find out if there is a way, using TC to do what I wish. I currently use virtual directories and apache to serve "saved files" that my webapp copies to a specified location. I am considering using CSS in my html files now, and would like to allow users to modify those css fil

RE: preserving files/folders when updating an app

2006-11-06 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: preserving files/folders when updating an app > > I just was curious if you could specify in your war file > options for no not overwrite folder "X" or something. What you're trying to do is somewhat in conflict with the intent of

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Unable to compile class for JSP > > Well, umm, actually I wasn't aware that the default package > isn't allowed. Quoting from section 11.2 of the JSP spec: "However, as of JDK 1.4, importing classes from the unnamed package is

RE: preserving files/folders when updating an app

2006-11-06 Thread Michael Hencin
Yeah I thought about that. And it certainly an option. I can create a batch file that does the same. I just was curious if you could specify in your war file options for no not overwrite folder "X" or something. -Original Message- From: Nelson, Tracy [mailto:[EMAIL PROTECTED] Sent: Mond

RE: Unable to compile class for JSP

2006-11-06 Thread edward
Well, umm, actually I wasn't aware that the default package isn't allowed. I just considered it poor practice to use. Let me go fix that. Thanks. "Caldarale wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Subject: Unable to compile class for JSP > > > > Class foo is in

Re: Problem using Flush method from PrintWriter class on tomcat5.0.30 (SOLVED)

2006-11-06 Thread Debianito
2006/11/6, Debianito <[EMAIL PROTECTED]>: 2006/11/2, Caldarale, Charles R <[EMAIL PROTECTED]>: > > From: Debianito [mailto:[EMAIL PROTECTED] > > Subject: Problem using Flush method from PrintWriter class on > > tomcat5.0.30 > > > > Everything worked perfect till I move it to the actual version of

RE: preserving files/folders when updating an app

2006-11-06 Thread Nelson, Tracy
Can you provide an installer with your web app that will back up those files, then copy them back post-install? Alternately, could you have another webapp that only exists to hold that information? --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From:

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Unable to compile class for JSP > > Class foo is in the default package. > > Beside using the default package, what am I doing wrong? Since you seem to be aware the using the default package is not allowed, why haven't you fixed tha

Unable to compile class for JSP

2006-11-06 Thread edward
Hi, I'm having a newbie type of problem with getting a JSP to compile. Seems it can't find my class. Rest of error messages: Generated servlet error: The import FOO cannot be resolved Following files are located in Tomcat/webapps/VIP Code: Home.jsp <%@ page import="java.util.*" %> Home Pa

How Tomcat working with IIS

2006-11-06 Thread Tom Dog
Tomcat 5.5.20 is installed on Windows 2003 Server and started successfully. IIS 5.0 is configured on Windows 2000 Server to use isapi filter to redirect to tomcat. It seems that isapi is working as I can see the message from the log:" [/tomcat] is a servlet - should redirect to tomcat". But i

preserving files/folders when updating an app

2006-11-06 Thread Michael Hencin
I have not been able to find a way to protect files from being removed/replaced when we apply a new war file update. This is the condition I want to have. After installing our web app, I want to be able to save or modify files used by our web app. I am thinking of either css files or a directo

Re: replication not working

2006-11-06 Thread Assaf Flatto
my bad i forgot to add the definitions of my server.xml managerClassName="org.apache.catalina.cluster.session.D expireSessionsOnShutdown="false" useDirtyFlag="true"> className="org.apache.catalina.cluster.mcast.McastService" mcastAddr="228.0.0.4"

replication not working

2006-11-06 Thread Assaf Flatto
Hello I have 3 servers with tomcat 5.0.30 , and i want to run them with data replication . I manage to see the servers coming up and i can see in the log the other servers identifying the other members of the cluster , however when starting to test the replication between servers - there is no

Re: jmx & rmi connection problem

2006-11-06 Thread Michele Mazzucco
Hi again, I forgot to mention that the code works fine on windows while it fails on linux. Michele On 6 Nov 2006, at 12:09, Michele Mazzucco wrote: Hi all, I don't know wether this is the right mailing list where to post my problem. I have a web service which, during the system startu

Re: Request for WMV file to machine name doesn't work

2006-11-06 Thread Martin Gainty
that *should* work go to tomcat box ipconfig /all to view the IP assigned to the box go to another box nslookup IP to view the machine name ensure your machine name resolves to the same IP as the IP assigned for the tomcat box Anyone else? M- This e-mail communication and any attachments may c

Re: Problem using Flush method from PrintWriter class on tomcat5.0.30

2006-11-06 Thread Debianito
2006/11/2, Caldarale, Charles R <[EMAIL PROTECTED]>: > From: Debianito [mailto:[EMAIL PROTECTED] > Subject: Problem using Flush method from PrintWriter class on > tomcat5.0.30 > > Everything worked perfect till I move it to the actual version of > tomcat5 on Debian Testing system, which is 5.0.30

Re: catalina.sh "==" artifact

2006-11-06 Thread Mark Petrovic
You make a good point. I should have included the text. On 11/6/06, Steffen Heil <[EMAIL PROTECTED]> wrote: Hi Sorry, but 5 answers of the kind "RTFM" are simply not nice. It's just a sentence, so here it goes: > If you use > > java -Djava.security.manager -Djava.security.policy==someURL

Re: Request for WMV file to machine name doesn't work

2006-11-06 Thread Zachary Wiener
I still have the problem even if I do add the MIME type. And the problem occurs only when I am on the same machine as where Tomcat is installed, and I request the file using http:// as opposed to http://localhost:8080. In any case, to specify the correct mime type modify /conf/web.xml and add

Re: changing the length of the jsessionid

2006-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Assaf, Assaf Flatto wrote: > now it seems that the jvmroute and the balancer in front of it are > not adding the ".x" to the jsessionid. [snip] > but the end result is cookie: > JSESSIONID=FB5B5218F8A9021652FDE8C270F991 Perhaps the proxy module is

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johannes and Mark, Mark Thomas wrote: > A valve or a servlet filter is probably your best best. You'll be > better off with a valve if you want to get at any Tomcat internals but > a filter will be portable between containers. > > I haven't tried to

RE: catalina.sh "==" artifact

2006-11-06 Thread Steffen Heil
Hi Sorry, but 5 answers of the kind "RTFM" are simply not nice. It's just a sentence, so here it goes: > If you use > > java -Djava.security.manager -Djava.security.policy==someURL SomeApp > > (note the double equals) then just the specified policy file will be used; > all the ones indicated

Re: catalina.sh "==" artifact

2006-11-06 Thread Mark Petrovic
If you search for "==" here, it is revealed http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html On 11/6/06, Gregor Schneider <[EMAIL PROTECTED]> wrote: hm, took a look at the jdk-docs at http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it says [quote]==

client + proxy Apache + Tomcat 5 (HTTP authentication)

2006-11-06 Thread Daniel G
hello list, My configuration is C(client) - (P)Apache 2.2.3 - (S) Tomcat 5.5.20. I received the 'Unauthorized' response for different approaches: mod_jk, mod_proxy_ajp. My scenario is: - a static HTML page, like a form, but no password; the action value is a Perl script - the cgi-bin/theScript

Re: catalina.sh "==" artifact

2006-11-06 Thread Mark Thomas
Gregor Schneider wrote: > hm, took a look at the jdk-docs at > http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it > says > > [quote]= > -Dproperty=value >Set a system property value. > [quote]= > > Could you please shed some light? http://java.sun.c

Re: changing the length of the jsessionid

2006-11-06 Thread Mark Thomas
Assaf Flatto wrote: > I took the sources of the 5.0.30 tomcat and made the changes, recompiled > the RPM and installed it on one of my QC servers . > the session id that is generated from the tomcat is indeed 30 chars but > now it seems that the jvmroute and the balancer in front of it are not > a

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-06 Thread Mark Thomas
Johannes wrote: > I had to try it and... > It did not work as you already knew. > > Is there any other possibility besides writing my own Valve (that no one so > far has said don't work. But I have no clue how that is done.) A valve or a servlet filter is probably your best best. You'll be bette

jmx & rmi connection problem

2006-11-06 Thread Michele Mazzucco
Hi all, I don't know wether this is the right mailing list where to post my problem. I have a web service which, during the system startup, creates all the needed JMX stuff, but unfortunately if fails (see the stack trace below). The reason seems to be: Caused by: java.rmi.AccessException

Need Help Urgently... Got Stuck!!!!

2006-11-06 Thread Jayant Kumar
Hi, IF ANYBODY CAN HELP PLS HELP ME AS SOON AS POSSIBLE This is Jayant Kr. Punjabi from iTG india Pvt. Ltd., Jaipur(INDIA). We are using comet feature provided by Tomcat 6.0. According to Documantation we have implemented the CometProcessor Interface this is same as example given in Tomcat Advan

Re: catalina.sh "==" artifact

2006-11-06 Thread Gregor Schneider
hm, took a look at the jdk-docs at http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it says [quote]= -Dproperty=value Set a system property value. [quote]= Could you please shed some light? TIA Greg -- what's puzzlin' you, is the nature of my game

Re: changing the length of the jsessionid

2006-11-06 Thread Assaf Flatto
I took the sources of the 5.0.30 tomcat and made the changes, recompiled the RPM and installed it on one of my QC servers . the session id that is generated from the tomcat is indeed 30 chars but now it seems that the jvmroute and the balancer in front of it are not adding the ".x" to the jsess

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-06 Thread Johannes
I had to try it and... It did not work as you already knew. Is there any other possibility besides writing my own Valve (that no one so far has said don't work. But I have no clue how that is done.) ~Johannes -Originalmeddelande- From: Mark Thomas [EMAIL PROTECTED] Date: Sat, 04 Nov 200

mod_jk affinity for a lamed tomcat instance

2006-11-06 Thread Dan Ackerson
I have a load-balanced cluster of application servers configured via mod_jk. If one of the application servers has a "soft" JVM error (for instance OOME: PermGen), mod_jk seems to develop an unfortunate affinity for this lamed instance (probably because this server is no longer processing requests