Patch uploaded, Harmony-1501. :-)
On 9/19/06, Stepan Mishura [EMAIL PROTECTED] wrote:
On 9/19/06, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:
On Sep 19, 2006, at 2:13 AM, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
Do you mean we will check the jetty jars into
On 9/19/06, Stepan Mishura [EMAIL PROTECTED] wrote:
On 9/19/06, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again.
On 9/20/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/19/06, Stepan Mishura [EMAIL PROTECTED] wrote:
On 9/19/06, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang
On 9/18/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the job
if
no one objects. Here are
On Sep 19, 2006, at 2:13 AM, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
Do you mean we will check the jetty jars into Harmony svn?
Yes. Is it OK? Or put the jar in depends folder?
On 9/19/06, Richard Liang wrote:
On 9/18/06, Geir Magnusson Jr. wrote:
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the
job
if
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the job if
no one objects. Here are my suggestions:
1. jetty version: I suggest that Harmony adopt jetty 6. Because many
5.xAPIs are deprecated in jetty 6, we'd better follow latest jetty
version.
2. location to put jetty
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the job if
no one objects. Here are my suggestions:
Great :-)
1. jetty version: I suggest that Harmony adopt jetty 6. Because many
5.xAPIs are deprecated in jetty 6, we'd
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the job
if
no one objects. Here are my suggestions:
Great :-)
1. jetty version: I suggest that Harmony adopt jetty 6.
Andrew Zhang wrote:
On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote:
On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi,
It's me again. Seems no big progress on jetty. I'd like to take the job
if
no one objects. Here are my suggestions:
Great :-)
1. jetty version: I suggest that
2006/8/17, Richard Liang [EMAIL PROTECTED]:
Andrew Zhang wrote:
Hi folks,
I'd like to say something more about jetty integration. We should
reach an
agreement on how to integrate/use jetty in Harmony. There are some
concerns
I can image now:
1. Where to put jetty? support or luni
On 8/17/06, Andrew Zhang wrote:
Hi folks,
I'd like to say something more about jetty integration. We should reach an
agreement on how to integrate/use jetty in Harmony. There are some
concerns
I can image now:
1. Where to put jetty? support or luni module or somewhere else? It
depends
on
On 8/17/06, Stepan Mishura [EMAIL PROTECTED] wrote:
On 8/17/06, Andrew Zhang wrote:
Hi folks,
I'd like to say something more about jetty integration. We should reach
an
agreement on how to integrate/use jetty in Harmony. There are some
concerns
I can image now:
1. Where to put jetty?
On 8/8/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
yes, jetty has kept that as a goal, while Tomcat has built out and
expanded its options and configurations.
jetty also doesn't implement any JSP logic, only http and servlet.
creating a custom light-weight tomcat, may be more work than
Might be related to this topic:
http://issues.apache.org/jira/browse/HARMONY-1186
[classlib][nio] unable to Http connect to Jetty server on Harmony
Thanks,
Mikhail
2006/8/16, Andrew Zhang [EMAIL PROTECTED]:
On 8/8/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
yes, jetty has kept that
Hi folks,
I'd like to say something more about jetty integration. We should reach an
agreement on how to integrate/use jetty in Harmony. There are some concerns
I can image now:
1. Where to put jetty? support or luni module or somewhere else? It depends
on question 2.
2. How to use jetty? How
Andrew Zhang wrote:
Hi folks,
I'd like to say something more about jetty integration. We should
reach an
agreement on how to integrate/use jetty in Harmony. There are some
concerns
I can image now:
1. Where to put jetty? support or luni module or somewhere else? It
depends
on question
Filip Hanik - Dev Lists wrote:
as a lurker, any reason for not choosing Tomcat, as it already is an
ASF project?
I'd be happy to help out with that effort,
IMHO, we only need an embedded light-weighted server for unit testing
purpose, which could be run in the same process of Harmony unit
Hi Filip,
We want to use jetty to eliminate any external dependency, which means we do
not need to start an external web server when we run Harmony test. Jetty is
suitable for this job, while tomcat may not work. Furthermore, jetty is
lightweight, and can be easily integrated to Harmony from
Guys,
Does somebody have numbers why Jetty is so light-weighted comparing to
Tomcat? I believe Tomcat can also be executed directly from Java code.
And a lot of stuff can also be removed from Tomcat - connectors,
examples and so on. Am I wrong?
Regards,
2006/8/8, Andrew Zhang [EMAIL
AFAIK embedding Tomcat is an easy task too.
Examples:
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html?page=1
http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/startup/Embedded.html
but you have to add a lot of JAR files to make it work:
-
yes, jetty has kept that as a goal, while Tomcat has built out and
expanded its options and configurations.
jetty also doesn't implement any JSP logic, only http and servlet.
creating a custom light-weight tomcat, may be more work than needed, I
can look into that.
I'd be happy to look into
Hi Andrew,
It seems a big problem to me. :) I haven't find any solution yet.
Futhurmore, ftp server also needs to be substituted. Do you have any
suggestions?
No! This is why I have asked you :)
Have you heard about Apache FTP server [1]? Just found this in Google.
It has the right words in
Alexei Zakharov wrote:
Hi Andrew,
It seems a big problem to me. :) I haven't find any solution yet.
Futhurmore, ftp server also needs to be substituted. Do you have any
suggestions?
No! This is why I have asked you :)
Have you heard about Apache FTP server [1]? Just found this in Google.
Alexei, sorry for my late reply.
It seems a big problem to me. :) I haven't find any solution yet.
Futhurmore, ftp server also needs to be substituted. Do you have any
suggestions?
Anyway, let's start from http server -- jetty. :) Any committers would like
to integrate jetty to Harmony? Thanks!
On 8/8/06, Andrew Zhang wrote:
Alexei, sorry for my late reply.
It seems a big problem to me. :) I haven't find any solution yet.
Futhurmore, ftp server also needs to be substituted. Do you have any
suggestions?
Anyway, let's start from http server -- jetty. :) Any committers would
like
to
as a lurker, any reason for not choosing Tomcat, as it already is an ASF
project?
I'd be happy to help out with that effort,
Filip
Andrew Zhang wrote:
Alexei, sorry for my late reply.
It seems a big problem to me. :) I haven't find any solution yet.
Futhurmore, ftp server also needs to be
Hi folks,
I volunteer to work on excluded tests in luni module, most of which are
dependent on external servers(http server, socks proxy and etc.).
As we discussed some months earlier, we'd integrate Jetty to Harmony test
framework for eliminating external http server, but seems no more
Geir Magnusson Jr wrote:
This thread was a long read :)
First, I'm all for using Jetty as our test server (I think we talked
about this a long time ago...). We could even use Tomcat, but my
experience in the past was that Jetty was very easy to emebed. By
default, there should be no
Good day,
I assume that we can have a test script config file to define the server
location. We can have the default mode be starting the Jetty server on
localhost (a.k.a. 'airplane mode' g), then if you want to run the
server remotely the tests config would have to be updated...
It seems to
+1 from me
I also suggest we use Jetty as a singleton, so that we don't need to pay
the overhead to find an available port and to start http server.
The proposal is:
1. Some utility class in support project is responsible to lazily start
Jetty when necessary on an available port in embedded
I don't feel strongly about it -- I was simply responding to Geir's
request that we have an option to test against a remote server. I think
we can have that option if people want to.
Regards,
Tim
Anton Luht wrote:
Good day,
I assume that we can have a test script config file to define the
Tim Ellison wrote:
Geir Magnusson Jr wrote:
This thread was a long read :)
Given that the argument is long and winding, can people do a checkpoint
summary about how they are feeling?
Does 'exhausted' count ;-)
FWIW I also agree that using Jetty embedded in the tests is a good idea,
with
Anton Luht wrote:
Good day,
I assume that we can have a test script config file to define the server
location. We can have the default mode be starting the Jetty server on
localhost (a.k.a. 'airplane mode' g), then if you want to run the
server remotely the tests config would have to be
Yang Paulex wrote:
+1 from me
I also suggest we use Jetty as a singleton, so that we don't need to pay
the overhead to find an available port and to start http server.
Doesn't the above don't need to pay the overhead to find an available
port conflict with the element #1 below, lazily
On 5/25/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Yang Paulex wrote:
+1 from me
I also suggest we use Jetty as a singleton, so that we don't need to
pay
the overhead to find an available port and to start http server.
Doesn't the above don't need to pay the overhead to find an
Magnusson, Geir wrote:
-Original Message-
From: Andrew Zhang [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:11 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: Re: [classlib] jetty based tests
If I understand correctly, it means Jetty selects a free
Good day,
The only problem with local server is choosing a local port to bind to
- port 80 is often used by another daemon. Test should try to start
Jetty on a free port and tell its number to the URLConnection test.
Autonomically? I don't think so - I think it should be a configuration
Geir Magnusson Jr wrote:
This thread was a long read :)
First, I'm all for using Jetty as our test server (I think we talked
about this a long time ago...). We could even use Tomcat, but my
experience in the past was that Jetty was very easy to emebed. By
default, there should be no
On 5/25/06, Magnusson, Geir [EMAIL PROTECTED] wrote:
-Original Message-
From: Andrew Zhang [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:11 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: Re: [classlib] jetty based tests
On 5/25/06, Geir Magnusson
Geir Magnusson Jr wrote:
Magnusson, Geir wrote:
-Original Message-
From: Andrew Zhang [mailto:[EMAIL PROTECTED] Sent: Thursday,
May 25, 2006 6:11 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: Re: [classlib] jetty based tests
If I understand correctly
Paulex Yang wrote:
Geir Magnusson Jr wrote:
Magnusson, Geir wrote:
-Original Message-
From: Andrew Zhang [mailto:[EMAIL PROTECTED] Sent: Thursday,
May 25, 2006 6:11 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: Re: [classlib] jetty based tests
If I
Hi George, Tim
I'd like to clarify the following questions:
1) Configuring
As I understood we say that the server is 'embedded' when we can start/stop
it within Ant without additional configuration steps. And all we need to do
is just download required jars. Right?
What about Eclipse users?
2)
Hi Andrew,
The test you've mentioned
org.apache.harmony.tests.java.net.URLConnectionTest in not in exclude list.
And it doesn't require jetty server nor mock object to pass.
I will be helpful if you can provide an example how a test case may
force jetty server to sent it chunked or broken
Hi, Stepan,
With mock objects this can be done with no problems and HARMONY-164
demonstrates the possible way.
Shall we write a mock http server for each case? It takes lots of
reduplicate efforts and results in many mock http server classes in the end.
In fact, for many regular tests, jetty
On 5/23/06, Andrew Zhang wrote:
Hi, Stepan,
With mock objects this can be done with no problems and HARMONY-164
demonstrates the possible way.
Shall we write a mock http server for each case? It takes lots of
reduplicate efforts and results in many mock http server classes in the
end.
No
Hi, Stepan,
No we shouldn't write a mock http server for each case (I mean that we need
not implement http protocol each time).
Shall we implement http sometimes? If no, how can we verfiy
HttpURLConnection function, for example, whether the request is in http
format,
or chuncked http request.
Stepan Mishura wrote:
Hi George, Tim
I'd like to clarify the following questions:
1) Configuring
As I understood we say that the server is 'embedded' when we can
start/stop
it within Ant without additional configuration steps. And all we need
to do
is just download required jars. Right?
Stepan Mishura wrote:
On 5/23/06, Andrew Zhang wrote:
Hi, Stepan,
With mock objects this can be done with no problems and HARMONY-164
demonstrates the possible way.
Shall we write a mock http server for each case? It takes lots of
reduplicate efforts and results in many mock http server
Andrew Zhang wrote:
Hi, Stepan,
With mock objects this can be done with no problems and HARMONY-164
demonstrates the possible way.
Shall we write a mock http server for each case? It takes lots of
reduplicate efforts and results in many mock http server classes in
the end.
In fact, for
Can jetty send back for example a response consisting of the following 4 bytes:
0x00 0x01 0x02 0x03
?
Thanks,
Mikhail
2006/5/23, Paulex Yang [EMAIL PROTECTED]:
Stepan Mishura wrote:
On 5/23/06, Andrew Zhang wrote:
Hi, Stepan,
With mock objects this can be done with no problems and
Mikhail Loenko wrote:
Can jetty send back for example a response consisting of the following
4 bytes:
0x00 0x01 0x02 0x03
?
Have you checked ?
Best regards,
George
Thanks,
Mikhail
2006/5/23, Paulex Yang [EMAIL PROTECTED]:
Stepan Mishura wrote:
On 5/23/06, Andrew Zhang wrote:
Hi,
2006/5/23, George Harley [EMAIL PROTECTED]:
Mikhail Loenko wrote:
Can jetty send back for example a response consisting of the following
4 bytes:
0x00 0x01 0x02 0x03
?
Have you checked ?
I'm just asking. I do not state that
Best regards,
George
Thanks,
Mikhail
2006/5/23,
Mikhail Loenko wrote:
2006/5/23, George Harley [EMAIL PROTECTED]:
Mikhail Loenko wrote:
Can jetty send back for example a response consisting of the following
4 bytes:
0x00 0x01 0x02 0x03
?
Have you checked ?
I'm just asking. I do not state that
Hi Mikhail,
I misunderstood your
Mikhail Loenko wrote:
Can jetty send back for example a response consisting of the following
4 bytes:
0x00 0x01 0x02 0x03
Sure, but if you need control of such level, a mocked SocketListener
may be necessary, check out the codes below, the client socket will
print 0-3, respectively.
George Harley wrote:
Mikhail Loenko wrote:
2006/5/23, George Harley [EMAIL PROTECTED]:
Mikhail Loenko wrote:
Can jetty send back for example a response consisting of the
following
4 bytes:
0x00 0x01 0x02 0x03
?
Have you checked ?
I'm just asking. I do not state that
Hi Mikhail,
On 5/23/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Hi, Stepan,
No we shouldn't write a mock http server for each case (I mean that we
need
not implement http protocol each time).
Shall we implement http sometimes? If no, how can we verfiy
HttpURLConnection function, for example, whether the
Hi George, Paulex,
Thanks for your answers. As a preliminary result - your convinced me and I'm
going to be volunteer to evaluate jetty integration to classlib test suite.
Do anybody work on integrating jetty http server to move net tests out of
exclude list?
Thanks,
Stepan.
On 5/23/06,
Stepan Mishura wrote:
Hi George, Paulex,
Thanks for your answers. As a preliminary result - your convinced me
and I'm
going to be volunteer to evaluate jetty integration to classlib test
suite.
Great, thank you, Stepan!
Do anybody work on integrating jetty http server to move net tests
George Harley wrote:
Stepan Mishura wrote:
Hi George, Tim
I'd like to clarify the following questions:
1) Configuring
As I understood we say that the server is 'embedded' when we can
start/stop
it within Ant without additional configuration steps. And all we need
to do
is just download
This thread was a long read :)
First, I'm all for using Jetty as our test server (I think we talked
about this a long time ago...). We could even use Tomcat, but my
experience in the past was that Jetty was very easy to emebed. By
default, there should be no external dependency to build,
Stepan Mishura wrote:
On 5/19/06, Tim Ellison wrote:
Stepan Mishura wrote:
snip
I'm OK only if we separate tests with Jetty from common test suite run.
Why?
Because each external dependency complicates 'normal' test suite run ( I
don't want to face with situation when to run Harmony
Stepan Mishura wrote:
On 5/19/06, Tim Ellison wrote:
Stepan Mishura wrote:
snip
I'm OK only if we separate tests with Jetty from common test suite
run.
Why?
Because each external dependency complicates 'normal' test suite run ( I
don't want to face with situation when to run Harmony
Hello, all ,
I perfer to embed jetty in our test code to avoid external server in some
test cases.
I'm not against 'jetty based tests' but I'd prefer to separate such tests.
Stepan, If jetty is embedded in our test case code, I think it's unnecessary
still to seperate such tests, since
On 5/19/06, Tim Ellison wrote:
Stepan Mishura wrote:
snip
I'm OK only if we separate tests with Jetty from common test suite run.
Why?
Because each external dependency complicates 'normal' test suite run ( I
don't want to face with situation when to run Harmony test suite I have to
Stepan Mishura wrote:
snip
I'm OK only if we separate tests with Jetty from common test suite run.
Why?
Regards,
Tim
--
Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.
-
Terms of use :
67 matches
Mail list logo