Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 90894 invoked from network); 7 Jul 2006 10:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 10:36:57 -0000 Received: (qmail 34023 invoked by uid 500); 7 Jul 2006 10:36:54 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 33995 invoked by uid 500); 7 Jul 2006 10:36:54 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 33984 invoked by uid 99); 7 Jul 2006 10:36:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 03:36:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mario.ruebsam@googlemail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 03:36:53 -0700 Received: by nf-out-0910.google.com with SMTP id b2so246068nfe for ; Fri, 07 Jul 2006 03:36:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=qcE84t/5To46oIAal+mU0835CHUUnDRkD5SpYTmmLHC+3PNJQH0f9QVkcJ/mvmO3JeAViAiMZb19aLVAbYpGk1P7QATqb+YTLWl2qvHctgAjnVAeGJTsP+xZGArsoHFcSopJ+CYAM5wKMei7uwZpXvNq6cqhDFCcUoZcKnS2yuw= Received: by 10.49.59.5 with SMTP id m5mr1252016nfk; Fri, 07 Jul 2006 03:36:27 -0700 (PDT) Received: from ?192.168.8.11? ( [84.184.26.77]) by mx.gmail.com with ESMTP id c28sm452670nfb.2006.07.07.03.36.26; Fri, 07 Jul 2006 03:36:27 -0700 (PDT) Message-ID: <44AE38F8.80207@gmail.com> Date: Fri, 07 Jul 2006 12:35:36 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Self-contained EAR References: <4690875E336998438DF43A78B8E38CF2E4F690@BLRKECMSG01.ad.infosys.com> In-Reply-To: <4690875E336998438DF43A78B8E38CF2E4F690@BLRKECMSG01.ad.infosys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Mario Ruebsam X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Santosh, Santosh Koti wrote: > Mario, > > Why u stick to Jetty , why not Tomcat...? :) this is a long story and the story is driven by the many releases of Tomcat (with major changes) and problems we had to to sail round when we used JBoss/Tomcat until we used JBoss/Jetty I can't talk for the current Tomcat release but in the past ... let's turn around some common phrase to "never run a changing system" > Any technical explanation, just ur passion for Jetty...? small, smart, fast and yes it's a bit passion ;-) > > For lesser complex applications, G is fine, but for very large & complex > systems, better choose G to sub-ordinate some tasks of it. That may be true, but what complex? You can write an EJB application to sell some goods in an simple webshop. That is complexity by app design but not by requirement. When I find some time I write an entry in my blog about how to unhype EJB for simple structured business projects. I can't talk about the large projects with many subsystems involved, but I can tell you that there are a lot of systems where performance is burned by overhead in the app design and the middleware used. Clustering G is an issue currently but this will change in future. > But still G is special ..! it is Thanks, Mario > > Thanks, > Santosh. > "Don't talk about yourself; it will be done when you leave. " > > > > -----Original Message----- > From: Mario Ruebsam [mailto:mario.ruebsam@googlemail.com] > > Sent: Friday, July 07, 2006 2:35 PM > To: user@geronimo.apache.org > Subject: Re: Self-contained EAR > > What I learned in the last 6 years with EJB's and webapps is that > performance is mainly founded in the design of the application. > So it can differ from one app to another. Some app servers prefer > the used design some not. > I like to have a server which is customizable and G is customizable, > not only in the way the server runs but also in the way I can > distribute it(look at "Little G" and plugins). G is easily > configurable even by the customer and I can run the same system > on the central server and also on a notebook (Little-G) with db and > app. The latter is a mandatory requirement by our customer. > I don't like that huge systems that can do everything and I need > only 30% of it for a particular project. Also G comes with Jetty :-) > Thats in short why I stick with G. > > Thanks, > Mario > > > gb.forums@yahoo.com wrote: >> I'll check out 1.0 then, but I've heard that performance is not really > up to par... Is this true? And would you mind telling me why you > sticked with Geronimo? > >> Thanks a lot Mario, >> GB >> > >> ----- Original Message ---- >> From: Mario Ruebsam >> To: user@geronimo.apache.org >> Sent: Friday, July 7, 2006 12:27:08 PM >> Subject: Re: Self-contained EAR >> > >> It worked nice with G 1.0, the problem report was in release phase of > 1.1 so >> you could evaluate with G 1.0. The class loading problems will be > fixed. > >> btw, I evaluated JBoss and JSAS and had a production system running on > it, >> but I'm still here ;-) >> > >> Thanks, >> Mario >> > > >> gb.forums@yahoo.com wrote: >>> Super... >>> >>> The funny thing is that I'm evaluating Geronimo as a replacement for > OC4J because of its class loading problems... So should I switch to > JBoss or GlassFish? :) >>> Thanks, >>> GB >>> >>> ----- Original Message ---- >>> From: Mario Ruebsam >>> To: user@geronimo.apache.org >>> Sent: Friday, July 7, 2006 12:06:28 PM >>> Subject: Re: Self-contained EAR >>> >>> Hi Guillaume, >>> >>> it's a known issue, maybe theres a patch in the near future. >>> >>> http://issues.apache.org/jira/browse/GERONIMO-2125 >>> >>> Thanks, >>> Mario >>> >>> >>> Guillaume Bilodeau wrote: >>>> Hi all, >>>> >>>> I gotta say I'm dumbfounded by how class loading with EARs works in > Geronimo, although it is my first time dealing with that kind of issue > (deploying a WAR to Tomcat is much simpler). >>>> According to this URL > (http://www.chariotsolutions.com/geronimo/ejb.html) : >>>> "If the EJB JAR file is included in an application EAR, then > Geronimo will respect Class-Path entries in the META-INF/MANIFEST.MF > file of the EJB JAR. Any JARs referenced there should also be packaged > within the EAR, and paths to JAR files will be resolved relative to the > position of the EJB JAR file in the EAR. If the EJB JAR file is not > included in an EAR, then manifest class path entries will be ignored. In > either case, external libraries can also be placed in the Geronimo > server repository and referenced with dependency elements in the > Geronimo deployment plan (see Section 12.3.1, Customizing the Class > Path)." >>>> My EAR contains an EJB JAR which includes a META-INF/MANIFEST.MF > file, which does include the libraries that should be in the classpath. > However, those libraries are not found at runtime. Here is my EAR's > structure: >>>> promo-ear.ear >>>> + commons-*.jar >>>> + spring-*.jar >>>> + other-libraries.jar >>>> + promo-server.jar >>>> + all-classes.class (including some EJB implementations - not > interfaces) >>>> + META-INF >>>> + ejb-jar.xml >>>> + MANIFEST.MF (containing a Class-path entry with references to > libraries in the EAR, such as spring-*.jar without any path) >>>> + promo-api.jar >>>> + all-ejb-interfaces.class (not implementations) >>>> + META-INF >>>> + MANIFEST.MF (with no Class-path entry) >>>> + promo-web.war >>>> + all web content (JSP, CSS, JS, etc.) >>>> + WEB-INF >>>> + web.xml >>>> + META-INF >>>> + application.xml >>>> + MANIFEST.MF >>>> >>>> Somehow the Spring library is not visible since I get the following > message: >>>> java.lang.ClassNotFoundException: > org.springframework.context.support.ClassPathXmlApplicationContext in > classloader > default/promo-ear-2.0.0-snapshot_promo-web-2.0.0-SNAPSHOT.war/1152257080 > 360/car >>>> Surely there must be a way to have a self-contained EAR, which can > reference its own libraries. How can this be done? >>>> Thanks a lot, >>>> GB >>>> >>>> >>>> >>> >>> >>> >>> >>> > > > > > > > > > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** >