Webapp Classpath Loading

"Choate, Bryan (IHG)" <[email protected]> Thu, 25 May 2006 12:24:34 -0400
Newsgroups gmane.text.xml.resin.user
Message-ID <0FB3527AE8493F44B9A27C1D8E70E46B01FE18EF@hnatld1svrexg04.Amer.Corp.Local>
Hi all,

 

I'm having a classpath issue...  It seems to me that on startup the
{server.root}/lib and {resin.home}/lib folders are being loaded, but
that the {server.root}/webapps/<appName>/WEB-INF/lib folder isn't.  It
seems to work fine on my developers' individual machines, but on the
remote environments I get an error like this:

 

[11:55:49.288] DeployController: com.caucho.config.LineConfigException:
WEB-INF/web.xml:37: `com.package.ClassName' is not a known servlet.
Servlets belong in the classpath, often in WEB-INF/classes.

 

The only real difference that I see is that the remote installation has
different values for {server.root} and {resin.home} whereas locally the
two are the same; ie, {resin.home}/webapps/<appName>/WEB-INF/lib is
being loaded, but {server.root}/webapps/<appName>/WEB-INF/lib isn't.

 

Is there a configuration that I need to change to account for the
discrepancy?

 

Thanks in advance for any help...

 

Bryan Choate

InterContinental Hotels Group

http://www.ichotelsgroup.com <blocked::http://www.ichotelsgroup.com/> 

office: 770-604-8179

mobile: 678-612-3140