[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Delivering JSPs without source
From:       sven morales <aka_sergio () yahoo ! com>
Date:       2004-11-30 18:27:02
Message-ID: 20041130182703.42937.qmail () web54404 ! mail ! yahoo ! com
[Download RAW message or body]

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 <sprocter@sanasecurity.com> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic