Unsupported Version error when trying to run Web Services Tutorial example

Hi there,
I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
Buildfile: build.xml
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
ed major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
C:\jwstutorial20\examples\jaxws\helloservice>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
Could you please help me with this problem?
Thanks in advance.
Azeem.

Hi Azeem.
Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
BTW.
You don't have to uninstall jdk1.4.
Cheers!!!

Similar Messages

  • Getting error when trying to invoke web service - disable SSL

    Hi
    Please advise me how to disable the SSL for bpel.
    The problem which am facing is as below
    I am trying to invoke web service in another site, its showing me error as
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException:
    Now i would like to disable the SSL for this handshake, so that it wont look for certificates and invokes the web service directly, right.
    So please advise how to disable to SSL in bpel (10.1.2) now.
    Thanks
    Suneel Jakka

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Error when trying to run web report from BEx analyzer

    Hi Gurus,
    I am getting this error "STOP: System error in program SAPLRRS2 and form SELOPT_ASSIGN-01", when I am trying to run the report from the 4th button "Display report on Web" on BEx Analyzer. Can anybody tell me what this and how we can resolve it.
    Thanks and I will assign points.

    I coudn't properly understand solution provided herein:
    "Solution
    Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
    SAP NetWeaver 2004s BI
               Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"."

  • Error when trying to run web

    i'm using forms and i get an 99999 error when i try to run the for using web but with the debugger and client it runs and i'm able to input data. Can anyone help please thanks

    I coudn't properly understand solution provided herein:
    "Solution
    Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
    SAP NetWeaver 2004s BI
               Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"."

  • Security Error when trying to access web service

    I have an app that connects over HTTPS to a web service on
    our internal network. The interface to the web service was created
    by using the WSDL Import function of the Flex IDE.
    I can run the app and retrieve data without a problem when I
    run from the debug-bin folder that the Flex IDE compiles to.
    However, I cannot connect to the web service from anywhere else,
    such as a different location on my own local drives, a network
    drive, or another persons machine.
    I've setup a local instance of Apache with mod_ssl so I could
    host the app under an HTTPS connection itself, which the
    documentation seemed to imply that would work. However, when I run
    the app, I get:
    [FaultEvent fault=[RPC Fault faultString="Security error
    accessing url" faultCode="Channel.Security.Error"
    faultDetail="Destination: DefaultHTTPS"] messageId=null
    type="fault" bubbles=true cancelable=true eventPhase=2]
    I am accessing the app by going to
    https://mymachine.companydomain.com/myapp.html, and the web service
    is being accessed through https://webservice.companydomain.com/.
    Anybody have any thoughts on what I should be looking at?
    I've been searching and trying things for a few days with no luck.
    Any help would be appreciated. Thanks.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Errors when trying to activate web service

    Has anybody encountered an HTTP 500 error while trying to activate a webservice based on a business object from one of the SAP namespaces?
    The error that I am getting is: HTTP 500 (InternalServerError) - Dump or unhandled exception in backend.

    Yes we have the same Problem. Are you using Association in your BO?
    The Problem is known
    This was defect in the code while trying to include
    Cross Bo associations in Read Operation.
    This was fixed in FP26 with Hotfix HZEK001337.
    This is not yet imported into VQ3.
    Solution: Wait till VQ3 is supplied with this week's hotfixes
    or try to generate service without Cross BO associations till hotfix
    is imported into VQ3.

  • Error when trying to run Advisor

    Hi!
    I get the following error when trying to run the Advisor (Application Builder > Application xxx > Utilities > Advisor) over our application:
    Unknown type! View: APEX_APPLICATION_PAGE_PROC Column: CONDITION_EXPRESSION1 Value: WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED
    ... this happens every time, even if I uncheck all boxes except one (e.g. "References with substitution syntax").
    I'm wondering if there is something wrong with our Apex installation as I can't see any other references to this problem in the forum. We don't seem to be suffering any other problems so I expect it's something small...
    Has anyone else ever encountered this and does anyone know of a solution? I would like to use the Advisor for some QA processes as it looks like a handy tool.
    Many thanks in advance,
    Alex.
    Versions:
    Apex 4.1.1.00.23
    Oracle DB 10.2.0.2

    Hi Alex,
    very interesting. Looks like one of your processes uses the WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED condition which has been deprecated for a very long time.
    If you execute the following query in your workspace schema, you should find those processes which do use the condition. You might want to check if the reported pages/processes are still used in your application.
    select application_id,
           application_name,
           page_id,
           page_name,
           process_name
      from APEX_APPLICATION_PAGE_PROC
    where CONDITION_EXPRESSION1 = 'WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED';Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Error when trying to run an application that worked when built with 8.6

    I have a simple program that I wrote in version 8.6 that I never had a problem building and running applications built with it in 8.6.  Two weeks ago I got 2009 in the mail because we had very recently purchased 8.6 and I am getting errors when trying to run an application built with the same code using 2009.  The error has to do with the Mean.vi.  It claims it cannot find it.  The error I get reads as follows:
    An error occurred loading VI 'NI_AALBase.lvlib:Mean.vi'.  LabVIEW load error code 3: Could not load front panel.  I don't need access to this vi's front panel, so I am wondering if it is a problem with the runtime engine and not my code.  Please respond as soon as possible as this will quickly start to impact my testing schedule.  Thank You.
    Solved!
    Go to Solution.

    Hi!
    The same problem ???
    I discussed it with my local NI technical support team. The application works without any problems now.
    Basic rule: when creating an installer be sure that option "Run Time Engine xxxx"  in "Additional Installers" category is checked in spite of the fact that Run Time Engine is already installed.
    Best regards.
    Attachments:
    ADDINST.png ‏13 KB

  • "Connection error. Check Internet connection." when trying to Enable Web Services on HP 1606dn

    Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
    Operating system: Windows 7
    Thanks for helping,
    Howard
    UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
    This question was solved.
    View Solution.

    Hi,
    Please try the following.
    1. Open an internet browser type printer's IP address.
    2. Should bring you to the printer's status page.
    3. Select the networking tab at the top.
    4. Left hand side select IPv4 under wireless.
    5. Under DNS address Configuration select Manual DNS Server.
    6. For Preferred enter 8.8.8.8
    7. For Alternate enter 8.8.4.4
    8. Select apply. You might get a warning saying this could interrupt connection that's fine.
    9. Turn printer off for about 30 seconds then try again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • I'm getting a -2003F error when trying to run the internet recovery after installing a new hard disk in my macbook pro, any suggestions?

    After installing a new hard drive in my 2011 macbook pro, I'm getting a apple.com/support -2003F error when trying to run the internet recovery.  Any suggestions?

    Did you format the new HDD?  What is the status of the old HDD?
    Do you have an early or late 2011 MBP?
    Ciao.

  • FireFox keep saying "unexpected error" when trying to print web pages.

    FireFox keep saying "unexpected error" when trying to print web pages. The print preview works OK, but when you try to print that "unexpected error" jumps up.
    Please email me on what to do to get FireFox to work.
    I don't see anything in the FAQ that might help me.

    Hi,
    Please also try this setting: Windows start menu or Control Panel > '''Devices and Printers''', right-click the printer > '''Printer properties''' > '''Advanced''', and select '''Start printing after the last page is spooled'''. In this case you can also close Firefox after spooling is over (usually much faster than direct printing), and printing will continue.
    Also as a general case, if you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related processes/files in all the different configuration modules/areas of the security software like process monitoring, sub/spawned process control, virtualization, HIPS etc., in addition to the security software's main configuration panel. Instead create new fully allowed/trusted rules for Firefox + its related processes in all the different modules/panels - a genuine/original Firefox installer as well as all the installed EXEs (Application) and DLLs (Application extension) are digitally signed by Mozilla Corporation (right-click > Properties > Digital Signatures). Even otherwise, some security software may also ask again when Firefox and/or its sub processes are started, and you may be able to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
    [http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration]

  • HT4796 I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    You could of course use Safari your default browser as a quick method of accessing gmail until you figure out the Firefox problem. (More than one browser may be used on a Mac or other computer).
    Is this the only site you have problems with ? and does Safari work ok ?
    Often this problem requires the page to be reloaded
    * try pressing the shift key as you reload the page
    Another problem is sometimes the cookies for that site need clearing
    * see [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]_delete-cookies-for-a-single-site
    * see also [[Firefox and other browsers can't load websites]] or[[Firefox can't load websites but other browsers can]]

  • Today my iPad says network error when trying to run amazon instant video...

    Today my iPad says network error when trying to run amazon instant video... I fooled it into starting the movie, but the error message continues...

    What you need to do is go into settings
    Then go to wifi
    Tap the blue arrow to the wifi you are connected to
    Tap forget network
    Retap the wifi you want
    Reinsert your wifi code if you have one

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

Maybe you are looking for

  • My skype number is not getting calls on my android...

    I bought a number but my skype account on my cell does not show it nor tell me how to load it.

  • Why can't I log into my flickr acct?

    I've gone through this problem with tmobile tech support and they weren't able to help. I've posted on flickr and haven't gotten a solution either. my problem is for some reason yahoo is not recognizing my password . I put it in and get the msg "data

  • Debugging the webdynpro program

    Hi , I want to do external debugging in my program,how to set a external break point in the function module in ABAP.If a click the stop button ,it is creating session break point..,but I need to set a external break point.Help me ASAP.

  • Need to add editable regions

    How can I add editable regions to an existing template that has hundreds of child pages?  There is one editable region for page content (in a box) in the old template, now I want to have 3 different boxes for editable content.  When I update all of t

  • Disable Auto-Centring When Printing Multiple Pages

    Hello, I am using Adobe Reader XI Version 11.0.04 (mac). I am trying to print multiple pages (specifically custom 1 by 3 portrait), but am finding that the 3 pages auto-centre (appear in the middle of the page). Is there a way to disable this auto-ce