Java program not working using newer version of scheduler (AutoSys)

A little background: I'm in the middle of trying to upgrade our AutoSys server (scheduler) to the latest version (version R4 to R11) and have to do regression testing to ensure our jobs will work in the new version. There's a small java program that is not working supposedly due to the following error:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/f1j/swing/common/JDKAdapter
at com.f1j.swing.common.Adapter.<clinit>(Adapter.java:86)
at com.f1j.swing.engine.ss.JBook.<init>(JBook.java:3032)
at com.f1j.swing.engine.ss.JBook.<init>(JBook.java:3096)
at com.test.Foo.performScan(Foo.java:122)
So in the old version (R4), it runs fine. In R11, I get the exception above. The CLASSPATH matches and I've verified that by echoing it in the shell script that calls the java program. Here's how it's called in the shell script.
echo $CLASSPATH
${JAVA_HOME}/bin/java com.test.Foo
So the Foo class was written by me, which makes use of this external library called f1j11swing.jar (for spreadsheet creation).
The source of the error is from this line in Foo (line 122):
          book = new com.f1j.swing.engine.ss.JBook();
The funny part is JDKAdapter (the missing class) is in the same jar file as JBook, so it definitely finds the library in the classpath. But for some reason, this new AutoSys version is spitting out this error. I've exhausted many approaches to resolving this, but I'm still stuck.
Here's the layout of how things are called (should be same for R4 and R11):
1. AutoSys server logs into client machine XYZ as user arnold
2. arnold (AutoSys client) on XYZ executes shell script to call java program
The only significant difference I see is that the AutoSys server in R4 is HP while the R11 server is Sun. However, it shouldn't matter because the client server they're logging into to execute the script is the same linux server.
Does anyone have any ideas? I've already started dialogue with the vendor and it seems kind of in limbo at the moment. Please let me know if you need more info. Thanks.

Hi DrClap,
I just checked jre/lib/ext of my $JAVA_HOME and verified that there doesn't exist any library with a class named "Adapter." We don't put anything in this directory other than what came with the original installation. I've tried isolating the jars before as well, by doing something like (to no avail):
java -cp /users/test/lib/f1j11swing.jar:/users/test/lib/Foo.jar com.test.Foo
If I remove the f1jswing11.jar path in the above command, it will complain about other things. Also, for fun, I tried dropping f1j11swing.jar into the ext folder and removing it from the CLASSPATH and it yielded the original error. Running it directly from the shell and old version of autosys works fine.
I hope I understood your suggestion correctly and please let me know if you have any other ideas. I'm surprised why java would act differently with a different version of an AutoSys client logging into the same machine and environment. Thanks.
xiarce - I haven't heard anything regarding this, but I'll bring it up. Thanks.
Edited by: user4170063 on Apr 13, 2011 2:25 PM

Similar Messages

  • Java Applets not working in New Versions of Java

    I have developed a chat program using Applets(developed using jdk1.2),using a Server.Everything is perfectly working.Now,On my client machine i installed jdk1.4, and when i try to download the same applet it is giving Applet ClassNotFound Exception?.
    I have just set the class path to jdk1.4.And trying to call the applet from a browser.
    IS there any changes in writing the applets using the new version of Java?
    Kindly let me know.
    Thanks & Regards.,
    Naveen Kumar

    Sorry can't use em anymore.
    ah, ... perhaps not.
    What class is not found?

  • Why my app not work in new version, Why my app not work in new version

    I just update to new version software ios6.0 for my iPad, but I found that few of my apps downloaded before are not working now, how can I do now?

    Lily yu wrote:
    Why my app not work in new version
    Ummm..I think that's obvious...the developer hasn't updated them to work with iOS 6

  • Xml code not working with new version

    Hi,
    my following code is not working with the xalan 2.7.0 version. Any one can help to convert this to work on new version.
    import java.io.*;
    import java.util.*;
    import org.xml.sax.*;
    import org.apache.xalan.xslt.*;
    public class XML2Edifact
    public static void main(String args[])
    throws SAXException, IOException
    if(args.length < 3)
    throw new IllegalArgumentException(
    "Usage is XML2Edifact in.xml xsl.xsl out.edi");
    InputStream sin = new FileInputStream(args[0]),
    sxsl = new FileInputStream(args[1]);
    OutputStream sout = new FileOutputStream(args[2]);
    EdifactFormatter formatter = new EdifactFormatter(sout);
    XSLTProcessor processor =
    XSLTProcessorFactory.getProcessor();
    XSLTInputSource in = new XSLTInputSource(sin),
    xsl = new XSLTInputSource(sxsl);
    XSLTResultTarget out = new XSLTResultTarget(formatter);
    processor.process(in,xsl,out);
    }

    Solved, had to repair the Z10 with the PC!  Would have thought that upgrading software would have saved the environment so that this step was not needed (played with this for several weeks on-and-off).

  • Java 7 not working on new (4/2/13) OS 10.8 machine

    I downloaded Java 7 and the app is not working.
    Checked it on Java site and it is not functioning.
    Validated Java is enabled in browser
    Cleared Cache...
    Not sure what else to do.
    Was going to uninstall and re-install with security off, but am not sure how to uninstall. My first Mac....
    Thanks in advance.

    I had a similar problem running Java with OSX 10.8.3.  Even after performing the latest software update (including Safari 6.0.4) in addition to download and installation of the latest version of Java (version 7 update 21), Java did not work. And the “Java icon” was absent from the “system preferences” menu (should be at the bottom under the tab “other”). Very strange! But I found a solution: 1.) Go to “Library > Internet Plug-Ins”; 2.) Move all JavaAppletPlugins to trash (I moved “JavaAppletPlugin (1.7.10.18).plugin” and “JavaAppletPlugin.plugin”); 3.) Download and run the latest Java update; 4.) re-launch Safari.
    That solved my problem and I can run Java applications in Safari. Again......

  • Java programs not working.

    I'm having problems running java programs. Whenever I open them, the window will open, but nothing will appear inside. The only parts of the program that appear, and only sometimes, will be the word "cancel" or "OK" where there should be buttons, but the rest of the program, including text boxes, other buttons, anything else, etc. will not load. Does anybody have any ideas as to what might be the problem? Thank you.

    Hmmm. Both of those programs work fine on my machine. We're running the same version of the OS and the hardware shouldn't matter, but maybe someone with an Intel Mac like yours could try them and report on their results.
    As a shot in the dark, you could run the standard maintenance routines like Repair Permissions and Repair Disk to see if that fixes your problem. Other than that, I don't know what to suggest. Sorry.

  • PrintToGo not working with new version of OS 10

    Am unable to load files using PrintToGo since new version (10.1.0.4181) installed.
    Worked fine with previous version and works with Playbook (2.1.0.1526)
    PrintToGo log error:
    PrintToGoDesktop.exe Information: 0 : 02/09/2013 11:33:52 AM - TCPClient.BeginConnect() using ServerIP:192.168.2.102, ServerPort:80
    PrintToGoDesktop.exe Information: 0 : 02/09/2013 11:33:52 AM - TCPClient.EndConnect()
    PrintToGoDesktop.exe Information: 0 : 02/09/2013 11:33:52 AM - Connected Successfully!
    PrintToGoDesktop.exe Error: 0 : 02/09/2013 11:33:52 AM - Cell Phone Z10 (2ABE5757): EXCEPTION THROWN - System.NullReferenceException: Object reference not set to an instance of an object.
       at RIM.PrintToGo.UserInterface.Device.UploadPDFFile(String fileTransferURL, String fileName, BackgroundWorker bw, DoWorkEventArgs e)
    PrintToGoDesktop.exe Information: 0 : Removing temporary PostScript file 'C:\Users\Paul\AppData\Local\Temp\PtB1360.tmp'
    Solved!
    Go to Solution.

    Solved, had to repair the Z10 with the PC!  Would have thought that upgrading software would have saved the environment so that this step was not needed (played with this for several weeks on-and-off).

  • [SOLVED]find command not working correctly new version of findutils...

    After upgrading my findutils from 4.2.33-1 to 4.4.0-1, it is not working the way it used to. I downgraded to the old one and it is working fine again. However, I am wondering why the newer version can't do what I want it to...
    Typically I run the following script to apply mp3gain to my music collection (albums and individual songs):
    #!/bin/bash
    echo Albums...
    find . -mindepth 3 -iname '*.mp3' -execdir mp3gain -k -a {} +
    echo Single tracks...
    find . -maxdepth 2 -iname '*.mp3' -exec mp3gain -k -r {} +
    On the old version, for the albums, the "find" function works as expected by examining the entire album before applying gain. With the new findutils version, the albums are being analysed song-by-song. I suppose since the new version of findutils, there is just a different method to do what I wanted before with -execdir. Does anyone know how to do it on the new version?
    Last edited by tony5429 (2008-07-19 06:29:41)

    Cool. Thanks for the suggestion. I ended up going with...
    #!/bin/bash
    echo Albums...
    for album in */*
    do
    cd "$album" > /dev/null 2>&1
    if [ $? = 0 ]
    then
    mp3gain -k -a *.mp3
    cd ..
    cd ..
    fi
    done
    echo Single tracks...
    find . -maxdepth 2 -iname '*.mp3' -exec mp3gain -k -r {} +
    exit 0

  • Application written with JavaScript does not work in newer versions of Firefox

    I am unable to upgrade past Firefox 3.6 because an application we use does not appear to work properly any any newer version. The application is CA Service Manager and is based on JavaScript. The pages display properly, but none of the links in the pages seem to work. When I click on a link, nothing happens. I have tried restarting in safe mode and resetting the profile, but neither of those helped any. Is this just a setting I need to change?

    Would you be able to at least provide a link to the site you are having issues with, so that more experienced users can crack a shot at it? If not, please open a support ticket directly with the Mozilla team. There should be a "Report broken site" function in the Help menu of Firefox as well.

  • Wireless with PEAP Authentication not working using new NPS server

    All,
    We are planning to migrate from our old IAS server to new NPS server. We are testing the new NPS server with our wireless infrastructure using WISM. We are using PEAP with server Cert for authentication. For testing purpose we are doing user authentication but our goal is to do machine authentication. On client side we are using Windows XP, Windows 7 & iPAD’s
    I believe I have configured the NPS & CA server as per the documents I found on Cisco support forum & Microsoft’s site.
    But it is not working for me. I am getting the following error message on the NPS server.
    Error # 1
    =======
    Cryptographic operation.
    Subject:
                Security ID:                 SYSTEM
                Account Name:                       MADXXX
                Account Domain:                    AD
                Logon ID:                    0x3e7
    Cryptographic Parameters:
                Provider Name:          Microsoft Software Key Storage Provider
                Algorithm Name:         RSA
                Key Name:      XXX-Wireless-NPS
                Key Type:       Machine key.
    Cryptographic Operation:
                Operation:       Decrypt.
                Return Code:  0x80090010
    Error # 2
    ======
    An error occurred during the Network Policy Server use of the Extensible Authentication Protocol (EAP). Check EAP log files for EAP errors.
    I was wondering if anyone has any insight on what is going on.
    Thanks, Ds

    Scott,
    I have disabled MS-CHAP v1 & only MS-CHAP v2 is enabled on Network Policies > Constraints.
    I  disabled validate Certificate on Windows 7 and tried to authenticate, it is still failing. Here is the output from the event viewer:
    Cryptographic operation.
    Subject:
    Security ID: SYSTEM
    Account Name: MADHFSVNPSPI01$
    Account Domain: AD
    Logon ID: 0x3e7
    Cryptographic Parameters:
    Provider Name: Microsoft Software Key Storage Provider
    Algorithm Name: RSA
    Key Name: DOT-Wireless-NPS
    Key Type: Machine key.
    Cryptographic Operation:
    Operation: Decrypt.
    Return Code: 0x80090010
    Network Policy Server denied access to a user.
    Contact the Network Policy Server administrator for more information.
    User:
    Security ID: AD\mscdzs
    Account Name: AD\mscdzs
    Account Domain: AD
    Fully Qualified Account Name: AD\mscdzs
    Client Machine:
    Security ID: NULL SID
    Account Name: -
    Fully Qualified Account Name: -
    OS-Version: -
    Called Station Identifier: 64-ae-0c-00-de-f0:DOT
    Calling Station Identifier: a0-88-b4-e2-79-cc
    NAS:
    NAS IPv4 Address: 130.47.128.7
    NAS IPv6 Address: -
    NAS Identifier: WISM2B
    NAS Port-Type: Wireless - IEEE 802.11
    NAS Port: 29
    RADIUS Client:
    Client Friendly Name: WISM2B
    Client IP Address: 130.47.128.7
    Authentication Details:
    Connection Request Policy Name: Secure Wireless Connections
    Network Policy Name: Secure Wireless Connections
    Authentication Provider: Windows
    Authentication Server: MADHFSVNPSPI01.AD.DOT.STATE.WI.US
    Authentication Type: PEAP
    EAP Type: -
    Account Session Identifier: -
    Logging Results: Accounting information was written to the local log file.
    Reason Code: 23
    Reason: An error occurred during the Network Policy Server use of the Extensible Authentication Protocol (EAP). Check EAP log files for EAP errors.
    Attached are EAP logs & debug logs from the controller.
    Thanks for all the help. I really appreciate.

  • Why does Record and Review not work in newer versions

    I created a new version of a process and deactivated the original one. When I try to record and review the older processes for the new version, I get a Null Pointer Exception.
    Can someone explain why ?
    Also, will the pending processes from the original version complete automatically in the new version ?
    Aditya

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Web Intelligence Java Applet not working in new Chrome versions (42+)

    Hi all,
    It used to work until recently. Now I encounter the following error when using the Webi Java Applet in Chrome:
    I read about Google quitting some specific Java support. Is anyone experiencing the same issue? What is a recommended workaround/solution except not updating Google Chrome or switching the browser?
    Regards,
    Peter
    The BO platform version is 4.1, Java version is 7 update 67

    Please check SAP Note 2156305.
    You can re-enable NPAPI with the following URL: chrome://flags/#enable-npapi and then click on "Enable" for the NPAPI plugin.

  • My web pplication does not working with new version of firefox 31. It uses heatmap.js plugin for leaflet.js to build temperature map.

    There is site for heatmap.js: http://www.patrick-wied.at/static/heatmapjs/example-heatmap-leaflet.html
    It has example for leaflet layer.
    After update firefox to version 31 I could not see temperature map in browser for this example. But with previous version of firefox I could see it.
    My web application users leaflet.js and heatmap.js plugin. It users the same code as on the example page.
    After updating firefox version it saying "your script take too long time to run. Continue?" again and again and temperature map does not appear.
    I use leaflet-0.7.2.js and heatmap-1.0.js plugin for leaflet.

    Seems to be working here.
    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Java Applets not working using IE 6 after uninstalling software

    I uninstalled some software on WinXP using Add/Remove, however the software still left remnants on my system. I tried to removing all the entries in the registry with RegEdit....I will confess I am a rookie with that tool, however now IE 6 will not launch Java Applets on the web sites I visit.
    I also have Mozilla Firefox 8 installed and Java Applets work fine using that browser. Do I have to reinstall WinXP to correct IE 6, or is there an easier alternative?
    Thanks for any suggestions
    Gerry

    Please check out in the IE Explorer Tools--> Internet Options --> in this Advanced tab this will display you with the set of options and chceck boxes...
    in that please check out that whether the Java(SUN) --- (USe Java....<applet> Requires reStart...
    is existing or not if existing please check it and restart the system.
    if it is not existing in your broser then you have to install the JRE in the system for your Applet to work..
    That can be downloaded form...
    http://www.java.com/en/download/manual.jsp
    Here go for windows....
    All The Best..

  • Why o why does my cimputer say uopdayte now to latest Firefox Version and then say add ons like SKYPE etc will not work with new version . I di not understand .o

    as above

    Many add-ons work only with a particular range of Firefox versions. After the upgrade, Firefox will attempt to find new compatible versions. This is not always possible.
    To determine whether an add-on you can't live without has a version for Firefox 11, you can check the [https://addons.mozilla.org/en-US/firefox/ Add-ons site] or try this add-on to make that a little easier (I haven't tried it myself): [https://addons.mozilla.org/en-US/firefox/addon/is-it-compatible/ Is It Compatible? :: Add-ons for Firefox].
    By the way, many recent posts report problems with Skype add-ons, so you might want to research here if you notice any strange copy/paste problems.

Maybe you are looking for

  • REUSE_ALV_POPUP_TO_SELECT

    Hi , I am using "REUSE_ALV_POPUP_TO_SELECT" in an interactive ALV report. when the popup is displayed , it is not getting any value. it shows "list contains no data". this is my code:: FORM USERCOMMAND USING R_UCOMM LIKE SY-UCOMM                     

  • IPad? or iPad mini?

    What is the better value? what should I purchase?

  • ECC 6.0 Installation, help me to find packages

    Dear Friends, I am trying to install ECC 6.0 on a Windows 2008 Server 64-bit with Oracle 10.2. SAPinst asks for "UC Kernel NW 7.0 SR3" and "Oracle Client" packages. but i cant find them in Service Marketplace, does anybody know the zip file name for

  • Mismatch Error Type while running VBScript??

    Hello.... I'm having an error on my VBScript file. I wrote the script to retrive the list of batches installed from the windows server. Basically there are two files which are  Config.txt and servers.txt. Config contains the data such as month of pat

  • Timeline- Is there a template for one of these?

    I have a school project that includes a timeline. I have searched online- but the ones on there only offer like 6 events and I need at least 20. If there is not template for one of these, then is there something I can get? Also, I need it to be free.