Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 58992 invoked from network); 30 Nov 2004 18:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Nov 2004 18:28:48 -0000 Received: (qmail 78950 invoked by uid 500); 30 Nov 2004 18:27:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 78857 invoked by uid 500); 30 Nov 2004 18:27:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 78739 invoked by uid 99); 30 Nov 2004 18:27:08 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web54404.mail.yahoo.com (HELO web54404.mail.yahoo.com) (68.142.225.160) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 30 Nov 2004 10:27:06 -0800 Received: (qmail 42939 invoked by uid 60001); 30 Nov 2004 18:27:03 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=fXoOn7zjP9kYavQVxUhoKc6W5bQDpIJiQ2TfJQksDrRGn5tBeZeBhkOUCYSotO282BR0feh9WfFU9MxkMfmNKbgNyV6r35X4YeDCKkN+ZYmDQYsFYbvxqAs0TSfizVnCPtztqvFBvRFMNLsI+ts1DDPk+VVXh+b8jdn9SUW2RuQ= ; Message-ID: <20041130182703.42937.qmail@web54404.mail.yahoo.com> Received: from [67.122.213.120] by web54404.mail.yahoo.com via HTTP; Tue, 30 Nov 2004 10:27:02 PST Date: Tue, 30 Nov 2004 10:27:02 -0800 (PST) From: sven morales Subject: Re: Delivering JSPs without source To: Tomcat Users List In-Reply-To: <41ACA983.5050306@sanasecurity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, If I understood your issue, you have some required jars installed at tomcatX/server/lib because of some reason you can not have it at yourapp/WEB-INF/lib? And your issue is this is not accessable from your apps, which seems to be the correct behaviour per the: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html Catalina - This class loader is initialized to include all classes and resources required to implement Tomcat 5 itself. These classes and resources are TOTALLY invisible to web applications. All unpacked classes and resources in $CATALINA_HOME/server/classes, as well as classes and resources in JAR files under $CATALINA_HOME/server/lib, are made visible through this class loader. aka_sergio --- Steve Procter wrote: > Authentication uses a database to store user > information, and the > database is accessed via an object mapping package. > > --Steven > > parviz wrote: > > I'm a little confused as to what you mean by > object repository. > > You have your Realm in common/lib which is fine. > All the other > > Realm(jdbc,jndi...) exist in common/lib. I'm not > clear what your Realm > > does with your object repository? whats the > connection between these > > two?Does your compiled jsp files exist in that > directory as well? > > > > I'll try to setup something similar to your setup > and see if I can come > > up with any solution unless someone has any by > now. > > > > Parviz > > > > On Mon, 2004-11-29 at 15:32, Steve Procter wrote: > > > >>We have a web application that uses jsps. We want > to deliver the > >>application to the customer without source for the > jsps. We have done > >>this in the past by putting all of the compiled > jsps into a jar file. > >> > >>Recently we had to move the application jar files > from > >>webapps/appname/WEB-INF/lib to common/lib because > we implemented our own > >>realm which uses our object repository; since it > has to be installed in > >>server/lib, the code for the repository cannot be > installed under the > >>web application directory. > >> > >>When the application is installed in common/lib it > is not able to load > >>the compiled jsp files. They are installed in > common/lib/. > >> > >>Does anyone have an idea about why these classes > are not visible? > >> > >>Thanks, > >> > >>--Steven > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > >>For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > >> > >> > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org