Plz help with deploying applet that uses SSL

Hi, maybe this is not the adecuate forum but ive already tried in others and i got no answer.
Im trying to use a certificate with my applet ( tha sends a lot of info to the server and also connects to another hibernate db) but im getting this error:
Server side:
username is: Panda
Registered the SSLServerSocket on port 6969
Listening ....
---- Got a connection from a client
     this is an unknown client
!!!!!!Error in reading or writing from/to the client:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
     at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
     at sun.nio.cs.StreamDecoder.read(Unknown Source)
     at java.io.InputStreamReader.read(Unknown Source)
     at java.io.BufferedReader.fill(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at PaqueteServidor.Server$handleRequest.run(Server.java:130)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
     at PaqueteServidor.Server.printClientCerts(Server.java:47)
     at PaqueteServidor.Server.run(Server.java:100)
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
     at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
     at sun.nio.cs.StreamDecoder.read(Unknown Source)
     at java.io.InputStreamReader.read(Unknown Source)
     at java.io.BufferedReader.fill(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at PaqueteServidor.Server$handleRequest.run(Server.java:130)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
     at PaqueteServidor.Server.printClientCerts(Server.java:47)
     at PaqueteServidor.Server.run(Server.java:100)
Client side:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
     at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
     at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
     at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
     at Interfaz.InterfazMovil.init(InterfazMovil.java:89)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
     at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
     at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
     at sun.security.validator.Validator.validate(Unknown Source)
     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
     at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
     ... 14 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
     at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
     at java.security.cert.CertPathBuilder.build(Unknown Source)
     ... 19 more
19:40:34,444 INFO Environment:464 - Hibernate 3.0.5
19:40:34,444 INFO Environment:477 - hibernate.properties not found
19:40:34,444 INFO Environment:510 - using CGLIB reflection optimizer
19:40:34,454 INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling
19:40:34,645 INFO Configuration:1110 - configuring from resource: /bd/hibernate/hibernate.cfg.xml
19:40:34,645 INFO Configuration:1081 - Configuration resource: /bd/hibernate/hibernate.cfg.xml
19:40:35,045 ERROR XMLHelper:59 - Error parsing XML: /bd/hibernate/hibernate.cfg.xml(21) The content of elements must consist of well-formed character data or markup.
19:40:35,045 ERROR Configuration:1172 - problem parsing configuration/bd/hibernate/hibernate.cfg.xml
org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
     at org.dom4j.io.SAXReader.read(SAXReader.java:482)
     at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
     at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
     at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
     at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
     at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Nested exception:
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.dom4j.io.SAXReader.read(SAXReader.java:465)
     at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
     at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
     at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
     at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
     at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
%%%% Error Creating SessionFactory %%%%
org.hibernate.HibernateException: problem parsing configuration/bd/hibernate/hibernate.cfg.xml
     at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1173)
     at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
     at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
     at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
     at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
     at org.dom4j.io.SAXReader.read(SAXReader.java:482)
     at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
     ... 6 more
java.lang.NullPointerException
     at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:59)
     at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
     at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Plz help and thx in advance.

I know I didn't get round to replying but no need to post it so many times.
http://forum.java.sun.com/thread.jspa?threadID=666870
http://forum.java.sun.com/profile.jspa?userID=543817
http://forum.java.sun.com/thread.jspa?threadID=669965
http://forum.java.sun.com/profile.jspa?userID=543817
http://forum.java.sun.com/thread.jspa?threadID=669975
http://forum.java.sun.com/thread.jspa?threadID=669973
Could it be that the server and client need to open different keystores?
http://forums.java.sun.com/thread.jspa?threadID=573918&messageID=3272683
reply 7
My example given before should work on different machines, try to export the server key and import it into the
client keystore. Export the client key and import in the server keystore if you want the server to authenticate
the client.
http://forum.java.sun.com/thread.jspa?threadID=666870
reply 4
Check the method getSSLSocketFactory in the applet, that will open a keystore for you.

Similar Messages

  • Need help with an applet that will only run as an application

    I am working on a slide show applet. The problem is that is won't run as an applet. I added a quite standard main method to stick the applet in a JFrame and this worked. I believe that the problem lies in how I am trying to open the files.
    here are two of the methods that I believe contain part of the problem
         private void showImage( String image_name )
              image_file = Toolkit.getDefaultToolkit().getImage( image_name );
              display_image.loadImage( image_file );
              repaint();
         private void setFileFolder( String folder )
              file_finder = new File( folder );
              file_results = file_finder.list();
         }image_file is an object of class Image, display_image is an object of class ImageComponent (extends JComponent to draw an image), and file_finder and file_results are both objects of class File
    I would greatly appreciate it if some one would help me with this.
    The full source can be found at http://www.geocities.com/enchantedforest/3688/ImSP.zip

    Ok. I got the image loading to work.
    Now how do I fix the second method shown in my first post? It is needed to find all of the images in one specific folder so that the slide show can run.

  • Plz help with this applet problem

    i made this player in jmf... and i tried to play file over http in it..
    player runs as applet in a jsp page.
    the prob is i was using .class file for the applet..but it wouldnt open a remote url coz applets run in sandbox mode...
    so i signed the applet..which caused it to end up in a jar..
    now the jar is perfectly playing remote urls..BUT
    it gives NoClassDefFound Error for ControllerListener class
    so
    1) with .class files it runs in all computers, but opens only files present on same servrer
    2) with .jar file it runs only on computers with jmf 2.1.1 installed, others giv the above error
    any ideas y this is so?
    and how do i add the whole javax.media package to teh jar if need be?
    i used:
    jar cvf test.jar PlayerApplet.java
    but how does ones add javax.media package?
    thanks

    Sorry. In that page I have to insert a CODE. I think I can get the code debugging the applet. Not the source code, a CODE that is in a class called Training.class
    <applet archive="http://www.mod-x.co.uk/mod_x_LeV_2/M_LeVeL3_od/7nf73b.jar" code="Training.class" width=300 height=50></applet>
    Cheers :D
    EDIT: Look, more logs in the java console when I leave the page:
    basic: New window ID: 0
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@ab835a
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@db3331, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@db3331
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    basic: Joined applet thread ...
    Cheers :D
    Message was edited by:
    Tiger

  • Deploying Applet which uses JCORBA

    Hi,
    I've a problem with deploying Applet, which uses JCORBA
    application jcoSql (it's on OAS 4 on Windows NT). I need in
    deploy directory package COM/visigenic/vbroker.. (because of
    calling ObjectFactory) and com/swing/... (because of using
    component JDialog in the Applet). But first direcory COM must be
    in uppercase and second com in lowercase!! And that is problem
    on NT. Could somebody help me?
    Thanks,
    Ales
    null

    You can make one (or both) of te packages available in a ZIP or
    JAR file.
    Thanks,
    -Roel.
    Ales Kemr (guest) wrote:
    : Hi,
    : I've a problem with deploying Applet, which uses JCORBA
    : application jcoSql (it's on OAS 4 on Windows NT). I need in
    : deploy directory package COM/visigenic/vbroker.. (because of
    : calling ObjectFactory) and com/swing/... (because of using
    : component JDialog in the Applet). But first direcory COM must
    be
    : in uppercase and second com in lowercase!! And that is problem
    : on NT. Could somebody help me?
    : Thanks,
    : Ales
    null

  • Cannot download a file with internet explorer 6 using SSL connection

    Hello,
    I am working on a application that uses SSL. But when the clicks a button to donwload a file using IE 6 or IE 7, internet explorer shows a error message saying that "The internet explorer cannot open this site". This error dont occur in Firefox, but i have to use Internet Explorer. And the error occurs only if i use https, with http it works fine.
    I search the net and i found that internet explorer has a bug, that when the server sends the http header "Pragma: no-cache" or "Cache-control: no-cache,max-age=0,must-revalidate", then the internet explorer doesnt cache the file, and i cannot open it. See here: http://support.microsoft.com/kb/316431/en-us
    My problem is that OC4J appears to send this headers automatically. I am using Oracle Enterprise Manager 10g Application Server Control 10.1.3.3.0. Here, is my code to send the file:
    HttpServletResponse response = (HttpServletResponse)
    FacesContext.getCurrentInstance().getExternalContext().getResponse();
    response.setContentType("application/x-download");
    response.setHeader("Content-Disposition", "attachement; filename=\"file.pfx\"");
    response.setContentLength((new Long(myFile.length())).intValue());
    OutputStream out=null;
    try {
    out = response.getOutputStream();
    fis = new FileInputStream(myFile);
    int n;
    while ((n = fis.available())> 0) {
    b = new byte[n];
    int result = fis.read(b);
    out.write(b, 0, b.length);
    if (result == -1) break;
    out.flush();
    out.close();
    } catch (Exception e){
    throw new DownloadException("Erro ao enviar arquivo para o stream de download.");
    finally{
    FacesContext.getCurrentInstance().responseComplete();
    You can see that i not send that headers in this code.
    Here, is the headers sent to IE when i use https.
    HTTP/1.x 200 OK
    Date: Wed, 07 May 2008 17:40:28 GMT
    Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
    Pragma: no-cache
    Cache-Control: no-store
    Surrogate-Control: no-store
    Expires: Thu, 01 Jan 1970 12:00:00 GMT
    Content-Length: 5208
    Set-Cookie: JSESSIONID=ac1002292008f788e14d0d6e40c29f3185f2fc72e5b9.e3eTb3mTb3yKe34SbhqOaxyTe6fznA5Pp7ftnR9Jrl0; path=/actcers; secure
    content-disposition: attachement; filename="file.pfx"
    Keep-Alive: timeout=15, max=74
    Connection: Keep-Alive
    Content-Type: application/x-download
    I hope that someone can helpme.
    Tanks
    Message was edited by:
    user635088

    Hi!
    I don't have a solution fou you, just a few ideas =)
    You can check what headers response contains with
    response.containsHeader( "your_header_here");
    http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServletResponse.html#containsHeader(java.lang.String)
    after that you could set/overwrite those headers that you don't like with, for example:
    response.setHeader("Cache-control", "no-cache,max-age=0,must-revalidate");
    Aparently Pragma and Cache-control headers should be used in pair, as noted here
    http://curl.haxx.se/mail/archive-2005-12/0003.html
    quote:"The author of Bad Behavior points out that RFC2616 requires that a
    Pragma: header to be accompanied by a Cache-Control: header. From what I
    see, it only says "SHOULD" (in section 14.32), but that is still a
    strong recommendation and something to be considered, IMHO."
    I'm a bit sceptical about you needing to cache the file, but if you feel strong about it, you could read this
    http://www.mnot.net/cache_docs/#META
    If you're working on SSL there is supposed to be some kind of validation, certificate or something like that. IE6 and 7 both have strong security measures in these regards. Maybe you should look something up in that direction.
    Hope I helped.

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    File icon with ? mark on it means it can't read from the hard drive. The hard drive is now wiped or bad. If just wiped then you will need to reinstall your operating system, OS X. If bad you will need to replace the drive.
    Start with booting the computer from the OS X install DVD that came with your system. If the Mac came with Lion Pre-Installed then you use the Lion internet recovery system to reinstall (Hold down Command+r keys or Command+Option+r keys to boot the computer from over the internet to the Lion recovery HD system).
    Good Luck.

  • When I on my cellular data for personal hotspot so it just load but nothing is happening so plz help me so I can use personal hotspot on my iphone 4 ios 7.1.1 plz help

    When I on my cellular data for personal hotspot so it just loads and nothing happens plz help me so I can use personal hotspot on my iphone 4 ios7.1.1

    Not all cellular carrier plans support personal hotspot. If that isn't the issue, there may be something else in the following that will help: http://support.apple.com/kb/TS2756

  • Need help with WMI code that will send output to db

    'm new to WMI code writing, so I need some help with writing code that we can store on our server. I want this code to run when a user logs into their computer
    and talks to our server. I also want the code to:
    * check the users computer and find all installed patches
    * the date the patches were installed
    * the serial number of the users computer
    * the computer name, os version, last boot up time, and mac address
    and then have all this output to a database file. At the command prompt I've tried:
    wmic qfe get description, hotfixid
    This does return the patch information I'm looking for, but how do I combine that line of code with:
    wmic os get version, csname, serialnumber, lastbootuptime
    and
    wmic nicconfig get macaddress
    and then get all this to output to a database file?

    Thank you for the links. I checked out http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx and
    found lots of good information. I also found a good command that will print information to a text file.
    Basically what I'm trying to do is retrieve a list of all installed updates (Windows updates and 3rd party updates). I do like that the below code because it gives me the KB numbers for the Windows updates. I need this information so my IT co-workers &
    I can keep track of which of our user computers need a patch/update installed and preferably which patch/update. The minimum we want to know is which patches / updates have been installed on which computer. If you wondering why we don't have Windows automatic
    updates enable, that's because we are not allowed to.   
    This is my code so far. 
    #if you want the computer name, use this command
    get-content env:computername
    $computer = get-content env:computername
    #list of installed patches
    Get-Hotfix -ComputerName $computer#create a text file listing this information
    Get-Hotfix > 'C:\users\little e\Documents\WMI help\PowerShell\printOutPatchList.txt'
    I know you don't want to tell me the code that will print this out to a database (regardless if it's Access or SQL), and that's find. But maybe you can tell me this. Is it possible to have the results of this sent to a database file or do I need to go into
    SQL and write code for SQL to go out and grab the data from an Excel file or txt file? If I'm understanding this stuff so far, then I suspect that it can be done both ways, but the code needs to be written correctly for this to happen. If it's true, then which
    way is best (code in PowerShell to send information to SQL or SQL go get the information from the text file or Excel file)?

  • How can I get help with pending songs that have taken over 12 hours to fully download?

    How can I get help with pending songs that have taken over 12 hours to fully download?

    You can only suspend service for 3 months at a time (with or without payment) and only twice a year.

  • Applet that uses Borland package

    Hi!!!!!!!!
    First of all i wanna say that this same topic is published in "Java Development Forum".
    I use JBuilder as IDE and i developed an applet that uses XYLayout.
    xylauyout is included in jbcl package. The import sentence is like this:
    "import com.borland.jbcl.layout.*; "
    When i try to run the applet from a browser, it throws an error. It refers to this package.
    The question is: how can i "tell" the browser to "look-up" the Borland's library i use? What should i do??
    Bye
    PS: sorry for my english!!

    I didn't understand what to do. I mean, i created a jar file that includes jbcl, but i don't know what to do??
    Here's the code of the HTML:
    <html>
    <head>
    <title>
    HTML Test Page
    </title>
    </head>
    <body>
    pruebaapplet.DataEntry will appear below in a Java enabled browser.<br>
    <applet
      codebase = "."
      code     = "pruebaapplet.DataEntry.class"
      archive  = "PruebaApplet.jar"
      name     = "TestApplet"
      width    = "600"
      height   = "500"
      hspace   = "0"
      vspace   = "0"
      align    = "middle"
    >
    </applet>
    </body>
    </html>PruebaApplet.jar is in the same directory of the html. The directory pruebaapplet is also situated in the same directory. DataEntry.class is inside pruebadataentry directory
    What should i do??????

  • Run applet that uses borland jar's

    Hi!!!!!!!!
    I use JBuilder as IDE and i developed an applet that uses XYLayout. The problem i'm having is that the browser (MS Internet Explorer and Netscape) throw the same error and that is the package i used.
    How could i configure it???
    P.S. : sorry for my english!!!!!!!!!!
    Bye

    I'm writing this message again because i wasn't clear enough. I use a jar provided by Borland JBuilder:
    " com.borland.jbcl.layout.*; "
    This library isn't provided by Sun, so the when i try to run the applet from a browser, it throws an error.
    The question is: how can i "tell" the browser to "look-up" the Borland's library i use?
    Bye

  • How to interface a tuxedo app with another application that uses tcp/ip socket  messaging

    How would you interface a tuxedo app with another application that
    uses tcp/ip socket messaging? I have a vendor product that offers
    a tcp/ip message interface, and would like to know how best to
    integrate it into a tuxedo application. I could write a C application
    that listens and accepts incoming request from the vendors application,
    and then make a tuxedo client call to a service. But this doesn't
    allow me to control the listen thread through tuxedo. The C application
    would have to be started seperately and would not take advantage
    of the tuxedo restart facilities etc of a tuxedo service.

    You can make an empty server only with tpsvrinit that starts your client
    listeners and a tpsrvdone that stops them. Be carefull with sharing ipcs
    between processes, or your clients may get puzzled!!!
    Another choice can be builting a custom WSL/WSH but I haven't done
    this yet and I don't know exactly the troubles related with making them.
    R.G.
    Travis Ward wrote:
    How would you interface a tuxedo app with another application that
    uses tcp/ip socket messaging? I have a vendor product that offers
    a tcp/ip message interface, and would like to know how best to
    integrate it into a tuxedo application. I could write a C application
    that listens and accepts incoming request from the vendors application,
    and then make a tuxedo client call to a service. But this doesn't
    allow me to control the listen thread through tuxedo. The C application
    would have to be started seperately and would not take advantage
    of the tuxedo restart facilities etc of a tuxedo service.

  • Can i get help with 2 songs that i downloaded on my itunes? it didnt download, said there was an error and then is stuck at PURCHASED.

    can i get help with 2 songs that i downloaded on my itunes? it didnt download, said there was an error and then is stuck at PURCHASED.

    I'd report the problem to the iTunes Store. 
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not downloading properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Need help with advanced applet

    I need help with designing an applet as follows. Can someone give me a basic layout of code and material so i can fill in the rest or at leats give me some hints so i can get started since i am like no good at applets.
    Design and implement an applet that graphically displays the processing
    of a selection sort. Use bars of various heights to represent
    the values being sorted. Display the set of bars after each swap. Put
    a delay in the processing of the sort to give the human observer a
    chance to see how the order of the values changes.
    heres a website that does something similar
    http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html

    elasolova wrote:
    i will not help you this time. but if you buy me a candy maybe i can reconsider the issue. :PI suggest an all-day sucker.

Maybe you are looking for

  • Itunes 12.1.0.71 will not install on win 7 error 1053

    I have a BIG problem...cannot install 12.1.0.71...The install gets about 90% thru and then I get the error....Windows could NOT start Apple Mobile Device Services error 1053...The Service did not respond......after trying all the solutions I found on

  • How do I change the pdf version when combining files

    I am using Acrobat 9 Standard and need to change the default pdf version when combining multiple files, it actually save in 1.6 but would need to lower to 1.4 to be compatible with a client. So far, I changed the .joboptions with no luck. Any idea? T

  • Change column width for print table to report

    Hi, want to make the first column in my table to be printed to report wider than the rest, for it contains the part numbers of about 16 chars and the other columns are the data of 4 each. Don't want to make all equally wide for I want to fit as many

  • Can you play movies from my iPad on a tv

    Can you play movies from my iPad on a tv

  • Using Xcode for a 2008 MacBook with OSX 10.6.8

    I bought a MacBook 2008 and it has OSX 10.6.8 on it.  I wanted to use this computer to develop apps and download Xcode but it did not work with my computer.  I then bought Mountain Lion thinking it would update my sytem to use Xcode but it would not