You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by huican ping <pi...@gmail.com> on 2008/11/11 00:35:07 UTC

how to run Apache MINA + AsyncWeb Performance Test

Hello,

I am a newbie to the MINA and Java world, and interested in the some
MINA asyncWeb performance stuff.

I checked out both the MINA_2.0 and asyncweb, and used the maven to
build them successfully, such as:
$ svn co http://svn.apache.org/repos/asf/mina/trunk/ mina
$ cd mina
$ mvn -Dwith-LGL-dependencies clean install
$ cd ..
$ svn co http://svn.apache.org/repos/asf/mina/asyncweb/trunk asyncweb
$ mvn -Dwith-LGL-dependencies clean install

After the maven build, I have lots of jar and class files generated,
some of them are examples*.jar files where lightwieght is one example
under examples directory:
~/APACHE/minaAsyncWeb>find . -name *.jar | grep examples
./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar
./examples/target/asyncweb-examples-0.9.0-SNAPSHOT-sources.jar
...
~/APACHE/minaAsyncWeb>

I tried to "java -jar
./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar", it told me
this error:
    Failed to load Main-Class manifest attribute from
   ./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar

Can anyone else help to start up that "AsyncWeb lightweight HTTP
server", such as Justin Lee does in
http://mina.apache.org/performance-test-reports.html?

Thanks a lot.

Re: how to run Apache MINA + AsyncWeb Performance Test

Posted by Emmanuel Lecharny <el...@gmail.com>.
huican ping wrote:
> no worry.
>   
Hey,
> I got the problem solved.
> I first build the eslipse project with maven, and then imported the
> project to eclipse, and exported to generate a jar file.
> That one is running well.
>   
Cool !

Sorry for not having gave you an hand ...

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: how to run Apache MINA + AsyncWeb Performance Test

Posted by huican ping <pi...@gmail.com>.
no worry.
I got the problem solved.
I first build the eslipse project with maven, and then imported the
project to eclipse, and exported to generate a jar file.
That one is running well.

On Mon, Nov 10, 2008 at 5:35 PM, huican ping <pi...@gmail.com> wrote:
> Hello,
>
> I am a newbie to the MINA and Java world, and interested in the some
> MINA asyncWeb performance stuff.
>
> I checked out both the MINA_2.0 and asyncweb, and used the maven to
> build them successfully, such as:
> $ svn co http://svn.apache.org/repos/asf/mina/trunk/ mina
> $ cd mina
> $ mvn -Dwith-LGL-dependencies clean install
> $ cd ..
> $ svn co http://svn.apache.org/repos/asf/mina/asyncweb/trunk asyncweb
> $ mvn -Dwith-LGL-dependencies clean install
>
> After the maven build, I have lots of jar and class files generated,
> some of them are examples*.jar files where lightwieght is one example
> under examples directory:
> ~/APACHE/minaAsyncWeb>find . -name *.jar | grep examples
> ./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar
> ./examples/target/asyncweb-examples-0.9.0-SNAPSHOT-sources.jar
> ...
> ~/APACHE/minaAsyncWeb>
>
> I tried to "java -jar
> ./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar", it told me
> this error:
>    Failed to load Main-Class manifest attribute from
>   ./examples/target/asyncweb-examples-0.9.0-SNAPSHOT.jar
>
> Can anyone else help to start up that "AsyncWeb lightweight HTTP
> server", such as Justin Lee does in
> http://mina.apache.org/performance-test-reports.html?
>
> Thanks a lot.
>