Re: where is a text/html;charset= ?

2005-10-12 Thread Mark
Thanks Jon,

 text/html;charset= is not there yet...

Here what I've got:

HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=95EA4260325D4C1FCBF8196773A4BED3; Path=/
Content-Length: 478
Date: Wed, 12 Oct 2005 20:34:37 GMT
Server: Apache-Coyote/1.1
Connection: close

Hello Test4


Mark.


--- Jon Wingfield <[EMAIL PROTECTED]> wrote:

> You need to submit a valid HTTP request. Yours doesn't have the
> version 
> at the end of the request line.
> 
> Try:
> 
> GET / HTTP/1.0
> 
> 
> (Thats a two linefeeds: one marking the end of the request line and
> one 
> blank line indiating the end of the http headers)
> You should then see the HTTP response, headers and all.
> If you want to submit HTTP/1.1 requests you need to submit some 
> mandatory headers (Host and maybe Date) otherwise you get a 400
> back.
> 
> $ telnet
> telnet> open localhost 8080
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GET / HTTP/1.1
> 
> HTTP/1.1 400 Bad Request
> Transfer-Encoding: chunked
> Date: Wed, 12 Oct 2005 17:26:36 GMT
> Server: Apache-Coyote/1.1
> Connection: close
> 
> 0
> 
> Alternatively you can use plug-ins for Mozilla/Firefox and IE which
> 
> allow you to see the raw response:
> 
> http://livehttpheaders.mozdev.org/
> http://www.blunck.info/iehttpheaders.html
> 
> HTH,
> 
> Jon
> 
> Mark wrote:
> > Hi everybody,
> > 
> > How can I see the complete output stream for each http request?
> > 
> > I tried:
> > --
> > $telnet localhost 8080
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > GET /
> > Hello Test4
> > -
> > Where is a "text/html;charset=..."? or I'm missing something?
> > 
> > Thanks,
> > Mark.
> > 
> > 
> > 
> > __ 
> > Yahoo! Music Unlimited 
> > Access over 1 million songs. Try it free.
> > http://music.yahoo.com/unlimited/
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> 
> 
> 
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: where is a text/html;charset= ?

2005-10-12 Thread Jon Wingfield
You need to submit a valid HTTP request. Yours doesn't have the version 
at the end of the request line.


Try:

GET / HTTP/1.0


(Thats a two linefeeds: one marking the end of the request line and one 
blank line indiating the end of the http headers)

You should then see the HTTP response, headers and all.
If you want to submit HTTP/1.1 requests you need to submit some 
mandatory headers (Host and maybe Date) otherwise you get a 400 back.


$ telnet
telnet> open localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1

HTTP/1.1 400 Bad Request
Transfer-Encoding: chunked
Date: Wed, 12 Oct 2005 17:26:36 GMT
Server: Apache-Coyote/1.1
Connection: close

0

Alternatively you can use plug-ins for Mozilla/Firefox and IE which 
allow you to see the raw response:


http://livehttpheaders.mozdev.org/
http://www.blunck.info/iehttpheaders.html

HTH,

Jon

Mark wrote:

Hi everybody,

How can I see the complete output stream for each http request?

I tried:
--
$telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /
Hello Test4
-
Where is a "text/html;charset=..."? or I'm missing something?

Thanks,
Mark.



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.

http://music.yahoo.com/unlimited/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



where is a text/html;charset= ?

2005-10-12 Thread Mark
Hi everybody,

How can I see the complete output stream for each http request?

I tried:
--
$telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /
Hello Test4
-----
Where is a "text/html;charset=..."? or I'm missing something?

Thanks,
Mark.



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread Robert Koberg

David Smith wrote:

2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore.


Using the schema does not necessarily mean order is not important. It is 
just the way it was designed.


One thing that is strange is that the key/keyref constraints for 
servlet/filter names for definitions and mappings have been removed 
(they were there in earlier versions (though the version has not 
changed)). Anybody know why you can have a servlet or filter name in a 
mapping that has not been defined and yet have a valid web.xml?


best,
-Rob




--David

Scott Purcell wrote:



Hello,
Is there a quick reference, or somewhere one can go to get a listing of the 
element order for the 2.4 dtd?

I already have a bunch of  in my web.xml and I want to add a 
 but I forgot where it goes and I can't seem to google it up today?

Anyone know?

Thanks,
Scott


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread David Smith
2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore.

--David

Scott Purcell wrote:

>Hello,
>Is there a quick reference, or somewhere one can go to get a listing of the 
>element order for the 2.4 dtd?
>
>I already have a bunch of  in my web.xml and I want to add a 
> but I forgot where it goes and I can't seem to google it up today?
>
>Anyone know?
>
>Thanks,
>Scott
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


-- 
===
David Smith
Network Operations Supervisor
Department of Entomology
College of Agriculture & Life Sciences
Cornell University
2132 Comstock Hall
Ithaca, NY  14853
Phone: 607.255.9571
Fax: 607.255.0939


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread Scott Purcell
Hello,
Is there a quick reference, or somewhere one can go to get a listing of the 
element order for the 2.4 dtd?

I already have a bunch of  in my web.xml and I want to add a 
 but I forgot where it goes and I can't seem to google it up today?

Anyone know?

Thanks,
Scott

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where Is A ...

2005-08-26 Thread Eugene Poole

Thanks, that's just what I needed.

Gene
[EMAIL PROTECTED]


David Delbecq wrote:


Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit :
 

Where is a exact example of how to do the jndi, jdbc datasource, and the 
reseorce ref necessary to get a database connection to a Oracle9i 
database from Tomcat 5.0.28?


   



http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

section Oracle 8i juste below MYsql should fit your needs.

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where Is A ...

2005-08-26 Thread David Delbecq
Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit :
> Where is a exact example of how to do the jndi, jdbc datasource, and the 
> reseorce ref necessary to get a database connection to a Oracle9i 
> database from Tomcat 5.0.28?
> 

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

section Oracle 8i juste below MYsql should fit your needs.

> Gene
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where Is A ...

2005-08-26 Thread Eugene Poole
Where is a exact example of how to do the jndi, jdbc datasource, and the 
reseorce ref necessary to get a database connection to a Oracle9i 
database from Tomcat 5.0.28?


Gene
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?

2003-10-16 Thread Johan Kok
QUick try --

Load apache with these and get that to work. After that switch back to IIS.

> -Original Message-
> From: Antony Paul [mailto:[EMAIL PROTECTED]
> Sent: 14 October 2003 12:53
> To: Tomcat Users List
> Subject: Can any one tell where is a simple Tomcat + IIS how to using
> Coyote/JK2 AJP 1.3?
>
>
> Hi all,
> I tried configuring Tomcat 4.1.27 + IIS 5.0 using JK
> connector(isapi_redirector.dll) as per the documentation on
> the onjava.com
> (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html).
> But failed.
> Thinking that it may be a problem with DLL I went to download
> it again. But
> no bianry version of it is availble at the site jakarta download site.
> Currently only Coyote JK2(isapi_redirector2.dll) is provided.
> So I tried
> with JK2 again no result and IIS shows it is not loading the
> DLL in the
> filter(There is a red down arrow).
>
> Antony Paul
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?

2003-10-14 Thread Thorsten Westmeier
Hi,

I can help you only with Tomcat, IIS + JK1 1.2.4

By the way, if anyone knows, what to change to use 1.2.5, please help!!!
Simply replacing the dll is not enough, but what else is to do?
1. Make sure, that Tomcat and IIS run correct "as standalone Versions" .
   Try http:/localhost/ and an IIS-Screen should appear.
   Try http:/localhost:8080/ and a Tomcat screen should appear.
2. Download the isapi_redirector.
I have problems with the brand new 1.2.5, so you should first try the 
version 1.2.4 and try to upgrade later if it works.

3. Copy isapi_redirector.dll, workers.properties and 
uriworkermap.properties in Tomcat/conf

workers.properties:
---
worker.list=Worker
worker.Worker.port=8009
worker.Worker.host=localhost
worker.Worker.type=ajp13
uriworkermap.properties:
---
/pmviewer/*=Worker
/pmviewer/*.jsp=Worker
/pmhelp/*=Worker
/pmhelp/*.jsp=Worker
4. Registry-Entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\1.0

extension_uri   /tomcat/isapi_redirector.dll
log_fileD:\\Tomcat4.1\\logs\\jk_iis.log
log_level   Debug
worker_file D:\\Tomcat4.1\\conf\\workers.properties
worker_mount_file   D:\\Tomcat4.1\\conf\\uriworkermap.properties
5. Create Virtual-Directory and Isapi-Filter-Entry as described in the 
OnJava Article.

6. For newer Tomcat Versions ( 4.1.12 or 4.1.18, I think) you have to 
change the server.xml:

a) deactivate JMX MBeans support, to avoid Error-Mesages

  
  

b) Change the default AJP 1.3 Connector back from JK2





7. Restart IIS and Tomcat or better the whole machine.

8. Let me know, if it works  :)

Good Luck,
Thorsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?

2003-10-14 Thread Antony Paul
Hi all,
I tried configuring Tomcat 4.1.27 + IIS 5.0 using JK
connector(isapi_redirector.dll) as per the documentation on the onjava.com
(http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html). But failed.
Thinking that it may be a problem with DLL I went to download it again. But
no bianry version of it is availble at the site jakarta download site.
Currently only Coyote JK2(isapi_redirector2.dll) is provided. So I tried
with JK2 again no result and IIS shows it is not loading the DLL in the
filter(There is a red down arrow).

Antony Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache 2.0.43 and Mod_jk (where is a compatible pre-compiledmod_jk for this version of apache)?

2003-01-16 Thread Lajos Moczar
Jim -

Did you try 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/?

There are some for 2.0.43 there.

Lajos


[EMAIL PROTECTED] wrote:
Is there a precompiled mod_jk for Apache 2_0_43?

or better yet where can I get the source for mod_jk that will compile the
module for Apache 2_0_43

I get this error:

httpd
httpd: module "mod_jk.c" is not compatible with this version of Apache
(found 20020628, need 20020903).
Please contact the vendor for the correct version.


Thanks




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 





--



   Lajos Moczar
  
Open Source Support, Consulting and Training

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Apache 2.0.43 and Mod_jk (where is a compatible pre-compiled mod_jk for this version of apache)?

2003-01-16 Thread [EMAIL PROTECTED]
Is there a precompiled mod_jk for Apache 2_0_43?

or better yet where can I get the source for mod_jk that will compile the
module for Apache 2_0_43

I get this error:

httpd
httpd: module "mod_jk.c" is not compatible with this version of Apache
(found 20020628, need 20020903).
Please contact the vendor for the correct version.


Thanks




--
To unsubscribe, e-mail:   
For additional commands, e-mail: