Menu

#9 Another SOAP FAULT

open
nobody
5
2006-03-29
2006-03-29
No

Hi everybody,

I 've installed the Bee - Project to test it, that
means I am using the demo bee and trying to get it to
run, unfortunately I get an SOAP FAULT everytime I
click on the Edit or Alert tab:

SOAP FAULT
SOAP-ENV:Server
Can't coerce array into hash at lib/Bearlib/MD.pm line
1520.

I also can't see the Logical Data Model, When I click
on LDM I just see nothing. Does anybody know the
problem or have a sollution?

Discussion

  • Tim_Toennsen

    Tim_Toennsen - 2006-03-29

    Logged In: YES
    user_id=1488207

    I just found out, that the server puts out a similar fault:
    "Use of uninitialized value in sprintf at lib/Bear.pm line
    179." Maybe that helps to solve the problem.

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-29

    Logged In: YES
    user_id=1488207

    By the way, is there a logout funktion somewhere? Am I just
    too blind to see it or is it there? Its a bit exhausting to
    reboot everytime... The point is even if i close the
    browser, shut down the beard server and apache, start apache
    and beard again, the login ist still active... that means
    when i have several users, I need a logout... but thats not
    importantfor my problem in the moment. I was just testing a
    few things and got to that point.

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-30

    Logged In: YES
    user_id=1488207

    another question, does anybody know where I can get the VRML
    version 1.06? for the installation of osito this version is
    required (checkenv.pl) but I only found version 1.04, maybe
    this cause some trouble? I m running a debian system and
    Couldnt find a newer version. Even cpan didn't have it!

     
  • Jiri Schmid

    Jiri Schmid - 2006-03-30

    Logged In: YES
    user_id=670712

    I have downloaded bear20, osito20 and metadata form
    sourceforge.
    I am not able to invoke described problem

    Edit and alert tab only shows expected message "no write to
    html cache", after creation it shows expected "object tree".

    -- I suppose, that there may be corupted metada or root.xml
    while manualy edited. Thus try to download from sourceforge
    metadata again and use login that already exists in this
    file (to avoid editing).

    In the ldm, was showed expected name of logical model image
    and in httpd error.log appears expected message "client
    denied by server configuration"

    -- Try less restrictive apache configuration for path osito/html

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-30

    Logged In: YES
    user_id=1488207

    I think it must have something to do with soap, In the error
    log I found: Use of uninitialized value in concatenation (.)
    or string at Plugin/BeardAccess.pm line 34.,

    In line 34 of BeardAccess is:
    my $a = "use SOAP::Lite +autodispatch =>
    uri => 'Bear',
    proxy => ['$soapURL', options => {compress_threshold =>
    $Const::compressThreshold$tm}],
    on_fault => sub { &SoapErrorHandler(\@_) };
    1";

    The point is I have soap lite version 0,60a runnin, used the
    patch and patched the prefer.cgi. (found that in another
    forum) only after that the client shows me the save button.
    Can I test soap somehow? I know there is a forum about that,
    but I didn't realy get how to do that...

     
  • Jiri Schmid

    Jiri Schmid - 2006-03-30

    Logged In: YES
    user_id=670712

    There is package "common" to download on sourceforge next to
    osito and bear.

    Within is utility "bear_sh.pl". Launching this utility you
    get access over SOAP to bear.

    Using this bear-command line you may test if soap is
    working well as discused in topic "Do I test this way
    SOAP::Lite patch was applied well?"

    ---------------------
    LOGIN - LOGOUT: authetization is done against web server,
    that means is keeped till web server recognizes web browser
    instance, closing web browser causes closing user sesion
    against web server, thus against bear server.

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-30

    Logged In: YES
    user_id=1488207

    All right, I was just a bit too stupid to get it, it is
    written in the topic. But when I try to login:

    /usr/local/share/bee/util# ./bear_sh.pl -C /opt/beard/const

    I get an error:

    Can't locate object method "ReadHistory" via package
    "Term::ReadLine::Stub" at ./bear_sh.pl line 112.

    Can't locate object method "WriteHistory" via package
    "Term::ReadLine::Stub" at ./bear_sh.pl line 148.
    END failed--call queue aborted.

    I didn't find an method like this in ReadLine.pm and I
    didn't find the file ".beard_sh_history" mentioned in
    bear_sh.pl on my disc... (locate -A .beard_sh_history)

    Do I miss a perl-modul or something? Do you have a clue
    which one?

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-30

    Logged In: YES
    user_id=1488207

    Oh, I forgot to mention something, when I trie to test the
    enrironment for osito (checkenv.pl), He tries to tell me
    that I dont have Apache2 and apache::compat installed, but I
    defenitely have!

     
  • Jiri Schmid

    Jiri Schmid - 2006-03-30

    Logged In: YES
    user_id=670712

    Term::ReadLIne provided by common perl instalation really
    does not provide readhistory, use Term::ReadLine::Gnu instead.

    If checken.pl does not found Apache2 and Apache::compat and
    osito works (pages are rendered) than do not matter about it.

    Think in two ways, bear (aplication server) has no effect
    on osito, osito (web server) has no effect on bear.

    Proper running bear server is the priority, comunication
    over SOAP is second, interface (osito) is third.

    I have downloaded all packages from sourceforge, and
    everything works well, that means, the problem is somewhere
    in configuration.

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-30

    Logged In: YES
    user_id=1488207

    Thanks, the Term::ReadLine::Gnu works, that means tne
    bear_sh works too. But It seems that soap works as well...
    The Output looks a bit different but quite good. So now I am
    where I started, ldm alert and edit isn't working. I'm
    getting crazy... If its going on like this my boss will
    order to try out another tool i think...
    But btw, when I go to the administration tab and view the
    adnin group, the user i created is in there. the user is
    also in a self created user role, but when i view the
    details of the user it sais under user roles: unknown at
    this moment. where can i change that manually?

     
  • Jiri Schmid

    Jiri Schmid - 2006-03-30

    Patch for MD.pm, can not coerce array into hash

     
  • Jiri Schmid

    Jiri Schmid - 2006-03-30

    Logged In: YES
    user_id=670712

    Well I have checked the new code of MD.pm for Bear server
    2.1 and on line 1520 is added HASH check.

    I have prepared a patch for MD.pm, that reflects the change
    of 2.1.

    Although I suggest, to wait for version 2.1 RC1, that should
    be available in few days.

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-31

    Logged In: YES
    user_id=1488207

    Hey, The patch seems to work, after I installed it, it gave
    me an error: cant write into /var/www/html/osito/html/***.html
    but this last html folder didnt exist, so I just created it
    and it worked. Thanks a million for all the help, I owe u one!!

     
  • Tim_Toennsen

    Tim_Toennsen - 2006-03-31

    Logged In: YES
    user_id=1488207

    sorry, for stepping on ur berves again, there seems to be
    one last problem left, but I think it has something to do
    with my system configuration. In the object tree of the edit
    tab I dont have any formats to select. I think the problem
    is that I have installed vrml version 1.04 I know required
    is version 1.06 but I cant find it. Its not on cpan not on
    the debian side or apt-get and also not available on
    rpmsearch. the only possibility I found, was freewrl which
    should include this version. unfortunately it gives me
    someinstallation error so that I have to work on that. I
    hope U might know where else I could get version 1.06 or are
    there just a few paths wrong so that the formats are not found?

     
  • Jiri Schmid

    Jiri Schmid - 2006-04-03

    Logged In: YES
    user_id=670712

    There are no predefined formats within metadata provided on SF.
    Just create new one using proper icon in main operation
    line/under tab name (from left: 3. - table format, 4. -
    basic 2d format).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.