J2G tool

2008-03-23 Thread Ch Praveena
Hi all,

I am in the way, evaluating different open source application servers like
Tomcat, Geronimo , Jboss.
I found that the applications written in Jboss can directly be used for
Geronimo from the documentation given in the link
http://cwiki.apache.org/GMOxDOC20/migrating-to-apache-geronimo.html

Please let me know if the same thing works for converting Jboss 4.2.2.GA to
Geronimo 2.1??



-- 
Regards,

Praveena Chalamcharla,
Securview


Difference beteween Tomcat distribution and Jetty distribution with Geronimo

2008-03-23 Thread Ch Praveena
Hi all,

 Please make me clear about the basic differences between the two important
J2EE distributions of Geronimo, Tomcat, Jetty..




-- 
Regards,

Praveena Chalamcharla,
Securview


Re: New tutorials for AG2.1 available

2008-03-23 Thread Ashish Jain
Hi Tim,
The web service tutorial have been modified to suggest explanations for the
various annotations used as well as the wsdl generation steps.
Thanks
Ashish

On Fri, Mar 21, 2008 at 10:07 PM, Ashish Jain <[EMAIL PROTECTED]> wrote:

> Hi Tim,
> Thanks for your valuable comments!
>  For your information all the tutorials use GEP 2.1(unstable). You can
> have a look at the other tutorials and provide your comments. This will help
> us to further improve the tutorials .
>
> Regarding *1. *I guess it is not a critical issue. for *2.* There were
> some problems with the jaxws-tools.bat in AG 2.1, It was throwing class
> not found exception. I contacted Jarek for the same and he provided a
> workaround for the same using gshell. I will soon update the tutorials with
> the steps for WSDL generation and changes therein to be made in the WSDL
> file.
>
> Hope to receive more comments from you as we move through tutorial
> section.
>
> Thanks
> Ashish
>
>
> On Thu, Mar 20, 2008 at 11:26 PM, Tim McConnell <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Ashish, great job of documenting these tutorial. Very well done. I
> > haven't
> > been through all of them yet but have spent some time on the last one
> > since it
> > involves the GEP, and have just a couple comments:
> >
> > 1. I noticed that when defining the Axis2 Runtime by pointing to the
> > Apache
> > Geronimo installation directory an error occurs. Do you think this is a
> > problem
> > with the version of the GEP that you're using ?? It doesn't seem to
> > adversely
> > impact the tutorial so just wondering if its something that needs to be
> > addressed or not.
> >
> > 2. A sentence or two explaining what you changed in the generated
> > CalculatorService.wsdl file might be beneficial.
> >
> > Other than that it's very thorough, clear, and easy to understand.
> >
> >
> >
> > Ashish Jain wrote:
> > > Hi,
> > > There are few new tutorials available in AG wiki. Try your hands out
> > and
> > > provide comments.
> > >
> > > http://cwiki.apache.org/GMOxDOC21/java-server-faces.html- *Basics of
> > JSF
> > >
> > > *
> > http://cwiki.apache.org/GMOxDOC21/developing-a-simple-java-server-faces-application.html-
> > > *JSF Sample Application
> > >
> > > *
> > http://cwiki.apache.org/GMOxDOC21/developing-an-application-client-to-access-ejb.html-
> > > *AppClient accessing EJB
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/ejb-applications.html- *Basics of
> > EJB
> > > and Stateless session EJB
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html- *A
> > > Simple stateless session EJB application
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/web-services.html- *Basics of Web
> > > Services
> > >
> > > *
> > http://cwiki.apache.org/GMOxDOC21/developing-a-simple-calculator-web-service.html-
> > > *A Simple web service application
> > >
> > >
> > > *Thanks
> > > Ashish*
> > > *
> >
> > --
> > Thanks,
> > Tim McConnell
> >
>
>


Re: MDB performance tuning, configuration

2008-03-23 Thread Manu George
You may have tried this out but increasing the maxMessagesPerSession
activation config property will increase the prefetch size and
generally speed it up a bit more. I assume u have already increased
the maxSessions activation config property to increase the no of
parallel Mdb instances. Here is a link for the properties that AMQ
allows http://activemq.apache.org/activation-spec-properties.html. The
configurable OpenEJB properties are given here
http://openejb.apache.org/example-generated-documentation.html.

Try setting the InstanceLimit property of the MdbContainer to 0 so
that the no of instances created matches the no of AMQ sessions
available. For setting this you need to set this as a system property.
The property should be containerId.InstanceLimit where containerId is
of the format  .-

eg: org.apache.geronimo.configs/activemq-ra/2.2-SNAPSHOT/car.ActiveMQ
RA-javax.jms.MessageListener

ie  =  artifactId of the jms RA
 - The resource Group name u gave while creating the RA
 - javax.jms.MessageListener in this case

So the property in this case can be set as
org.apache.geronimo.configs/activemq-ra/2.2-SNAPSHOT/car.ActiveMQ\
RA-javax.jms.MessageListener.InstanceLimit=0

Regards
Manu
On Sun, Mar 23, 2008 at 4:49 PM, the666pack <[EMAIL PROTECTED]> wrote:
>
>  hello,
>
>  i am trying to test the performance of geronimo under load for message
>  driven beans. the observed behaviour is that i get a maximum of about 85
>  transactions per second. after this, tested with about 60 concurrent users,
>  the performance drops again to about 45 tps. i hoped to increase the
>  performance somehow.. things i already tried:
>
>  -increase the mdb pool size
>  -increase the thread pool size
>  -increase the connector-thread-pool-size
>
>  unfortunately nothing helped, the performance situation remains the same.
>
>  another observed behaviour is that in the time of silence between tests the
>  server needs some time to fulfill the requests sent before. so i see it is
>  still working although i am not sending mdb-requests anymore.
>
>  i suppose these are the requests that are still in the queue and have to be
>  finished. i think this is the reason for the performance drop with more
>  concurrent users. i would like to see it perform without this
>  "aftertime-working" and handle the requests "in time".
>
>  maybe someone can give me a hint which other values could be important to
>  change for the performance of mdbs getting real good. i thank you very much
>  for your help,
>
>  greetings,
>
>  mario
>  --
>  View this message in context: 
> http://www.nabble.com/MDB-performance-tuning%2C-configuration-tp16234678s134p16234678.html
>  Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: Console: Geronimo 2.1.0 Changing IP-Adress Bound!

2008-03-23 Thread [EMAIL PROTECTED]

Thanks David..

Hm, i use Tomcat and i dont want move to Jetty. Can you explain how i 
can redploy the changed console

Container for Tomcat?

Is it maybe possible to open the *.xml Config File for Tomcat usig 
Midnightcommander, wich is
able to handle *.zip Archies and simple change the Entry, save it and 
rerun Geronimo?


Wich File i have to change and which Files are Console are depends on?

Thx alot
Rudi



David Jencks schrieb:


On Mar 23, 2008, at 9:47 AM, [EMAIL PROTECTED]  
wrote:

Hi all,

I need to switch the Console to another IP-Adress but i cannot find 
some usefull Information
to do thadt. I dont want thadt the Console is an any IP-Adress on my 
Server visible.




For both the jetty and tomcat servers you will have to redeploy the 
console after modifying the plans.  AFAIK no one has tried this with 
the modular console we have in 2.1.


For jetty it ought to be fairly simple.  You need to deploy an 
additional jetty connector on the ip you want.  In the geronimo plan 
for the console portal app you can then specify the host.  We might be 
able to expose the host as a configurable  parameter in 
config-substitutions so you wouldn't need to redeploy the console to 
change it.


For tomcat AFAIK it is much harder.  You essentially have to deploy an 
entire new tomcat server on the new ip address. There are some 
instructions for a related project for 1.1 here:

http://cwiki.apache.org/GMOxDOC11/exposing-web-applications-on-distinct-ports.html
I don't see any evidence this documentation has been ported to 2.1 
although someone did get a similar setup to work.


You might consider if using a virtual host would be sufficient as they 
are somewhat easier to set up.  There are some instructions 
http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in-geronimo-jetty.html

and
http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in-geronimo-tomcat.html




Thanks for comments,

Cheers






Re: Console: Geronimo 2.1.0 Changing IP-Adress Bound!

2008-03-23 Thread David Jencks


On Mar 23, 2008, at 9:47 AM, [EMAIL PROTECTED] wrote:


Hi all,

I need to switch the Console to another IP-Adress but i cannot find  
some usefull Information
to do thadt. I dont want thadt the Console is an any IP-Adress on  
my Server visible.




For both the jetty and tomcat servers you will have to redeploy the  
console after modifying the plans.  AFAIK no one has tried this with  
the modular console we have in 2.1.


For jetty it ought to be fairly simple.  You need to deploy an  
additional jetty connector on the ip you want.  In the geronimo plan  
for the console portal app you can then specify the host.  We might  
be able to expose the host as a configurable  parameter in config- 
substitutions so you wouldn't need to redeploy the console to change it.


For tomcat AFAIK it is much harder.  You essentially have to deploy  
an entire new tomcat server on the new ip address. There are some  
instructions for a related project for 1.1 here:
http://cwiki.apache.org/GMOxDOC11/exposing-web-applications-on- 
distinct-ports.html
I don't see any evidence this documentation has been ported to 2.1  
although someone did get a similar setup to work.


You might consider if using a virtual host would be sufficient as  
they are somewhat easier to set up.  There are some instructions
http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in- 
geronimo-jetty.html

and
http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in- 
geronimo-tomcat.html





Thanks for comments,

Cheers




Console: Geronimo 2.1.0 Changing IP-Adress Bound!

2008-03-23 Thread [EMAIL PROTECTED]

Hi all,

I need to switch the Console to another IP-Adress but i cannot find some 
usefull Information
to do thadt. I dont want thadt the Console is an any IP-Adress on my 
Server visible.


Thanks for comments,

Cheers


Re: New tutorials for AG2.1 available

2008-03-23 Thread Ashish Jain
Hi CG,
Thanks for your comments!

We are still to add tutorials for Stateful Session Bean. Regarding the
database updation the existing Stateless Session Tutorial uses quite a bit
of it.

You can also have a look at the other tutorials as well like Java Server
Faces, Application Clients, Web Services. Also go through the basics section
before going through the tutorial section. This will give u a basic
understanding of architecture for the technology involved.

Thanks
Ashish

On Sun, Mar 23, 2008 at 8:54 PM, CG <[EMAIL PROTECTED]> wrote:

> Hi Ashish,
>  First of all , thanks for the tutorial, as a newbie , I really
> appreciate and learn a lot from those tutorial.
>
> I have a tutorial request , would you mind spend some time to make a
> tutorial , with combining EntityBean , Stateless SessionBean ,
> Stateful SessionBean with Web as UI , to show how to add a record into
> a table, to retrieve a few records and populate on the UI .
>
> I believe a lot of us will be very appreciate if you can do so. If you
> need my help to test the tutorial , just let me know.
>
> Thanks
> Rgds,
>  CG
>
> On Sat, Mar 22, 2008 at 12:37 AM, Ashish Jain <[EMAIL PROTECTED]> wrote:
> > Hi Tim,
> > Thanks for your valuable comments!
> >  For your information all the tutorials use GEP 2.1(unstable). You can
> have
> > a look at the other tutorials and provide your comments. This will help
> us
> > to further improve the tutorials .
> >
> > Regarding 1. I guess it is not a critical issue. for 2. There were some
> > problems with the jaxws-tools.bat in AG 2.1, It was throwing class not
> found
> > exception. I contacted Jarek for the same and he provided a workaround
> for
> > the same using gshell. I will soon update the tutorials with the steps
> for
> > WSDL generation and changes therein to be made in the WSDL file.
> >
> > Hope to receive more comments from you as we move through tutorial
> section.
> >
> > Thanks
> > Ashish
> >
> >
> >
> > On Thu, Mar 20, 2008 at 11:26 PM, Tim McConnell <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi Ashish, great job of documenting these tutorial. Very well done. I
> > haven't
> > > been through all of them yet but have spent some time on the last one
> > since it
> > > involves the GEP, and have just a couple comments:
> > >
> > > 1. I noticed that when defining the Axis2 Runtime by pointing to the
> > Apache
> > > Geronimo installation directory an error occurs. Do you think this is
> a
> > problem
> > > with the version of the GEP that you're using ?? It doesn't seem to
> > adversely
> > > impact the tutorial so just wondering if its something that needs to
> be
> > > addressed or not.
> > >
> > > 2. A sentence or two explaining what you changed in the generated
> > > CalculatorService.wsdl file might be beneficial.
> > >
> > > Other than that it's very thorough, clear, and easy to understand.
> > >
> > >
> > >
> > >
> > >
> > >
> > > Ashish Jain wrote:
> > > > Hi,
> > > > There are few new tutorials available in AG wiki. Try your hands out
> and
> > > > provide comments.
> > > >
> > > > http://cwiki.apache.org/GMOxDOC21/java-server-faces.html- *Basics of
> JSF
> > > >
> > > >
> > *
> http://cwiki.apache.org/GMOxDOC21/developing-a-simple-java-server-faces-application.html-
> > > > *JSF Sample Application
> > > >
> > > >
> > *
> http://cwiki.apache.org/GMOxDOC21/developing-an-application-client-to-access-ejb.html-
> > > > *AppClient accessing EJB
> > > >
> > > > *http://cwiki.apache.org/GMOxDOC21/ejb-applications.html- *Basics of
> EJB
> > > > and Stateless session EJB
> > > >
> > > > *http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html- *A
> > > > Simple stateless session EJB application
> > > >
> > > > *http://cwiki.apache.org/GMOxDOC21/web-services.html- *Basics of Web
> > > > Services
> > > >
> > > >
> > *
> http://cwiki.apache.org/GMOxDOC21/developing-a-simple-calculator-web-service.html-
> > > > *A Simple web service application
> > > >
> > > >
> > > > *Thanks
> > > > Ashish*
> > > > *
> > >
> > > --
> > > Thanks,
> > > Tim McConnell
> > >
> >
> >
>


Re: New tutorials for AG2.1 available

2008-03-23 Thread CG
Hi Ashish,
 First of all , thanks for the tutorial, as a newbie , I really
appreciate and learn a lot from those tutorial.

I have a tutorial request , would you mind spend some time to make a
tutorial , with combining EntityBean , Stateless SessionBean ,
Stateful SessionBean with Web as UI , to show how to add a record into
a table, to retrieve a few records and populate on the UI .

I believe a lot of us will be very appreciate if you can do so. If you
need my help to test the tutorial , just let me know.

Thanks
Rgds,
 CG

On Sat, Mar 22, 2008 at 12:37 AM, Ashish Jain <[EMAIL PROTECTED]> wrote:
> Hi Tim,
> Thanks for your valuable comments!
>  For your information all the tutorials use GEP 2.1(unstable). You can have
> a look at the other tutorials and provide your comments. This will help us
> to further improve the tutorials .
>
> Regarding 1. I guess it is not a critical issue. for 2. There were some
> problems with the jaxws-tools.bat in AG 2.1, It was throwing class not found
> exception. I contacted Jarek for the same and he provided a workaround for
> the same using gshell. I will soon update the tutorials with the steps for
> WSDL generation and changes therein to be made in the WSDL file.
>
> Hope to receive more comments from you as we move through tutorial section.
>
> Thanks
> Ashish
>
>
>
> On Thu, Mar 20, 2008 at 11:26 PM, Tim McConnell <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Ashish, great job of documenting these tutorial. Very well done. I
> haven't
> > been through all of them yet but have spent some time on the last one
> since it
> > involves the GEP, and have just a couple comments:
> >
> > 1. I noticed that when defining the Axis2 Runtime by pointing to the
> Apache
> > Geronimo installation directory an error occurs. Do you think this is a
> problem
> > with the version of the GEP that you're using ?? It doesn't seem to
> adversely
> > impact the tutorial so just wondering if its something that needs to be
> > addressed or not.
> >
> > 2. A sentence or two explaining what you changed in the generated
> > CalculatorService.wsdl file might be beneficial.
> >
> > Other than that it's very thorough, clear, and easy to understand.
> >
> >
> >
> >
> >
> >
> > Ashish Jain wrote:
> > > Hi,
> > > There are few new tutorials available in AG wiki. Try your hands out and
> > > provide comments.
> > >
> > > http://cwiki.apache.org/GMOxDOC21/java-server-faces.html- *Basics of JSF
> > >
> > >
> *http://cwiki.apache.org/GMOxDOC21/developing-a-simple-java-server-faces-application.html-
> > > *JSF Sample Application
> > >
> > >
> *http://cwiki.apache.org/GMOxDOC21/developing-an-application-client-to-access-ejb.html-
> > > *AppClient accessing EJB
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/ejb-applications.html- *Basics of EJB
> > > and Stateless session EJB
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html- *A
> > > Simple stateless session EJB application
> > >
> > > *http://cwiki.apache.org/GMOxDOC21/web-services.html- *Basics of Web
> > > Services
> > >
> > >
> *http://cwiki.apache.org/GMOxDOC21/developing-a-simple-calculator-web-service.html-
> > > *A Simple web service application
> > >
> > >
> > > *Thanks
> > > Ashish*
> > > *
> >
> > --
> > Thanks,
> > Tim McConnell
> >
>
>


MDB performance tuning, configuration

2008-03-23 Thread the666pack

hello,

i am trying to test the performance of geronimo under load for message
driven beans. the observed behaviour is that i get a maximum of about 85
transactions per second. after this, tested with about 60 concurrent users,
the performance drops again to about 45 tps. i hoped to increase the
performance somehow.. things i already tried:

-increase the mdb pool size
-increase the thread pool size
-increase the connector-thread-pool-size

unfortunately nothing helped, the performance situation remains the same. 

another observed behaviour is that in the time of silence between tests the
server needs some time to fulfill the requests sent before. so i see it is
still working although i am not sending mdb-requests anymore. 

i suppose these are the requests that are still in the queue and have to be
finished. i think this is the reason for the performance drop with more
concurrent users. i would like to see it perform without this
"aftertime-working" and handle the requests "in time". 

maybe someone can give me a hint which other values could be important to
change for the performance of mdbs getting real good. i thank you very much
for your help,

greetings,

mario
-- 
View this message in context: 
http://www.nabble.com/MDB-performance-tuning%2C-configuration-tp16234678s134p16234678.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.