OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-users message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xacml-users] XACML Studio setup problem


I've checked it one more time and found the root cause, I think. I was trying to get rid of soap4r because it didn't work well with abstract types that you can find in XACML's XSD. I've ended up with a simpler XML API (rexml/document) and did all serialization/de-serialization manually.

I have a new shapshot where I commented out the references to soap4r and will post it to sf.net shortly. If you can't wait try to comment out the following lines in all *.rb files

#require  'xs/serializer/policy/policy_schema_mapper.rb'





----- Original Message ----
From: Oleg Gryb <oleg_gryb@yahoo.com>
To: Bernard Butler <bbutler@tssg.org>; xacml-users@lists.oasis-open.org
Sent: Tue, November 17, 2009 7:39:03 AM
Subject: Re: [xacml-users] XACML Studio setup problem

Please check ruby version as well:
ruby -v

I have this:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]

and I don't believe that it will work with earlier Ruby versions.



----- Original Message ----
From: Bernard Butler <bbutler@tssg.org>
To: xacml-users@lists.oasis-open.org
Sent: Tue, November 17, 2009 4:21:57 AM
Subject: [xacml-users] XACML Studio setup problem

Hi,

I installed Rails and the XACML Studio from Sourceforge:
http://sourceforge.net/projects/xacml-studio/
and artefact
xs.snapshot.20081116.tgz

I unpacked it and followed the installation instructions in Section 6 of
http://xacml-studio.sourceforge.net/

When I start to run the rake tasks (Step 11 onwards), I get the following
ruby error:
rake aborted!
uninitialized constant SOAP::Mapping::LiteralRegistry

By following the stack trace, the problem seems to arise here:
$XS_HOME/lib/xs/serializer/policy/policy_schema_mapping_registry.rb
on line 42, which is
  Registry = ::SOAP::Mapping::LiteralRegistry.new

There was some correspondence between Oleg Gryb (developer of
XACML-Studio) and an XS-user encountering the same problem on 1 November
2008.  Note that this correspondence predates the XS snapshot on
sourceforge, but it is unclear whether the problem has been resolved.

I understand from that correspondence that the problem may be caused by
dependency difficulties, so here is the result of running gem list on my
(Ubuntu 9.04) box:

*** LOCAL GEMS ***

actionmailer (2.1.1)
actionpack (2.1.1)
activerecord (2.1.1)
activeresource (2.1.1)
activesupport (2.1.1)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.7)
gem_plugin (0.2.3)
httpclient (2.1.2)
login_generator (1.2.2)
mongrel (1.1.5)
mysql (2.8.1)
rack (1.0.1)
rails (2.1.1)
rake (0.8.3)
soap4r (1.5.8)

Note that I took care to match, where possible, the gem versions from the
$XS_HOME/lib/gems directory.  The exception was that I used rails 2.1.1
rather than rails 2.2.0, the reason being that line 8 of
$XS_HOME/config/environment.rb is
RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION

I would be grateful for advice/help.

Thank you,
Bernard


---------------------------------------------------------------------
To unsubscribe, e-mail: xacml-users-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: xacml-users-help@lists.oasis-open.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: xacml-users-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: xacml-users-help@lists.oasis-open.org


      


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]