Re: manager and host manager not available problem

2007-04-14 Thread Johnny Kewl
try http://localhost:8080/manager/html Should be able to see the links used if you http://localhost:8080/ and look at what they have use on default helper page have fun - Original Message - From: "Zhenja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 14, 2007 6:17

Re: sending smtp mail failure

2007-04-14 Thread Johnny Kewl
Here is a little framework that u can play with MimeMessage msg = new MimeMessage(session); msg.setFrom(new InternetAddress(from)); msg.addRecipient(Message.RecipientType.TO, new InternetAddress(to)); msg.setSubject(subject); msg.setSentDate(new Date()); /

Re: sending smtp mail failure

2007-04-14 Thread Mighty Tornado
Thanks for responding, there something wrong with my code? This is my code: import java.util.*; import java.io.*; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; public class TimeTravelMailer { public void sendMessage() { String to = "[EMAIL PROTECT

Re: Error message

2007-04-14 Thread dfarris
Thanks for responding; I am using 1.4.2 with TOMCAT 5.0.28 Dwight Quoting Martin Gainty <[EMAIL PROTECTED]>: Dwight- Must be too much heat because I havent seen this since IBM J2RE 1.4.2 Which JDK are you using? Which version Tomcat? M-- This email message and any files transmitted with it co

Re: Stuck in SYN_RECV when binding to ip

2007-04-14 Thread robert lazarski
On 4/13/07, robert lazarski <[EMAIL PROTECTED]> wrote: tcp0 0 192.168.3.53:8080 xxx.xxx.118.243:8368 SYN_RECV- This turned out to be a routing issue. I had to add a second default gw , which created other problems but at least the mystery is solved. Robert

Tomcat with JBuilder: Basic authorization

2007-04-14 Thread [EMAIL PROTECTED]
Hello, i wish to find out what happens with this topic: i'm developing a web application with JBuilder 2006 with Tomcat 5.5.9 included. In the web.xml i have this: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/x

RE: getResourceAsStream returning blank (NOT NULL)

2007-04-14 Thread Tim Lucia
> -Original Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 14, 2007 2:51 PM > To: Tomcat Users List > Subject: Re: getResourceAsStream returning blank (NOT NULL) > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tim, > > Tim Lucia wrote: >

Re: manager and host manager not available problem

2007-04-14 Thread Rashmi Rubdi
On 4/14/07, Zhenja <[EMAIL PROTECTED]> wrote: However there is no such path existing ${catalina.home}/server/webapps/manager. Neither I cound find it from installation files. Agreed, in Tomcat 6.0.10 there's no such path. However this path was there in Tomcat 5.x. Tomcat 6.0.10 has been releas

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Lucia wrote: >> From: Johnny Kewl [mailto:[EMAIL PROTECTED] >> InputStream in = getClass().getResourceAsStream(sPackageNameWithSlashes); >> >> If the class name is com.myCo.data >> >> You put it in like this /com/myCo/data >> >> Also because

Re: manager and host manager not available problem

2007-04-14 Thread Zhenja
ok, now I can see contents of directory. But his is really not my goal. I want my manager and host-manager apps to run. Also on manager page following links give me 404 error: HTML Manager Help and Manager Help, which link to http://localhost:8080/manager/html-manager-howto.html and http://localhos

Re: manager and host manager not available problem

2007-04-14 Thread Rashmi Rubdi
Look in Manager's app's web.xml there's a URL pattern /html/* , that URL is reletive to the /manager context, that's why you can access the HTML manager at /manager/html You should easily be able to find the manager app from the default Tomcat page at http://localhost:8080/ by clicking on "Tomcat

Re: manager and host manager not available problem

2007-04-14 Thread Rashmi Rubdi
On 4/14/07, Zhenja <[EMAIL PROTECTED]> wrote: I am able to go to http://localhost:8080/manager/html. On this page I have 4 applications listed: docs, examples, manager and host-manager. I can browse to docs and examples. But when I try to browse to manager or host-manager, I get error 404. Set

Re: manager and host manager not available problem

2007-04-14 Thread Zhenja
I also noted that file Tomcat6.0\webapps\manager\manager.xml has following contents: However there is no such path existing ${catalina.home}/server/webapps/manager. Neither I cound find it from installation files. Can somebody explain - what is happening here? Regards, Zhenja "Zhenja" <

Re: manager and host manager not available problem

2007-04-14 Thread Zhenja
I am able to go to http://localhost:8080/manager/html. On this page I have 4 applications listed: docs, examples, manager and host-manager. I can browse to docs and examples. But when I try to browse to manager or host-manager, I get error 404. I had in my tomcat-users.xml already entry I've add

Re: manager and host manager not available problem

2007-04-14 Thread Rashmi Rubdi
The correct default URL for the manager app on Tomcat 6.0.10 is http://localhost:8080/manager/html , I'm able to access it after a fresh install of Tomcat. You also need to add an entry into tomcat-users.xml located under ...\apache-tomcat-6.0.10\conf\ Something like: -Rashmi On 4/14/

manager and host manager not available problem

2007-04-14 Thread Zhenja
Hi all! I have installed Tomcat 6.0.10 on Windows XP as windows service. I can browse to examples and they are running. But when I browse to /manager or /host-manager I get error 404 - The requested resource is not available. Please help. Regards --

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
Hi The firewall on my laptop pc used is norton internet security 2005. It is running on a danish windows xp. It is possible it has some customized settings controlled by the administrators. regards Christian On 4/14/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/14/07, Christian Hvitved

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Hassan Schroeder
On 4/14/07, Christian Hvitved <[EMAIL PROTECTED]> wrote: It was my firewall Another thing is, that I think this is a big problem if many firewalls make it impossible to compress responses using the accept-encoding header. Can you clarify what kind of "firewall" you're talking about? Desktop

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
Hi And thanks for all the quick help. It turned out to be a really rookie mistake. It was my firewall, that was changing my request. I have to try to defend myself for being so stupid. I am using a coorparate machine where I cant see the firewall in the tray, so I thought no firewall was runnin

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Martin Gainty
Good Morning Kristian- if by weird you mean "you dont understand" then take a look at http://www.xml.com/pub/a/2005/06/22/sparklines.html?page=last According to this link a response of dashes is interpreted as "0 bytes returned" A few basic questions: Is the server xmitting using HTTP 1.0? In

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
Thank you very much for the comments. But I'm still not sure why I have problems reading the Accept-Encoding header on the server. My problem is when I recieve the request on the server (And I know by using a proxy that the request contains an Accept-Encoding header). At the server I cannot read