grouper-users - RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws - SubjectNotFoundException on deployment
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws - SubjectNotFoundException on deployment
Chronological Thread
- From: Chris Hyzer <>
- To: "" <>
- Cc: Grouper Users Mailing List <>
- Subject: RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws - SubjectNotFoundException on deployment
- Date: Mon, 1 Dec 2008 03:31:55 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
Ah yes, this is a change from 1.3...
I had a brief mention on the upgrade instructions:
https://wiki.internet2.edu/confluence/display/GrouperWG/v1.4.0+Upgrade+Instructions+from+v1.3.*#v1.4.0UpgradeInstructionsfromv1.3.*-Webservices
"Merge grouper-ws build.properties with example, and note the group.lib.dir
has changed"
In the build.example.properties it says:
#if building from a different grouper than the one in grouper-ws, put the lib
dir here
#note, any grouper*.jars here will be ignored, it is looking for jars in the
subdir
#named "grouper"
#e.g. from external: C:/mchyzer/isc/dev/grouper-qs-1.2.0/grouper/lib/grouper
#e.g. from grouper-ws: lib/grouper
However, now that I read this, I need to take out the part that says: it is
looking for jars in the subdir named "grouper"... :) But the examples are
correct. I committed a fix to this example file.
In short, you are right, if you put lib/grouper, it should work.
Kind regards,
Chris
> -----Original Message-----
> From: Dr. Loris Bennett
> [mailto:]
> Sent: Wednesday, November 26, 2008 10:43 AM
> To: Chris Hyzer
> Cc: Grouper Users Mailing List
> Subject: RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws -
> SubjectNotFoundException on deployment
>
> Hi Chris,
>
> This seems to be a more general problem, since as far as I can tell
> none
> of the the grouper jars are deployed. This may be due to the way I am
> using the jars from the binary distribution. In my build.properties for
> grouper-ws I have:
>
> grouper.lib.dir=../../grouper.binary.1.4.0/lib/
>
> This directory does exist, but the contents don't seem to be copied by
> ant. I am guessing that it should maybe be
>
> grouper.lib.dir=../../grouper.binary.1.4.0/lib/grouper
>
> but I probably won't have a chance to check until Monday.
>
> Regards
>
> Loris
>
>
> On Wed, 2008-11-26 at 09:17 -0500, Chris Hyzer wrote:
> > Thanks for pointing this out and for your patience.
> >
> > Is this a tarring issue? (note I created a cvs.internet2.edu build
> script for web services, can we use this from now on? See below)
> >
> > Issue #1, the filename is .gz, not .tar.gz
> > Issue #2, I unzipped on windows with winzip, and it didn’t build
> correctly (see attached screenshot, some source files weren’t named
> correctly in the tar for some reason when using winzip)
> >
> > I checked out from cvs and built, and it put subject.jar in the lib
> dir (note, I had to adjust a build.properties entry in RC1, not in
> HEAD):
> >
> > cvs
> > -d:pserver::/home/cvs/i2mi
> > login
> >
> > cvs
> > -d:pserver::/home/cvs/i2mi
> > co -r
> GROUPER_WS_1_4_0_RC1 grouper-ws
> >
> > change build.properties (in RC1, not in RC2+):
> > FROM: generated.client.project.dir=../grouper-ws-java-generated-
> client_HEAD
> > TO: generated.client.project.dir=../grouper-ws-java-generated-client
> >
> > Build with ant, worked fine.
> >
> > Regards,
> > Chris
> >
> > ###################
> > For the cvs.internet2.edu build (for grouper team), make sure you
> have this in your ~/.bash_profile file:
> >
> > export JAVA_HOME=/home/mchyzer/java
> > export ANT_HOME=/home/mchyzer/ant
> > export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:/home/mchyzer/bin:$PATH
> >
> > [mchyzer@ellis
> > dist]$ buildGrouperWs.sh HEAD
> >
> > Note, for both binary builds, I made the output go to my home dir,
> and not the /tmp dir anymore, since the /tmp dir doesn’t have that much
> space... it will tell you where the output is, and you should have
> access to see it.
> >
> > I did the grouperWs build, unzipped on unix and windows and it worked
> fine (with subject.jar in lib dir)...
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Dr. Loris Bennett
> > > [mailto:]
> > > Sent: Wednesday, November 26, 2008 4:40 AM
> > > To: Grouper Users Mailing List
> > > Subject: [grouper-users] Grouper 1.4.0 RC1: grouper-ws -
> > > SubjectNotFoundException on deployment
> > >
> > > Hi,
> > >
> > > When I try to deploy the grouper-ws webapp, it fails to start with
> the
> > > following error:
> > >
> > > 26.11.2008 09:09:54
> org.apache.catalina.core.StandardContext
> > > filterStart
> > > SCHWERWIEGEND: Exception starting filter Grouper service
> filter
> > > java.lang.NoClassDefFoundError:
> > > edu/internet2/middleware/subject/SubjectNotFoundException
> > >
> > > The problem seems to be that subject.jar is not included in the war
> > > file. A workaround is to copy subject.jar from lib/grouper to
> > > lib/custom.
> > >
> > > I assume that something goes wrong when ant constructs the set of
> jar
> > > files to copy to WEB-INF/lib. However, looking at the differences
> in
> > > build.xml for 1.3 and 1.4RC I can't see how the changes made would
> > > cause
> > > this problem, but then I am no ant expert. I am using ant 1.7.1.
> > >
> > > Regards
> > >
> > > Loris
> > >
> > > --
> > > Dr. Loris Bennett (Mr.)
> > > Freie Universität Berlin
> > > Zentraleinrichtung für Datenverarbeitung / Computer Center
> > > ZEDAT
> > > Compute & Media Service
> > > Fabeckstr. 32, Room 221
> > > D-14195 Berlin
> > > Tel ++49 30 838 51024
> > > Fax ++49 30 838 56721
> > >
> > > Web www.zedat.fu-berlin.de
> > >
> >
> --
> Dr. Loris Bennett (Mr.)
> Freie Universität Berlin
> Zentraleinrichtung für Datenverarbeitung / Computer Center
> ZEDAT
> Compute & Media Service
> Fabeckstr. 32, Room 221
> D-14195 Berlin
> Tel ++49 30 838 51024
> Fax ++49 30 838 56721
>
> Web www.zedat.fu-berlin.de
>
- RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws - SubjectNotFoundException on deployment, Dr. Loris Bennett, 12/01/2008
- RE: [grouper-users] Grouper 1.4.0 RC1: grouper-ws - SubjectNotFoundException on deployment, Chris Hyzer, 12/01/2008
Archive powered by MHonArc 2.6.16.