Re: servlet url pattern problem!

2007-04-05 Thread jacky
It is amazing! Thanks, i will look into it to find out what is the problem. On 4/5/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: If you compile the Servlet class and Re-start Tomcat after defining the mapping in web.xml it should work. I tried the following and it works:

Re: Need help with authentication

2007-04-05 Thread Kenneth Westelinck
Yes! It is working! Thank you all for your help. Sorry for being such a nag.

Re: problem in handlins request for JK2

2007-04-05 Thread Johnny Kewl
Hello Sunil, I'm not sure if I understand what you trying to do... If you want Apache to authenticate there should be something like this in httpd.conf Location /secure AuthType basic AuthName japan area AuthBasicProvider dbm AuthDBMType SDBM AuthDBMUserFile /www/etc/dbmpasswd Require

Re: Version of Java being used by Tomcat

2007-04-05 Thread Aneez Backer
thanks..that helped !!! aneez Martin Gainty [EMAIL PROTECTED] wrote: sorry.. http://TomcatHost:8080/manager/html (look at JVM Version at bottom of screen) Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom

Re: problem in handlins request for JK2

2007-04-05 Thread sunil chandran
hello Johnny, I am sorry to confuse you... see my problem is that i used mod_auth_kerb for implementing single sing-on in a Japan server.i finsihed the project..then we found the problem ... that module works only in Apache and not in tomcat.so we needed something to connect Apache and tomcat

Re: IIS 7.0

2007-04-05 Thread Stefan Wachter
Hi Mladen (and other experts), many thanks for the information. After much mess I manged to integrate Tomcat into IIS 7.0 once. In order to rectify things I tried to do the integration again starting with a plain Vista Ultimate installation. Yet, I did not succeed again! Here is what I did: 1.

Unable to view list of deployed services

2007-04-05 Thread Aneez Backer
Hi Am trying to deploy Kandula1 on Axis server using Tomcat. After deploying, I am able to view the list of services, but NOT the WSDL of any of the service. The error given in LOG file of Tomcat is at the end of mail. I am using the following softwares: 1)j2sdk1.4.2_03 2)Apache Tomcat

Re: How to trace successful ssl handshake?

2007-04-05 Thread Julien Gaulon
Great!! Thanks Filip. Just one question more, do you know how to log this information with log4j? Because here I have all infos on the console but i also want to save it in a file. Best Regards, Julien. Original-Nachricht Datum: Wed, 04 Apr 2007 17:01:14 -0600 Von: Filip

Re: problem in handlins request for JK2

2007-04-05 Thread Johnny Kewl
Ah... I think I understand, but I have never setup Kerberos before so I have to guess. I think you are protecting the Directory locations with Kerberos. BUT then just connecting the web to Tomcat. I think that kerberos stuff has to also be in the Location of the Tomcat URI see the second

mod_jk 1.2.21 - minor error in status page

2007-04-05 Thread Henk Fictorie
Hi, We have just upgraded to mod_jk 1.2.21 and I've discovered a minor error in the status page. The status page lists the URI mappings for each loadbalancer/worker. This is not working correctly at our site. Setup: Sun Solaris 8, Apache 2.0.59, mod_jk 1.2.21 We have two virtualhosts defined

java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to test some examples. I changed default 8080 port in server.xml, which was also giving same error. These are the lines that I changed: Server port=8015 shutdown=SHUTDOWN debug=0 Connector port=8090

Restricying debug connections to tomcat

2007-04-05 Thread Pai
Hello, Is there any way i can restrict debug connections to tomcat by some modification in tomcat configuration files itself..? Like for ex, i'd want to accept debug connections fro ip1 and ip2, but not from other ips. Please help. Pai -- View this message in context:

RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Alvarez, Mike
Have you verified that something other than tomcat is not using that port? Shut down tomcat and then telnet to that port (e.g. telnet [hostname] [port#] Example: telnet localhost 8080) -Original Message- From: mallika guliani [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007

RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Propes, Barry L
are you running another JVM simultaneously? -Original Message- From: mallika guliani [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 11:18 AM To: tomcat-user@jakarta.apache.org Subject: java.net.BindException: Address already in use: JVM_Bind:8090 I configured Tomcat/5.0.28 in

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread David Smith
On a linux system, netstat should help you figure out which ports are in use already. I use this on my Mandriva linux systems: netstat -tlnp On Windows systems, tcpview should help figure out what ports are occupied. It was hosted on the SysInternals website, but Microsoft acquired it, so

Re: mod_jk 1.2.21 - minor error in status page

2007-04-05 Thread Rainer Jung
Hi Henk, your analysis is right, it's a known deficiency and not easy to fix (not in 1.2.x). A couple of releases ago we added a note in the status worker docs page http://tomcat.apache.org/connectors-doc/reference/status.html Special Considerations concerning URL Maps and Virtual Hosts

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
Thanks David. tcpview is a great utility. After stopping Tomcat, I saved the list of ports occupied but there is no 8080 and 8090 in the list. When I started Tomcat, tcpview started showing 8090, 8015 and 8009 in the list. Any idea what to do next? Thanks, Mallika David Smith [EMAIL

RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
When I start JBoss, tcpview shows 8080 being used. But I have in 8090 in Server.xml which starts showing in tcpview when I start Tomcat. Alvarez, Mike [EMAIL PROTECTED] wrote: Have you verified that something other than tomcat is not using that port? Shut down tomcat and then telnet to that

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread David Smith
Hmmm... wierd. I can only guess at what might be happening: 1. You have two connectors configured in tomcat on the same port. The first will succeed, the second will fail. 2. There's a double launch of tomcat. The first succeeds, the second fails. 3. I've seen your posts mention JBoss,

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
David, it works now. I had to change port to 8090 in one more place: !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- !-- Connector port=8090 maxThreads=150 minSpareThreads=25

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Venky Vasant
go to your task manager and see if a java process still running if it is kill it before you restart Venkat - Original Message From: mallika guliani [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, April 5, 2007 11:18:20 AM Subject: java.net.BindException: Address

Tomcat 6 User Connected

2007-04-05 Thread Hoa Doan
How do you find out how many user are connected to the server? Do you get a thread count? if so how do you do that? - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.

Re: How to redirect to stub page when app unavailable?

2007-04-05 Thread Hassan Schroeder
On 4/4/07, Darren Kukulka [EMAIL PROTECTED] wrote: I'm trying to formulate a clever method of providing a stub page, 'under maintenance' if you will, for when we are building a new version of a Tomcat served application : i.e. when Tomcat is offline - I haven't used mod_jk for a long time,

Re: Tomcat 6 User Connected

2007-04-05 Thread Rashmi Rubdi
Tomcat Manager shows the number of Sessions per site, I think it includes both the number of browser and bots connected to the site. You might want to consider a Javascript based solution to track only browsers. -Rashmi On 4/5/07, Hoa Doan [EMAIL PROTECTED] wrote: How do you find out how many

Re: Tomcat 6 User Connected

2007-04-05 Thread Martin Gainty
Fairly certain the datasource and connection information you're looking for is implemented in Lambda http://www.lambdaprobe.org/d/index.htm M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is

Re: Tomcat 6 User Connected

2007-04-05 Thread Johnny Kewl
By definition HTTP is connectionless, so there isnt really a true user count. A user reading, is busy but not in the server. If you want to monitor all users you need to use cookies. If you want to monitor concurrent users, then you could have a little thread safe routine at the start and end

Not sure how I disable manager webapp

2007-04-05 Thread Srinivas Visvanathan
Hello I'm a tomcat newbie and having been working on tomcat 5.5 for a few months. I downloaded the tar-gz and setup a personal website. I disabled the manager webapp a while back. Now I want to enable the manager webapp again, but I can't seem to remember what I did (a few months ago) to disable

Re: Not sure how I disable manager webapp

2007-04-05 Thread David Smith
Do you still have a manager.xml file in $CATALINA_HOME/conf/[EngineName]/[HostName] ? Deleting that would effectively disable manager. --David Srinivas Visvanathan wrote: Hello I'm a tomcat newbie and having been working on tomcat 5.5 for a few months. I downloaded the tar-gz and setup a

IDE

2007-04-05 Thread David Short
I'm sure this question has been asked many times. So, I apologize in advance. Can anyone recommend a freeware Java/JSP/JSF IDE that is compatible with Apache and Tomcat? Thanks in advance. Dave

Re: IDE

2007-04-05 Thread David Smith
I don't do anything with jsf (yet), but have done a lot of work with NetBeans. It does a very nice job. --David David Short wrote: I'm sure this question has been asked many times. So, I apologize in advance. Can anyone recommend a freeware Java/JSP/JSF IDE that is compatible with Apache

Re: IDE

2007-04-05 Thread Rashmi Rubdi
NetBeans and Eclipse are the most popular ones. http://www.netbeans.org/ + Visual Web Pack http://www.netbeans.org/products/visualweb/ http://www.eclipse.org/proposals/eclipse-jsf/ jEdit is great with macros and vertical copy-paste, but it's a plain-text editor. -Rashmi

Re: Tomcat hiding director

2007-04-05 Thread Hoa Doan
I don't want to block people from accessing my site, I just want to block access to folder. And I can't find .htaccess anywhere, is it something you install serparetly? Rashmi Rubdi [EMAIL PROTECTED] wrote: I don't think .htaccess works with Tomcat alone -- doesn't it require Apache as well?

Re: Tomcat hiding director

2007-04-05 Thread Martin Gainty
If you're on Windows box write the filter But then again if you're on a Unix box I would try .htaccess Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received

Re: Tomcat hiding director

2007-04-05 Thread Rashmi Rubdi
On 4/5/07, Hoa Doan [EMAIL PROTECTED] wrote: I don't want to block people from accessing my site, I just want to block access to folder. And I can't find .htaccess anywhere, is it something you install serparetly? This is the official .htaccess tutorial :

Disabling Cookies/enabling jsessionid

2007-04-05 Thread Kristopher Briscoe
All: Have an interesting issue. We have an application that was deployed prior to my arrival to the company. When the application was first deployed the admins left cookies=true enabled in server.xml. Our applications are primarily used by phones/wap devices. These devices store their

Re: Disabling Cookies/enabling jsessionid

2007-04-05 Thread Rashmi Rubdi
If you disable cookies in the client's browser then jsessionid get appended to the URL. I've tested this on IE and Firefox, there might be a way to disable cookies in WAP browsers too. -Rashmi - To start a new topic, e-mail:

RE: Disabling Cookies/enabling jsessionid

2007-04-05 Thread Kristopher Briscoe
Thanks for the response. The problem is that when the wap device passes the cookie on the initial setup tomcat sees this and even though cookies are disabled - doesn't set a jsessionid. Do you know if there is a directive or config parameter I can put in server.xml that forces the creation and

Re: Disabling Cookies/enabling jsessionid

2007-04-05 Thread Rashmi Rubdi
The only setting I know of in server.xml (or in the Context xml file) is setting cookies=false for example: Context docBase=C:/dev/projects/01Practice/__source reloadable=true cookies=false/ According to the definition of the cookies attribute:

sending smtp mail failure

2007-04-05 Thread Mighty Tornado
Hi, I set up a small web app and the servlet is supposed to send an email using JavaMail. But I am getting exceptions - Connection Timed out every time. I am using Gmail as an smtp server to bounce emails off. How can I avoid the Connection Timed out exception? Could it be because of my