What wrong with JCO and SAP

I add all necessary class for JCO in my package but it returns error.
=========================================
28 มิ.ย. 2550 16:09:31 org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFault
faultCode: Server.generalException
faultSubcode:
<b>faultString: java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
     java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO</b> faultActor:
faultNode:
faultDetail:
     hostname:tagdvtrat1
java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
     java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO
     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
     at javax.xml.parsers.SAXParser.parse(Unknown Source)
     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)>>
     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
     at org.apache.axis.client.Call.invoke(Call.java:2767)
     at org.apache.axis.client.Call.invoke(Call.java:2443)
     at org.apache.axis.client.Call.invoke(Call.java:2366)
     at org.apache.axis.client.Call.invoke(Call.java:1812)
     at com.pda.IssueBAPISoapBindingStub.doIssue201(IssueBAPISoapBindingStub.java:144)
     at com.pda.testWS.main(testWS.java:14)

Hi Pornthep,
this is not the fault of JCO/SAP. There are jar files/classes missing in the classpath. If you are using Axis2 there are some good samples on how to deploy the web service using environmental variables (keywords AXIS2_HOME, ant and maven build file). This may help you to avoid missing libraries. In case you are using Axis1 you can adapt most of the deployment procedure.
Hope that this may help you.
Best regards
Frieder

Similar Messages

  • My phone has been asked to be plugged into itunes for the past hour or so, and it has been plugged in the whole time... i have tried holding in both buttons too turn it on and nothing is happening... whats wrong with it and how do i fix this :(?

    My phone has been asked to be plugged into itunes for the past hour or so, and it has been plugged in the whole time... i have tried holding in both buttons too turn it on and nothing is happening... whats wrong with it and how do i fix this :(?

    Does iTunes see your phone?
    Do you have a PC or a Mac?
    ~Lyssa

  • I have been trying to open itunes that has already been installed. But, the thing is it never opens and when i do right click and trouble shoot also, it doesnt open. I dont whats wrong with itunes and my comp is 64 bit windows 7. Can somebody please help

    I have been trying to open itunes that has already been installed. But, the thing is it never opens and when i do right click and trouble shoot also, it doesnt open. I dont whats wrong with itunes and my comp is 64 bit windows 7. Can somebody please help

    no its 64 bit version of itunes. Can you please help me. I am not able to sync my iphone.

  • My gen 4 ipod shuffle is not showing the green light when I switch it on (Green area shown). But when I plug it into the computer there initial orange blink and then solid orange. What wrong with it and how can I fix it.

    My gen 4 ipod shuffle is not showing the green light when I switch it on (Green area shown). But when I plug it into the computer there initial orange blink and then solid orange. What wrong with it and how can I fix it. 

    Hello Korawees,
    I was researching the issue you are describing and had a recommendation. The device is very simple, so the software troubleshooting for it is pretty limitted so I think you shoud restore the iPod shuffle and re sync the content. That way, if it is a software issue, this will fix it. Here is the article named Restoring iPod shuffle to factory settings found here: http://support.apple.com/kb/HT1481.
    Before Starting
    It is important to understand the difference between "update" and "restore." Update does not affect your settings or songs, it simply installs updated software that controls iPod shuffle. Restore erases the disk and restores iPod shuffle to its original factory condition with updated software. If you only need to update iPod shuffle, this should be done on the computer where music is normally synced. Updating on another computer will result in all songs being removed from iPod shuffle.
    Warning: Because Restore erases all songs and files on iPod shuffle, make sure to back up any files you've saved on iPod shuffle. Your songs, podcasts, and audiobooks can be synced back to your iPod shuffle if the items are part of your iTunes library.
    How to restore iPod shuffle
    Ensure that you have an active Internet connection as new versions of iTunes and iPod Software may need to be downloaded to your computer.
    Download and install the latest version of iTunes if you do not already have it installed.
    Open iTunes, and then connect iPod shuffle to your computer.
    After a few moments, iPod shuffle will appear in the Devices section on the left side of the Tunes window.
    Select iPod shuffle under Devices and you will see information about it appear in the main iTunes window under the Summary tab/button for iPod shuffle (3rd and 4th generation) or the Settings tab/button for iPod shuffle (1st or 2nd generation).
    The Version section tells you whether iPod shuffle is up to date or needs a newer version of the software.
    Click the Restore button. You will be presented with one or more restore options that may prompt iTunes to automatically download the latest iPod Software. The 4-possible restore options are:
    Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
    Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod even though a newer version is available.
    Restore Option 3: Use Newest Version - Restores with the latest iPod Software currently on your computer.
    Restore Option 4: Restore and Update - Restores after downloading the latest iPod Software on your computer.
    If you are using a Mac, a message will appear prompting you to enter an administrator’s name and password.
    A progress indicator will appear on the computer screen indicating that the restore process has started. Do not disconnect iPod shuffle during the restore process.
    After the restore process is complete, the iPod shuffle's status light will flash orange continuously. The iPod Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences as you did when you connected your iPod shuffle for the first time.
    When you come to step 7, I recommend Restore Option 4.
    Take care,
    Sterling

  • When I try to turn on my old ipod nano it will flash and then go black again. only when its hooked up to the computer. whats wrong with it and how do I make it work?

    Ok. My brother has an old Ipod nano. It's the tall one with the tiny screen. Anyway, he tried to turn it on one day and it just flashed white and then went black again. We tried everything we could and it still wont work. Now it wont flash unless it is plugged up to the computer. How do I fix it so it will work again?

    Have you checked the volume button? It might be physically stuck. To determine whether a hardware repair is needed, you need to follow these steps:
    1. Try doing a hard reset:
    Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears.
    After that: test the device to see whether the issue is solved.
    2. If the issue is not solved, you should backup the device and restore it as new.
    In that case, use: http://support.apple.com/kb/HT4137
    NB: set up as a NEW device because a software issue will be in the backup.
    If the issue persists after restoring as new, you should offer the device for service.
    If you get specific error messages/codes in iTunes when updating/restoring, check this: http://support.apple.com/kb/ts3694 for causes and solutions
    Good luck
    Stijn

  • My Ipod touch 4g, 8g, just shut off and wont turn back on idk whats wrong with it, and it wont get recognized by itunes when plugged in... does nothing when i hold the power button.

    Help Me

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    Apple will exchange your iPod for a refurbished one for $199 for 64 GB one and $99 for the other 4Gs. They do not fix yours. The cracked screen voids any warranty you had on the iPod.
      Apple - iPod Repair price                                             

  • When i open itunes, it gives me a message "the folder itunes is on a locked disk or you do not have write permissions for this folder" i am the only user and it was working a week ago whats wrong with it? it will not open itunes

    when i open itunes, it gives me a message "the folder itunes is on a locked disk or you do not have write permissions for this folder" i am the only user and it was working a week ago whats wrong with it? it will not open itunes

    Hi lvdmerwe!
    I have two articles here for you that should be able to help you troubleshoot this issue further:
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/ts1387
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • TS1702 i if use "search" in music on my ipod touch 5th gen the result just show only album and playlist but nothing song result.whats wrong with it?please help

    i if use "search" in music on my ipod touch 5th gen the result just show only album and playlist but nothing song result.whats wrong with it?please help

    The users guide says:
    Spotlight searches the following:
    Contacts—All content
    Apps—Titles
    Music—Names of songs, artists, and albums, and the titles of podcasts and videos
    Podcasts—Titles
    Videos—Titles
    Audiobooks—Titles
    Notes—Text of notes
    Calendar (Events)—Event titles, invitees, locations, and notes
    Mail—To, From, and Subject fields of all accounts (the text of messages isn’t searched)
    Reminders—Titles
    Messages—Names and text of messages
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsynce all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • TS2570 My Mac is stuck on grey screen what's wrong with it and am I going to lose everything

    My Mac is stuck on grey screen what's wrong with it and am I going to lose everything

    Hopefully you have a backup, but...
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • HT1688 My iphone 5 won't charge and it's in perfect condition, I dont drop it and it's not cracked. I tried multiple chargers, none of them are damaged and my outlets work with other things so the problem is my phone. What's wrong with it and what should

    My iphone 5 won't charge and it's in perfect condition, I dont drop it and it's not cracked. I tried multiple chargers, none of them are damaged and my outlets work with other things so the problem is my phone. What's wrong with it and what should I do? Please help me I need my phone for work.

    Make sure there's nothing blocking a contact in the charging port of the phone.

  • My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    I have a similar problem.  I restored my iPhone 5 to the latest available OS.  After completing the process the phone never restarted.  The phone was fully charged when I restored it but now refuses to charge past the red battery icon.  I have been able to get the phone in UFD mode several times and have been able to load the new OS on the phone.  The Apple logo does come on and the software fully loads.  iTunes tells me the phone will restart but never does.  I left it to charge all night but it never appeared to load the battery.  This morning I went to the Grand Central Terminal apple store for help.  A woman at the store plugged the phone in but it never charged.  She absolutely refused to believe that I got my phone in UFD mode and loaded any software on.  I don't think it is a battery issue.  The only solution I was given was to buy a new phone.  Repairing it was out of the question.  At this point the phone is completely useless.  Thanks in advance for the help.

  • My optical drive will not read any music cds now or recognize a blank cd in the drive. it might read some data discs. what is wrong with it and how do i fix it?

    My optical drive will not read any music cds or recognize a blank cd. it might read some data cds. what is wrong with it and how can i fix it?

    The optics might be dirty. Try running a cleaning CD through it and see if that makes a difference.
    If not, it will have to be replace.
    Allan

  • HT201210 I have the Iphone 3gs and it said update required and i needed to connect to itunes so i did al that and now everytime i go to restore everything it just says error and then i have to do it again?whats wrong with it?

    I have the Iphone 3gs and it said update required and i needed to connect to itunes so i did al that and now everytime i go to restore everything it just says error and then i have to do it again?whats wrong with it?

    Are you getting an error message number with your error message? If so, what number are you getting?

  • I bought my i pod touch from us but i live in india .i have been using this from many days fr just a few days before something went wrong with it and the date and time has changed what do i do?

    i bought my i pod touch from us but i live in india .i have been using this from many days fr just a few days before something went wrong with it and the date and time has changed what do i do?

    Have you went to Settings>General Time&Date and correct the time.  Make sure the time zone is correct too.  Also go to Settings>General>Inernational and make sure the Gergorian calender is selected.

Maybe you are looking for

  • Poor Quality Stills

    Forgive this old favourite. I've gone through lots of past threads and still would like some help please. I am making a 04'00" film in FCP from jpeg stills alone. Some are in boxes, other have motion effects, all have lots of layers of text / text bo

  • Weblogic ejbc generating strange bean code

    Ok, i solved my previous problem, u can read all about it in my last post. Now I have another issue. It seems that when ejbc is being done, toplink generates some code before the actual compile. What doesn't make sense is that its inserting a create

  • Uploading file - unicode file type gives error

    Hello, I am trying to upload an xml file. If the file is of ASCii format I can import this file ,but if the file format is changed to unicode or utf-16 I get sax parser error. I noticed one thing though,ascii file seems to appear in this format <?xml

  • Issue with Photoshop element 5

    Impossible to open photoshop catalog (element 5) after a back up. Could you help us please ? Gros problème : nous n'arrivons plus à ouvrir notre catalogue Photoshop element 5 après avoir fait une restauration. Merci

  • Define dateline category during maintenance of billing plan type

    Hi, I am in the midst of setting up the SD configuration in my current system from scratch and this is the error message that I have encountered,  "Define dateline category during maintenance of billing plan type". Basically, what I have done is to c