PLEASE HELP, I am stuck!!!

Hi everybody and happy new year to all of you.
I am asking for your help because I am really not getting anywhere with my project. So you guys are my last hope.
I am a newbie to data mining and I am doing my best to learn the basics so that I get started with my project.
I guess my problem, is the fact that I am new to data mining and I have no clue how to get started. The approach I have been following is trying to read books about data mining and machine learning so that I can understand and compare all the "numerous" algorithms out there and then try to find to the one(s) that would apply to my case.
The first problem with this approach is that I did not find any good resources (either the subjects are treated on the surface or they are overly made complex and hard to follow through). The second problem is that it is incredibly time consuming. So I am wondering if I should continue in this path or if I should try to proceed differently.
I am sure that a lot of you guys have been in the same position and some of you have struggled with this problem just like me. So, I am hopping that you guys would suggest a method that would help me get started.
The project I am working on is related to the field of agriculture and has as objective to try to find the best values of all the parameters that affect the outcome (the amount of meat produced) of an animal production (could be dairy, poultry, porch, etc...)
So as I said, the approach is to run one or more algorithms on historical data for a certain type of production (poultry for example) and trying to find what should be the best values for the operating conditions that would maximize the growth of the animals (weight), while trying to minimize the production costs. A few examples of the questions that this project is trying to solve are as follows: when is the best time and how long should the barns be light? When and how much food should we give the animals? What is the best operating temperature set point? When and how much cooling/heating should be done? , etc....
As you noticed, all these questions are concerned with the optimization of the operating conditions but most importantly, the reduction of operating costs. Huge amounts (10's of Go) of historical data for these operating conditions are to be used for this purpose.
I hope that you guys would kind enough to help me work my way trough this. I would appreciate your help and advice and I thank in advance all of you who took the time to read this lengthy post
Cheers.

You might want to try Explain function in Oracle's Predictive Analytics to find the important factors that influence the production of the more meat based on the historical data that you have.
If you have many times of products (animals), you may have to partition your data and do the explain for each product separately.
After finding the important factors, you may have to use domain expertize to select the important attributes which you can focus on and reduce the money spend on not-important attributes.
You can also try clustering to find the product (animal) clusters. As Oracle Clusters provide the attribute details and rules associated with the clusters. By inspecting these clusters one can get a better understanding of the attributes. For example, if you get a cluster which has maximum %ge of good products (healthy animals with good weight) in it, then by inspecting this cluster you can inspect other attribute values in that cluster to get a better understanding of why in that cluster you have good products and then using domain knowledge you can derive the results.
Another possibility, decision tree to derive the product profiles. Let us say, your data has column called "Animal Weight" that has three values High-Medium-Low. You can build a decision tree model using "Animal Weight" as the target attribute that you want to predict. After the decision tree is build, you can inspect the rules associated with each target values.
Data mining needs a good deal of experimentation to get the results. These are some of the possibilities that I can think of to start with. But it is not limited to this. You can think of combining Data Mining with optimization techniques etc. Also, it is important to have the right data for the right problem.
Good luck with your effort. You can try ODMr tool to experiment with these. There are Java and PL/SQL API's that will help you in integrating or developing any custome application.
-Sunil

Similar Messages

  • I have an ipod 2g , The keyboard won't work! Or at least some of it's letters and numbers won't. please help i'm stuck with emojis

    i have an ippd touch 2g , a part of my keyboard won't work , i can type letters but i can't type numbers . please help i'm stuck with emojis keyboard

    Try restarting the iPod by holding down the lock and home button together and then slide the power button to turn it off and then wait 10 seconds and start it up again. If it is not a reset issue then it may be a hardware issue. Is your iPod damaged or have you dropped it recently? If it is a hardware problem then you may not be able to fix it. If your iPod has multitasking options like the new iOS devices, close out the app and then try again, it should reset your device to letters instead of emojis.

  • Please help i am stuck o this point for a long time now

    I have posted the same problem several time, sorry for bothering people here but i am really stuck here. If anybody needs more information please let me know.
    I have my project deployed on Godaddy.com, I uploaded the .war file and it exploded well too. it is deployed here,
    http://www.cynosuredev.com/njit/faces/index.jsp
    it returns null pointer when typed anything in the box. I am using a4j (ajax4jsf), when I see the error logs following is what i get. The project works perfectly on my own tomcat server.
    Please Help
    [Thu Jan 18 10:49:56 2007] [error] [client 64.253.48.104] File does not exist: /var/chroot/home/content/s/a/p/sapanaprikh18/html/njit/theme/com/sun/rave/web/u i/defaulttheme/javascript/formElements.js
    [Thu Jan 18 10:49:56 2007] [error] [client 64.253.48.104] File does not exist: /var/chroot/home/content/s/a/p/sapanaprikh18/html/missing.html
    [Thu Jan 18 10:49:56 2007] [error] [client 64.253.48.104] File does not exist: /var/chroot/home/content/s/a/p/sapanaprikh18/html/njit/theme/com/sun/rave/web/u i/defaulttheme/css/css_master.css
    [Thu Jan 18 10:49:56 2007] [error] [client 64.253.48.104] File does not exist: /var/chroot/home/content/s/a/p/sapanaprikh18/html/missing.html

    Mod_jk basically is the connector between Apache HTTPD server (can not handle JSP) and Apache TomCat (send outs JSP pages. Basically with Mod_jk you are setting Tomcat to listen to the HTTPD server for JSP requests. There are many manual and web sites avaiable for this.
    http://www.newmedialogic.com/tutorials/apache/mod_jk
    http://tomcat.apache.org/tomcat-5.0-doc/config/http.html
    http://tomcat.apache.org/connectors-doc/miscellaneous/faq.html
    http://tomcat.apache.org/faq/connectors.html
    Its a big undertaking but the results are great.
    Creating an Apache - Tomcat Connector
    Step 1:
         Have Fun...
    Step 2:
         Download the source from Apache's web site
         http://tomcat.apache.org/connectors-doc/index.html
    Step 3:
         Download Tomcat 5.5
         http://tomcat.apache.org/
    Step 4:
         Download Java
         http://java.sun.com/javase/downloads/index_jdk5.jsp
    Step 5:
         Use the source files from the apache connector download to build the mod_jk.so file.
         We do this by using the c++ command line compiler or the guey compiler
         The location is relative to where you installed or placed the download source code
         For example my location is as follows:
         C:\apache13\tomcat-connectors-1.2.20-src\native\apache-1.3 (the actual project file is,mod_jk.dsw)
         Through the guey is easy just select the rebuild from the build menu.
         It should build if you remebered to set your environmental variables
         For Example
              Java_home = C:\Program Files\Java\jdk1.5.0_10
              Apache1_home = C:\apache113\Apache (this would be apache2 for version 2 of Apache)
         I also had to even though my environmental variable was set,
         had to copy and past a file (jni.h) locally into the the following directory;
              C:\apache13\tomcat-connectors-1.2.20-src\native\apache-1.3
         Within the Apache Directory I had to change a couple of the library names of some of the files
         to relect what files the source compile was looking for
         I also downloaded the latest apache server and wehn i was building the connection in C++
         Linked to 2 files and changed there names as these files were not in the version of Apache I was using
         and that is why the names had to be changed of the following 2 files
         libaprutil-1 changed to libaprutil
         libapr-1 changed to libapr
    Step 6:
         Once successfully built move the mod_jk.so from this directory
         C:\apache13\tomcat-connectors-1.2.20-src\native\apache-1.3\Release
         to C:\apache113\Apache\modules\ directory
    Step 7:
         Use the Depends Tool (C:\Program Files\Microsoft Visual Studio\Common\Tools\depend.exe) to see if the
         .so files can find all of the associated .dlls. If the program cannot you may need to import (copy & paste) into the
         directory which the mod_jk.so is looking for it. .
         For Example the issue I had was the following 2 .dlls where in the wrong directory
         Win9xConHook.dll
         ApacheCore.dll
         The mod_jk.so was looking for this in its current directory (C:\apache113\Apache\modules)
    Step 8:
         You must modify the httpd.conf file (C:\apache113\Apache\conf directory) by adding the following line:
         Include "C:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/auto/mod_jk.conf"
         This .conf file is created when Tomcat is started so dont fret if its not built...
    Step 9:
         In the Tomcat directory you must edit the server.xml file
         (C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf)
         Right below the following tag add the listner tag
              <Server port="8005" shutdown="SHUTDOWN">
              <Listener className="org.apache.jk.config.ApacheConfig"
              modJk="C:/apache113/Apache/modules/mod_jk.so"/>
              **** This pathing must point to the mod_jk.so file***
         Right above the following tag add the listner tag
              </Host>
              <Listener className="org.apache.jk.config.ApacheConfig"
              modJk="C:/apache113/Apache/modules/mod_jk.so"/>
              **** This pathing must point to the mod_jk.so file***
              <Listener className="org.apache.jk.config.ApacheConfig"
              append="true"
              forwardAll="false"
              modJk="C:/apache113/Apache/modules/mod_jk.so"/>
              **** This pathing must point to the mod_jk.so file***
         Please create a folder in the conf directory and call it jk
         within this new directory you will create the following file
         workers.properties
              With in this file, please place the following code
                   worker.list=ajp13
                   worker.ajp13.port=8009
                   worker.ajp13.host=localhost
                   worker.ajp13.type=ajp13
    Step 10:
         Run Tomcat
         To see if its started and running properly
         http://localhost:8080/ (you should get the Tomcat webpage if you did it right)
    Step 11:
         Wait 30 Seconds and then start Apache
         To see if its started and running properly
         http://localhost
    Step 12:
         If both services are running then try this to ensure that the jsp are running correctly
         http://localhost:8080/jsp-examples/index.html (test tomcat)
         http://localhost/jsp-examples/index.html (test Apache)

  • Please please help ios 5 stuck in restore mode

    Alright guys please help me im pulling my air out worried ive buggered my phone i knw there are lots of problems regarding ios 5 update but i cant do anything anymore i started downloading the update this morning all went ok phone went into that screen with the loading bar after the update had downloaded if that makes sense lol well the drivers started downloading then i had a error pop up cant remember which one and now my phone is in restore mode have been trying to restore all day what happens is i click restore it pops up do you want to restore and update i say yes the download starts at about 18 mins it gets to 3-4 minutes left and then my phone turns off and then the little silver apple symbol pops up then it goes back to restore mode and on the itunes it disconects then reconects interupting the download it carrys on but nothing happens when it downloads i dont know what to do liek ive been trying to sort it all day and im at a loss as struggling to find sum1 with the same problem as me please please help the phone is a 3gs

    i totally understand you, i tried to solve this problem for 2 days (for ipad 1). couldn't manage to do it, so i gave it to the official technical support in Turkey. they tried for 2 days, still couldn't find anything. They said that they are going to check whether it has any hardware problem or what. but still, over than a year it did not give me any problems but now... =/ hope that a new update comes soon. or any official explanation would do fine.

  • PLEASE HELP powermac g5 stuck

    Hi I have a powermac g5 running leopard with all updates. I was running a program call "q" it's like a virtual pc and I couldn't get th computer to shut of because of "q" because it said u must floe the virtual pcs running but none were running. So I forced restart by holding the power button and now when it boot back up the only thing there is the dock and the backround NOTHING ELSE no menu bar no hard drive icon, nothing at all PLEASE HELP I tried to be detailed

    Hi John,
    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.

  • Please Please Help: Ipod Nano stuck n hold!!

    I dont know what 2 do and i feel like crying becaz i have been searching on here 4 hours an im geting tired. Ok: My ipod iz stuck on hold,ive tried everything from switvhing the button back an forth 2 holdign the center button and menu. and i dont know how 2 do that restore factory setting thing, I read that i can let the battery run out but how can i if it goes 2 sleep? ANY HELP EXTREMLEY APPRECIATED

    Plug your ipod into your computer. When it shows in iTunes it should show your ipod in the top. In the Versions section below there should be two things: "Your ipod is up to date" with an update button greyed out after it and "If you are experiencing problems...." right below that. At the end of that statement you should see a "restore" button. Click on that and it will as you if you are sure you want to restore as it will remove everything you put on your ipod from it. Click yes. It will then begin to reset it to factory settings. Finally, you will get a prompt telling you not to unplug your ipod as the process is completing and your ipod will show in itunes again when finished. Click "ok". When it is done it will show up as it did when you first purchased the ipod asking you to name it, etc.

  • Please help, iPhone 5 stuck in recovery mode and will not update.

    I tried to update my girlfriend's iPhone 5 (AT&T) from 6.1.2 to 7.0.4 last night and something went wrong so of course I had backed it up so I put the phone into recovery mode and attempted to completely restore it and then restore from back-up (or at least that was my plan) but the problem is that once I got it in recovery mode and started the update it froze mid-update (Not a computer problem, I have a rMBP 2013, 2.3 ghz i7 & 16GB ram) so after about 30 minutes of watching it at the same spot I unplugged it and attempted to start over. Now everytime I attempt to update it it tries to re-download the software and once it gets completely downloaded it says it was corrupted during the download. I have also attempted to download the IPSW manunally and update that way and it now gets partially through the update and throws an error message. I have tried to use tinyumbrella to kick it out of recovery mode and it does not work either. I am out of options, I have no idea what else to do. I aplogize for my ****** grammar and sentence structure I am flustered and haven't taken the time to proofread it.

    FIRST, edit your hosts file (which was corrupted by the jailbreak process) and remove any references to gs.apple.com; delete the whole lines and save the file. If you don't know how to do this you will have to get help, and it shows that jailbreaking was a bigger mistake than you thought.
    Next, connect to a USB port directly on the computer, not a hub and disconnect all USB devices that consume power or bandwidth (like USB drives).
    Put it into DFU mode to restore. With the phone disconnected hold HOME and SLEEP until a black screen appears. Immediately release SLEEP and continue holding HOME. While holding connect to iTunes and continue holding. After a while (perhaps several minutes) iTunes should recognize the phone. When it does release the HOME button and hope for the best.

  • USER I/O Wait (Please help kind of stuck here from long time)

    I have a delete statement running from more than 24 hrs now and the session info says its waiting on user I/O. There are no blocking sessions and its doing a full table scan of a table having around 500000 records. I dont understand what exactly its waiting on and how to check that and why it taking more than 24 hrs to FTS of 1 table? Here are some of the statistics:
    SQL> select blocking_session, event, wait_class, wait_time, seconds_in_wait, state from v$session where sid=1026;
    BLOCKING_SESSION EVENT WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT
    STATE
    db file scattered read User I/O 0 0
    WAITING
    SQL> select * from table(dbms_xplan.display_cursor('1g5k0k3qpy8j2'));
    PLAN_TABLE_OUTPUT
    SQL_ID 1g5k0k3qpy8j2, child number 0
    DELETE FROM RX_TX WHERE ID IN (SELECT ID FROM TEMP_PURGE WHERE TABLE_NAME = 'rx_
    tx')
    Plan hash value: 3126475949
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)
    | Time |
    | 0 | DELETE STATEMENT | | | | | 17239 (100)
    | |
    | 1 | DELETE | RX_TX | | | |
    | |
    PLAN_TABLE_OUTPUT
    |* 2 | HASH JOIN RIGHT SEMI| | 513K| 123M| 14M| 17239 (2)
    | 00:03:27 |
    |* 3 | TABLE ACCESS FULL | TEMP_PURGE | 557K| 8717K| | 2789 (2)
    | 00:00:34 |
    | 4 | TABLE ACCESS FULL | RX_TX | 578K| 130M| | 6918 (2)
    | 00:01:24 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    2 - access("ID"="ID")
    3 - filter("TABLE_NAME"='rx_tx')
    22 rows selected.
    SQL> select b.name, a.value from v$sesstat a, v$statname b
    where a.statistic# = b.statistic#
    and a.value > 0 2 3
    4 and b.name like '%wait%'
    5 and a.sid=1026;
    NAME VALUE
    concurrency wait time 1615
    application wait time 388
    user I/O wait time 13403000
    enqueue waits 1
    shared hash latch upgrades - no wait 7924935
    redo log space wait time 2852
    6 rows selected.
    Any help would be appreciable.
    This deletes more that 60% of the records from this table so indexed should be out of question here, i think.
    Daljit Singh
    Message was edited by:
    Daljit

    Thanks for replying Reega, here is the required
    info:
    SQL> select p1text, p1, p2text, p2, p3text, p3 from
    v$session where sid=1026;
    P1TEXT
    1
    P2TEXT
    2
    P3TEXT
    3
    file#
    block#
    16937
    blocks
    6
    Actually Reega had a good point, not sure why he didn't go down the route.
    You may want to find out what's that table/index your session is waiting from the value, something like
    select   owner||'.'||segment_name,  segment_type
    from dba_extents
    where file_id=4 and (block_id between 116937 and 116937+66)This might be a long run query if you have many objects.
    Actually the better view to query is v$session_wait instead of v$session.
    Check article you might find useful,
    Oracle wait tuning with v$session_wait

  • Please help...stuck with compareTo when comparing objects in ListNodes

    I'm writing a SortedLinkedList class that extends MyLinkedList that I wrote and I need to write a sort but i keep getting this error message when I try to compare two objects in the listnodes
    cannot resolve symbol method compareTo(java.lang.Object)
         Object a = get(x); //get returns an object at the listnode x(index)
         Object b = get(y);
    if(a.compareTo(b) >= 0) //Error message
    etc.....

    If you want to sort the list nodes, you can make a
    compareTo method for each node which casts its Object
    to a Comparable and calls compareTo on the arg's (arg
    is the other list node) Object.     would i put this in MySortedLinkedList class?
    public int compareTo(Object o)
              return this.compareTo((Object)o).this);
              //this is the best i can come up with so far but it doesn't help me at all

  • Please help pages update stuck in Waiting

    Pleas help need to continue the download of pages upgrade because all of the documents i have important documents in there and if I erase the app all the info will erase, and I do not want that to happen.

    Did you store the Pages documents in iCloud?  If so, they will be preserved.
    The Pages update is very large (something like 110MB).  I suggest whenever you update the Pages app in the future, use iTunes on your computer to download the update, then sync your iPad to your computer.

  • HT1414 PLEASE HELP, my iphone stuck on apple logo and i need my data

    How to upgrade or restore my iphone 4 but to keep somehow my pictures and video, because my iphone stuck on apple logo. Already have 5.1.1 iOS on it. PLS what to do ???

    Your data are already gone. If you don't have any backups either on a computer or in iCloud you are out of luck. The only option is to restore it from Recovery mode.

  • Please help. iPhone 5s stuck on 67% battery life.

    I Bought my husband a white iPhone 5c yesterday for his birthday. Last night he put it on the charger and it fully charged to 100%. Today, it got down to 67% and hasn't moved since about 2 pm today. It's now 8:39pm. It will show that it ran ouT of battery life and show the screen with the battery and little lightening bolt. When he plugs it up it will turn right back on to 67%. We have tried the reset, (hold home button & lock button) it did not help. Now, we're trying to run it down. And it's actually coming down. We are playing music threw a aux cord, have wifi & Bluetooth on and it jumped to 43%. Does anyone know what causes this ? And what can help it? I feel awful cause I just bought the phone yesterday. And it's already acting up.

    Hello LynzieMichelle21,
    The information detailed below may help resolve this issue.
    This solved my question by Philly_Phan  on Jun 21, 2012 4:43 PM
    Philly_Phan
    It's probably the battery indicator, not the battery itself.  Run it down until it shuts down automatically.  Ignore any low battery alerts that appear.  Then, charge it overnight with the 10W charger.  That should clear things for you.
    My IPad doesn't charge 100%
    See the answer in context
    My IPad doesn't charge 100%
    https://discussions.apple.com/thread/4047393
    Cheers,
    Allen

  • Please help I am stuck at "not a DSA public key"

    Hi
    I am just starting with the certificate/security API so this may be a naive question. I have a certificate,private key signature & data from a third-party. I am using following program to verify the signature.
    import java.io.*;
    import java.security.*;
    import java.security.cert.CertificateFactory;
    import java.security.cert.X509Certificate;
    import java.security.spec.*;
    import java.util.Collection;
    import java.util.Iterator;
    class VerSig {
        public static void main(String[] args) {
            /* Verify a DSA signature */
            if (args.length != 3) {
                System.out.println("Usage: VerSig publickeyfile signaturefile datafile");
            else try{
                InputStream inStream = new FileInputStream(args[0]);
                CertificateFactory cf = CertificateFactory.getInstance("X.509");
                Collection c = cf.generateCertificates(inStream);
                Iterator i = c.iterator();
                X509Certificate cert = null;
                while (i.hasNext()) {
                    cert = (X509Certificate)i.next();
                inStream.close();
                PublicKey pubKey = null;
                if (cert != null)
                    pubKey = cert.getPublicKey();
                // create a Signature object and initialize it with the public key
                Signature sig = Signature.getInstance("SHA1withDSA","SUN");
                sig.initVerify(pubKey);
                // Update and verify the data
                FileInputStream datafis = new FileInputStream(args[2]);
                BufferedInputStream bufin = new BufferedInputStream(datafis);
                byte[] buffer = new byte[1024];
                int len;
                while (bufin.available() != 0) {
                    len = bufin.read(buffer);
                    sig.update(buffer, 0, len);
                bufin.close();
                //input the signature bytes
                FileInputStream sigfis = new FileInputStream(args[1]);
                byte[] sigToVerify = new byte[sigfis.available()];
                sigfis.read(sigToVerify );
                sigfis.close();
                boolean verifies = sig.verify(sigToVerify);
                System.out.println("signature verifies: " + verifies);
            } catch (Exception e) {
                System.err.println("Caught exception " + e.toString());
    } First of all :
    1) I wrote "Signature sig = Signature.getInstance("SHA1withDSA","SUN");" because somewhere in the certificate, I saw Signature Algorithm: SHA1withDSA. Is this correct?
    2)I am getting following exception after
    Signature sig = Signature.getInstance("SHA1withDSA","SUN");"
    sig.initVerify(pubKey);
    Caught exception java.security.InvalidKeyException: not a DSA public key: algorithm = SHA1withDSA, params unparsed, unparsed keybits =
    0000: 02 41 00 91 89 17 2D 83 2D 19 51 96 8F D3 A7 CE .A....-.-.Q.....
    0010: 33 E7 B0 1F 6C 79 F4 91 3E B5 5E 81 92 42 65 BA 3...ly..>.^..Be.
    0020: 56 F8 8B F4 FF 54 4F D6 ED 38 A4 71 BD BE D4 69 V....TO..8.q...i
    0030: 21 02 E3 CD 48 96 BC B3 14 F4 42 90 4D 38 5C 78 !...H.....B.M8\x
    0040: D3 26 58 .&X
    what am I doing wrong?

    Hi,
    I am getting the same issue using JDK 1.4.2 regarding the "not a DSA public key" error.
    I also tried using Bouncy Castle instead, but also fail at the verify step (although with a slightly different error):
    "java.security.NoSuchAlgorithmException: no such algorithm: SHA
    1with1.3.14.3.2.27 for provider BC"
    My initial attempt using the Sun classes looks very much like the original example above. My Bouncy Castle implementation looks like:
    Provider bc = new BouncyCastleProvider();
    Security.insertProviderAt( bc, 1 );
    try
    // read PKCS#7 data from input stream
    CMSSignedData sig = new CMSSignedData( request.getInputStream() );
    CertStore certs = sig.getCertificatesAndCRLs( "Collection", "BC" );
    SignerInformationStore signers = sig.getSignerInfos();
    Collection c = signers.getSigners();
    Iterator it = c.iterator();
    while (it.hasNext())
    SignerInformation signer = (SignerInformation)it.next();
    Collection certCollection = certs.getCertificates( signer.getSID() );
    Iterator certIt = certCollection.iterator();
    X509Certificate cert = (X509Certificate)certIt.next();
    logger.debug( "Cert = " + cert );
    logger.debug( "Cert Sig Alg = " + cert.getSigAlgName() );
    logger.debug( "Pub Key Alg = " + cert.getPublicKey().getAlgorithm() );
    if ( signer.verify( cert, "BC" ) )
    logger.debug( "Verified!" );
    else
    logger.debug( "Not verified." );
    catch( Exception e )
    e.printStackTrace();
    return e.getMessage();
    and provides the following output:
    2006-04-26 14:06:46,882 - Cert =
    [0] Version: 1
    SerialNumber: 0
    IssuerDN: CN=ID3
    Start Date: Tue Sep 30 20:00:00 EDT 1997
    Final Date: Thu Dec 31 19:00:00 EST 2037
    SubjectDN: CN=ID3
    Public Key: DSA Public Key
    y: 9189172d832d1951968fd3a7ce33e7b01f6c79f4913eb55e81924265ba56f88bf4ff544fd6ed38a471bdbed4692102e3cd4896bcb314f442904d385c78d32658
    Signature Algorithm: SHA1withDSA
    Signature: 302c0214163774149d7a9ac672aa6beb0af7c5b1
    bee965be02144c9bf7da70a24dc644f788a8096e
    9ed1f1777741
    2006-04-26 14:06:46,882 - Cert Sig Alg = SHA1withDSA
    2006-04-26 14:06:46,882 - Pub Key Alg = DSA
    06/04/26 14:06:46 java.security.NoSuchAlgorithmException: no such algorithm: SHA
    1with1.3.14.3.2.27 for provider BC
    06/04/26 14:06:46 at java.security.Security.getEngineClassName(Security.java:723)
    06/04/26 14:06:46 at java.security.Security.getEngineClassName(Security.java:693)
    06/04/26 14:06:46 at java.security.Security.getImpl(Security.java:1132)
    06/04/26 14:06:46 at java.security.Signature.getInstance(Signature.java:218)
    06/04/26 14:06:46 at org.bouncycastle.cms.CMSSignedHelper.getSignatureInst
    ance(CMSSignedHelper.java:171)
    06/04/26 14:06:46 at org.bouncycastle.cms.SignerInformation.doVerify(Signe
    rInformation.java:261)
    06/04/26 14:06:46 at org.bouncycastle.cms.SignerInformation.verify(SignerInformation.java:494)
    ...truncated...
    I see that the original post is quite old. Was anyone able to figure out the issue? What am I missing?
    Thanks,
    Brian

  • ITunes wont open, cant uninstall, cant upgrade, cant reinstall. please help

    recently, itunes decided not to open. no error message, no computer lockup, just not open. so when i tried to reinstall via add/remove programs, the installer opened, and acted normal, said it was validating install, then when it got to removing old program, it froze and a windowsey-looking error message popped up saying that "the feature you are trying to use is on a network resource that is unavaliable" "click ok to try again or enter an alternate path to a folder containing the installation package 'itunes.msi' in the box below" [dropdown+browse button]. the dropdown lists 2 file paths one being in the temp files in mydox and the other being in some application cache files in some system folder. neither works.
    please help! im stuck! i have tried uninstalling, reinstalling, repairing, downloading the most recent and trying to install that, and even downloading an older version, and i all get the same error message.

    a windowsey-looking error message popped up saying that "the feature you are trying to use is on a network resource that is unavaliable" "click ok to try again or enter an alternate path to a folder containing the installation package 'itunes.msi' in the box below" [dropdown+browse button]. the dropdown lists 2 file paths one being in the temp files in mydox and the other being in some application cache files in some system folder. neither works.
    with those symptoms, let's try the following procedure.
    first, head into your Add/Remove programs and uninstall your QuickTime. if it goes, good. if it doesn't, we'll just attend to it when we attend to itunes.
    next, download and install the Windows Installer CleanUp utility. use it to clear any existing itunes and/or QuickTime installation configuration information from the PC.
    Description of the Windows Installer CleanUp Utility
    next, use the the following document as a guide for manual removal of leftover itunes and quicktime program files:
    Removing iTunes and QuickTime for Windows
    now try another itunes install. does it go through properly this time?

  • Os x installation errors please help

    Hi i appologize from now if i posted this in the wrong place but i have looked around and cant find anything to help me out i have a 15inch macbook pro with no operating system at all. It had 10.5.7 version of operating system x but my sisters friend who is computer illeterate thought he could install 10.6 but he was wrong he ended up deleting the operating system which leaves my sister without her laptop ive tried installing 10.6 but it tells me that it cannot install then quits but every forum i go to tells me that it should work with this laptop
    MacBook pro 3.1
    intel core 2 duo
    2.2 GHz
    Number of processors: 1
    Number of cores: 2
    Memory: 2 gb
    L2 cache: 4mb
    please help i am stuck with a 1500 dollar laptop that isnt working

    The installation disk I´m tryin with is from an 15-inch Macbook Pro I`ve recently bought. The system is snow leopard and I´m trying to install it in my macbook 13 Mac Os X 10.5.5 (originallay leopard) I don´t know if that´s a problem. I´m not using an update dvd. I think the problem is going by the post Mac fix it.
    I read that anyone who has a macbook intel could install snow leopard so I decided to try but it´s too hard. Thanks for trying to helping us.
    PD. Sorry about my english

Maybe you are looking for

  • How to get value from list item

    Hi all, How to get value from list item? I have a problem with the List Item object in the Oracle forms. How can I retrieve the selected item from a list ? I didn't find any function like 'list.GET_ SELECTED_ITEM()'... thanks Bala

  • File name in different directory

    i have a problem when saving files: I copied all the files from one directory to another ---with the same file name and I tried to make chnages in the new directory, But I found that all the changes I made in the new directory also happened in the ol

  • Multivalue DB

    Hi there. I have a multivalue DB (http://en.wikipedia.org/wiki/MultiValue) Pick system. I want to make my reports on CR. But I have a big problem, Pick DB uses multivalue fields. With a MultiValue database schema, also known as an account, a dictiona

  • Get value formula worksheet with POV manange

    I have a number of spreadsheets with numerous of getvalue formulas to populate reports. when I refresh the data, I get an error that says each member can be used once and only once and the pov manager pops up. I cant get rid of this issue. Its like t

  • Help - Deploy OpenCms 8.5 to WebLogic 10.3.5 failed

    I am trying deploy OpenCms 8.5 to WebLogic 10.3.5 but got many errors. This is the error from console starting WebLogic INFO: WSSERVLET12: JAX-WS context listener initializing 11-10-2012 18:06:08 com.sun.xml.ws.transport.http.servlet.WSServletContext