OpenSSO CLI or alternative

Hello,
I am writing a web application that needs to be able to integrate with openSSO's Federation configuration.
Basically I need to be able to find out what SAML2 entities are configured and then be able to delete or import entities. (list-entities, delete-entity, import-entity)
I know that it is possible do this using either the ssoAdminTools CLI, the opensso/ssoadm.jsp, or the admin GUI.
I need this to be an automated process so I had considered using java.exec to call the CLI but as we are using Solaris as our OS I run into memory problems as the exec call tries to copy the entire Glassfish address space (The application I am developing is hosted on a Glassfish 2.1 Application Server)
Is there any way to call the CLI java classes directly, or am I able to authenticate to the ssoadm.jsp page somehow and run the commands required?
Any help is appreciated
Thanks,
Gareth

Hello,
I am writing a web application that needs to be able to integrate with openSSO's Federation configuration.
Basically I need to be able to find out what SAML2 entities are configured and then be able to delete or import entities. (list-entities, delete-entity, import-entity)
I know that it is possible do this using either the ssoAdminTools CLI, the opensso/ssoadm.jsp, or the admin GUI.
I need this to be an automated process so I had considered using java.exec to call the CLI but as we are using Solaris as our OS I run into memory problems as the exec call tries to copy the entire Glassfish address space (The application I am developing is hosted on a Glassfish 2.1 Application Server)
Is there any way to call the CLI java classes directly, or am I able to authenticate to the ssoadm.jsp page somehow and run the commands required?
Any help is appreciated
Thanks,
Gareth

Similar Messages

  • 9148 design/config suggestion- newbie

    Hello experts,
    We will be getting #2 9148s for our storage. First time working on these :). About 5 servers and storage with total 8 ports (all fiber).
    Requirement on MDS1:  Server1's HBA port1  should communicate with all storage ports but not to any other servers HBAs ports. 
    Same for MDS2 as well. Sounds like common requirement to avoid unnecessary communication.
    I went thru  documentation and few q&a in forum thinking of design like this... (looks weird, but hope you got the point :))...
      Server1                           Server2
    MDS1    MDS2              MDS1    MDS2
       \(4)          /(4)                 \          /
      Storage                           Storage
    ->No connection between MDS and let servers software deal with redundancy.
    ->Create separate VSAN on each MDS and Zoneset and Zone (ex: zone1,2,3..).
    ->Zone1: Server1 HBA port1+ Storage 4 ports 
    -> Zone2: Server2 HBA port1+ Storage 4 ports  etc.
    -> No need of enabling routing on MDS.
    Will this work or any suggestions? Do I need to bundle the ports(4) to Storage on switch? 
    Please advise.
    Thanks in advance
    MS

    Hi MS
    Below you see the CLI commands; I forgot to mention that it is also best practise to use static domain id's.
    device-alias mode enhanced
      device-alias name VPLEX-Bal16-11-B-WAN-0-a pwwn 50:00:14:42:b0:03:41:20
    device-alias commit
    fcdomain domain 10 static vsan 100
    fcdomain domain 12 static vsan 101
    system default zone distribute full
    system default zone mode enhanced
    zone mode enhanced vsan 100
    zone mode enhanced vsan 101
    zone name host_vios2-16_h1_a--VPLEX-Bal16-11-B-FE-0-a vsan 100
        member device-alias VPLEX-Bal16-11-B-FE-0-a
        member device-alias host_vios2-16_h1_a
    zoneset name VPLEX-Frontend-a vsan 100
    member host_vios2-16_h1_a--VPLEX-Bal16-11-B-FE-0-a
    zone commit vsan 100
    For your small environment, I would use CLI; the alternative is DCNM SAN (GUI).
    Reg. zoning: both methods work of course; however in the field, mostly single initiator - single target is done
    Good luck
    Walter.

  • How to UPDATE ESX Server 3i, 3.5.0, build 207095 using SSH or VSphere CLI remotely!

    Hello Guys,
    Over the past few hours I have been posting related questions and I have gotten a little closer to updating my server/host.
    I have gone to the ESX Server 3i updates (Embedded and Installer) and I have noticed that the first build for ESX 3i is 207095. Which means that I have not done any updates since the installation. CORRECT!
    Now... I have been using "ESX Server 3 Patch Management guide, which instructs us to use esxupdate, but it appears that some of the command in that document is not supported on my host.
    This post: vihostupdate35 | VMware vSphere Blog - VMware Blogs ..... Tells me that I will have to use "vihostupdate35" from a remote CLI which I installed but cannot see how to connect to the server as I cannot find any document that shows the syntax etc.
    At this point I am confused and frustrated and just need a little more guidance from someone who could point me to a document or copy and past the procedures I need to use to get this update done.
    I have downloaded this file to do the UPDATE: "ESXe350-201302401-O-SG.zip" and I have extracted it on the host on a Datastore and copied it to my "/Tmp/ESXi350" folder.
    I have also extracted it there as well just in case I need to browse to the extracted folder, and run any command.
    Can anyone out there help me with the correct SYNTAX and METHOD to get this update installed?
    I can connect with SSH from a windows machine using puTTy.exe as well as I have VSphere CLI installed on another Windows PC and can browse to the "C:\Program Files (x86)\VMware\VMware vSphere CLI\bin" folder to run "vihostupdate35.pl" I can see it in the folder with a "dir" command:
    12/11/2014  03:50 PM                 0 esxcli.exe.log
    08/13/2014  08:55 AM         1,898,106 esxcli.zip
    08/13/2014  08:55 AM            12,300 EULA
    08/13/2014  08:55 AM            63,778 EULA.rtf
    08/13/2014  08:55 AM           207,212 open_source_licenses.txt
    08/13/2014  08:55 AM         2,131,968 python26.dll
    08/13/2014  08:55 AM            31,348 svmotion.pl
    08/13/2014  08:55 AM                82 vcli.bat
    08/13/2014  08:55 AM             9,994 vicfg-advcfg.pl
    08/13/2014  08:55 AM            12,080 vicfg-authconfig.pl
    08/13/2014  08:55 AM             9,196 vicfg-cfgbackup.pl
    08/13/2014  08:55 AM             9,456 vicfg-dns.pl
    08/13/2014  08:55 AM            13,032 vicfg-dumppart.pl
    08/13/2014  08:55 AM            17,081 vicfg-hostops.pl
    08/13/2014  08:55 AM            27,513 vicfg-ipsec.pl
    08/13/2014  08:55 AM            78,858 vicfg-iscsi.pl
    08/13/2014  08:55 AM             7,129 vicfg-module.pl
    08/13/2014  08:55 AM            20,277 vicfg-mpath.pl
    08/13/2014  08:55 AM            18,477 vicfg-mpath35.pl
    08/13/2014  08:55 AM             8,606 vicfg-nas.pl
    08/13/2014  08:55 AM             9,696 vicfg-nics.pl
    08/13/2014  08:55 AM             7,425 vicfg-ntp.pl
    08/13/2014  08:55 AM             2,989 vicfg-rescan.pl
    08/13/2014  08:55 AM            13,808 vicfg-route.pl
    08/13/2014  08:55 AM            22,439 vicfg-scsidevs.pl
    08/13/2014  08:55 AM            12,716 vicfg-snmp.pl
    08/13/2014  08:55 AM             5,731 vicfg-syslog.pl
    08/13/2014  08:55 AM            37,949 vicfg-user.pl
    08/13/2014  08:55 AM            27,369 vicfg-vmknic.pl
    08/13/2014  08:55 AM            13,313 vicfg-volume.pl
    08/13/2014  08:55 AM            37,164 vicfg-vswitch.pl
    08/13/2014  08:55 AM            17,712 vifs.pl
    08/13/2014  08:55 AM            24,230 vihostupdate.pl
    08/13/2014  08:55 AM            13,787 vihostupdate35.pl
    08/13/2014  08:55 AM            41,721 vmkfstools.pl
    08/13/2014  08:55 AM            60,794 vmware-cmd.pl
    08/13/2014  08:55 AM            49,664 w9xpopen.exe
                  56 File(s)      5,317,017 bytes
                   2 Dir(s)  34,432,933,888 bytes free
    ...So how do I complete this?
    (So Close!)

    Thanks A.P.!
    Your post led me to the answer here:
    VMware KB: ESXi Server 3.5 June 2011 Rollup CD image
    I missed an update and for that reason I have to do a clean install as stated at the link above.
    My version cannot do any upgrade or update anymore!
    *** What you need to know about the Secure Key Update ***
    ESXi Server 3.5 June 2011 Rollup CD image (2000593)
    This Installable CD contains ESX Secure Key Update ESXe350-201012401-I-BG.
    For more information on this patch, see Critical Impact: VMware ESXi 3.5, Patch ESXe350-201012401-I-BG: Apply this patch to continue applying patches on ESXi 3.5 hosts after June 2011 (1030002).
    NOTE: If you have not applied this patch by June 1, 2011, you will not be able to apply any patches from then on. To get your hosts updated with ESX Server 3i version 3.5 is to apply this Installable CD as fresh install. Alternatively, upgrade to ESXi 4.0 Update 1 Installable. 
    Thanks for your suggestions ... at least it led me to the answer.
    One clean install coming up!

  • Best CLI DVD ripper IYO?

    What's the best CLI DVD ripper IYO?
    There are quite a few options as far as ripping a DVD from the commandline goes; there's burn, the python script, or dvd-backup, another decent command line utility, or the script on the wiki for use with mplayer's mencoder.
    I'm looking for opinions as to which is the best, or alternatively, why you like the one you've got. Being a CLI-fanatic, I want the best ripper I can run in a terminal, with the lowest number of dependencies possible, and preferably no gui at all (i.e. not mencoder, which requires you to have mplayer installed) :cry:
    Your thoughts?

    shadowhand wrote:Two questions about dumping DVDs: Can you loopmount the dump? And if so, can you rip the loopmount?  :shock:
    You can loopmount it with mount -o loop movie.img. But why would you want to? You can play them with mplayer -dvd-device movie.img dvd:// or set the dvd device node of your favorite multimedia player to movie.img.
    As for the second question: I'm not entirely sure. There'll probably some dvd rippers that can rip from an image. I also know that FreeBSD has a program (vndconfig?) that can create a device node that points at the image. I'm not sure Linux can do something like that. But again: why would you want to?

  • Alternative for cdcat?

    Does anyone know any good alternative for cdcat (preferably CLI)?

    Sorry, but your issue is unclear. What is it you are trying to accomplish, or what problem are you experiencing?

  • Alternatives to Leopard Server

    Given the number of glitches , bugs , Documentation fuzziness and a few more subjects we are considering dropping mac os X server has a production platform on newer systems and we are looking for Working stable alternatives to os X Server, i hope we can come back to os X server in the future but until then we will have to switch to something else.
    Any suggestions will be more than welcome and studied in detail....
    I am sorry if this sounds off topic in the Mac os X Server forums but since we are getting so little feedback about the many issues plaguing mac os X Server from Apple in Europe (yes even through support calls that keep mentionning "we have an update coming for the last 2 months) none of them as resolved the issues we are facing.
    Thanking you for your time and attention and waiting to read from you soon ,
    Best Regards,

    Camelot wrote:
    At the end of the day Mac OS X Server is not going to be the best tool for every job.
    Server Admin does a reasonable job for common setups, but there are going to be a lot of people who step outside of the box that Server Admin lives in. I know I'm one of them. Whether that means you're no better off than you would be on another platform depends on what your priorities are. If a unified GUI is important to you and Server Admin isn't up to your needs then Mac OS X may not be the best option. If, on the other hand, you don't mind stepping away from Server Admin in the cases where you need more than it offers you still get the other benefits of OS X.
    As we are in the 'web' portion of this forum, I'll only address my thoughts on the web tools. I agree with most all that Camelot and others have said. Particularly where one doesn't want to rely on one server for all services -- but even that is predicated on load over all else. Surely a 10 person company with one website, email and off-topic services such as file sharing in a mixed environment could be completely happy with a high-end mini or any Xserve for all services.
    However, part of what Apple is selling is a web-capable server. At 10.5.2, OSXS is NOT a great GUI-managed tool for web services. Not only does it still have bugs with regard to Site management and choices the Server group made with configuring httpd (as well as an anemic php/mysql implementation), there are significant limits to using services such as ftp, mail, even listserves.
    I remember thinking when they hired the likes of Eric Z from Starnine (as it was in the throws of building Webstar 4 and being sold to 4D) that maybe he would bring some fine ideas to the Server group. He wasn't technically proficient like real coders such as CJ, but he had some understanding of what Webstar had in terms of strengths. To date, I've not seen a lot of evidence that those strengths have made it to the OSXS product. They didn't in Tiger, they aren't there in Leopard 10.5.2 (yet).
    Where is a simplified GUI admin for supporting multiple FTP accounts to the same home/site (or subpaths within a site)? Where is a decent GUI for admin of php4 settings, even something as simple as upping the .ini file size limits? Where is a decent GUI for supporting multiple domain names in the listserve product? Why does performance cache redirect to an alternate port when an iWeb user uploads oddly-crafted XML tags and the php interpreter parses the page incorrectly? Where is there user-assignable admin rights to email accounts for a specific domain so a sysadmin can delegate account management to a client?
    The list goes on and on. I'm appreciative of what Apple has been able to do with much of the 'web' part of the GUI, but there are many, many features that can be GUI-ized (and should be) if Apple want to continue to push the paradigm that the machine should not get in the way of the user. I've a stack of 20+ year old Addison publications where Apple spent much money and time pushing the user experience concept. To have the unix folks push back and state that only CLI is the answer is -- NOT the answer. It is not how Apple should expect even sysadmins to need to go. And hey, I'm plenty comfortable myself using CLI. But my customers should not have to come to me with every small change for feature sets that can easily be added to the GUI, either under the SA, the WGM, or elsewhere in the GUI toolset.
    OSXS is not really a mature Webhosting server. It is a server that takes the bare bones of Apache, of older PHP tools (why not offer updated modules or ancillary modules for PHP5?) and mySQL tools (same question). Their own scripts cannot properly or reliably migrate a 10.4 installation with Apache 1.3 to Apache 2.x in 10.5. Even the error logs are too obscure to offer much assistance tracking down the actual failures when they occur. Same has already been said of the DNS module.
    I'm trying to stay in bounds here in my critique -- as an enterprise server, OSXS is coming along. It has a lot of maturation to undergo in the 'web' realm, as it does in collaborative sharing (iCal/contacts/etc.). Let's hope by continuing to purchase and deploy it, we can make enough of an impact that Apple grows the product accordingly and doesn't abandon it as they did the Xraid stagnation.

  • Match Content-Type: multipart/alternative;

    Hello,
    we´re doing a 30 Day trial and we´re trying to migrate functions out of our Surfcontrol EF to 2 Ironport C-150.
    add_txt_footer:
    [Sender is stadthalle.com] and
    ["Content-Type: multipart/alternative;" is not in Header] and
    ["aw:, re:, fwd:, wg:" is not in Subject] and
    ["7999979" is not in Body] and
    [Message < 50kBytes] then add txtfooter
    add_html_footer:
    [Sender is stadthalle.com] and
    ["Content-Type: multipart/alternative;" is in Header] and
    ["aw:, re:, fwd:, wg:" is not in Subject] and
    ["7999979" is not in Body] and
    [Message < 50kBytes] then add htmlfooter
    - how can we do that?
    Current situation:
    add_txt_footer: if (mail-from == "stadthalle.com$") AND (header("Content-Type:") != "multipart/alternative;") AND (body-size < 50000) { add-footer("txtfooter"); }
    allways matches, so RTF and HTML Mails dont get the html footer
    </PRE>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <font face="Trebuchet MS"><strong>MASTERS OF DIRT:</strong>
    <br>
    21. + 22. Februar 2009 / Wiener Stadthalle
    <br>
    INFO: <a href="http://www.stadthalle.com">http://www.stadthalle.com</a> 01 / 79 999 79 </font>
    </body>
    </html>
    <PRE>
    any suggestion welcome!
    Klemens

    Hi Klemens,
    I made some slight modifications to your posted filter, and tried out my versions on an IronPort, which good results.
    There are other options you will probably want to add, such as including the name of the outgoing listener to keep messages from being "double-footered".
    This is covered in a Knowledge Base article already: http://tinyurl.com/5gaj24
    I created the following as message filters from the CLI.
    addtxtfooter:
    if(mail-from == "example.com$") AND (header("Content-Type") != "multipart/alternative") AND (body-size < 50000)
    add-footer("txtfooter");
    addhtmlfooter:
    if(mail-from == "example.com$") AND (header("Content-Type") == "multipart/alternative") AND (body-size < 50000)
    add-footer("htmlfooter");
    Hope that helps.
    -whardison

  • [SOLVED]CLI browser search

    I was not sure if this would go in linux discussion or here...so mods, please feel free to move it.
    I am looking for a CLI browser that could fit certain needs:
    1)Have some basic mouse support. I do not want a browser that says - go figure it out or just sit there staring at the homepage I am showing you, and finally hit exit in disgust. I want to be able to use the mouse to click on links (at least initially) without having to tab a million times
    I know CLI browsers are supposed to take you away from the mouse, but I am new to this..so I want it to ease me into it.
    2) Use some graphics imaging. -- I am definitely not asking for Flash or Java support. But it should be able to render the images and logos of websites cleanly. If I ever go on a search to find the next best You Tube video, I will use firefox or something else, but If all I want to do is log into the forums and see the threads or read some articles on newspaper websites, I would like to use the CLI browser which would help with not getting all the gazillion blinking/flashing ads around the periphery.
    Now, before you go off telling me to lmgtfy...I have researched some browsers like
    1) links 2) lynx 3) w3m 4) elinks.
    What I am asking is, can they support the above 2 requirements. Which one is better (I know this is subjective)? If you have used any of the above (or even ones that are not listed for that matter), could you tell me your opinion on it?
    Thanks,
    Last edited by Inxsible (2009-04-11 04:04:07)

    i read somewhere i don't remember (and can't find it now) that says that one can watch for example youtube videos using links -g and mplayer, it was like an automated "save video to disk and play with mplayer" thing, I WANT IT, lol, so if someone knows how to do that please share im sick of firefox and its choppiness and high cpu usage.
    And im looking for a way to replace google reader for rss, because i cant open it in links -g, what are you guys using? i want a lightweight google reader alternative that opens in links -g or that can display images like links -g
    and lastly... my search for a light browser will end if i can use the elinks "tabs" in links -g, is there a way to achieve this?

  • Alternatives to MS workstation authentication certificates for 802.1x?

    I found out recently the hard way that the Certificate Authority bundled with Windows Server 2008 won't load the 'workstation authentication' certificate template.  (You need 2008 Enterprise/Datacentre or 2008 R2, or any edition of 2008 R2).
    Does anyone know of alternative ways of authenticating a device using 802.1x?
    thanks,
    David.

    Hi Kirbus,
    we open a TAC and we were advised for now to do the following changes:
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman","serif";}
    1.       please make sure to disable Aironet extensions (if present)  , on the WLAN advanced configuration
    2.       disable management frame protection (MFP) signature generation (if present) , MFP also on the WLAN advanced configuration
    3.       on the WLC general configuration , can you please disable aggressive load balancing
    4.       on the security tab on the WLC , please wireless protection policies > disable client exclusion policies
    5.       on the AP network configuration please disable short preamble the original standard was long preambles
    6.       Wireless -> disable auto-RRM channel & power assignment & try "on demand"
    7.       apply these modification on the WLC CLI
    Config advanced eap identity-request-timeout 20
    Config advanced eap identity-request-retries 10
    Config advanced eap request-timeout 20
    Config advanced eap request-retries 10
    Save config, and see if you still face the problem.
    We are still monitoring the solution, but until now we didn't face the problem again.
    Let me now how it goes for you.
    Thank you.
    Best regards,

  • [solved] Light GTK alternative to GIMP

    Hello,
    Which applications would you consider as light but still comparable to GIMP?
    I looked into the wiki and there seem to be a variety of them out there based on QT but far less based on GTK which are actively developed.
    I just tried xpaint but it takes a lot getting used to with regards to usability.
    For me a good alternative must allow for basic image editing such as cutting, adding shapes, changing size...
    On Windows for these things I used to have Paint.NET. Although there is Pinta which comes very close to Paint.NET it uses Mono which again is not light either.
    What do you use for basic image editing?
    Last edited by orschiro (2013-10-22 05:33:35)

    Thanks for all your responses.
    What do you mean by "light"?
    Is Gimp in your opinion using too much RAM, or starting up too slowly, or requiring too many dependencies, or has a too bloated user interface, or in what way is it not light enough?
    I would say a combination from all of these. It takes a while to start, the user interface is bloated and confusing. Most of the function of GIMP I have never used.
    PS: There's an AUR package called gimp-devel-light that compiles a bare-bones version of Gimp with many optional features excluded, thus requiring fewer dependencies and probably also less RAM & startup time (though I haven't tested). Is that along the lines of what you're looking for?
    I built it but could not note any subjective difference in speed and usability. It did not feel lighter in any perspective.
    PS: Have you gone through the list of graphics editors on the wiki? (Also, if you end up finding an alternative that is not listed there, be sure to add it!)
    Yes as mentioned in my initial post.
    For situations where interactive editing is not needed, you can use the CLI imagemagick/graphicsmagick for mass image processing.
    Thanks but I am explicitly looking for interactive editing.
    I use Pinta. It starts up WAAAY faster than the GIMP.
    I only started using Pinta recently, once I finally overcame my "OH NO I just CAN'T install a piece of software (Mono) to use ANOTHER good piece of software!" problem.
    If Pinta works and does what you want then use Pinta.
    [orschiro@thinkpad ~]$ sudo pacman -S pinta
    [sudo] password for orschiro:
    resolving dependencies...
    looking for inter-conflicts...
    Packages (5): gtk-sharp-2-2.12.11-1 libgdiplus-2.10-4 mono-3.0.7-1
    mono-addins-0.6.2-3 pinta-1.4-1
    Total Download Size: 47,17 MiB
    Total Installed Size: 192,88 MiB
    Sorry, but this is what I would definitely consider 'heavy'.
    Unfortunately for now I could not find any adequate alternative...

  • How can I stay on the same line  when inputting values in the CLI?

    The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
    Intro)
    I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
    Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
    Sample CLI output:
    bla application
    ***By: deAppel***
    Ver: 31/10/2007
    Your name:     deAppel
    Your class:     MasterClass
    How many sums you want to make? 14
    Time: 22:03:27
    1: 32 + 40 =     72
    2: 38 + 19 =     57
    3: 5 + 57 =     62
    4: 30 + 20 =     1
    5: 57 + 54 =     2
    6: 33 + 17 =     3
    7: 38 + 54 =     4
    8: 23 + 23 =     5
    9: 48 + 47 =     95
    10: 29 + 55 =     6
    11: 48 + 11 =     7
    12: 1 + 40 =     41
    13: 46 + 35 =     91
    14: 23 + 52 =     75
    Answer 1:      72     You answered:      72     (good)
    Answer 2:      57     You answered:      57     (good)
    Answer 3:      62     You answered:      62     (good)
    Answer 4:      50     You answered:      1     (wrong)
    Answer 5:      111     You answered:      2     (wrong)
    Answer 6:      50     You answered:      3     (wrong)
    Answer 7:      92     You answered:      4     (wrong)
    Answer 8:      46     You answered:      5     (wrong)
    Answer 9:      95     You answered:      95     (good)
    Answer 10:      84     You answered:      6     (wrong)
    Answer 11:      59     You answered:      7     (wrong)
    Answer 12:      41     You answered:      41     (good)
    Answer 13:      81     You answered:      91     (wrong)
    Answer 14:      75     You answered:      75     (good)
    EndTime: 22:04:18
    Total good: 6
    Total wrong: 8
    Total sums answered: 14
    Final score: 42.857143%
    Upload score? (yes/no): no
    Compare score from other users? (yes/no): no
    Want to try again? (yes/no): no
    ********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
    ************The application will close within 5 seconds*************
    To sum it up for those that don't like to read my post:
    1: 32 + 40 = 72
    2: 38 + 19 =
    whitespace <-- this happens because of the enter
    whitespace <-- this happens because of the enter
    57
    3: 5 + 57 = 62
    I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
    Hm.. i'll tried to solve it myself but it seems that im unable to do that.
    /me takes a quick coffee break and will look at the code again after that *

    paulcw wrote:
    It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks.

  • How can I assign points to the alternatives in a question?

    Hi! I am building my first quiz in Captivate and I have this little problem I haven´t been able to solve. I want a make a test that meassures how stress you are att work. It looks like a survey, I´ll have about 20 or more questions with the same type of alternatives, no right or wrong alternatives, but you choose the one you agree the most with. The thing is that i want to give a value point to each alternative and be able to have a score at the end. See the example.
    How often do you feel stressed att work?
    1. never : 0 points
    2. one a week: 2 points
    3. three times a week: 3 points
    4. Everyday: 4 points
    Att the end, the score you get tells you how stressed you are, but instead of showing a result in term of points, you´ll get a text giving you feedback and recomendations for better health. Can I do that in Captivate? I haven´t been able to find a way to do that yet...
    Thanks for any help you can give me!

    Hello,
    Tried putting something together that could be possible, concentrated on the workflow. There will be some repetitive tasks to be done however, problem is that a click box cannot stay for a whole project, which means that a click box gets its proper ID on each slide. Will try to explain, it is up to you to judge if this is acceptable, or if you'd go better with a Flash app.
    Created (for the moment, perhaps you'll need more if p.e. for Q1-Q10 you need a separate result for A and for B, result for Q11-Q20...) two user variables:
    v_AClick     to store the number of clicks on A-option
    v_BClick     to store the number of clicks on B-option
    The results can then be used later on for a condition (did not write it yet).
    Created a first slide with these objects:
    dummy Text Caption 'Option A' (will be replaced later on with question text)
    click box covering up this Text Caption, named it (ID) ClickA1 (this is the tedious part, has to be done for each CB; ClickA2, ClickA3...)
    dummy Text Caption 'Option B' (will be replaced later on with question text)
    click box covering up this Text Caption, named it (ID) ClickB1 (this is the tedious part, has to be done for each CB; ClickB2, ClickB3...)
    imported a 'sign' to be showed after the user clicked into the Library, and put an instance to the right of each Text Caption, those were labeled VinkA and VinkB. Very important: set those instances to 'Show for the entire project', which avoids to have them duplicated to each slide, we will hide and show them as necessary.
    button 'Next' which on Succes jumps to next slide.
    The blue Text Caption was for me, to check if the actions were functioning, shouldn't be there in the end file.
    I created a first Advanced action, labeled it HideVink (sorry for the Dutch, Vink = the green symbol), to be triggered on entering the slide:
    Hide VinkA
    Hide VinkB
    Second/third action, labeled A_Action1/B_Action1 to be triggered by clicking on the ClickA1/ClickB2 with these actions:
    increment v_AClick/v_BClick with 1
    hide the other clickbox, thus ClickB1/ClickA1 to avoid that the user could click on both options
    show AVink/BVink
    Here is an example, action A_Action1
    Those two actions have to be duplicated for each Question slide (A_Action2, B_Action2,....). What has to be changed in the duplicates is only the number of the Click Box, that is why I labeled them to make the process easier.
    Now I duplicated the slide as many times as necessary. The actions for button and entering slide are OK, but the actions for the click boxes have to be adapted (tedious).
    Why did I use 'dummy' Text Captions: I should export (File menu) the Text Captions to a Word-document, change the dummy texts (left column) to the real captions (much easier in one doc) and re-import them into the CP-file.
    That was my homework, as promised. Hope it helps, even if you choose to go the Flash-way after all.
    Lilybiri

  • Alternative Periods in Report Painter

    I'm trying to create a report painter report for labour efficiency, it compares actual labour confirmations to a statistical key figure for payroll hours.
    I have the basic elements, but my problem is this.  We currently run our accounts on a calendar month basis, so we have 12 periods in FI.  This report is required on a weekly basis for each weeks payroll.  Is it possibly to report totals for a given week, when that is not your accounting period?
    I can't see any obvious characterisics that will give me a weekly total of each figure, but I'm wondering if it os possible to define alternative periods (e.g. 52/53 week years ending each sunday for a period, and bring that in as a row characteristic).
    Has anybody managed to achieve anything like this, and if so how?
    Postings can occur anytime in the week, so I don't think posting date is an option, but may be if you can specify ranges that can be logically extrapelated in the report (i.e. Mon-Sun).
    Thanks for any advice on this
    Graham

    Has anybody got any comments or advice on this?
    Graham

  • Fail to deploy opensso.war on glassfish

    Hi
    I download glassfish-v3,opensso.war,opensso.jar ..
    install glassfish and start the server
    copy opensso.jar to glassfish\lib ( is it necessary?)
    I want to deploy opensso.war on glassfish,I use the command line:
    asadmin deploy --path c:\opensso\opensso.war
    It show the message:
    SUCCESS : Application opensso deployed successfully
    and under the directory glassfish\domains\domain1\applications has the opensso directory.
    but when I brow : http://localhost:8080/opensso or /amserver ,It prompt 404 error.
    the glassfish server logs show:
    [#|2007-08-14T00:40:33.453+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Using default-web.xml C:\usr\glassfish\config\..\domains\domain1\config\default-web.xml|#]
    [#|2007-08-14T00:40:33.625+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created HTTP listener http-listener-1|#]
    [#|2007-08-14T00:40:33.625+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created HTTP listener http-listener-2|#]
    [#|2007-08-14T00:40:33.640+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created virtual server server|#]
    [#|2007-08-14T00:40:33.656+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created virtual server __asadmin|#]
    [#|2007-08-14T00:40:39.343+0800|INFO|GlassFish10.0|org.apache.catalina.loader.WebappLoader|_ThreadID=11;_ThreadName=Thread-3;|Unknown loader [email protected] class com.sun.enterprise.glassfish.bootstrap.MaskingClassLoader|#]
    [#|2007-08-14T00:40:39.750+0800|INFO|GlassFish10.0|org.apache.catalina.realm.JAASRealm|_ThreadID=11;_ThreadName=Thread-3;|Setting JAAS app name com.sun.appserv|#]
    [#|2007-08-14T00:40:40.437+0800|INFO|GlassFish10.0|org.apache.catalina.session.ManagerBase|_ThreadID=11;_ThreadName=Thread-3;|PWC2763: Manager has already been started|#]
    [#|2007-08-14T00:40:40.796+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Deployed web module StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[opensso] to virtual server server|#]
    [#|2007-08-14T00:40:40.828+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Registered adapter org.apache.coyote.tomcat5.CoyoteAdapter@17b4703 for web endpoint /opensso at port 8080|#]
    [#|2007-08-14T00:40:40.843+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Registered adapter org.apache.coyote.tomcat5.CoyoteAdapter@73305c for web endpoint /opensso at port 8181|#]
    [#|2007-08-14T00:40:40.875+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|opensso web application loaded in 7485 ms|#]
    [#|2007-08-14T00:40:58.765+0800|INFO|GlassFish10.0|null|_ThreadID=12;_ThreadName=Thread-3;|No adapter registered for : /amserver|#]
    who can point error in my deploying steps.

    o I'm sorry ,I move the glassfish to other directory
    so the problem is resolved
    by the way ,how can I delete my posted message?

  • Query help needed for querybuilder to use with lcm cli

    Hi,
    I had set up several queries to run with the lcm cli in order to back up personal folders, inboxes, etc. to lcmbiar files to use as backups.  I have seen a few posts that are similar, but I have a specific question/concern.
    I just recently had to reference one of these back ups only to find it was incomplete.  Does the query used by the lcm cli also only pull the first 1000 rows? Is there a way to change this limit somwhere?
    Also, since when importing this lcmbiar file for something 'generic' like 'all personal folders', pulls in WAY too much stuff, is there a better way to limit this? I am open to suggestions, but it would almost be better if I could create individual lcmbiar output files on a per user basis.  This way, when/if I need to restore someone's personal folder contents, for example, I could find them by username and import just that lcmbiar file, as opposed to all 3000 of our users.  I am not quite sure how to accomplish this...
    Currently, with my limited windows scripting knowledge, I have set up a bat script to run each morning, that creates a 'runtime' properties file from a template, such that the lcmbiar file gets named uniquely for that day and its content.  Then I call the lcm_cli using the proper command.  The query within the properties file is currently very straightforward - select * from CI_INFOOBJECTS WHERE SI_ANCESTOR = 18.
    To do what I want to do...
    1) I'd first need a current list of usernames in a text file, that could be read (?) in and parsed to single out each user (remember we are talking about 3000) - not sure the best way to get this.
    2) Then instead of just updating the the lcmbiar file name with a unique name as I do currently, I would also update the query (which would be different altogether):  SELECT * from CI_INFOOBJECTS where SI_OWNER = '<username>' AND SI_ANCESTOR = 18.
    In theory, that would grab everything owned by that user in their personal folder - right? and write it to its own lcmbiar file to a location I specify.
    I just think chunking something like this is more effective and BO has no built in back up capability that already does this.  We are on BO 4.0 SP7 right now, move to 4.1 SP4 over the summer.
    Any thoughts on this would be much appreciated.
    thanks,
    Missy

    Just wanted to pass along that SAP Support pointed me to KBA 1969259 which had some good example queries in it (they were helping me with a concern I had over the lcmbiar file output, not with query design).  I was able to tweak one of the sample queries in this KBA to give me more of what I was after...
    SELECT TOP 10000 static, relationships, SI_PARENT_FOLDER_CUID, SI_OWNER, SI_PATH FROM CI_INFOOBJECTS,CI_APPOBJECTS,CI_SYSTEMOBJECTS WHERE (DESCENDENTS ("si_name='Folder Hierarchy'","si_name='<username>'"))
    This exports inboxes, personal folders, categories, and roles, which is more than I was after, but still necessary to back up.. so in a way, it is actually better because I have one lcmbiar file per user - contains all their 'personal' objects.
    So between narrowing down my set of users to only those who actually have saved things to their personal folder and now having a query that actually returns what I expect it to return, along with the help below for a job to clean up these excessive amounts of promotion jobs I am now creating... I am all set!
    Hopefully this can help someone else too!
    Thanks,
    missy

Maybe you are looking for

  • Original iPhone will no longer connect to wifi

    I have an original iPhone updated to 3.1.2 recently. Since then I have had problems with it connecting to my wifi networks both at work and at home with no other network problems to speak of. It was connecting on and off until finally, it will not co

  • How do I remove the submit button?

    I have a form that provides information only.  Is it possible to remove the submit button.  There is also a text input box at the base of the form with no provision for deleteing. How can I delete this?.

  • Helpful link for automator

    I was struggling to figure out where my old contextual automator menu items had gone. I never did determine that, but in the process found a handy web page that helped me fairly quickly reconstruct the couple that I routinely used. You might find the

  • Trying to install new version of software from the Mac App Store

    My iMac is running OS X 10.6.8 I purchase a copy of Swift Publisher 3.0.1 back in June of 2012. I paid $19.99 U.S.D for this upgrade, then. I just went to the Mac App Store to download a more recent version ( ver 3.5.5). It is not coming up in the Ma

  • Cannot access e-bay

    cannot log onto e-bay - called them - they can log in so have advised mer problem with my browser