Rsa provider not found

Hello,
i have the following problem. Our product is a workflow enterprise solution. We use a licence file, which is rsa encrypted. I wrote for this a class that does the encryption. It works fine, when called directly (inside eclipse), but i also need to call it inside the setup package. Because i run a lot of other java classes inside the setup package, i decided to implement a "Runner" class which includes a lot of jars and then invokes the class i really want to run.
When i do this with my encryption class (i want to read the licence file in that particular case) i get the following error:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting rsa
     at javax.crypto.Cipher.getInstance(DashoA6275)
     at at....impl.LicenceReader.load(LicenceReader.java:147)
     at at....impl.LicenceReader.<init>(LicenceReader.java:56)
     at at....tools.StartupFileWriter.<init>(StartupFileWriter.java:35)
     at at....install.WriteContextFiles.main(WriteContextFiles.java:17)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:200)
     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
     at at.workflow.webdesk.install.Runner.launchJava(Runner.java:227)
     at at.workflow.webdesk.install.Runner.main(Runner.java:51)
The following code snippet shows where it hangs:
Security.addProvider(new BouncyCastleProvider());
Cipher decrypting = Cipher.getInstance("rsa");
As you can see, i added the BouncyCastleProvider (which works fine), which supports RSA encryption and decryption. When i run the class inside eclipse everything works. When i run the "Runner" class, which invokes the LicenceReader class the above error appears. The BouncyCastle jar is inside the classpath!
I would appreciate every response!
regards, Harald Entner

found an answer myself..

Similar Messages

  • PGP error in PI 7.4 - BouncyCastle Provider not found

    Hi ,
    I am working on PGP encryption in SAP PI7.4 .
    I have followed below link :
    PGPEncryption Module: A Simple How to Guide
    Using PGP in Process Integration
    But while doing end to end scenario it is givingg error :
    Exception caught by adapter framework: Could not process message, BouncyCastle Provider not found (java.security.NoSuchProviderException: unable to find provider.)
    In my sandbox it was woking fine but when trying to do the same thing in Dev box it staretd giving error .
    Can somebody help me .
    Thanks ,
    Anurag

    Hi Anurag
    You should check if the Secure Connectivity add on was deployed correctly in your Dev system. Maybe there are some missing JAR or SCA files.
    Refer to the Secure connectivity add-on installation guide on how to download and deploy the SCA files. You can find this guide on the Service Marketplace (search for PI SFTP PGP ADDON.)
    You can also refer to the following How-to guide on checking the installation via NWA. The guide is for SFTP but you can follow the same steps in page 2 to check.
    How To Configure SFTP Adapter in SAP PI
    Rgds
    Eng Swee

  • Oracle Provider not Found

    Good afternoon Oracle Forum members,
    I'm having trouble on connecting a OraOLEDB.Oracle application to my Oracle Database 11g R2 (11.2.0.1.0), I have a Windows Server 2008 Enterprise machine running it.
    Each time I try to connect it says: Oracle provider not found. It may be not properly installed.
    I've searched many site and tried many things like:
    -Registering DLLs manually using:
    REGSVR32 "C:\Program Files\Common Files\System\Ole DB\sqloledb.dll"
    REGSVR32 "C:\Program Files\Common Files\System\Ole DB\Oledb32.dll"
    REGSVR32 "C:\Program Files\Common Files\System\Ole DB\Msdasql.dll"
    REGSVR32 "C:\Program Files\Common Files\System\msadc\Msadce.dll"
    REGSVR32 "C:\oracle\product\11.2.0\dbhome_1\BIN\oraoledb11.dll"
    -Installing the client with ODAC112012 pack that comes with 32 bit features (but after it the database stops working properly.
    -Installed the client with ODTwithODAC112012 (but after it the database stops working properly)
    -Formatting and re-installing Win 2008 Server Enterprise, Oracle Database 11g R2 and all applications (did it more than 4 times)
    -Changing the provider from OraOLEDB.Oracle to MSDAORA (results in "Unknown Provider" message)
    Is there something I did wrong? Is there something else I have to do to make it work properly?
    Thank you very much!
    Edited by: K- on Oct 10, 2012 3:44 PM

    I installed Oracle DAC 32-bits on the same machine, the provider was found successfully.

  • OraOLEDB.Oracle Provider Not Found- Windows 7 64 bit Excel 2010 32-bit Help

    Currently, I have an excel 2010 application that users on Windows XP 32 bit are using to connect to an Oracle 32-bit database and extract data back into Excel. Each time they open the Excel file, the VBA code automatically creates a new connection using Provider =ORA.OLEDB.Oracle Provider. All users using the Excel file have installed Oracle 9.2.1 run-time client on their machine. All of that works well currently for over 100+ users on Windows XP 32-bit
    Starting very shortly our company is moving to Windows 7 64-bit. We acquired a test PC with Windows 7 64-bit and Excel 2010 32-bit. We tried to install Oracle 9.0.2 run-time client but we couldn't connect to the database ( even with Sql Plus). We therefore downloaded Oracle 10g 10.2.04 Run-time client. With this installed, we were able to connect to via SQL Plus to the database. However, using the same Excel file and the following same VBA code.
    Set cn = New ADODB.Connection
    cn.Open ThisWorkbook.getDBCon()
    Public Function getDBCon()
    getDBCon = "Provider=OraOLEDB.Oracle;" & _
    "Data Source=MyOracleDB;" & _
    "User Id=" & getDBUser() & ";Password=" & getDBPss()
    End Function
    I get a "Provider Not Found error". The VBA code and file work perfect in XP 32-bit. It seems going over to Windows 64-bit has caused issues with the file's macro. I am looking for help assessing if I have more of an Oracle Client issue or a Microsoft ADO issue. Any input would be greatly appreciated. Thank You.

    @damorgan
    Yea agreed with Excel to Oracle comment. This is due to issues with global implementation of an ERP system and the disconnets between IT and Business. Therefore the business intelligence tables in oracle are most easily pulled and acted on by novice PC users via Excel. In the business, Excel is the standard tool novice non-IT people feel comfortable in to share and act on data. Most of these users have no IT knowledge whatsoever, so we create buttons and filters for them to query and then massage in Excel as they see fit.
    Having said that, still wondering if it's a ADO or Oracle Client issue. This is something beyond my knowledge. I wouldn't imagine it's the Visual Basic issue since this same file works in Windows XP. I am not in the position to just scrap Excel as the business relies on this in production and I am the only support. What could 64 bit vs 32 bit differences be having here? Thank You.

  • Provider = OraOLEDB.Oracle - provider not found after Dev Install of O8i

    When I run my VB application and try to connect to the Oracle database using ADO and the
    Provider = OraOLEDB.Oracle
    I get the error message "Provider not found or is installed incorrectly."
    This is strange as I have installed the developer version of Oracle and I can connect to the database using SQLPLUS.
    Does anyone know what the problem could be?
    Thanks

    Hi Vincent,
    Here is what you are looking for.
    NOTE> Installing the 11.2.0.3 Oracle Provider for OLE DB from the Client Install Media Does Not Properly Register the Provider [ID 1380742.1]
    Bug:13417266 WHILE UPGRADING TO 11.2.0.3, INSTALLER FAILS TO REGISTER ORAOLEDB DLL
    Regards!
    Stefanie

  • Provider Not Found Erro

    At the final step of the SOAP/WSDL wizard I get "An unknown
    error has occurred"
    Under details I see:
    "Provider com.bea.xml.stream.MXParserFactory not found"
    Is this a missing class or plug in. Or is the WSDL somehow
    causing this. I searched the WSDL and there is no reference to bea.
    Any help appreciated.
    Thanks
    Trev....

    Does anybody know what the problem is? I have exactly the same issue. The URL for the wsdl is: https://..... Could the HTTPS be the cause?

  • Oracle 9.2 OLE DB Provider Not Found

    Hi people,
    Seem to have a similar issue with an earlier poster.... on two different machines (one with Visual Studio Enterprise Architect and the .Net Framework installed and one without using the default general purpose enterprise edition of 9.2 database install). Existing IIS + ADO applications now complain that the OraOLEDB.Oracle provider is not found. However, existing C++ -> ADO component applications do not have the same issue....
    Giving "Everyone" "Full Control" to %ORACLE_HOME% and subdirs as an NTFS permssion seems to work but also seems a bit drastic.... Anyone with a more focused explanation of what is going wrong? Anyone with a more secure workaround, perhaps?
    Thanks in advance,
    Lachlan Pitts

    All,
    Although not part of the Oracle OLE DB Team, or with any real qualifications, I do have a little information gained from experimentation...
    For those not up to date on this thread, the issue we all seem to have is when using the Oracle 9i Release 2 (9.2.0.1.0) OLE DB Provider (OraOLEDB.Oracle) with Microsoft's .NET framework, we receive the error OraOLEDB.Oracle not found when we attempt to open a connection. In the past, some have suggested that giving Everyone the security access Full Control to the Oracle home directory (such as C:\oracle\ora92) solves the problem. I tried this and to my surprise it did work. Unfortunately, I did not try giving the ASPNET user full control first (doh).
    The reason this frustrates me is that something permanently changed while the permissions were open. The permissions can now be removed, and the provider still works fine.
    The only modification I saw inside the Oracle home directory was to new oramts/trace/OracleMTSRecoveryService(*).trc files, with the timestamps corresponding to when the ASP.NET worker process (aspnet_wp) was started/restarted. I do not see the Oracle MTS Recovery service running on another machine with Oracle 9.0.x on it (although this may not mean anything). After these trace files were written I was able to remove the permissions changes I made (Everyone/Full Control), restarted the machine, and the OLE DB provider still worked fine -- seemingly using the latest trace file available (as I could delete all but the latest trace file). This file was being locked by the Oracle MTS Recovery service.
    However, I can stop the Oracle MTS recovery service, delete the trace files, restart the web service, reboot the machine, etc, and still, the OLEDB provider works fine. Something else must have permanently changed while the permissions were open, maybe even something that didn't go into the Oracle home directory but something that was able to go somewhere else after the first trace file was written... If anyone can find out what it is (in the registry maybe?) that allows the OLEDB provider to work, I'd really like to know.
    I think that this is a big enough problem that the Oracle developers should look at it -- maybe they would have insight as to what that MTS recovery service is up to, and how it relates to the OLE DB provider in regards to a fresh installation. Especially considering that Oracle is advertising this as the first OLEDB provider with full support for the .NET framework.
    Best Regards,
    Paul Hooper

  • Provider not found deploying en VS 2013

    Hi all,
    On a fresh PC install, I installed VS2013 and created a single 1 table, One screen lightswitch html app.
    Triyng to make a deploy package fails with the error :
    provider 'LightSwitchApplication' not found .... visit :
    http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROVIDER_NOT_FOUND
    Searching results with solutions for VS2012 only (uncheck box for prerequisites while deploying)
    3 days on that issue !!
    Any help will be apreciated
    Thank's,
    Frederic 

    I was using right clic, build on the server folder! (I shoud have done that from the LS folder).
    To bad loosing 3 days on that !!
    I hope this will help someone. 
    Glad that you've solved this issue, thanks for sharing your experience.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oracle TopLink Object-to-XML - issue JAXBException: Provider not found...

    Env:
    OS:XP
    Java dev env: JDev 10.1.2 production
    Toplink Workbench - 10g Developer Preview 3 (10.1.3.0) build 041116
    I am attempting to use the toplink object to xml functionality through carefully following the tutorial titled Oracle TopLink Object-to-XML on OTN (link: http://www.oracle.com/technology/products/ias/toplink/preview/10.1.3dp3/howto/ox/index.htm)
    The first 11 steps are nice and clear and very easy to follow. However, when I hit 12 I run into problems. I believe I have done all I am required to do.
    My demo test code falls over on the attempting to create the JAXB context:
    JAXBContext jaxbContext = JAXBContext.newInstance("examples.ox.model");
    The exception I get is:
    javax.xml.bind.JAXBException: Provider oracle.toplink.ox.jaxb.JAXBContextFactory not found
    - with linked exception:
    [java.lang.ClassNotFoundException: oracle.toplink.ox.jaxb.JAXBContextFactory ]
    The code is capable of loading the jaxb.properties file, and has toplink.jar in the classpath. I am able to create a is located JAXBContextFactory prior to calling the new instance logic, illustrating that the class is in the classpath.
    Using google I have seen it mentioned that the newInstance call could be making use of a different JVM to the Application (https://jaxb.dev.java.net/faq/#classloader) hence may not be able to pick up the JAXBContextFactory class. I have attempted to follow their advice of passing in a class loader - but this makes no difference.
    I.E. JAXBContext jaxbContext = JAXBContext.newInstance("examples.ox.model", this.getClass().getClassLoader());
    Does anyone recognise this issue and have a solution.
    Here is my code:
    try
    File file = new File("D:\\Toplink\\demo\\Customer-data.xml");
    JAXBContext jaxbContext = JAXBContext.newInstance("examples.ox.model);
    Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
    Customer customer = (Customer) unmarshaller.unmarshal(file);
    System.out.println(" customer.getFirstName() : "+customer.getFirstName());
    catch(Exception e)
    System.out.println("Error: "+ e.toString());
    As mentioned earlier it falls over on JAXBContext.newInstance("examples.ox.model);
    cheers
    Nick

    Hi Blaise,
    thanks for your response.
    My session.xml file is located:
    D:\Toplink\demo\classes\session.xml
    And contains:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <toplink-sessions version="10g Developer Preview 3 (10.1.3.0 )" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="database-session">
    <name>examples.ox.model</name>
    <event-listener-classes/>
    <primary-project xsi:type="xml">D:/Toplink/demo/classes/CustomerProject.xml</primary-project>
    <login xsi:type="xml-login"/>
    </session>
    </toplink-sessions>
    My classpath references only jars downloaded with the links on the How To tutorial titled Oracle TopLink Object-to-XML on OTN (link: http://www.oracle.com/technology/products/ias/toplink/preview/10.1.3dp3/howto/ox/index.htm)
    This is the JDev output indicating the classpath and error:
    D:\Jdev1013Preview\jdk\bin\javaw.exe -ojvm -classpath D:\Toplink\demo\classes;D:\Toplink\lib\xml.jar;D:\Toplink\lib\xmlparserv2.jar;D:\Toplink\toplink\jlib\tljaxb.jar;D:\Toplink\toplink\jlib\toplink.jar examples.ox.model.RunDemo
    Error: javax.xml.bind.JAXBException: Provider oracle.toplink.ox.jaxb.JAXBContextFactory not found
    - with linked exception:
    [java.lang.ClassNotFoundException: oracle.toplink.ox.jaxb.JAXBContextFactory
    Process exited with exit code 0.
    Any more suggestions?
    In the meantime I will go through the information on the link that you have sent and see if I can get anyfurther.
    Thanks
    Nick
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Compatible provider not found

    Trying to migrate from EF5 to EF6.  First I deleted the tt files and added back the code generation files, build successful, Yay!  Run app, keep getting mapping errors.  No worries I thought, I'll just update the model from the database.  Update model from the database would only remove every table, refresh and add nothing so I deleted and tried to recreate my entity.  Every time I try to add an entity I get:
    So I tried a brand new project same result.
    I removed and re installed the latest ODP.net and visual studio tools from the oracle website - didn't work.
    I removed and reinstalled and checked install at machine level - didn't work.
    I replaced the nuget packages with local assemblies - didn't work
    I removed and recreated all my server connections in visual studio - didn't work
    I tried server connections in visual studio using the unmanaged driver but it claims the tns file can't be found despite only having one and the managed driver finds it just fine.
    At this point I'm at a loss of what to try.This computer is new, has only had the most current version of both visual studio and the oracle visual studio tools on it and still I can't add an EF6 entity.
    Suggestions?  I'm out of ideas.
    Jesse

    Thanks Alex.  That didn't work so I completely removed the oracle provider and all server connections defined in visual studio and installed the visual studio tools for oracle using only default options.
    I created a new console project, added the three packages from Nuget:
    ODP.net managed driver version 12.1.021
    ODP.net ef driver version 12.1.021
    Entity Framework version 6.1.3
    Added a new ADO.net Entity Data Model, EF Designer from database, created a new connection using the managed driver that tests successfully then the same error as above, "Entity framework database provider compatible with this version could not be found for your data connection".
    Ideas?

  • OraOLEDB.Oracle: Provider not found: Oracle 10.1.0.2.0 Client installation

    Hi All,
    I am working on a SSIS task in which i need to get data from Oracle database which is on remote server.
    But when created the SSIS package and tried to create the connection from the connection manager using OLE DB connection, I am not able to find the provder 'Oracle Provider for OLE DB' . I have oracle client, toad installed on my machine.Using toad, I am able to connect to the Oracle database.
    Please suggest. For time being I am using 'Microsoft OLE DB provider for Oracle' to make the SSIS working.
    Edited by: 982652 on Jan 17, 2013 11:02 PM

    Alright, so it's not that. It's possible the OLE DB provider isn't installed, depending on how you installed the Oracle client.
    This link has a little windows script that can list all the known OLE DB providers. That should tell you if its installed and SSIS isn't finding it, or if it's not installed at all. http://www.motobit.com/help/regedit/sa117.htm

  • Calling webservice - meta-inf/services/javax.xml.ws.spi.provider not found

    Hi,
    I have created an applet. Its running well in standalone application. But it is not getting referred in some other localhost. The JAXWS is not getting referred by the JRE. I'm getting the exception as invocation exception, and cannot find the META-INF/services/javax.xml.ws.spi.provider.
    Anyone can solve, pls reply me.

    your problem is too stuffed to understand properly..could you elobarate a lil bit

  • Info Provider not found Kindly Help

    Dear All.
    We have BI Content 7.04 installed in our BI landscape, but i am not able to found the following info providers.
    0FIGL_R20 : General Ledger: Transaction Figures (Direct)
    0FIGL_R50 : General Ledger: Plan Line Items (Direct)
    and all other infoprovider base on Direct.
    we have just finished EHP4 upgrade on our ECC6.
    following is the Component Information.
    SAP_ABA     701     0006     SAPKA70106     Cross-Application Component
    SAP_BASIS     701     0006     SAPKB70106     SAP Basis Component
    PI_BASIS     701     0006     SAPK-70106INPIBASIS     Basis Plug-In
    SAP_BW     701     0006     SAPKW70106     SAP Business Warehouse
    BI_CONT     704     0006     SAPK-70406INBICONT     Business Intelligence Content

    found in 3.5 content.
    Cheers
    martin

  • Info provider  not   found  for   2LIS_13_VDKON

    Hi,
      We are using 2LIS_13_VDKON data source for Billing Conditions ( Plug in 2004.1).
      Am unable to find the Info Provider for this data source /info source at 3.3 content. ( Unless my selections were incorrect).
      Shall you please kindly help me if this info source is already in use.
      Our extraction was strcuked at PSA level because of No data target it looks like we need to built custom ODS/Cube.
      Thanks for earliest reply.
    kind regards
    martin

    found in 3.5 content.
    Cheers
    martin

  • BouncyCastle provider not found (in Glassfish)

    I've installed the BouncyCastle cryptography provider on my system (Intel Mac running OS X 10.5.5, java version "1.5.0_16"), placing bcprov-jdk15-140.jar in /Library/Java/Extensions and adding the line
    security.provider.8=org.bouncycastle.jce.provider.BouncyCastleProvider
    to java.security. I have verified that it's correctly installed by running a Standard Edition application which uses it.
    However, when I try to run my Enterprise app in GlassFish 9.1_01, which uses BouncyCastle, I get the following error:
    java.security.NoSuchProviderException: no such provider: BC
    when my code attempts to execute the following line:
    factory = KeyFactory.getInstance(algorithm, "BC");
    Do I need to do something more to get GlassFish to recognize the BouncyCastle provider?

    Evidently, for GlassFish (and possibly anything running under a security manager), security providers must be installed in /Library/Java/Home/lib/ext.

Maybe you are looking for

  • Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?

    Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?   Now a days we are saving / extracting data in a excel spreadsheet, but we would like to do that using a database because it is better.

  • Is mpd the right solution for me?[more questions!]

    My scenario is as follows: I'm at work all day, but I want to listen to my music at home. I have complete access to SSH to my computer at home, I can open ports and all that from here. When I was running windows, I could just TS into my box, and hit

  • F110 - RFFOUS_C

    Hi All, I have a requirement where i will run the transaction F110 and there i will enter the "run date" and "identification" and a check will get printed. Actually there is a sap standard program called RFFOUS_C that will get the check to be printed

  • "dynamic" String concat in Expression language

    I would like to do something like (in Java) String s = flag? "this" : value + "that";in EL it would be #{flag ? 'this' : value + 'that'} but this leads to an error because it tries to add as numbers and not concat as strings. how can I do this? thank

  • Viewing or working with videos in iPhoto

    I downloaded a bunch of pictures and 1 video from my Canon camera and I can't play the video in iPhoto. How do I play it and how do you work with videos?