ClassCastException with Crypto.provider.SunJCE

Hi
I was using JCE_1_2_1.jar in jdk1.3.1,as it expiers on Jul 27 ,i replace all with the new jar i,e JCE1_2_2.jar,sunprovider.jar,LocalPolicy.jar ,USExportpolicy.jar.My server startup is not a problem, when i run my class it gives ERROR
Failed to create "Credential.java.lang.ClassCastException:com.sun.crypto.provider.SunJCE"
Can nay one please help me?

My JCE code worked in a "standalone" class; but not inside a servlet deployed with the Tomcat that comes with the JWSDP.
Know it works in both places.. what I've done is to copy the four JCE jars in the directory
c:\jwsdp-1.1\common\lib
does somebody knows a better way to include JARs in JWSDP environment??
I�ve modified the next line in catalina.bat including %CLASSPATH% with no success
"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;%PRG%\..\..\jwsdp-shared\bin;"%PRG%\..\..\jwsdp-shared\bin\commons-launcher.jar";"%PRG%\..\..\jakarta-ant-1.5.1\lib\ant.jar";"%PRG%\..\..\jakarta-ant-1.5.1\lib\optional.jar";"%PRG%\..\..\jaxp-1.2.2\lib\jaxp-api.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\sax.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\dom.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\xercesImpl.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\xalan.jar";"%PATH%";"%CLASSPATH%" LauncherBootstrap jwsdp -DJAVA_HOME="%JAVA_HOME%" -DCATALINA_OPTS="%CATALINA_OPTS%" %CMD_LINE_ARGS%
(thanks for your reply)

Similar Messages

  • Managing Smart Cards (alladin + crypto provider)

    hi
    Does anyone know how to get work cards Aladdin, with crypto provider (CryptoPro (http://www.cryptopro.ru/) or signal-com (http://signal-com.ru/)) in windows 2003r2 or 2008r2?

    Hi,
    when you work with one smartcard reader only usually you address the slot -1 that means "the first found".
    But to deal with multiple readers you have to use slots of course since one reader will be slot 0, next reader will be slot 1 and so on...
    So a credential object will be identified on a system by a couple
    <slot,alias>
    After that, the way to address slots (I mean the syntax) depends on the classes you are using...
    Bye

  • The provider SunJCE may not be signed by a trusted party...

    Hi all, first time poster, long time reader
    I am having a bit of an issue getting encryption to work in Java and I thought I'd ask for some tips. I have scoured the 'net by and far, read every thread here and still I am at a loss.
    Background:
    OS: WinXP
    Java ver: j2sdk 1.4.2_01
    IDE: Eclipse 3.0.1
    Location: Canada (Maybe this is the trouble, dunno)
    End goal: two way encryption to enable storage & retrieval of data for a school project
    I have boiled down the error producing code to this:
    package security;
    import java.security.*;
    import javax.crypto.*;
    public class JCEProviderCheck {
        public static void main(String[] args) {
            Provider p = Security.getProvider("SunJCE");
            System.out.println("My provider name is " + p.getName());
            System.out.println("My provider version # is " + p.getVersion());
            System.out.println("My provider info is " + p.getInfo());
            System.out.println ("Home: " + System.getProperty("java.home"));
            Security.addProvider(new com.sun.crypto.provider.SunJCE());
            try {
                Cipher c = Cipher.getInstance("DES", "SunJCE");
                System.out.println("My Cipher algorithm name is " + c.getAlgorithm());
            } catch (Exception e) {
                e.printStackTrace(System.out);
    }The output:
    My provider name is SunJCE
    My provider version # is 1.42
    My provider info is SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
    Home: C:\Program Files\j2sdk1.4.2_01\jre
    java.lang.SecurityException: The provider SunJCE may not be signed by a trusted party
         at javax.crypto.SunJCE_b.a(DashoA6275)
         at javax.crypto.Cipher.a(DashoA6275)
         at javax.crypto.Cipher.getInstance(DashoA6275)
         at security.JCEProviderCheck.main(JCEProviderCheck.java:29)I have checked and re-checked both java.policy and java.security plus made sure the following jars are in %JAVA_HOME%\lib\ext:
    local_policy.jar
    sunjce_provider.jar
    US_export_policy.jar
    Is there some glaringly obvious step I have overlooked? Any help would be greatly appreciated
    -Kev

    I am seeing a related bug to this under jdk1.5_04 / Win32. Very strange behavior...
    KeyAgreement keyAgreement = KeyAgreement.getInstance( algo );
    intermittently throws an exception:
    Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: DiffieHellman, provider: SunJCE, class: com.sun.crypto.provider.DHKeyPairGenerator)
    at java.security.Provider$Service.newInstance(Provider.java:1155)
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
    at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:177)
    ... 54 more
    Caused by: java.lang.SecurityException: class "com.sun.crypto.provider.DHKeyPairGenerator"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java:775)
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    Trying the same on RH Linux works fine.
    PS. I am in the US and we did not unpackage/repackage the JARS.

  • I have an iphone 5 on contract with 3 but the speaker isn't working , I've spoken with my provider and they said I need to take it back to an apple store .is this correct ? Many thanks

    I have an iphone 5 on contract with 3 but the speaker isn't working , I've spoken with my provider and they said I need to take it back to an apple store .is this correct ? Many thanks

    If you received you phone as part of the contract then surely from a legal pov your contract is with 3 not Apple unless you bought Applecare, if you bought your phone outright then put your 3 SIM into it then yes you'd have to visit an Apple store with your phone's purchase receipt.

  • Please Help:  A Problem With Oracle-Provided 'Working' Example

    A Problem With Oracle-Provided 'Working' Example Using htp.formcheckbox
    I followed the simple steps in the Oracle-provided example:
    Doc ID: Note:116534.1
    Subject: How to use checkbox in webdb for bulk update using webdb report
    However, when I select a checkbox and click on the Update button, I get a "ORA-01036: illegal variable name/number" error. Please advise. This was a very promising feature.
    Fred
    Below are step-by-step instructions provided by Oracle to create this "working" example:
    How to use a checkbox in WEBDB 2.2 report for bulk update.
    PURPOSE
    This article shows how checkbox can used placed on WEBDB report
    and how to use it.
    SCOPE & APPLICATION
    The following example to guide through the steps to create a working
    example of this.
    In this example, the checkbox is used to select the records. On clicking
    the update button, the pl/sql procedure is called which will update col1 to
    the string 'OK'.
    After the update is done, the PL/SQL procedure calls the report again.
    Since the report only select records where col1 is null, the updated
    records will not be displayed when the report is called again.
    Step 1 - Create Table
    From Sqlplus, log in as scott/tiger and execute the following:
    drop table chkbox_example;
    create table chkbox_example
    (id varchar2(10) not null,
    comments varchar2(20),
    col1 varchar2(10));
    Step 2 - Insert Test Data
    From Sqlplus, still logged in as scott/tiger , execute the following:
    declare
    l_i number;
    begin
    for l_i in 1..50 loop
    insert into chkbox_example values (l_i, 'Comments ' || l_i , NULL);
    end loop;
    commit;
    end;
    Step 3 -Create SQL Query based WEBDB report
    Logon to a WEBDB site which has access to the database the above tables are created.
    Create a SQL based Report.
    Name the report :RPT_CHKBOX
    The select statement for the report is :
    select c.id, c.comments, c.col1,
    htf.formcheckbox('p_qty',c.id) Tick
    from SCOTT.chkbox_example c
    where c.col1 is null
    In Advanced PL/SQL, (REPORT, Before displaying the form), put the following code
    htp.formOpen('scott.chkbox_process');
    htp.formsubmit('p_request','Update');
    htp.br;
    htp.br;
    Step 4 - Create a stored procedure in the database
    Log on to the database as scott/tiger and execute the following to create the
    procedure.
    Note: Replace WEBDB to the appropriate webdb user for your installation.
    In my database, I had installed webdb using WEBDB username, hence user webdb owns
    the packages.
    create or replace procedure chkbox_process
    ( p_request in varchar2 default null,
    p_qty in wwv_utl_api_types.vc_arr ,
    p_arg_names in wwv_utl_api_types.vc_arr ,
    p_arg_values in wwv_utl_api_types.vc_arr
    is
    i number;
    begin
    for i in 1..p_qty.count loop
    if p_qty(i) is not null then
    begin
    update chkbox_example
    set col1 = 'OK'
    where chkbox_example.id = p_qty(i);
    end;
    end if;
    end loop;
    commit;
    /* To Call Report again after updating */
    SCOTT.RPT_CHKBOX.show
    (p_request=>'Run Report',
    p_arg_names=>webdb.wwv_standard_util.string_to_table2(' '),
    p_arg_values=>webdb.wwv_standard_util.string_to_table2(' '));
    end;
    Summary
    There are essentially 2 main modules, The WEBDB report and the pl/sql procedure (chkbox_process)
    A button is created via the advanced pl/sql coding which shows on top of the report. (The
    button cannot be placed at the bottom of the report due to the way WEBDB creates the procedure
    internally)
    When any button is clicked on the report, it calls the pl/sql procedure chkbox_process.
    The procedure is called , WEBDB always passes the parameters p_request,p_arg_names and o_arg_values.
    p_qty is another parameter that we are passing additionally, This comes from the checkbox created
    using the htf.formcheckbox in the report select statement.
    The pl/sql procedure calls the report again after processing. This is done to
    show how to call the report.
    Restrictions:
    -The Next and Prev buttons on the report will not work.
    So it is important that the report can fit in 1 page only.
    (This may mean that you will not select(not ticked) 'Paginate' under
    'Display Option' in the WEBDB report. If you do this,
    then in Step 4, remove p_arg_names and p_arg_values as input parameters
    to the chkbox_process)

    If your not so sure you can use the instanceof
    insurance,
    Object o = evt.getSource();
    if (o instanceof Button) {
    Button source = (Button) o;
    I haven't thoroughly read the thread, but I use something like this:if (evt.getSource() == someObjRef) {
        // do that voodoo
    ]I haven't looked into why you'd be creating a new reference...

  • TS3103 All of a sudden can't receive email on Mail client.  Sessions with service provider (Att/yahoo) and Apple have yielded no results!

    All of a sudden can't receive email on Mail client.  Sessions with service provider (att/yahoo) and Apple have yielded no results!  Recently upgraded to Lion, but have received email since.  Anyone having the same problem.  Apple says service provider problem, service provider say it's the mail client.  Anyone had this problem???

    No.  My frustration with the problem just led me to begin the process convert all my email to a gmail client.  However, after some time all my mail with att/yahoo has been coming through as before.  Go figure.  Still will convert to gmail.

  • Issue with Data Provider name in variable screen for BEx Analyzer

    Hello all,
    We got an issue with Data Provider name in Variable screen in BEx Analayzer.
    We want to change the DataProvider name there to Description of the report instead of its Technical name.
    Any inputs are appreciated.
    Thanks
    Kumar

    You have to create a workbook to do this.
    Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
    Pravender

  • Large Value problem with Oracle Provider for 9.2.0.7.0 and 10.1.0.4.0

    Hi,
    There is table having single column "SCORE" as shown below.
    | SCORE |
    |9.0000E+33 |
    |8.0000E+33 |
    |7.0000E+33 |
    |6.0000E+33 |
    I am trying to fetch column SCORE from above table in database. The type of column SCORE is NUMBER. With Oracle Provider for OLE DB 9.0.1.0.1 everything works fine.
    But when I use 9.2.0.7.0 or 10.1.0.4.0 , Recordset::rawGetRows() returns -2147217845. Is there is any limit on value retrived using Recordset::rawGetRows() in newer versions of Oracle Provider for OLE DB?
    Please help.
    Thanks and Regards,
    AC
    Edited by: user8090166 on Feb 24, 2009 4:13 AM
    Edited by: user8090166 on Feb 24, 2009 4:17 AM

    Hi,
    Yes, i've take it off but i still have the same error...
    Anyway, like the, the people from hardware, were able to recover the 32Bit Oracle9.2 system, what do you think of use the old system to make the export, and then import into the new one 64Bit and Oracle10.2 ?
    Homogeneous system copy by r3load method?
    Is it possible right!?
    More easy and a cleaner installation?
    RM

  • Problem with 'RP-PROVIDE-FROM-LAST' and IT0377(GB)

    Greetings,
    I have encountered a problem in that we have an interface from SAP to UNIPAY and this interface selects all the paydata from employees and then converts it so that it can be payed via UNIPAY. Now this in itself may sound fairly simple but the problem is the interface is selecting data from IT0377 that has been delimited and still paying the employee which is incorrect. I have debugged the interface and the problem is with 'RP-PROVIDE-FROM-LAST IT0377' which is still selecting and bringing through the data of the delimited record.
    Has anybody had this problem and if so what was done to correct it ?
    Thanks
    Mark

    this macro will put the last infotype record in the header line of concerned internal table, for the given period (pn-begda and pn-endda on selection screen).
    rp-provide-from-last p0377 space pn-begda pn-endda.
    here in the header of internal table p0377, the last record valid for period pn-begda n pn-endda, will be put after execution of the macro statement.
    i think u r looking the table 1st record in debug mode but u shud not look at 1st record instead of tht see the header line of table and use that header data.
    see my dummy code below -
    *& Report  ZPPL_PREVEMPLOYERS                                          *
    REPORT  ZPPL_PREVEMPLOYERS   message-id rp
                                 line-size 250
                                 line-count 65.
    *Program logic :- This Report is used to Download all the Previous
    * Employer (IT0023) records of the employees
    *eject
    *& Tables and Infotypes                                                *
    tables: pernr.
    infotypes: 0000,
               0001,
               0002,
               0023.
    *eject
    *& Constants                                                           *
    constants: c_1(1)       type c               value '1'   ,
               c_3(1)       type c               value '3'   ,
               c_i(1)       type c               value 'I'   ,
               c_x(1)       type c               value 'X'   ,
               c_eq(2)      type c               value 'EQ'  ,
               c_pl03       like p0001-werks     value 'PL03'.
    *eject
    *& Selection-Screen                                                    *
    parameters: p_file  like rlgrap-filename default 'C:TempABC.xls',
                p_test  as checkbox default c_x               .
    *eject
    *& Internal tables                                                     *
    * Internal Table for Output
    data: begin of t_output occurs 0    ,
           pernr like pernr-pernr       ,
           nachn like p0002-nachn       ,
           vorna like p0002-vorna       ,
           orgeh_stext like p1000-stext ,
           plans_stext like p1000-stext ,
           begda like p0023-begda       ,
           endda like p0023-endda       ,
           land1 like p0023-land1       ,
           arbgb like p0023-arbgb       ,
           ort01 like p0023-ort01   .
    data: end of t_output           .
    *eject
    *& Variables                                                           *
    data: o_stext like p1000-stext,
          p_stext like p1000-stext.
    *eject
    *& Initialization                                                      *
    Initialization.
    * Initialize Selection-Screen values
      perform init_selction_screen.
    *eject
    *& AT Selection-screen                                                 *
    at selection-screen .
    * Check if Test run selected, download file name should be entered
      if p_test is initial.  "
        if p_file is initial.
          message e016 with 'Please enter file name'
                            'specifying complete path'.
        endif.
      endif.
    *eject
    *& Start-of Selection                                                  *
    Start-of-selection.
    get pernr.
      clear t_output.
    * Read Infotype 0
      rp-provide-from-last p0000 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Check if employee is active
      check p0000-stat2 in pnpstat2.      "pernr Active
    * Read Infotype 1
      rp-provide-from-last p0001 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * check if employee belongs to PL03
      check p0001-werks in pnpwerks.  "belongs to PL03
    * Check if emp belongs to Active Group
      check p0001-persg in pnppersg.
    * Read Infotype 2
      rp-provide-from-last p0002 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Read Org Unit Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'O'
              objid                   = p0001-orgeh
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = o_stext
          EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    *Read Position Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'S'
              objid                   = p0001-plans
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = p_stext
         EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    * Gather all the required information related to the emp
      move: pernr-pernr to t_output-pernr,
            o_stext to t_output-orgeh_stext,
            p_stext to t_output-plans_stext,
            p0002-nachn to t_output-nachn,
            p0002-vorna to t_output-vorna.
    * Gather previous Employee details
      loop at p0023.
        move-corresponding p0023 to t_output.
        append t_output.
      endloop.
    *eject
    *& End-of Selection                                                    *
    end-of-selection.
      perform print_report.
    * Downlaod the file
      if not t_output[] is initial.
        if p_test eq space.
          perform download_file.
        endif.
      else.
        write: 'No records selected' color col_negative.
      endif.
    *eject
    *& Top-of-page                                                         *
    Top-of-page.
    * Print Header
      perform print_header.
    *eject
    *&      Form  download_file
    * Description :
    FORM download_file .
      DATA: full_file_name    TYPE string,
            z_akt_filesize    TYPE i     .
      full_file_name = p_file.
    *  download table into file on presentation server
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                = full_file_name
          filetype                = 'DAT'
          NO_AUTH_CHECK           = c_x
          codepage                = '1160'
        IMPORTING
          FILELENGTH              = z_akt_filesize
        CHANGING
          data_tab                = t_output[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          not_supported_by_gui    = 22
          error_no_gui            = 23
          OTHERS                  = 24.
      IF  sy-subrc               NE        0.
        MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.
      ENDIF.
    ENDFORM.                    " download_file
    *eject
    *&      Form  print_report
    *Description:
    FORM print_report .
      data: i       type i,
            w_count type i.
      sort t_output.
    * Print the report
      loop at t_output.
        i = sy-tabix mod 2.
        if i eq 0.
          format color col_normal intensified on.
        else.
          format color col_normal intensified off.
        endif.
        write:/1     t_output-pernr          ,
               10     t_output-vorna(25)     ,
               35    t_output-nachn(25)      ,
               61   t_output-orgeh_stext     ,
               102  t_output-plans_stext     ,
               143  t_output-begda           ,
               154   t_output-endda          ,
               168   t_output-land1          ,
               178   t_output-arbgb(40)      ,
               219   t_output-ort01          ,
               249   space              .
      endloop.
      uline.
      Describe table t_output lines w_count.
      Skip 2.
      Write:/ 'Total No of Records Downloaded: ' color col_total,
              w_count.
    ENDFORM.                    " print_report
    *eject
    *&      Form  print_header
    *Description:
    FORM print_header .
      skip 1.
      Uline.
      format Intensified on color col_heading.
      write:/1   'Pers. #'        ,
             10   'Last Name'     ,
             35   'First Name'    ,
             61   'Org Unit'      ,
             102  'Position'      ,
             143  'Beg Date'      ,
            154   'End Date'      ,
            168   'Cntry Key'     ,
            178   'Prev Employer' ,
            219  'City'           ,
            249   space          .
      format intensified off color off.
      uline.
    ENDFORM.                    " print_header
    *eject
    *&      Form  init_selction_screen
    *Description:
    FORM init_selction_screen .
      refresh: pnpwerks,
               pnppersg,
               pnpstat2.
      clear:   pnpwerks,
               pnppersg,
               pnpstat2.
      pnpwerks-sign   = c_i.
      pnpwerks-option = c_EQ.
      pnpwerks-low    = c_pl03.
      append pnpwerks.
      pnppersg-sign   = c_i.
      pnppersg-option = c_EQ.
      pnppersg-low    = c_1.
      append pnppersg.
      pnpstat2-sign   = c_i.
      pnpstat2-option = c_EQ.
      pnpstat2-low    = c_3.
      append pnpstat2.
    ENDFORM.                    " init_selction_screen

  • TS3899 I just installed the latest software update on my iPhone this weekend (9/22/12), and now I can't get email. I've restarted and closed all my apps to no avail. I'm able to get email on my laptop, so it's not a problem with my provider. Any ideas?

    I just installed the latest software update on my iPhone this weekend (9/22/12), and now I can't get email. I've restarted and closed all my apps to no avail. I'm able to get email on my laptop, so it's not a problem with my provider. Any ideas?

    Originally we were getting the error that the phone could not connect. Then, after deleting the account multiple times and re-adding it again, the error message CHANGED to having to log in to Yahoo and authorize.
    When we went to Yahoo in a regular browser and logged in there was an alert telling us about connection attempts so it disabled mobile/iphone connectivity. It required that we change our password FIRST.
    Then, we went in to Manage Apps and Webpages and saw that iPhone was not there but Facebook was.
    After all of this went back to the phone and deleted then re-added the account again and SUCCESS!
    It now also shows up on the Yahoo Manage Apps and Webpages.
    Hope this helps someone else. Please consider giving me points if it does or like the post.
    Fred

  • Using droid in india supported with service provider, how to activate hotspot...its asking permission from verizone. updated to 4.4..pls help

    im using verizone provided ultra droid in india with service provider support..Reliance communication.
    All working fine except hotspot...on activating it insist on verizone permission....
    using on 4.4
    pls help
    >> Personal information removed to comply with the Verizon Wireless Terms of Service <<
    Message was edited by: Verizon Moderator

    HELPPPPPP !!!!!!!!!!

  • Working with a BB in Hungary with Pannon provider

    Since a couple of month I am trying to connect my BB 8900 to our server at Vredestein company in Enschede, Netherlands. All of my colleagues all over Europe are using BB phones and it took them a few minutes to activate the entire services.My BB has been bought in Germany and I am using it in Hungary with Pannon provider. I have requested the enterprise solution and this has been activated since 2 months by the Hungarian provider (Pannon). Unfortunately, every attempt to connect the BB to our server failed. Has it to do with connection applications in the handheld? TCP/IP applications have to be changed? Please try to find a solution for using my BB in an appreciated way.Thank you in advance & with kind regards from Budapest!

    Thank you for your answer - in the meantiom we were able to solve the problem & everything works fine.  

  • Moved house, existing line with another provider.....

    Hi
    So my situation is as follows:
    1) Moved into a new house with an active phone line that is apparently with TalkTalk according to 150 or 151, whichever it is. At least when you dial 150 or 151 it says welcome to TalkTalk.
    2) Old house had a BT line and I want to transfer the account. Phoned BT and was told an engineer will have to visit.
    Now given that the current line in my new house is still active with TalkTalk, what will the engineer do when they visit? I don't want a new line installed, I simply want the TalkTalk line switched into a BT line. But I suspect that because the existing line is not in my name the engineer won't be able to "convert it".
    Thoughts?

    Thanks for the replies.
    A bit more information:
    Found out that when you call the TalkTalk line it goes to someone else's house so I can make calls but not receive them. Phoned TalkTalk and they said it was likely the line just wasn't disconnected properly when the last tenants moved out. Apparently they no longer see a valid TalkTalk line at the address.
    So as far as I can tell when the engineer visits they should be able to correct the confusion and just "convert" our current line into a BT line. I'm just worried there could still be a problem, like the engineer not being willing to make the change if they think the line is with another provider.
    Any more thoughts?

  • Private Expenses with Service Provider and Automatic Assignment

    Hi,
    I have created Private Expense Type in Create Travel Expense Types for Individual Receipts.
    In TRIP- Travel Expense Report when I try to split credit card transaction in TRIP, with the wizard, I see that system is throwing errors, that Private Expenses not assigned to any Service Provider, example- AX (AMEX).
    1. Do I have to assign AX as service provider in Assign Wage Types to Travel Expense Types for Individual Receipts
    2. Do I have to assign Private Expense type during splitting of Private expenses in Private Expense Wizard? I see there is a list of expense types in the drop down in Priv Expense Wizard. Cant system determine automatically the Private Expense Type ?
    Please suggest.

    Dear Vijay,
    1. Do I have to assign AX as service provider in Assign Wage Types to Travel Expense Types for Individual Receipts
    If you maintain Service provider in "Assignment of Credit Card Transact.to Travel Expense Type", then yes you have assigned it as well in wage type assignment. In Wizart you try split or change assignment of another expense type and it seems it by pass it together with Service Provider assignment. 
    Unfortunately for the second question I will be not able to answer.
    But you can check for all expense types you use for AMEX card transaction in "Travel Expense Types for Receipt" in bottom, there you set "Allow Wizard for this Expense Type" assign your Private expense type.
    SAP Help documentation for this field:
    Expense Type for Private Shares
        The receipt wizard uses this expense type to record the personal portion of an expense. This is required, in particular, when a receipt amount paid by credit card includes personal portions. In some cases, the company can be liable for such personal receipts. Therefore, they need to be recorded even when they are not reimbursed.
    Use
        In the view "Create Travel Expense Types for Individual Receipts", you need to mark the expense type in this field as "private costs; no reimbursement to employee."
    Example
        Your employer has received, and paid, a hotel bill for EUR 450. The bill lists the cost of EUR 400 for the hotel room, and the cost of EUR 50 for personal expenditures.
        The best way to record this with the receipt wizard is to enter the expense type for private receipts in the "Expense Type for Private Share" field, in addition to the expense type HOTL. Also, to be able to run the receipt wizard for expense type HOTL, you need to select the "Allow Wizard for This Expense Type" indicator.

  • ERROR:JAVA.LANG.CLASSCASTEXCEPTION WITH JDEVELOPER 10.0.1.3

    I´m trying to use JSTL functions but I have the error
    "Error:java.lang.ClassCastException with JDeveloper 10.0.1.3".
    When I make or rebuild the code I have the error.
    The test <c:when test="${fn:length(P_LIGACOES) > 0}" > has error. I´ve been
    used others functions and the error is the same.
    Please, see JSP code as follows:
    <%@ page import="java.text.DateFormat"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.text.NumberFormat"%>
    <%@ page import="com.celesc.tf.BilheteTelefonico"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Ligações Telefônicas</title>
    <style type="text/css">
    Body{
    background-image: url(images/fdo.jpg);
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    </style>
    <link href="css/ligtel.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <h1 align=center> </h1>
    <h1 align=center> </h1>
    <c:choose>
    <c:when test="${!empty mensagem}">
    <h1 align=center>
    <img src="images/erro.jpg"><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif"><c:out value="${mensagem}"/></font></h1>
    </c:when>
    <c:otherwise>
    <%
    Vector ligacoes = (Vector) request.getAttribute("P_LIGACOES");
    SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy
    HH:mm:ss");
    double totalligacoes = 0;
    NumberFormat preco = NumberFormat.getCurrencyInstance();
    %>
    <c:choose>
    <c:when test="${fn:length(P_LIGACOES) > 0}" >
    <h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif">Nenhuma ligação Realizada</font></h1>
    </c:when>
    <c:otherwise>
    <h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif">Relação das Ligações</font></h1>
    <table class="table-normal" width="70%" align="center">
    <tr class="table-result">
    <td colspan="5"><b><%= ligacoes.size()%> </b> Ligações Realizadas</td>
    </tr>
    <tr class="table-title">
    <td>Fone Chamado</td>
    <td>Ramal</td>
    <td>Data</td>
    <td>Duração</td>
    <td>Custo(R$)</td>
    </tr>
    <c:forEach items="${P_LIGACOES}" var="bilhete">
    <tr class="table-content">
    <td><c:out value="${bilhete.numeroChamado}"/></td>
    <td><c:out value="${bilhete.ramalOrigem}"/></td>
    <td><c:out value="${bilhete.dataLigacao}"/></td>
    <td><c:out value="${bilhete.duracao}"/></td>
    <!--<td><c:out value="${bilhete.custo}"/></td>-->
    <td><c:out value="${bilhete.custo}"/></td>
    <c:set var="totalligacoes" value="${totalligacoes +
    bilhete.custo}"/>
    </tr>
    </c:forEach>
    <tr class="table-result">
    <td colspan="4" align="right"><B>Total</B></td>
    <!-- <td ><B><%= preco.format(totalligacoes)%></B></td> -->
    <td><B><c:out value="${totalligacoes}" /></B></td>
    </tr>
    </table>
    </c:otherwise>
    </c:choose>
    </c:otherwise>
    </c:choose>
    </body>
    </html>

    Hi,
    Please make sure that there is no other version of *"net.nrj.alf.DimensionLabel"* class present in any other Class Loader
    There are various kind of Class Loaders : PreMordial Class Loader, BootStrap ClassLoader, System Class Loader (WebLogic ClassLoader), Application ClassLoader, Module Class Loader....
    net.nrj.service.SearchServiceProcessor java.lang.ClassCastException: net.nrj.alf.DimensionLabel java.lang.ClassCastException: net.nrj.alf.DimensionLabel If your code is working fine in WLS9.2 it means in WLS10.3.3 the same class is getting loaded from different Class Loaders...In order to find out which classLoader is being used to load that class please do the following:
    <b><font color=maroon>
    Class dimentionLevel=Class.forName("net.nrj.alf.DimensionLabel")
    ClassLoader cl=dimentionLevel.getClassLoader();
    System.out.println("\n\n\t DimentionLevel is loaded from ClassLoader: "+cl);
    </font></b>
    Above 3 Lines of code you need to write for "net.nrj.service.SearchServiceProcessor" class as well...Because i suspect that these two classes are getting loaded from two different class Loaders.
    If the Application Code is 100% correct The Main reason of ClassCastException is Classes are getting Loaded from two Different Class Loaders. You can also look at the Filtering ClassLoader Feature of WebLogic to Tell WebLogic to Load some Classes from a Specific ClassLoaders...As described Here .*http://middlewaremagic.com/weblogic/?page_id=192*
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?page_id=2261  (Middleware magic Is Here)

Maybe you are looking for