BAD CLASS FILE ERROR WHEN TRYING TO CALL JAVA CLASS IN WEB-INF DIRECTORY

I AM NEW TO THIS FORUM. PLEASE HELP ME IDENTIFY/RESOLVE THIS ERROR - bad class file: /java/tomcat/webapps/ChoiceTel/WEB-INF/classes/XYZ/SMUA.class. OTHER JSP SCRIPTS THAT CALL JAVA CLASSES DO WORK WELL.
THE FUNNY THING ABOUT COMPILIING THIS JAVA CLASS WAS - I HAD TO A jar xvf OF activation.jar and mail.jar IN THE XYZ DIRECTORY BEFORE SUCCESSFULLY COMPILING SMUA.
THE CALL BEING MADE FROM THE JSP SCRIPT IS AS FOLLOWS:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<BODY>
<%@ page import="XYZ.*" %>
<%!
%>
<%
SMUA sndmail = new SMUA();
sndmail.postMail ("[email protected]","Test Subject","What Message","[email protected]");
%>
</BODY>
</HTML>

Dude. Please don't shout. If your keyboard is like mine, it can produce both upper and lower case letters. Please use them appropriately.
Do you have the activation.jar/mail.jar available in the WEB-INF/lib directory for this application?

Similar Messages

  • Got error when trying to generate Java proxy jar file for webservice

    Hi,
    I am having a warning message when trying to generate java proxy jar file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
    Thanks!!!
    Naichen
    [ModifyPNRWSContract.wsdl]

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • Error when trying to call someone

    Hi all
    My 4-month old phone is having issues when i'm trying to make a call.
    I've reset everything and after two weeks i'm still having the same error when trying to make a call.
    I'm getting a pop-up saying that there's an app error something something...
    This is really frustrating cause at times I can't even make a single call.
    Please help me out on this.
    Marina

    Boot on safe mode and try again
    http://talk.sonymobile.com/t5/FAQ/How-to-boot-your-phone-into-safe-mode/m-p/348008#U348008
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Missing File error when trying to install HP 5610xi using Windows 7 64 bit download

    I have tried several times to download and install the software and drivers for my old 5610xi on my new computer running Windows 7 Home Premium 64-bit OS. I keep getting a "missing file" message when trying to run the download, and it will not install. Can someone please help!?!?

    Hi computeir, sorry to hear that you are having issues with getting your printer installed on to your computer. If you are connecting the printer to the computer with a usb cable, please remove it from the printer and the computer and set it aside. Please click the link I have provided for the HP Printer Install Wizard for Windows.
    The installation will prompt you as to when to connect the usb cable. If you are still having issues, please feel free to write back.
    Thank you.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • I keep getting an error when trying to install Java for OS X 2014-001

    I was trying to download this because I was getting errors when trying open some applications saying you need Java 6 and it directed me to the download link for this but it always gets and error when installing.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select
              /var/log ▹ install.log
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. The contents of the log will appear on the right. Each log message begins with a timestamp. Select the messages from the time of the last installation or update attempt. If you're not sure when that was, click the Clear Display button in the toolbar of the Console window and then try the installation again. Select the new messages that appear. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    ☞ If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    ☞ When posting a log extract, be selective. Don't post more than is requested.
    ☞ Please don't indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting. You may need to use a text editor with search and replace, such as TextEdit.

  • Error while trying to call Java Class from Peoplecode

    Gurus,
    I am trying to read a property file from peoplecode using standard java classes. However, I am getting this error more than one overload matches
    Below are 2 ways in which I tried doing this and both ended up in the same error
    Code 1>_
         Local JavaObject &file = CreateJavaObject("java.io.File", "D:\\psft.properties");
         Local JavaObject &properties = CreateJavaObject("java.util.Properties");
         Local JavaObject &reader = CreateJavaObject("java.io.FileReader", &file);
         &properties.load(); Error thrown : "Calling Java java.io.FileReader.<init>: more than one overload matches"
    Code 2>_
         Local JavaObject &file = CreateJavaObject("java.io.File", "D:\\psft.properties");
         Local JavaObject &properties = CreateJavaObject("java.util.Properties");
         Local JavaObject &properyFile = CreateJavaObject("java.io.FileInputStream", &file);
         &properties.load();
    Error thrown : "Calling Java java.io.FileInputStream.<init>: more than one overload matches."
    The above error is thrown on the 3rd line when I try to invoke the FileInputStream or FileReader class/constructor.
    In fact both the above code pieces work absolutely fine when I write them into a java class and run them on a java runtime. Any inputs would be of great help !! Alternatively, I will have to use peoplecode file.readline(), etc to read the property file. Since java has this smarter way to reading a property file, I thought of giving it a try ..
    -Sudripta

    I tested this on one of my windows servers using PT 8.50:
    Local JavaObject &joCurrFile = CreateJavaObject("java.io.File", "c:/temp/test-date.txt");
    Local JavaObject &jlongtime = CreateJavaObject("java.util.Date");
    Local number &modifytime = &jlongtime.getTime();
    MessageBox(0, "", 0, 0, "original time: " | &joCurrFile.lastModified());
    Local boolean &filemodified = &joCurrFile.setLastModified(&modifytime);
    MessageBox(0, "", 0, 0, "&modifytime: " | &modifytime, "");
    MessageBox(0, "", 0, 0, "&filemodified: " | &filemodified, "");
    MessageBox(0, "", 0, 0, "new time: " | &joCurrFile.lastModified());Here are the results:
    PeopleTools 8.50.05 - Application Engine
    Copyright (c) 1988-2010 PeopleSoft, Inc.
    All Rights Reserved
    original time: 1287677026144 (0,0)
    Message Set Number: 0
    Message Number: 0
    Message Reason: original time: 1287677026144 (0,0) (0,0)
    &modifytime: 1287677277845 (0,0)
    Message Set Number: 0
    Message Number: 0
    Message Reason: &modifytime: 1287677277845 (0,0) (0,0)
    &filemodified: True (0,0)
    Message Set Number: 0
    Message Number: 0
    Message Reason: &filemodified: True (0,0) (0,0)
    new time: 1287677277845 (0,0)
    Message Set Number: 0
    Message Number: 0
    Message Reason: new time: 1287677277845 (0,0) (0,0)
    Application Engine program DSS_TEST_IO ended normallyDoes your app server have permissions to modify the files you are trying to modify? Also, how did you verify the date/time of the files? Were you using Windows Explorer? Did you refresh the view first? Or did you use the console dir/ls? I seriously doubt there is a security manager in place that would restrict what you can do with Java. Security managers are common in applets/browser context, but not in apps.

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • File error when trying install Des9i by running 90201iDS_Win32.exe

    Your instructions to install Des9i are:
    1. Download the software (listed above) into a temporary directory. - DID THAT
    2. Run file10 (batch4.bat) - DID THAT
    3. Run 90201iDS_Win32.exe - I GET AN ERROR WHEN I TRY TO RUN THIS ONE. When I try to run it as a START/RUN with Batch4 running it tells me that the 90201iDS file is open by another application. I closed Batch4 and try running it again. Then it says it's not a valid win32 application. Then I tried to run it in Oracle by running step 4 (below) and selecting the 90201 file to install it. It tells me that the file is a directory or it is corrupt and to specify a valid filename. I re-downloaded it twice and tried all I know. Now what?
    I did create a second ORACLE HOME for the Designer that points to the same folder where I have the 10 downloaded files.
    4. Run setup.exe (located in the \disk1 directory). - NEVER GOT THIS FAR.

    I solved my own problem... it was this: right after you run the batch4 you need to wait a while for all the file1...n.brk files to run. I was thinking it was done after file1.brk.
    Sandy

  • HT4623 i get a corrupt file error when trying to update to ios7 anyone else have this issue or know how to fix it?

    Trying to update my iphone and always getting corrupt file error any ideas how to fix it

    If you're doing it over the air, try updating through iTunes.

  • Error when trying to isert Image in BO WebI report

    Hi
            I am trying to insert company logo in WebI report. I saved the image in BusinessObjects Enterprise 11.5\Images folder in C drive. Path is
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Images
    There are two images here,
                                  one -BO logo   skin_bo.gif
    and the other my company logo    logo.gif
    This is the path i gave in BO Webi
    In the report-> free cell-> custom->boimg:
    skin_bo.gif
    When i try to insert BO delivered logo, it is fine, the image is inserted into the report. But, when i try to insert company logo, I see blank, image is not displayed.
    Please let me know what the error is and solution.
    Thanks in advance

    Hi,
    These images are on server or client.make sure these images are on the server in mentioned path.
    Thanks,
    Amit

  • Error when trying to run Java

    I am trying to get Java updated and running on my computer...I am Running Windows 98 2nd edition ( ya I know ;o) ) .
    I get this error message :
    The system cannot find the registry key specified.
    HKEY_LOCAL_MACHINE\JavaSoft\Java Runtime Enviroment\1.5.0_03
    I am new to this so please bare with with..I hope I did not post in the wrong forum...if so I am sorry...but any help would be greatly appreciated...I'm stuck :o) if anyone could even point me in the right direction I would be very greatful...Thanks in Advance
    Angel80

    Thank you all for your time and your help...everything is working great now :o)
    Hope you all have a great day.

  • "Could not find the application that created this file" error when trying to combine files

    I am working with a user that is trying to combine a pdf & word doc (docx).  When they try to combine the files she gets the error:  "Could not find the application that created this file" & "Please select a file created by an application that resides on your computer".  The computer is running windows XP, with office 2010 SP1, & Adobe Acrobat Pro X.
    Per previous suggestions, I have already checked to see if Adobe PDFMaker is enabled as a Word plugin, and it is.
    Recentley the user was running Acrobat 6, and this error did not occur.  It is only after upgrading to Acrobat X that this is happening.  Any help with this issue would be appreciated.

    This can also be caused if the files are in a folder deep in the file system. For example C:/xxxxxxxxxxxxxxx/yyyyyyyyyyyyyyy/zzzzzzz/aaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbb /cccccccccccccccccccc/dddddddddddddddd/eeeeeeeeeeeeeeeeeeee/ffffffff/ggggggg/hhhhhhhhhhhhh hhhhhhhhhh/myPDF.pdf
    At some point Adobe PDFMaker cannot handle the path length (also, Windows can't handle the path length either eventually)
    Solution: move the files to a shorther path (perhaps the desktop) and try from there.
    I am filing a bug report with Adobe. A descriptive exception message should be thrown instead of "could not file the app.."

  • Page File error when trying to install AD Managed Service Account

    Hello everyone,
    I am having a bit of an issue with Managed Service Accounts in that when I am trying to perform the install of a single computer restricted Managed Service Account I am getting the error of "{Not Enough Quota} Not enough virtual memory or paging file
    quota is available to complete the specified operation." and I am trying to figure out the problem. I already have 3 accounts that installed successfully on the system but these others are not installing on the system because of this error. Anyone got
    any information on this problem or any suggestions as I am at a loss.

    Hi,
    Please let me know the operating system of your machine.
    This is because, Windows Server 2012 has come with the concept of Group Managed Service Account (gMSA).
    Following are the benefits of gMSA,
    - A single gMSA can be used on multiple hosts.
    - A gMSA can be used for scheduled tasks.
    - A gMSA can be used for IIS Application Pools, SQL 2012 etc.
    Checkout the below link regarding complete information on gMSA (creation and usage),
    http://blogs.technet.com/b/askpfeplat/archive/2012/12/17/windows-server-2012-group-managed-service-accounts.aspx
    Checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/5bc96d1b-0cec-4d0c-a99d-7f34509c0714/how-to-use-correctly-managed-service-account-in-windows-server-2012-?forum=winserverDS
    Regards
    Gopi
    JiJi
    Technologies

  • Receive "Damaged File" error when trying to open a fillable form from website

    When our users try to access a fillable form they now receive the attached error message. The file is not damaged however. I can send the form viai e mail and it works fine. Any ideas?

    Hello,
    The PDF is a fillable form that was created in Adobe LiveCycle. It is a rather large file (1800 kb). It lives (was uploaded) on our internal website, which is WordPress. It is accessed as a link. It worked just fine until yesterday. We did come up with a temporary solution, which is to have the form reside on a public drive, and then I linked to it from our web page. The form will open in IE, but not through Chrome or FireFox. Chrome asks for plug in updates. Our company does support Chrome and IE, but the majority of our users use IE.

  • Firefox can't find the file error when trying to download

    I am currently not having luck when clicking on the download button for each app...This is the error message I get,
    Firefox can't find the file at aam://SAPCode=AEFT?productVersion=12.0?passPhrase=Qx6qMfb9/oWx8agnabYz/ksL9vygzb30ZVZ6+4A KgbiDkQIEh1TTurmjLJXYoGHBdt97o64hQwef/EPa7zXT42z8iGzC7ZzUJWaBk1IID76maBwP1cEMXK0VB+DYo98sF gay7207mzeSwQIwGrMPLC+Ep78B13gEXvFdrr7Tg2I=.
    I'm running ML 10.8.4 on 2010 Macbook Pro.
    Thanks for any and all help.

    clear your adobe.com cookies and retry.

Maybe you are looking for

  • Acrobat 9 Pro 9.3.4 update breaks app language setting

    Hi there, I'm using the English/French/German version of Acrobat 9, with the language usually set to German. After updating to 9.3.4 it is no longer possible to use any language except English. I can neither change it in the preferences nor use "chos

  • Executable video file on iPod?

    I'm working with a marketing company and they want to do a big promotion with iPod. They want to load a video on 2,000 iPods and then hand them out. When recipient turns on iPod they want it to start playing. Anybody ever done this? THANKS!

  • One payments for two company codes

    i would like to inform you how to post incoming payment when i have received amounts for differents company codes regards

  • Concurrent LRUCache?

    Hi, I'd like to know if you know of an LRU (least recently used) cache that would use java.util.concurrent. I'm currently using the following implementation that is based on java.util.LinkedHashMap. Do you know if there is an implementation based on

  • Images won't open anymore, says corrupt

    I'm having trouble with images. Images, even when they have the correct extensions, won't open. When I try to open them, I get a message that says, "It may be corrupt, or a format that Preview doesn't recognize." My feeling is that a preference or ex