How to import class files in Rhino shell

Hi,
i want to test some methods of ScriptEngineContext class in
Microsoft_Active-Directory-and-Windows_2011.1r3 collector, so i import
some class files in Rhino shell, but some errors apeared, detail steps
are following:
1. steve_zeng@suse01:~/sentinel/doc/Plug-ins/Collectors> cd
Microsoft_Active-Directory-and-Windows_2011.1r3, it will apear some
important jar packages(red fonts)
accountImpl.js commons-codec-1.3.jar dataobject.js
event.js joda-time-2.1.jar protoEvt.map sha1.lic
trust.js
account.js commons-io-2.4.jar date.js
eventsource.js js.jar Rec2Evt.map sqlquery.js
trusttype.js
agent.nfo commons-logging-1.1.jar docs
eventsourceserver.js LegacyEvtNames.map record.js sysEvents.map
utils.js
asset.js commons-logging-adapters-1.1.jar error_codes.map
Evt2EvtData.map logon_types.map release.js
syslog_facility.map vuln.js
bsf-240.jar commons-logging-api-1.1.jar EULAs
file.js main.js session.js taxonomy.map
window-field.map
collector.js connector.js
eventcode_parsing.js identityImpl.js master.jar
severity.map tenant.js xdas_out.map
collectorutil.jar data event_codes.map
identity.js package.xml sha1.js trustImpl.js
xdas_tax.map
2.
steve_zeng@suse01:~/sentinel/doc/Plug-ins/Collectors/Microsoft_Active-Directory-and-Windows_2011.1r3>
java -classpath ./js.jar org.mozilla.javascript.tools.shell.Main
Rhino 1.7 release 3 2011 05 09
js>
3. js> JavaPackage
esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext
js: "<stdin>", line 3: missing ; before statement
js: JavaPackage
esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext
js: .....................^
4. js> loadClass(JavaPackage
esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext);
js: "<stdin>", line 4: missing ) after argument list
js: loadClass(JavaPackage
esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext);
js: ...............................^
js>
when i run JavaPackage or loadClass shell, js: "<stdin>" error apears,
why? does anyone can help me? thanks!
BR
Steve zeng
steve_zeng
steve_zeng's Profile: https://forums.netiq.com/member.php?userid=3875
View this thread: https://forums.netiq.com/showthread.php?t=49805

steve_zeng;239719 Wrote:
> Hi,
> i want to test some methods of ScriptEngineContext class in
> Microsoft_Active-Directory-and-Windows_2011.1r3 collector, so i import
> some class files in Rhino shell, but some errors apeared, detail steps
> are following:
>
> 1. steve_zeng@suse01:~/sentinel/doc/Plug-ins/Collectors> cd
> Microsoft_Active-Directory-and-Windows_2011.1r3, it will apear some
> important jar packages(red fonts)
>
> accountImpl.js commons-codec-1.3.jar dataobject.js
> event.js joda-time-2.1.jar protoEvt.map sha1.lic
> trust.js
> account.js commons-io-2.4.jar date.js
> eventsource.js js.jar Rec2Evt.map sqlquery.js
> trusttype.js
> agent.nfo commons-logging-1.1.jar docs
> eventsourceserver.js LegacyEvtNames.map record.js sysEvents.map
> utils.js
> asset.js commons-logging-adapters-1.1.jar error_codes.map
> Evt2EvtData.map logon_types.map release.js
> syslog_facility.map vuln.js
> bsf-240.jar commons-logging-api-1.1.jar EULAs
> file.js main.js session.js taxonomy.map
> window-field.map
> collector.js connector.js
> eventcode_parsing.js identityImpl.js master.jar
> severity.map tenant.js xdas_out.map
> collectorutil.jar data event_codes.map
> identity.js package.xml sha1.js trustImpl.js
> xdas_tax.map
>
>
> 2.
> steve_zeng@suse01:~/sentinel/doc/Plug-ins/Collectors/Microsoft_Active-Directory-and-Windows_2011.1r3>
> java -classpath ./js.jar org.mozilla.javascript.tools.shell.Main
> Rhino 1.7 release 3 2011 05 09
> js>
>
> 3. js> JavaPackage
> esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext
> js: "<stdin>", line 3: missing ; before statement
> js: JavaPackage
> esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext
> js: .....................^
>
> 4. js> loadClass(JavaPackage
> esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext);
> js: "<stdin>", line 4: missing ) after argument list
> js: loadClass(JavaPackage
> esecurity.ccs.comp.evtsrcmgt.collector.util.Script EngineContext);
> js: ...............................^
> js>
>
>
> when i run JavaPackage or loadClass shell, js: "<stdin>" error apears,
> why? does anyone can help me? thanks!
>
>
> BR
> Steve zeng
Can you explain a little more about what you're trying to accomplish by
this? The script engine is not really designed around facilitating
shell-based access right now,I'd be interested to know what you can't do
in the Debugger that you are trying to accomplish in the shell.
brandon.langley
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=49805

Similar Messages

  • How to convert .class file to exec file...

    hi.
    how to convert .class file to exec file...
    please explain me clearly.....
    thanks...

    Placing your exact "question" into google:
    http://www.google.com/search?q=how+to+convert+.class+file+to+exec+file...

  • How to import MXF files to Final Cut Pro with smooth editing

    Summary: Follow this tutorial to learn how to import and edit MXF files in Final Cut Pro by converting MTS to FCP native format.
    If you have a Panasonic P2, Canon XF or Sony XDCAM series camcorder,
    you may be familiar with Material eXchange Format (MXF). Though MXF is a
    great video format to record high-definition videos, it is not easy to
    use in that they are not natively supported by most NLE systems like
    Final Cut Pro. In order to import MXF to FCP for editing, the easy workaround is to transcode MXF files to FCP compatible video formats.
    Along with some help from a top MXF Converter, it can be done. To
    help those who wanna edit MXF files in FCP without problems, here I
    share with you a simple guide on how to convert MXF files to edit in
    Final Cut Pro 6/7 or FCP X.
    First of all, downloading the App- Brorsoft MXF Converter for Mac
    Overall, the program is a professional yet easy-to-use MXF Converter
    on Mac (Mavericks included) which can not only convert XF100, Canon
    C300, XF105 and XF305, Panasonic P2 recorded MXF files, but also provide
    simple video editing functions for you. The MXF to FCP Converter not
    only can convert MXF to ProRes for FCP, but also can transcode MXF
    videos for editing in Avid MC, Adobe Premiere Pro, iMovie, FCE, etc.
    Just download it and follow the tutorial below to get the work done.
    Transcoding (P2) MXF files to ProRes for Final Cut Pro 6/7/X
    1. Import MXF files to the converter
    Launch the best MXF to FCP Converter, and then click the “add files” button to browse and import MXF videos from your camcorder or hard drive.
    2. Select FCP editable format
    Click the Format bar, and move mouse cursor to choose “Final Cut Pro > Apple ProRes 422 (*.mov)” as output format.
    Tips:
    a. Settings- click to set video
    resolution(1920×1080/1440×1080/1280×720/720×480), bitrate (from 1Mbps to
    20Mbps), frame rate (24p/30p)
    b. Editor (next to “Add” icon)- click to set deinterlace, trim, crop, add effect, attach subtitles, etc
    3. Start transcoding MXF video to FCP
    Click “Convert” button to start converting MXF files to Apple ProRes
    MOV for FCP 6/7/X under Mac OS. Once the MXF to ProRes 422 conversion
    is done, you can transfer MXF footage into Final Cut Pro (X) for editing
    smoothly on Mac with ease.
    Source:How to import MXF files to Final Cut Pro with smooth editing
    [quote] jacknjchn.tumblr.com/post/76914947404/cant-import-mxf-footage-to-fcp-transcoding-mxf-to-fcp [/quote]

    You may refer to this step by step guide on how to convert MXF to Final Cut Pro more supported Apple ProRes or DV at http://www.idealshare.net/imovie-fcp/mxf-final-cut-pro.html
    It also applies to convert MXF to other video or audio format. It even applies to convert other videos like AVCHD, MOD, TOD, AVI, and MPEG etc to FCP format.

  • How to import WAR files in NetBeans 6.1?

    Please any one tell me how to import WAR files in NetBeans 6.1?

    I have been using NetBeans for so many diff project but till now i didn't get chance to import WAR. But there i tried one wat as follows:
    New Project -----> Enterprise ----> package Archive ...... it shows me creating project bar at right bottom bur i cannot see any such project at project window as weel as specified location pecified at the time of creation.

  • How to import .pdf files into iBooks?

    How to import .pdf files into iBooks?

    Or send the file from your computer to your ipod by emailing yourself the pdf. Then if you open the Mail client and you open the pdf there is an option to select open in ibooks. It will save it to your device for remote viewing.

  • How to import DivX files???

    How to import DivX files??? File format not supported... Adobe Premiere Pro CS4.

    I am with you, as I get handed all sorts of "stuff." I have a normal workflow, with about anything but DV-AVI (I only do SD for now), and that is do a batch conversion with DigitalMedia Converter. I have also found that some other NLE's are more lenient, regarding odd CODEC's. I have used PrElements, CyberLink PowerDirector (does DivX pretty well, with the CODEC installed) and Magix MovieProducer Pro.
    Still, PrPro is my NLE of choice by a great stretch, and I just use the others as tools to get the media in the proper form. I have been amazed at the spectrum of formats/CODEC's that people come up with, but also by how well (when you factor out those heavily compressed deliver-only format/CODEC's and the quality loss) I can convert, and then edit some of this stuff.
    It's just the way that it goes. It's like the client, who comes in with a DVD, created in some DVR unit, and wants it edited and shipped off on another DVD. Quality loss with 2x MPEG-2 Transcodes, and the first VOB is going to also have cr*p Menus and navigation, that I have to rip around. Still, the job gets done.
    With the Moyea FLV Importer for Premiere, I can even edit that junk, when they pull something off of YouTube (only if the © issues can be handled).
    Good luck, and sorry for the bad news. PrPro is very sensitive to the CODEC's that it will edit with. Others, well not so much, but who would want to edit with them?
    Hunt
    [Edit] PS - I have never been able to Export to Xvid, though I can Export to DivX just fine. Xvid hangs PrPro, and PrE too.
    Message was edited by: Bill Hunt - Added [Edit]

  • How to import multiple files to the frame area?

    How do I import multiple files to create animated GIF's. I
    know how to import multiple files into the Fireworks, but if I'm
    trying to create an animated gif that has alot of files, How do I
    get them into the frames area. It is really a pain importing each
    and every file one at a time frame by frame

    merry1
    after you bring in all your images to the canvas, select all
    and in the
    Frames Options drop down, select Distribute to Frames.
    You can bring multiple images onto the canvas by copy and
    pasting from
    the folder(s) where they exist.
    alex
    merry1 wrote:
    > How do I import multiple files to create animated GIF's.
    I know how to import
    > multiple files into the Fireworks, but if I'm trying to
    create an animated gif
    > that has alot of files, How do I get them into the
    frames area. It is really a
    > pain importing each and every file one at a time frame
    by frame
    >

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    I have the latest adobe creative cloud and i'm using Mac 10.8.2
    My client gave me a wmv file that she wants some people blurred out in the background but when I go to import the media, it's greyed out. I'm assuming that After Effects will be the best solution for this, but maybe there is another way.
    I can purchase a video converter and convert it to .mov but that costs extra money that I don't want to spend just to do this one project.

  • How to Import .txt files in ORACLE having 300 thousand records

    How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context

    You can make use of Sql*Loader utility and You can also use External table technique for this puspose.
    For external table go through this link.
    http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    Regards

  • How to Import AVCHD Files?

    I recently purchased a Sony HandyCam HDR-SR10 Camera. I love the camera overall but now i have video files that i need to put on my computer. After speaking with Sony Support they said that in order to transfer files i must use the camera as a hard drive basic stuff just click and drag. However i ran into the problem that all of my AVCHD Files were not able to be opened by any program. After reading up and looking around i found that it seems Final Cut Express 4 now has the ability to import AVCHD files DIRECTLY from the camera to Final Cut Express... I really would like to know how to do this in Final Cut Express.... Any Help, Insights, or Tutorials, would be GREATLY appreciated. I really just need to know how to import the files to my computer and be able to edit them.....
    -- thanks in advance.... charlie

    For starters, watch the FCE4 Built-In AVCHD Quicktour
    There are tutorials also.

  • New syntax to import .class Files???

    Using JDK 1.2.2 i coul import my own class files by typing
    import ClassName;
    Using the j2sdk1.4.0 compile I get the Error Message
    `.` expected
    Is there a new synatx for importing .class files???

    Normally I don't help anyone under this username, but since the idiot Kayaman is here being his usual jerk-ness providing no meaningful help whatsoever (as usual), I'll let you in on the fact that 1.4 doesn't let you import un-packaged classes anymore. So just remove the import statement, or change your imported class into some kind of package.

  • How to Import Transport Files to SAP System

    Hi Experts,
    I have installed BO XI R3.1 SP3 Integration tool kit for SAP Solutions with Java Connectors.Now i can able to see SAP after login into the CMC. I have installed prerequisites like SAP GUI,Xcelsius,BO XI 3.1 Enterprise.
    1)Can you please tell me how to import transport files to SAP System?So that i can connect to BW to Bo environment.I am unable to understand the process to do above task form pdf.

    Hi Venkat,
    in case you have never done that before I would suggest you talk to the basis admin person and let him do it.
    ingo

  • How to import MXF file to final cut pro?

    how to import MXF file to final cut pro?

    Directly or XDCAM transfer depending on camera according to this:
    http://en.wikipedia.org/wiki/Material_Exchange_Format
    If it doesn't work, I'd ask the question on Final Cut Pro forum, being sure to mention which version of Final Cut Pro you are using. 

  • I started my iTunes account on my Dell Desktop years ago and want to know how to import my files onto my new MacBook Pro?

    I started my iTunes account on my Dell Desktop years ago and want to know how to import my files onto my new MacBook Pro?

    It should be in Favorites.
    If not, click on the desktop then go to Finder menu > Preferences > Sidebar and tick Music.
    Your Music folder is in Macintosh HD > Users > Your username.

Maybe you are looking for

  • Upgrade chip and memory

    Can I upgrade the chip and memory? if so what can I use. The system is a little too slow. Yes I have all the software to speed it up. Thanks HP 2000 Notebook PC Windows 8.1 64-bit [Edited for Personal Information] AMD E-300 APU with Radeon(tm) HD Gra

  • Exclamation mark instead of photo!

    I tried to transfer the contents of an album I have created to a Flashdrive... somehow now all the of the photos in that album won't 'open' I just get an exclamation mark when I click on them -- and also some of the photos in 'Photos'... what on eart

  • Desktop wont Recognize Bluetooth Blackberry

    Just bought New Toshiba P770 laptop that has Bluetooth.  Just installed Blackberry Desktop Manager 6.1 and updated my Curve 8530 to 5.0. When I connect my Curve to the laptop, it shows connected, but Desktop doesn't recognize it and wont give me the

  • HT1364 How do you convert iTunes movie files so that you can watch them on Windows Media Player?

    Hello. For school, I am supposed to make a video mash-up from a movie. I bought the movie I needed, but now I can't open it in Windows Movie Maker to edit it.

  • Not working Billing Block functionality for Invoicing Plan

    Hi Experts, I am using Invoicing plan functionality to purchase materials by using Milestones from Network of Project System. The system is allowing to post Vendor Invoice (MIRO) without removing of Billing Block of Invoicing Plan from PO and the sys