[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-03-02 Thread boa_ig
Thanks, 
Compression is work (in testing)
JBoss plans this function to add in Released?

sory for my bad English 

Oleg.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927418#3927418

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927418


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-03-02 Thread [EMAIL PROTECTED]
Yes,
http://jira.jboss.com/jira/browse/JBAS-2882

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927663#3927663

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927663


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-03-01 Thread boa_ig
 ! - A HTTP/1.1 Connector on port 8080 - 
   Connector port = 8080 address =  $ {jboss.bind.address} 
 compression = force
 compressableMimeType =  application/x-www-form-urlencoded, 
application/x-java-serialized-object
 maxThreads = 250 strategy = ms maxHttpHeaderSize = 8192
 emptySessionPath = true
 enableLookups = false redirectPort = 8443 acceptCount = 100
 connectionTimeout = 2 disableUploadTimeout = true / 
..
If to do(make) standart Tomcat, it is necessary Accept-Encoding , x-gzip, 
x-deflate, gzip, deflate

I have added in console\remote\Util.java, mq\il\http\HTTPClient.java, 
http\interface\Utils.java
conn.setRequestProperty (Accept-Encoding,  x-gzip, x-deflate, gzip, deflate 
);

Does not work
The server compresses the data
The client does not understand stream

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927081#3927081

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927081


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-03-01 Thread [EMAIL PROTECTED]
You need to conditionally wrap the input stream:


  |   URL url = new URL(http://localhost:8080/invoker/JNDIFactory;);
  |   URLConnection conn = url.openConnection();
  |   conn.setRequestProperty(Accept-Encoding, x-gzip, x-deflate, gzip, 
deflate, identity);
  |   InputStream is = conn.getInputStream();
  |   MapString, ListString headers = conn.getHeaderFields();
  |   System.out.println(headers);
  |   System.out.println(is);
  |   ListString encoding = headers.get(Content-Encoding);
  |   boolean gzip = encoding.contains(gzip);
  |   if( gzip )
  |  is = new GZIPInputStream(is);
  |   ObjectInputStream ois = new ObjectInputStream(is);
  |   Object proxy = ois.readObject();
  |   System.out.println(proxy);
  |   is.close();
  |   ois.close();
  | 
  | ...
  | 
  | {X-Powered-By=[Servlet 2.4; JBoss-4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 
date=200602271624)/Tomcat-5.5], Content-Encoding=[gzip], Date=[Wed, 01 Mar 2006 
16:36:59 GMT], null=[HTTP/1.1 200 OK], Server=[Apache-Coyote/1.1], 
Content-Type=[application/x-java-serialized-object; 
class=org.jboss.invocation.MarshalledValue], Transfer-Encoding=[chunked], 
Vary=[Accept-Encoding]}
  | [EMAIL PROTECTED]
  | [EMAIL PROTECTED]
  | 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927157#3927157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927157


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-02-28 Thread boa_ig
Prompt where to search.

It can be made whether or not?

Please Help

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926770#3926770

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926770


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-02-28 Thread boa_ig
I use example, org.jboss.test.hello testsuite package, is an example of using 
the HttpInvoker to configure a stateless session bean to use the RMI/HTTP 
protocol. How to me to add compression for RMI?

sory my bad English

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926772#3926772

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926772


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-02-28 Thread [EMAIL PROTECTED]
Look into the compression option on the tomcat http connector.
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926836#3926836

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926836


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-02-27 Thread Mich0
Hi!

I also use CompressionSocketFactory in case of JRMPInvoker. 
How can I use compression in HttpInvoker without changes in jboss kernel? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926696#3926696

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926696


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: HttpInvokers Data Compression using GZIP streams

2006-02-19 Thread boa_ig
HI Jani

I now have problem with CompressionSocketFactory HttpInvoker.
Prompt, how you managed her(it) to realize?

Oleg.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924946#3924946

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924946


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user