Error running demos but not when compiling?

Hi!!
I can't run the mail demos they just return with errors like this:
Exception in thread "main" java.lang.NoClassDefFoundError: msgshow
I have put the classpath into my system variables under win2003 server like this:
Name: Value:
CLASSPATH e:\web_progs\jaf\activation.jar;e:\web_progs\javamail\mail.jar
I have also tride running the set command at the prompt with above values, no diffrent.
I'm running everything on a Windows 2003 Server and Java SDK 1.4.2_04.
Everything else works on the system, just not the javamail function.
I have searched the forum a.s.o. but only found tips on adding the classpath into windows
system variables, setting them at the prompt a.s.o. have tried them all no luck.
Thanks in advance
Marcus

I got it to work, added a . when setting the classpath at the prompt.
Now i just have to figure out how to get the damn webpage to work(not my build).
/Marcus

Similar Messages

  • Customized chrome works when running, but not when compiling ?

    Dear webmates :
    I have customized my chrome in Flex : it does not show the window container  (transparent) , etc... and works great when I run it... however, when I compile it in order to have the standalone file... it simply works displaying again the window ! what do I have to do ? thanks in advance...

    Hello,
    When you built your installer, did you include all of the dynamically called VIs?  The application builder does not know about dynamically called VIs unless you specifically tell it about them (which of course makes sense, as they are dynamic).  Other potential issues might be the change in behavior of the Current VI's Path constant, or a lack of other dynamically called objects such as dlls or drivers.  Make sure that the dynamically called VIs have been properly installed on your target computer in the desired paths.  If that doesn't solve the problem then make sure that your application has good error handling capabilities (i.e. handles all error wires and eventually passes them to an error handler) so that you can use the error to determine which files are missing or in the wrong location.
    Regards,
    Ryan K.

  • RPC Error in ISE but not when I run manually in console

    I'm having a very strange issue. I developed a function that invokes SCCM Machine policy refresh on a remote computer:
    Function Refresh-SCCMMachinePolicy {
    param($computer = $null)
    $ms = new-object system.management.managementscope
    $ms.path = “\\$computer\root\CCM”
    $mc = New-Object System.Management.ManagementClass($ms , ‘sms_client’,$null)
    $mc.invokeMethod(‘TriggerSchedule’,'{00000000-0000-0000-0000-000000000021}’)
    Write-Host "Machine policy refreshed on $computer" -foregroundcolor yellow
    I set the $computer to a machine name and run these line by line from the console and it works but if I try to run the following in ISE it gives me an RPC error...:
    Import-Module 'smodule.psm1'
    Import-Module 'ConfigurationManager.psd1'
    $computers = get-cmcollectionmembership -CollectionName 'Test'
    foreach ($computer in $computers)
    Refresh-SCCMMachinePolicy -computer $computer
    Remove-Module 'smodule'
    Remove-Module 'ConfigurationManager'
    I get this error:
    The following exception occurred while retrieving member "invokeMethod": "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"
    At smodule.psm1:74 char:5
    +     $mc.invokeMethod(‘TriggerSchedule’,'{00000000-0000-0000-0000-000000000021}’)
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], ExtendedTypeSystemException
        + FullyQualifiedErrorId : CatchFromBaseGetMember
    The function above is loaded from smodule.psm1 file.
    I also have tried saving the ISE script above as a PS1 file and running it from the console but I get the same error. Both machines have executionPolicy set to bypass.
    I have tried many different Firewall configurations to no avail as well. Not sure it would be a firewall issue anyway as it works from the console... Am I missing something?
    Thanks!
    Tony

    Oddly enough, now after I fixed the quotes, it gives me the error in the console too...
    I know it was working before because I was watching the SCCM logs on the client and when I would run it, the appropriate logs would start updating...
    Update: opened a console window with Admin credentials and it worked...
    Yep, you'll need to run elevated.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • SWFloader loads SWF movie within Flex but not when compiled

    When I run my app in Flex, SWFLoader loads the SWF okay as a movie clip but as soon as I Export/Release Build, the new app SWF that is generated won't show the movie clip anymore.  If I take another SWF that is an app (not a movie clip) and give it the movie swf name, my compiled app will show the sub app in a frame.  Why would running something within Flex be any different than running a compiled version?
    Here is some of the code:
    button1 loads the swf.
    button2 loads a sound and when the sound is loaded, the sound is played and the swf is played in onSoundLoaded();
    public  function onSoundLoaded(event:Event):void{
    var localSound:Sound = event.target as Sound;localSound.play();
    var clip:MovieClip = MovieClip(swflodr.content);
    clip.play();
    private  
    function button1Handler(event:Event):void {Alert.show("test 1");swflodr.load(
    "dog.swf");Alert.show(
    "test 2");}
    private  
    function button2Handler(event:Event):void
    var s:Sound = new
    Sound();s.addEventListener(Event.COMPLETE, onSoundLoaded);
    var  
    req:URLRequest = new URLRequest("test.mp3");
    s.load(req);
     private function SwfLodrEventHandler(event:Event):void { 
    var clip:MovieClip = MovieClip(swflodr.content);clip.gotoAndStop(1);
    Alert.show(
    "The event loader is ready");}
    thanks, Mike

    Maybe timing?  The child SWF may not be fully loaded.  Sounds and SWFs are asynchronously loaded.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • EncryptedLocalStore... works in debug, but not when compiled.

    Okay, so I looked around the forum and saw a couple of people with this same problem, but their solutions didn't seem to help me. I don't know if it's because I didn't understand them, or what.
    Here's my problem.
    I've written a nifty little AIR app (AIR 1.5), using Aptana, JavaScript (jQuery) and HTML. The app works perfectly when run from the debugger inside of Aptana.
    However, when I deploy the application (sign it with my self-signed certificate, etc.) and then install it, all of the ELS functionality ceases to work.
    I'm obviously not the first person this has happened to, but I don't know what it is that I'm doing wrong.
    If it helps, here is the code for my DataStoreManager:
    var DataStoreManager = function(){
         return{
              __insert: function(key, data){
                    * function to insert data into the local encrypted datastore
                    * @author: Chris Jordan
                    * @date: 03/22/2010
                    * @param: key - the key to save the data to in the encrypted store.
                    * NOTE:
                    *  This now relys on the global AppConfig object rather than any passed in values.
                   var my = {};
                   //serialize the AppConfig object
                   my.serializedAppConfig = jQuery.toJSON(data);
                   my.byteArray = new air.ByteArray();
                   my.byteArray.writeUTFBytes(my.serializedAppConfig);
                   air.EncryptedLocalStore.setItem(key, my.byteArray);
                   em.dispatchEvent("DataStorageComplete");
              __read: function(key){
                    * function to read data from the local encrypted datastore
                    * @author: Chris Jordan
                    * @date: 03/23/2010
                   var my = {};
                   //get the byteArray back out of the encrypted local store
                   my.byteArray = air.EncryptedLocalStore.getItem(key);
                   if(my.byteArray != null){
                        //if we got something back, then read it and return it.
                        return my.byteArray.readUTFBytes(my.byteArray.bytesAvailable);
                   else{
                        return "";
              __remove: function(key){
                    * function to remove data from the local encrypted datastore
                    * @author: Chris Jordan
                    * @date: 03/23/2010
                   air.EncryptedLocalStore.removeItem(key);
    BTW, is there a better way to insert code snippets into a forum post? I just manually edited the html to make it a bit nicer to look at. Anyway, that aside, I'm hoping that someone can help me with my real issue.
    Thanks!

    Okay, so I switched from using the ELS to just writing my serialized string out to a file. This didn't fix my problem though. The app still behaves the same way. Only now, I can monitor that file that I'm writing the serialized string to, for changes and I learned something by doing this.
    My app has a config screen that gathers three pieces of information and stores it. So the user opens this screen, adds the data, and clicks save to write the data to a file, and close the window. So the end result of clicking save is that the config window closes (after having written the data to file).
    When I export the app and run it, I add some data and click save, but the window doesn't close. I can, at that point look at the config file and see that the data has indeed been serialized and written to the file. It just appears that the screen hasn't closed. So, I click save again (what else am I going to do?). This time the window closes, but an empty string has been written out to the file replacing the config string I had out there to begin with!
    So when I saw this behavior I immediately thought that maybe I had a timing issue. I should probably explain that I'm using jQuery (.bind and .trigger) to implement the observer pattern in this app. So, when I click the "Save" button, an event gets dispatched telling the app to write the data down to the disk. When that's done the function that is doing the writing announces that it's done saving, and in response to that announcement I dispatch two other events. One to close the config window, and one that rebuilds a menu using the new config data. These last two events should be mutually exclusive. They don't depend on each other. But just in case, I have tried just dispatching the close window event, and commenting out the rebuild menu event. That didn't help at all.
    So, like I said, maybe I've got some kind of timing issue here. So I took my dispatchEvent function and wrapped it in a timer.
    //the way my dispatchEvent function used to look (without the timer)
    var em = function(){
        return {
            dispatchEvent: function(e, o){
                jQuery(document).trigger(e,[ o || null ]);
    //new and improved function with a timer...
    var em = function(){
        return {
            dispatchEvent: function(e,o){
                var my = {};
                my.timeout = setTimeout(function(){
                    jQuery(document).trigger(e,[ o || null ]);
                },100);
    However, for all this... the timer didn't change things at all. I tried 100 milliseconds and 500 milliseconds. No difference. So, maybe it's not a timing issue... I don't know.
    This is really bugging the crap out of me. I'm doing something wrong I guess, but I can't seem to figure out for the life of me, what the hell it is! Maybe I've just been staring at the code too much, but I could really use a hand. Has anyone else ever encountered this kind of thing before?
    I'm starting to wonder what sort of apps have been written for the AIR platform using JavaScript. Is this happening because of the way I'm implementing the observer pattern or what? I know that last one would be difficult to answer without having all my code to look at, but I'm not beyond thinking that I've just done something wrong on that front.
    BUT...
    It works PERFECTLY when being run from within the IDE (again, that's Aptana in this case).
    What gives?
    Thanks for reading. I hope someone out there can help me.

  • Jar runs from Dos prompt, but not when double clicked.

    Hello everyone,
    My executable jar file will run fine when called from the Dos prompt like so: java -jar myJarFile.jar
    But not when I double click it. I've associated *.jar files with java.exe as suggested here on the forums but all that happens when I double click the jar file is that I get an instance of the Dos prompt that flashes up on the screen and closes immediately. Any help or suggestions would be appreciated, thank you.
    This short tutorial I found earlier may be of help to somebody.
    http://www.cs.princeton.edu/introcs/85application/jar/jar.html

    Yes Carmello, I had associated jar files via folder options in windows explorer with java.exe, now when I have the jars associated with javaw.exe as in the following:
    ACTION:
    javaw.exe -jar "%1"
    APPLICATION USED TO PERFORM ACTION:
    javaw.exe "%1"
    I get an error dialog with the title string "Java Virtual Machine Launcher" and the error message itself is "Could not find the main class. Program will exit." when I double click on the jar file. As I said in my first post the application [GUI based with around ten different forms] runs fine when called from the Dos prompt. Any idea as to what is wrong? Thanks for replying by the way.

  • I have several ipod nanos. i can sync one, but since i connected the ipad 2 I am getting an error on two of them, it says cannot sync, error 13019. the loaded songs show on the computer (on the ipods), but not when the ipod is plugged off the usb

    i have several ipod nanos. i can sync one, but since i connected the ipad 2 I am getting an error on two of them, it says cannot sync, error 13019. the loaded songs show on the computer (on the ipods), but not when the ipod is plugged off the usb. Any answers? please

    You can sync your iPod with multiple computers, but what can be synced is very limited.  See this article for more details.
    http://support.apple.com/kb/ht1202
    B-rock

  • Captivate 3 shows skin in preview but not when I run after published?

    Captivate 3 shows skin in preview but not when I run after published.  It shows it is included, what's up?

    Is the Skin externalised?  If so, perhaps Flash Global Security is interfering:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-flash-global -security
    You could also try NOT externalising the skin.

  • How to apply an InDesign Paragraph Rule above, but not when first in column

    How do I apply a paragraph rule "above" but not when first in a column. In other words, the rule above will only run if it isn't the first paragraph in the column (even if it appears in a multi-column text frame).
    Before you jump the gun: Rule below will not solve that, for various reasons.
    Thanks much in advance.

    Aha! Apparently totally!
    Here a similar way to yours with an anchored block. Copy it and launch this simple regex. Easy with no headache! 

  • SpryHiddenRegion error in IE7 but not FireFox

    Here is a copy of the code and the errors I get. Does anyone
    have any ideas why this would happen in IE only?
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    <tr id="top">
    <th onClick="dsPages.sort('id');">ID</th>
    <th onClick="dsPages.sort('name');">NAME</th>
    </tr>
    <tbody spry:repeatchildren='dsPages'
    spry:choose="choose">
    <tr spry:when="{id} == selectedID"
    class="SelectedLastClass" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    <tr spry:default="default" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    </tbody>
    </table>
    </div>
    ERROR:
    expected ':'
    and
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]
    Thanks for your help.
    Jim

    i have reduced the code to the following:
    <script type="text/javascript">
    dsPages = new
    Spry.Data.XMLDataSet('views/pages/getdata_pages.cfm',
    '/dataset/row', {useCache: false});
    </script>
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    </table>
    </div>
    and i get the following error in IE but not FireFox:
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Podcast - works on iTunes page but not when subscribed

    Hi, I produced my podcast, submitted the feed through iTunes store and was validated. However, it happens so that people can listen to the podcast on iTunes page but not when they subscribe to it and try to download. error points to URL issues apparently. Help.

    It works perfectly well for me. On subscribing I saw all three episodes and downloaded and played Episode 2 without any problems. The only explanations I can suggest are that either some of your subscribers are having some sort of technical issue at their end: or that your server is intermittently sulking and failing to respond to requests. Try playing the episode from this link a few times on spaced-out occasions and see whether you ever get a failure:
    http://thecricketcouch.com/CouchTalk/CouchTalk-AntSims-SanaKazmi-062611.mp3

  • Load swf works in Publish Preview but not when published

    Hi Folks,
    I having a problem where im trying to load two 1mb SWF movies into my Flash piece. It works fine in Publish Preview but not when I finally publish. I get this error in IE:
    SecurityError: Error #2000: No active security context.
    I have googled around and there is some talk online of a hack where by you get a timeout to overcome this. However im not so technical do I dont really know how to do this to my code in AS3. My code at the moment is below.
    Any help would be much appreciated and rewarded with Karma
    movieClip_12.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_9);
    var fl_Loader_9:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_9:Boolean = true;
    function fl_ClickToLoadUnloadSWF_9(event:MouseEvent):void
    if(fl_ToLoad_9)
      fl_Loader_9 = new Loader();
      fl_Loader_9.load(new URLRequest("search.swf"));
      addChild(fl_Loader_9);
    else
      fl_Loader_9.unload();
      removeChild(fl_Loader_9);
      fl_Loader_9 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_9 = !fl_ToLoad_9;
    movieClip_14.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_10);
    var fl_Loader_10:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_10:Boolean = true;
    function fl_ClickToLoadUnloadSWF_10(event:MouseEvent):void
    if(fl_ToLoad_10)
      fl_Loader_10 = new Loader();
    fl_Loader_10.load(new URLRequest("refunds.swf"));
      addChild(fl_Loader_10);
    else
      fl_Loader_10.unload();
      removeChild(fl_Loader_10);
      fl_Loader_10 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_10 = !fl_ToLoad_10;

    I think this is either a problem with my site preLoader or my external .swf Loader. I was checking out the bandwith profiler and saw something weird and I wondered if anyone could explain...I've added a picture. I have a blank frame on only my actions layer to export classes to and it seems that frame 2 is "bleeding" into frame 1. Could this be my problem? Why would this happen? Thanks

  • Firefox throws "This Connection is Untrusted" when using hostname, but not when using IP address

    I am remotely accessing a website which has iFrame in it. The website uses https, but iFrame tag has "src" pointing to a site using http only. However, when I remotely go to the site, iFrame shows the message below although the ''src" url is http only (there is no SSL certificate) when I use IP address (https://10.10.101.156:8006/apprecovery/admin/Core/Storage) in address bar instead of hostname (https://hostname:8006/apprecovery/admin):
    ===
    This Connection is Untrusted
    You have asked Firefox to connect
    securely to d37t50w1, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely,
    sites will present trusted identification to prove that you are
    going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to
    this site without problems, this error could mean that someone is
    trying to impersonate the site, and you shouldn't continue.
    d37t50w1 uses an invalid security certificate.
    The certificate is not trusted because it is self-signed.
    (Error code: sec_error_ca_cert_invalid)
    ===
    Why is it giving this when using hostname but not when IP address is using?

    Corrected first para above:
    I am remotely accessing a website which has iFrame in it. The website uses https, but iFrame tag has "src" pointing to a site using http only. However, when I remotely go to the site, iFrame shows the message below although the "src" url is http only (there is no SSL certificate) when I use hostname address (https://<hostname>:8006/apprecovery/admin) in address bar. But I dont see the message in iFrame when I instead use IP Address (https://<IP Address>:8006/apprecovery/admin) to go to main website.

  • HP D110 AIO printer. Prints jam when printing with wireless, but not when hooked to USB cable! HELP!

    I have a HP D110. It jams the paper when I print with wireless, but not when I use USB cable. Any ideas?

    From what you describe you are having issues printing from MS Office. Have you had trouble printing from other resources on your computer (e.g. from the internet or another program)? The first thing I am going to suggest is that we start by uninstalling and reinstalling the printer from the resources available online. 
    First if you use a USB cord, make sure to remove it (this is important). Do not plug it back in until the software directs you to. Then go through the Devices and Printers, Programs and Features and Device Manager folders and insure that all copies, files, and programs related to the printer are removed. Then as directed, restart the computer. 
    In the START menu type "%temp%" and press ENTER. Here I want you to press Ctrl+A and hit DELETE. Some of the files will not allow you to delete them, skip those files and delete the majority that allows it. 
    http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3562006&lang=en&cc=us...
    Install that and let me know the result! 
    Have a great day!

Maybe you are looking for

  • What are the major differences from the Z77A-G41 and the G45 MB

    I bought a supposedly new, never used, yeah buyer beware, MSI LGA Z77A-G41 through Ebay. Noticed after the build a popping from the audio and now getting RF static(HD drive electronic noise) through the rear audio port. So  I was trying to find a "NE

  • Returns to vendor concept

    can any one explain Return to Vendor concept in Inventory Management. What happens when movement type 112 is used. Regards, Venu MG

  • DOES APPLEWATCH HAS A BAROMETER

    does apple watch has a barometer?

  • On Startup - ORA-00600: internal error code, arguments: [3700], [1], [15]..

    /usr/lib/oracle/xe/app/oracle/admin/XE/bdump/xe_lgwr_2811.trc I have an XE database for personal use which lost power today. After the machine booted back up I get the following in the .trc file: (Unfortunately I'm a Middleware ACE, and Metalink has

  • Query to pick only first value/day

    I have a table with Account, Complaint and Date columns. Each Account can log multiple complaints each day. Now i need a query to pick only the first complaint in a day from each account. If the same account logged in a complaint next day or any day