users@glassfish.java.net

Re: Deploy war in Glassfish

From: Selvakumar.J <itzselvakumar_at_yahoo.com>
Date: Tue, 28 Apr 2009 08:48:55 -0700 (PDT)

Hi Hong,
    
      thanks for ur reply...I already tried the way that you said...when i
put the jar files in domains/domain/lib folder i didn't get any servlet
classnotfound exception but i got NoSuchMethod Error emptyIterator() this
method present in commons-collections...In my code i'm using
commons-collections and commons-logging jars of apache...I dont know why its
throw this error when the method present in the class. So i just look the
deploy screen on the Glassfiah Admin Console where i found "Specify relative
paths relative to instance-root/lib/applibs." thats why i tried to put all
my jars to applibs folder.
  But still i've doubt where we keep our libraries in glassfish
                glassfish/lib or glassfish/domains/domain/lib or
glassfish/domains/domain/lib/ext or glassfish/domains/domain/lib/applibs
-- 
View this message in context: http://www.nabble.com/Deploy-war-in-Glassfish-tp23278927p23279641.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.