Re: Flash and Javascript

2006-06-29 Thread Nikola Milutinovic
I currently have a Flash file which uses the ExternalInterface.call function to call some JavaScript functions I have on a JSP page running in Jetspeed 2. When I publish the file to an HTML in Flash and just view it on my computer it works great, but I have tried making a JSP page out of it and

context.xml best place

2006-06-29 Thread Giorgio Ponza
Hi all. I am trying to configure multiple context for the same Host and i'm having some problems. I just installed lambdaprobe, that needs privileged=true in its Context tag SO i edited the file context.xml in the /probe/META-INF folder. But, after a restart, Tomcat continued to say that the

Deployment Management Auditing of Tomcat Applications

2006-06-29 Thread Narendra, Anand
Hi, I like to know of Tomcat Management Monitoring Softwares. Looking for tools to manage application deployment, auditing application deployment and controlling. Thanks in advance! Aananda

Tomcat Datasource access

2006-06-29 Thread Narendra, Anand
Hi, Can anybody give me details on DB connection parameters security? Iam looking for proving that tomcat allows secure db connections similar to WAS Thanks in advance Aanandaa

RE: Deployment Management Auditing of Tomcat Applications

2006-06-29 Thread Raghupathy,Gurumoorthy
http://www.lambdaprobe.org/d/index.htm http://mc4j.org/confluence/display/mc4j/Home http://manageengine.adventnet.com/products/applications_manager/monitor-tomc at.html Hope this helps Gurumoorthy Raghupathy Web Support - Fidelity Investments International * Tel: +44 1737 836798 * Internal:

RE: Error while connecting to MySQL database

2006-06-29 Thread Jitendra Kharche
Hi, I don't' know whether specifying db.properties works or not, but I configured a datasource for mysql as follows: 1. Shutdown tomcat. 2. Enter followin in TOMCAT_HOME/conf/server.xml (If you have an entry in server.xml for this update it as below) Resource name=jdbc/MyDB

Re: Application does not deploy

2006-06-29 Thread Giorgio Ponza
[EMAIL PROTECTED] wrote: Can someone point me to the next place to look. My class files are built...I receive a warning error when I compile. I can build a war file but nothing comes up in my browser. I'm a bit of a newbie to web deployment. 2006-06-28 15:06:56

Re: MyPrincipal cannot be resolved to a type

2006-06-29 Thread Jon Wingfield
In addition, custom Realms merely need to create instances of Principal. There is no requirement for them to extend GenericPrincipal. Our Realm classes are deployed to server/lib Our extension to Principal is deployed to common/lib See the thread Is custom realm using user/role data in webapp

URL Redirection in tomcat

2006-06-29 Thread santhoshs
Hi Everybody, Am using Tomcat 5.0 . My requirement is to redirect the URL http://username.mysite.com; to http://username.site.com/application.do?login_name=username;. The URL should be nice URL , in the sense the New URL should not be reflected in the address bar. My Question is whether should

How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-29 Thread KHZ (SAW)
Hi world. We’ve severe problems if a URL contains an umlaut. For URL usage we encode strings using UTF-8, i.e. “ü” (which would be uuml; in HTML) can be viewed as “%c3%bc”. Getting the request parameter I’ld expect the same string. But we see 2 characters. Obviously it’s interpreted as ISO8859-1

Re: MyPrincipal cannot be resolved to a type

2006-06-29 Thread Yuri de Wit
Yes, in the spirit of dont reinvent the wheel I was trying to leverage as much as possible from the catalina BaseRealm, but that implementation requires GenericPrincipal to get the list of roles associated with the principal. Thanks for the pointer. Any issues moving all the jar from server/lib

Re: MyPrincipal cannot be resolved to a type

2006-06-29 Thread Jon Wingfield
Fair enough. We also extend RealmBase and just override hasRole(Principal principal, String role), which is the only place GenericPrincipal is referenced in RealmBase. We use our own storage mechanism for Roles.

RE: Error while connecting to MySQL database

2006-06-29 Thread Gordon Smith
If Class.forName throws a null pointer exception, chances are it can't find the driver because you have a Tomcat configuration problem or other classpath-related problem relating to driver setup. Please check out the documentation on tomcat.apache.org for the details for your version of Tomcat.

filter increase number of session

2006-06-29 Thread Enrico Giurin
Hi at all, I have problem using filter in my web application under tomcat (tomcat 4.1 on Windows 2k OS). Client of the web application is an IVR (Interactive Voice Response) in the context of voice-xml application. I have configured a filter in order to log all the request (included all the

AW: Error while connecting to MySQL database

2006-06-29 Thread KHZ (SAW)
Hi Navaneeth. Check whether you've an XML file according to your web app in the conf/Catalina/host directory. When removing the elder web app this file is also removed. Regards,Karl-Heinz. -Ursprüngliche Nachricht- Von: Gordon Smith [mailto:[EMAIL PROTECTED] Gesendet:

Re: filter increase number of session

2006-06-29 Thread Leon Rosenberg
do you have something like HttpSession session = ((HttpServletRequest)req).getSession() in your filter code? leon On 6/29/06, Enrico Giurin [EMAIL PROTECTED] wrote: Hi at all, I have problem using filter in my web application under tomcat (tomcat 4.1 on Windows 2k OS). Client of the web

回复: RE: Error while connecting to M ySQL database

2006-06-29 Thread Kyle Wu
# MySQL database access properties db.driver = org.gjt.mm.mysql.Driver db.url = jdbc:mysql://localhost:3306/testdb db.user = root well, I guess you should specify db.driver attribute as db.driver = com.mysql.jdbc.Driver for value org.gjt.mm.mysql.Driver is obsoleted... anyway, the

Re: filter increase number of session

2006-06-29 Thread David Delbecq
could we see the code of this filter? Enrico Giurin wrote: Hi at all, I have problem using filter in my web application under tomcat (tomcat 4.1 on Windows 2k OS). Client of the web application is an IVR (Interactive Voice Response) in the context of voice-xml application. I have configured a

Re: filter increase number of session

2006-06-29 Thread Enrico Giurin
Yes I have that, I know that in this way if I hadn't a session tomcat makes new one, but If I had one I keep the old session. So why for every request I have a new session on the server, and why only with IVR client and not using Jmeter like client? Thanks, Enrico. - Original Message

Re: filter increase number of session

2006-06-29 Thread David Delbecq
Looking at code of filter you sent me, i see nothing strange, except perhaps for the getSession. Do you have the IVR server code? Are ou sure it is using the container session? If not, that may mean the client does not care about the sessionid, and the server does not use container session.

RE: Setting up SSL on Tomcat 5.5.17 - no response from Tomcat

2006-06-29 Thread Holst, Martina
Hi Eric, I may be mistaken but keystoreFile=C:\Documents and Settings\Administrator\.keystore keystorePass=changeit keystoreType=JKS / looks to me as if you are trying to configure a JSSE keystore. The error message referring to org.apache.tomcat.util.net.AprEndpoint suggests to me that your

Re: filter increase number of session

2006-06-29 Thread Pid
If you getSession() Tomcat looks for a session, and creates a new one if it can't find one. It looks for a cookie called JSESSIONID or a url variable ;jsessionid=. If your voice app client can't handle cookies, and you have not URL encoded each URL in the app, then a new session will be created

Re: Setting up SSL on Tomcat 5.5.17 - no response from Tomcat

2006-06-29 Thread Erik Matthew Brakke
Disabling APR did it! Thanks for spotting that in the exception. I knew APR meant using OpenSSL, but the documentation led me to believe it was disabled by default. Thanks everyone!! Erik - Original Message - From: Holst, Martina [EMAIL PROTECTED] To: Tomcat Users List

cgi-bin doesn't seem to work

2006-06-29 Thread Sarah Parrott
Hi, I'm trying to enable cgi on tomcat 5.5. I've uncommented the servlet and servlet mappings from the web.xml and renamed the server/lib/servelts- cgi.jar like it says in the howto, and then reinstalled tomcat. There didn't seem to be a cgi directory so I've put one in. It is at

exec'ing ksh from Servlet

2006-06-29 Thread Martin Gainty
Good Afternoon All- I am attempting to exec a kshell from a Servlet I execute it fine but do not see any output or error messages from catalina.out or my debug file (a redirect of output inside the kshell) In other words I have no clue as to what this kshell script is actually doing Any

Re: cgi-bin doesn't seem to work

2006-06-29 Thread Hassan Schroeder
On 6/29/06, Sarah Parrott [EMAIL PROTECTED] wrote: I'm trying to enable cgi on tomcat 5.5. I've uncommented the servlet and servlet mappings from the web.xml and renamed the server/lib/servelts- cgi.jar like it says in the howto, and then reinstalled tomcat. ?! ...and then reinstalled it?

Re: exec'ing ksh from Servlet

2006-06-29 Thread Leon Rosenberg
I suppose you use Runtime.exec() ? If yes, you should grab the process output and error streams from the resulting Process class: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html regards Leon On 6/29/06, Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon All- I am attempting

Re: exec'ing ksh from Servlet

2006-06-29 Thread Leon Rosenberg
Alas, the getInputStream and getOutputStream methods are mixed up, the getInputStream method gives you the stdout of the process and the getOutputStream - the stdin. Leon On 6/29/06, Leon Rosenberg [EMAIL PROTECTED] wrote: I suppose you use Runtime.exec() ? If yes, you should grab the process

Re: filter increase number of session

2006-06-29 Thread Leon Rosenberg
On 6/29/06, Enrico Giurin [EMAIL PROTECTED] wrote: Yes I have that, I know that in this way if I hadn't a session tomcat makes new one, but If I had one I keep the old session. So why for every request I have a new session on the server, and why only with IVR client and not using Jmeter like

Re: exec'ing ksh from Servlet

2006-06-29 Thread David Smith
How is that messed up? Makes perfect sense from the perspective of the calling java code and is consistent with input and output streams for files, network connections, etc., ... --David Leon Rosenberg wrote: Alas, the getInputStream and getOutputStream methods are mixed up, the

Re: filter increase number of session

2006-06-29 Thread Enrico Giurin
Yes maybe yours is the best solution, but I have still the problem that I don't understand the different behaviuor. Thanks, Enrico. - Original Message - From: Leon Rosenberg [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, June 29, 2006 7:17 PM Subject:

tomcat startup problem

2006-06-29 Thread IMRANKHAN
I am facing problem regarding tomcat startup. I started tomcat, from its log file it seems that tomcat server is running successfully but i can't browse the tomcat homepage that is http://206.225.93.187:8180(tomcat index page) says page can't be displayed. I came to find that tomcat5.pid is not

Re: tomcat startup problem

2006-06-29 Thread Edoardo Panfili
IMRANKHAN ha scritto: I am facing problem regarding tomcat startup. I started tomcat, from its log file it seems that tomcat server is running successfully but i can't browse the tomcat homepage that is http://206.225.93.187:8180(tomcat index page) says page can't be displayed. sorry for my

Re: filter increase number of session

2006-06-29 Thread Leon Rosenberg
On 6/29/06, Enrico Giurin [EMAIL PROTECTED] wrote: Yes maybe yours is the best solution, but I have still the problem that I don't understand the different behaviuor. :-) the grid for knowledge! the driving force behind each good developer! use tcpdump to examine requests from both clients

RE: tomcat startup problem

2006-06-29 Thread MW Janssen
Starting Coyote HTTP/1.1 on http-9099 so 9099 -Oorspronkelijk bericht- Van: Edoardo Panfili [mailto:[EMAIL PROTECTED] Verzonden: donderdag 29 juni 2006 19:39 Aan: Tomcat Users List Onderwerp: Re: tomcat startup problem IMRANKHAN ha scritto: I am facing problem regarding tomcat

Re: filter increase number of session

2006-06-29 Thread Leon Rosenberg
On 6/29/06, Leon Rosenberg [EMAIL PROTECTED] wrote: On 6/29/06, Enrico Giurin [EMAIL PROTECTED] wrote: Yes maybe yours is the best solution, but I have still the problem that I don't understand the different behaviuor. :-) the grid for knowledge! the driving force behind each good developer!

Re: exec'ing ksh from Servlet

2006-06-29 Thread Martin Gainty
I launch this process p_Run_Mapper = Runtime.getRuntime().exec(usr/bin/ksh,my.ksh); while( p_Run_Mapper.waitFor() != 0 ) { System.out.println(Inside p_Run_Mapper.waitFor() waiting for normal exit..); } while( p_Run_Mapper.exitValue() !=0 ) {

Re: filter increase number of session

2006-06-29 Thread David Smith
There is also the RequestDumperValve which would list out all the request headers/parameters/cookies/etc. that tomcat is receiving. See http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html. It does have a downside in that it locks you into the system's default encoding. :-( --David

Re: exec'ing ksh from Servlet

2006-06-29 Thread Leon Rosenberg
On 6/29/06, David Smith [EMAIL PROTECTED] wrote: How is that messed up? Makes perfect sense from the perspective of the calling java code and is consistent with input and output streams for files, network connections, etc., ... It would make perfect sense (imho), but than, whats with the

Re: exec'ing ksh from Servlet

2006-06-29 Thread Leon Rosenberg
On 6/29/06, Martin Gainty [EMAIL PROTECTED] wrote: I launch this process untested, but shows the way to go: p_Run_Mapper = Runtime.getRuntime().exec(usr/bin/ksh,my.ksh); InputStream processOutputStream = new BufferedInputStream(p_Run_Mapper.getInputStream()); while(

Simple problem

2006-06-29 Thread Saha Rabindra N
Hi All, I am using Apache Tomcat/4.1.31 version. I created a simple test application in webapps folder and that refers a simple javabean under WEB-INF/classes folder. But when I run the jsp page that refers the javabean, it does not find the class file for that bean. Now if I create a

Re: How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-29 Thread Hassan Schroeder
On 6/29/06, KHZ (SAW) [EMAIL PROTECTED] wrote: We've severe problems if a URL contains an umlaut. For URL usage we encode strings using UTF-8, i.e. ü (which would be uuml; in HTML) can be viewed as %c3%bc. Getting the request parameter I'ld expect the same string. But we see 2 characters.

Re: Error while connecting to MySQL database

2006-06-29 Thread navaneethan loganathan
Hi I am sorry, as I did not mention that I have root password for mysql. I have entered the root password(for mysql) in my db.properties file. I have specified in CLASSPATH as well for mysql connector in both $CATALINA_HOME/bin/setclasspath.sh and also the user's .bash_profile. Today morning I

Re: cgi-bin doesn't seem to work

2006-06-29 Thread Sarah Parrott
No, it didn't... I checked! On 29/06/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 6/29/06, Sarah Parrott [EMAIL PROTECTED] wrote: I'm trying to enable cgi on tomcat 5.5. I've uncommented the servlet and servlet mappings from the web.xml and renamed the server/lib/servelts- cgi.jar

Re: cgi-bin doesn't seem to work

2006-06-29 Thread Hassan Schroeder
On 6/29/06, Sarah Parrott [EMAIL PROTECTED] wrote: No, it didn't... I checked! uh, OK. Just seems totally backward to configure and then reinstall. In any case -- do you have a url-mapping in your web.xml for the cgi servlet? Is there anything being written to your log files when you try to

Memory Leak question - please help

2006-06-29 Thread John McClain
OK - I have spent a few weeks trying to track down a memory leak that is in our application. We see the leak in that the yourkit profiler shows an increasing trend in telemetry. BUT, in tyring to track it down, all the GC roots of the largest objects are coming from things like JDBC caches,

Re: Memory Leak question - please help

2006-06-29 Thread Darryl Miles
John McClain wrote: How do I know what memory is expected to be retained by Tomcat outside of my application classes There seems to be caches / pools / classloaders as almost every GC root. Is there some list out there that defines valid Catalina GC roots for a running webapplication?? If

Re: filter increase number of session

2006-06-29 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.

Re: Simple problem

2006-06-29 Thread Mark Thomas
Saha Rabindra N wrote: Can someone tell me if that is a bug in Tomcat, or I am missing something. You are missing the fact the the spec requires all classes to be in packages. Mark - To start a new topic, e-mail:

Re: cgi-bin doesn't seem to work

2006-06-29 Thread Mark Thomas
Sarah Parrott wrote: snip/ and put the program I want to run (Mapserver. The file is just called mapserv.) in that directory. When I go to http://localhost:8080/cgi-bin/mapserv I just get a blank page. No errors and not what I'm expecting to get. I've tried restarting tomcat, and playing