Implementing a planner  using dataTable

Hi,
I'm trying to implement a planner, where x-axis (columns) represents days, and y-axis (rows) doesn't have any meaning. So events on this planner "spans" generally multiple days. Let's say there are 5 events on a given interval, the longest event comes to the center row (in this case row 3), then the others find their places recursively trying to place them selves near to the center row, if not +1/-1 and so on.
Well, I've managed to mark these events on a [eventsCount, dayInterval] matrix. Let's say there are events from A to E. The matrix is something like this on a 7 days planner:
----1   2   3   4   5   6   7
--|---|---|---|---|---|---|---|
1 |   |   |   |   |   |   |   |
--|---|---|---|---|---|---|---|
2 | A | A | A |   | C | C |   |
--|---|---|---|---|---|---|---|
3 | B | B | B | B | B | B |   |
--|---|---|---|---|---|---|---|
4 |   |   | D |   |   | E |   |
--|---|---|---|---|---|---|---|
5 |   |   |   |   |   |   |   | Now I need to transform this data to a html table. The problem is I need to use col spans for events. Richfaces DataTable have colspan's but it's for a predefined structure, all or nothing case. So,
1) I guess there is no way to manipulate single rows in a JSF DataTable?
2) Do I need to generate the table by hand? If so, Is there a way where jsf can help me create child components (actually not components but tags). I think of adding children to a HtmlPanelGroup by a backing bean but I don't know how? Well in fact I know (...getChildren().add(...)) but this adds UIComponents, but in my case, I guess I'll need something like:
Totally rubbish code :
plannerGroup = new HtmlPanelGroup();
Child plannerTable = new Child("table");
plannerGroup.addChild(plannerTable);
for ( i = 0 ; i < days ; i ++ ) {
   Child plannerRow = new Child("tr");
   plannerGroup.addChild(plannerRow);
   for ( i = 0 ; i < days ; i ++ ) {
      //generate columns...
      //add to plannerRow
}I don't know how to accomplish something like this, and will be very happy if someone can help me out.
Thanks

Thank you,
I've read your articles on your blog a couple of days ago, and they really helped me a lot. And now re-reading "Customized Tables" opens new perspectives. I will certainly try. But sooner or later, I feel I'll need to manually create some table and I'm really curious about how to add <tr>'s and <td>'s to a table manually?

Similar Messages

  • Display images in rows & columns using dataTable in JSF 2.0, netbeans 6.9.1

    Hi,
    I have to display only images on a web page in JSF2.0 in Netbeans. I am using datatable and column to do so. But there is one problem.
    All images are display only in single column(i.e. vertically). I want to display in rows and columns not only column.
    e.g. One row will have atleast 3 images and more rows like this.
    Which attribute should i use of datatable? or should i use some other tag?
    My code is:
    <h:dataTable var="images"
    value="#{jsfMBean.allImages}"
    rules="none"
    cellpadding="20"
    border="0" >
    <h:column>
    <h:graphicImage value="faces/WEB-INF/upload/#{images.picid}" width="300px" height="100px" />
    </h:column>
    </h:dataTable>
    Thanks.
    NetBeans 6.9.1
    JSF 2.0 with facelets
    glassfish 3.0
    Enterprise java beans
    PrimeFaces 3.0

    I believe you are looking for the panelgrid, not the datatable.
    Note that there are a few useful websites online that list the available JSF tags plus their properties, such as these:
    http://www.horstmann.com/corejsf/jsf-tags.html
    http://www.exadel.com/web/portal/jsftags-guide

  • I tried to implement photo albums using iweb and got a publishing error.

    I tried to implement photo albums using iweb and got a publishing error. All was fine with my site until I added the photo album page. The software doesnt say what the error is exactly, only that it is a publishing error to my ftp
    Exact message "There was an error communicating with the FTP server. Try again later, or check with your service provider."
    If I reduce the albums inside to 1 then it seems to work but that takes away from the usefullness of multiple albums.
    my iWeb version is 3.0.4 (601)

    Publish your site to a folder on your hard drive to see if the publication will proceed successfully and open the site locally with your browser to confirm all of the alums are there and work.  If they do try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    If you're still not able to publish from iWeb to your server download and use the free  Cyberduck to upload your website files to the server. Users have found that CD has been successful when iWeb had problems.
    OT

  • Help!!! How to implement a special useful button in tool bar?

    How to implement a special useful button in tool bar, when the button is clicked, then a menu shows under the button, just like the Internet Explorer's back button and forward button, there is a black arrow at the two buttons right, when click the black arrow, a menu shows under the back button or forward button, how to implement this in java?
    Please help!!!
    Thanks!!!

    Like an enhanced JComboBox?
    ;o)
    V.V.

  • Implementing Fiancial Analytics using JD Edwards as a source

    Hello Experts,
    I am implementing Financial Analytics using JD Edwards Enterprise One as source. I am in the process of configuring the .csv files. I don't find few .csv files under informatica/server/infa_shared/SrcFiles folder. Where can I find the missing files to populate the data? After I configure all the csv files and run the ETL. What needs to be done at the RPD level? Is there any changes requried at the RPD level? If so, where can I find the documentation for that. Any help or direction would be greatly appreciated.
    Thanks in advance,
    RK

    Hi,
    Thanks for the reply. I found the files in the LkpFiles folder. After, I set up all the csv files then run the full load. Is there anything need to be changed/setup in the RPD?
    Thanks,
    RK

  • Implement Naming convention using code inspector

    Hi,
    We have to implement naming convention using code inspector,if anybody has already done it plz help
    me inunderstanding the problem.
    help is appreciated.

    We're also using the code inspector for naming conventions.
    Try this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/how to build a new check for the code inspector
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/evaluating the quality of your abap programs and other repository objects with the code inspector

  • Implementing caascading prompts using web elements

    I am implementing caascading prompts using web elements for two dropdowns PL and MPLl. If a value is selected
    from PL corresponding values are selected from MPL.
    I am using following code in sub report
    1) shared stringvar PL;
    if instr(PL, field1 + "|") = 0 then PL := PL + field1 + "|";
    2) shared stringvar MPL;
    if instr(MPL,"||" + field1) = 0 then MPL:= MPL + "||" + field1 + "|";
    if instr(MPL, field2 + "|") = 0 then MPL:= MPL + field2 + "|";
    3)
    shared stringvar PL:= PL[1 to length(PL)-1];
    shared stringvar MPL:= MPL[1 to length(MPL)-1]; MPL:= replace(MPL, "|||", "||");
    I am using following code in Main report
    1) whileprintingrecords;
    shared stringvar MultiSelectfont;
    shared stringvar PL;
    WESelectCascade ("Product_Line", PL, "Product_Line|MPL", {?Product_Line}, "ALL", true, "4.25cm", MultiSelectfont, "", "");
    2)whileprintingrecords;
    shared stringvar MultiSelectfont;
    shared stringvar MPL;
    WESelectCascade ("MPL", MPL, "Product_Line|MPL", {?MPL}, "ALL", true, "4.25cm",MultiSelectfont, "", "");
    PL has 3 values {ED,Motors, services} ED has 8 values for MPL, Motors has 2 values for  corresponding MPL and services has 2 values for corresponding MPL.  when ED is selected in PL dropdown it is giving 6 values in MPL drop down instead of 8 values.   when Motors is selected in PL dropdown it is giving 2 values in MPL drop down which is correct.   when Services is selected in PL dropdown it is giving 4 values in MPL drop down instead of 2 values.   2 values from services and 2 values from ED. i.e. First selection remaining 2 values are added to last selection i.e. services.
    Any Ideas appreciated

    what are the values of the 2 shared variables?
    i.e. if you un-suppress the formulae in the subreport that generate the 2 shared variables, then copy and paste using the Further Markup Possibilities > Markup/Result > code tags (to the right of the Message)  so that we can see the entire code.
    what could be happening is that there are duplicate values in the 2nd level...each value has to be unique. if they are not unique look into using the Ext (extended) cascading sets where a Display and a Value are used.

  • Implementing SPI protocol using PXI-7833R

    Hello everyone,
    I'm trying to implement SPI protocol using PXI-7833R, so that it should behave as a SPI master and should be able to communicate with a SPI device (treated as slave).
    Now I already found an example, but the problem is, this example uses cRIO-9103 as FPGA target and in my case I'm going to use PXI-7833R as FPGA target, and when I'm changing the target (from cRIO-9103 to PXI-7833R), I dont know how to map I/O's listed under 'Chassis I/O' (under cRIO) to the new target (which is PXI-7833R).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

    Hi All,
    Somehow I was able to change the target (from cRIO to PXI-7833R).... but now I'm getting an error while trying to compile the code.
    The error description is:
    "Multiple objects are requesting access to a resource through a resource interface from both inside and outside the single-cycle Timed Loop, which is not supported.
    Place all objects requesting access to the resource interface either inside or outside the single-cycle Timed Loop."
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Explain how to implement prompt functionality using @variable

    Hi all,
    Anyone please explain how to implement prompt functionality using @variable.
    We got some sql reports.Those reports have to be converted into BO free hand sql report.
    Please provide any best practices for converting sql reports into BO free hand SQL.
    Thanks & Regards,
    James Charle

    Hi
    Please refer "@Variable" section  in page number 601, in http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_designer_en.pdf
    Regards
    Ashwini

  • How to implement route cipher using java?

    Hi guys,,,
    I really got a headache solving how to implement route cipher using java lang,,i already got the concept but i really dont get how to implement it using java actually i want to make a presentation of how route cipher works using "adobe flash" but first i will implement it using java coz flash actionscripts are closer to java lang.
    Hope you could post some examples or ideas...i would really appreciate it!
    thank you so much...

    just add an action listener (either keypressed or keytyped) to the frame that you want to record. I did this in NetBeans in about 2 seconds. I can simplify it if you need. As for loging it just write the characters to a file output stream.
    public class test extends javax.swing.JFrame {
        /** Creates new form test */
        public test() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
        private void initComponents() {
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            pack();
        // </editor-fold>
        private void formKeyTyped(java.awt.event.KeyEvent evt) {
            System.out.println(evt.getKeyChar());
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new test().setVisible(true);
        // Variables declaration - do not modify
        // End of variables declaration
    }

  • Can i implement RS422 protocol using 7831 RIO card

    please tell if i can implement RS422 protocol using NI FPGA card. Also please help me on how to do the same...

    You can definitely implement the RS-422 protocol on the FPGA card. Check out the RS-232 on FPGA example on DevZone. RS-422 may be a bit different than RS-232, but not very much. The main thing you will have to deal with are the voltage levels of the signal. The FPGA DIO are single-ended 3.3V TTL, while RS-422 is a differential voltage signal. So to have a true RS-422 interface you will need to add a signal translator between the FPGA card and your RS-422 device(s).
    Christian L
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Implementing ASAP Methodology using SAP Solution Manager

    Hi All,
    Can any one help me with any documentation regarding ASAP methodology implementation using Solution Manager.
    The step by step process and transaction codes used for implementing it are there any guides provided by SAP for implementing the ASAP methodology in Solman.
    It's an implementation project that we would like to track each phase in Solman.
    Kindly help me to get more details.
    Thanks in advance.

    Hi,
    There are the 'ASAP Implementaion Roadmaps' wheras the latest available
    is the 'ASAP Methodology for Implementation 7.0' Roadmap, and there are
    the 'Upgrade Roadmaps' wheras teh lastest one of them is:
    'Upgrade Roadmap (V3.2)'.
    If you are on ST-ICO 150 SP24 both of these Roadmaps
    should be available in your system.
    There are two ways to display the roadmaps in RMMAIN.
    One is to choose a project in RMMAIN, then the roadmap assigned to
    the project in SOLAR_PROJECT_ADMIN is displayed.
    The other one is to display any available roadmap in the system
    To display one of the available roadmaps (without a project) choose
    the button 'Other Roadmap' in RMMAIN and in the upcomming popup
    hit the button 'No Project'.
    After that you should get an addtional button besides the Project
    button called Roadmaps (Other Roadmap).
    When you hit now this button you will get a list of all available
    roadmaps.
    Some further notes for referencing (although they can be old but still helpful)
    644651     How to find the Reference Model in Solution Manage
    826586     ASAP Implementation Roadmap
    Hope this helps.
    Cheers
    SH

  • Ways to implement image resizing using plug-ins?

    Hi Photoshop developers,
    I'm a developer with a few Photoshop filter and selection plug-ins under my belt, and I have a good understanding of the SDK and tools and suites it provides. My next project is an algorithm for enlarging/resampling images to different pixel dimensions. I'm wondering if anyone has any suggestions for or experience with the best combination of plug-in types to implement this.
    Clearly, I can't just write it as a filter plug-in, since there is no way to change the image dimensions from within a filter.
    I'd like the resized image to remain within Photoshop (as a new window or in the original one), so an export plug-in on its own is not sufficient.
    Import plug-ins seem promising, since they allow the creation of a new document of the required size. However, as best I can tell from the Photoshop 6.0 SDK documentation, import plug-ins cannot access the image data from other open documents (or even the clipboard), nor do they provide any support for channel ports and the Channel Port suite.
    My best idea at this stage is to create an export plug-in to provide the user interface and calculate the resized image, and then an import plug-in to import the resized image back into a new window. (I'm supposing a further automation plug-in would then be written to perform this export/import sequence.) The difficulty I see with this approach is how to communicate the resized image data between the two plug-ins. Since the resized image will potentially be very large, the ideal solution would be to store it in channels managed by the Channel Ports suite. However, I cannot see how the channel ports created in the export plug-in could be communicated to and used by an import plug-in. The alternative would be for the export plug-in to save the resized image to a temporary file on disk, however this seems unnecessary.
    So, my questions, specifically, are:
    a) Is it possible to create new channels using the Channel Ports suite (sPSChannelPorts->New()) in one plug-in, and have those channels persist to be used in another plug-in?
    b) If so, how would the channel ports be communicated between the plug-ins?
    c) Alternately, are there any alternative architectures available for implementing an image-resizing algorithm using the plug-in types that are available for Photoshop developers.
    Any responses would be greatly appreciated; I know this is a low-traffic forum...
    Thanks,
    Matthew.

    I would make an automation plug-in and a filter plug-in.<br /><br />1) Run the automation which runs your filter to gather current image <br />information<br />2) Create a temp file of the new document<br />3) Make a new document<br />4) Call the filter again to reload the temp data on disk<br /><br /><[email protected]> wrote in message <br />news:[email protected]...<br />> Hi Photoshop developers,<br />><br />> I'm a developer with a few Photoshop filter and selection plug-ins under <br />> my belt, and I have a good understanding of the SDK and tools and suites <br />> it provides. My next project is an algorithm for enlarging/resampling <br />> images to different pixel dimensions. I'm wondering if anyone has any <br />> suggestions for or experience with the best combination of plug-in types <br />> to implement this.<br />><br />> Clearly, I can't just write it as a filter plug-in, since there is no way <br />> to change the image dimensions from within a filter.<br />><br />> I'd like the resized image to remain within Photoshop (as a new window or <br />> in the original one), so an export plug-in on its own is not sufficient.<br />><br />> Import plug-ins seem promising, since they allow the creation of a new <br />> document of the required size. However, as best I can tell from the <br />> Photoshop 6.0 SDK documentation, import plug-ins cannot access the image <br />> data from other open documents (or even the clipboard), nor do they <br />> provide any support for channel ports and the Channel Port suite.<br />><br />> My best idea at this stage is to create an export plug-in to provide the <br />> user interface and calculate the resized image, and then an import plug-in <br />> to import the resized image back into a new window. (I'm supposing a <br />> further automation plug-in would then be written to perform this <br />> export/import sequence.) The difficulty I see with this approach is how to <br />> communicate the resized image data between the two plug-ins. Since the <br />> resized image will potentially be very large, the ideal solution would be <br />> to store it in channels managed by the Channel Ports suite. However, I <br />> cannot see how the channel ports created in the export plug-in could be <br />> communicated to and used by an import plug-in. The alternative would be <br />> for the export plug-in to save the resized image to a temporary file on <br />> disk, however this seems unnecessary.<br />><br />> So, my questions, specifically, are:<br />><br />> a) Is it possible to create new channels using the Channel Ports suite <br />> (sPSChannelPorts->New()) in one plug-in, and have those channels persist <br />> to be used in another plug-in?<br />><br />> b) If so, how would the channel ports be communicated between the <br />> plug-ins?<br />><br />> c) Alternately, are there any alternative architectures available for <br />> implementing an image-resizing algorithm using the plug-in types that are <br />> available for Photoshop developers.<br />><br />> Any responses would be greatly appreciated; I know this is a low-traffic <br />> forum...<br />><br />> Thanks,<br />> Matthew.

  • Trying to implement EAP/TLS using java (as part of RADIUS server)

    Hi
    This is a cross port since I didn't know which forum to post in!
    I'm trying to implement a RADIUS server (EAP/TLS) as part of my master thesis. I'm not used to Java SSL libraries and can't get it to work. The server will respond to an accesspoint that uses 802.1x. I have created certificates using openssl and imported the "cert-clt.pl2"and "root.pem" to a laptop trying to connect to the accesspoint. On the server side i imported the "cacert.pem" and "cert-srv.der" using keytool to a keystore. In my code I read the keystore and create the SSLEngine with following code:
              KeyStore ksKeys = KeyStore.getInstance("JKS");
                ksKeys.load(new FileInputStream("certs/FeebeeCommunity.keystore"), passphrase);
                KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
                kmf.init(ksKeys, passphrase);
                KeyStore ksTrust = KeyStore.getInstance("JKS");
                ksTrust.load(new FileInputStream("FeebeeCommunity.keystore"), passphrase);
                TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
                tmf.init(ksKeys);
                sslContext = SSLContext.getInstance("TLS");
                sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
                sslEngine = sslContext.createSSLEngine();
                sslEngine.setUseClientMode(false);
                sslEngine.setNeedClientAuth(true);
                sslEngine.setWantClientAuth(true);
                sslEngine.setEnableSessionCreation(true);
                appBuffer = ByteBuffer.allocate(sslEngine.getSession().getApplicationBufferSize());
                appBuffer.clear();
                netBuffer = ByteBuffer.allocate(sslEngine.getSession().getPacketBufferSize());
                netBuffer.clear();All I want to do with TLS is a handshake.
    I'm not talking ssl using sockets instead I receive and send all TLS data encapsulated in EAP packet that are incapsulated in RADIUS packets. I start off with sending TLS-Start upon I recive TLS data. I handle it with the following code:
           SSLEngineResult result = null;
            SSLEngineResult.HandshakeStatus hsStatus = null;
            if( internalState != EAPTLSState.Handshaking ) {
                if( internalState == EAPTLSState.None ) {
                    TLSPacket tlsPacket = new TLSPacket( packet.getData() );
                    peerIdentity = tlsPacket.getData();
                    internalState = EAPTLSState.Starting;
                    try {
                        sslEngine.beginHandshake();
                    } catch (SSLException e) {
                        e.printStackTrace();
                    return;
                else if(internalState == EAPTLSState.Starting ) {
                    internalState = EAPTLSState.Handshaking;
                    try {
                        sslEngine.beginHandshake();
                    } catch (SSLException e) {
                        e.printStackTrace();
            TLSPacket tlsPacket = new TLSPacket( packet.getData() );
            netBuffer.put( tlsPacket.getData() );
            netBuffer.flip();
            while(true) {
                hsStatus = sslEngine.getHandshakeStatus();
                if(hsStatus == SSLEngineResult.HandshakeStatus.NEED_TASK) {
                    Runnable task;
                    while((task=sslEngine.getDelegatedTask()) != null) {
                        new Thread(task).start();
                else if(hsStatus == SSLEngineResult.HandshakeStatus.NEED_UNWRAP) {
                    try {
                        result = sslEngine.unwrap( netBuffer, appBuffer );
                    } catch (SSLException e) {
                        e.printStackTrace();
                else {
                    return;
            }When I try to send data I use the following code:
               SSLEngineResult.HandshakeStatus hsStatus = null;
                SSLEngineResult result = null;
    //            netBuffer = ByteBuffer.allocate(EAPTLSMethod.BUFFER_SIZE);
                netBuffer.clear();
                while(true) {
                    hsStatus = sslEngine.getHandshakeStatus();
                    if(hsStatus == SSLEngineResult.HandshakeStatus.NEED_TASK) {
                        Runnable task;
                        while((task=sslEngine.getDelegatedTask()) != null) {
                            new Thread(task).start();
                    else if(hsStatus == SSLEngineResult.HandshakeStatus.NEED_WRAP) {
                        try {
                            result = sslEngine.wrap( dummyBuffer, netBuffer );
                        } catch (SSLException e) {
                            e.printStackTrace();
                    else {
                        if( result != null && result.getStatus() == SSLEngineResult.Status.OK ) {
                            int size = Math.min(result.bytesProduced(),this.MTU);
                            byte [] tlsData = new byte[size];
                            netBuffer.flip();
                            netBuffer.get(tlsData,0,size);
                            TLSPacket tlsPacket = new TLSPacket((byte)0,tlsData);
                            if( size < result.bytesProduced() ) {
                                tlsPacket.setFlag(TLSFlag.MoreFragments);
                            return new EAPTLSRequestPacket( ID,
                                    (short)(tlsPacket.getData().length + 6),
                                    stateMachine.getCurrentMethod(), tlsPacket );
                        else {
                            return null;
                    }After I sent TLS-Start I receive data and manage to process it but when then trying to produce TLS data I get the following error:
    javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:992)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:459)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1054)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1026)
    at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:411)
    at RadiusServerSimulator.EAPModule.EAPTLSMethod.buildReq(EAPTLSMethod.java:125)
    at RadiusServerSimulator.EAPModule.EAPStateMachine.methodRequest(EAPStateMachine.java:358)
    at RadiusServerSimulator.EAPModule.EAPStateMachine.run(EAPStateMachine.java:262)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1352)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:164)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:638)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:450)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:178)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:437)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:930)
    Any help wold be most greatfull, if any questions or anything unclear plz let me know.
    add some additional information here is a debug output
    Before this I have sent a TLS-star package and this is when I receive new information and then try to create the answer
    [Raw read]: length = 5
    0000: 16 03 01 00 41 ....A
    [Raw read]: length = 65
    0000: 01 00 00 3D 03 01 41 A4 FC 16 A8 14 89 F0 59 81 ...=..A.......Y.
    0010: C8 C9 29 C2 09 D1 0A 70 18 58 DC 2E B0 C8 14 90 ..)....p.X......
    0020: D4 FD A4 C6 32 C9 00 00 16 00 04 00 05 00 0A 00 ....2...........
    0030: 09 00 64 00 62 00 03 00 06 00 13 00 12 00 63 01 ..d.b.........c.
    0040: 00 .
    Thread-2, READ: TLSv1 Handshake, length = 65
    *** ClientHello, TLSv1
    RandomCookie: GMT: 1084488726 bytes = { 168, 20, 137, 240, 89, 129, 200, 201, 4
    1, 194, 9, 209, 10, 112, 24, 88, 220, 46, 176, 200, 20, 144, 212, 253, 164, 198,
    50, 201 }
    Session ID: {}
    Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH
    _3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_RSA_EXPORT1024_WITH_RC4_56_SHA,
    SSL_RSA_EXPORT1024_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EX
    PORT_WITH_RC2_CBC_40_MD5, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_DE
    S_CBC_SHA, SSL_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA]
    Compression Methods: { 0 }
    [read] MD5 and SHA1 hashes: len = 65
    0000: 01 00 00 3D 03 01 41 A4 FC 16 A8 14 89 F0 59 81 ...=..A.......Y.
    0010: C8 C9 29 C2 09 D1 0A 70 18 58 DC 2E B0 C8 14 90 ..)....p.X......
    0020: D4 FD A4 C6 32 C9 00 00 16 00 04 00 05 00 0A 00 ....2...........
    0030: 09 00 64 00 62 00 03 00 06 00 13 00 12 00 63 01 ..d.b.........c.
    0040: 00 .
    Thread-5, fatal error: 40: no cipher suites in common
    javax.net.ssl.SSLHandshakeException: no cipher suites in common
    Thread-5, SEND TLSv1 ALERT: fatal, description = handshake_failure
    Thread-5, WRITE: TLSv1 Alert, length = 2
    Thread-2, fatal: engine already closed. Rethrowing javax.net.ssl.SSLHandshakeEx
    ception: no cipher suites in common
    javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:9
    92)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineI
    mpl.java:459)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.writeAppRecord(SSLEngineIm
    pl.java:1054)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:10
    26)
    at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:411)
    at RadiusServerSimulator.EAPModule.EAPTLSMethod.buildReq(EAPTLSMethod.ja
    va:153)
    at RadiusServerSimulator.EAPModule.EAPStateMachine.methodRequest(EAPStat
    eMachine.java:358)
    at RadiusServerSimulator.EAPModule.EAPStateMachine.run(EAPStateMachine.j
    ava:262)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1
    352)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:164)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.chooseCipherSuite(Serve
    rHandshaker.java:638)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.clientHello(ServerHands
    haker.java:450)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHa
    ndshaker.java:178)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4
    95)
    at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:437)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.
    java:930)
    ... 1 more

    I am developing a simple client/server SSL app using sdk 1.4 (no SSLEngine) and am faced with the same problem. Could anybody track down the problem further?

  • Implementing snapshot replication using pl/sql and dbms_sql

    Hi All,
    I'm trying to implement snapshot refresh programmatically using a control table to trigger the event and a separate pl/sql stored procedure for each table refresh. I can drop and re-create the snapshots outside of pl/sql with no problem. Once in pl/sql, I'm using the dbms_sql package to wrap the snapshot drop and create statements. The drop statement works fine but I'm getting the following error on the create statement:
    BEGIN pk_manage_data_replication.sp_refresh_lcanswertype; END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 824
    ORA-06512: at "SYS.DBMS_SQL", line 32
    ORA-06512: at "AIRES_REFP.PK_MANAGE_DATA_REPLICATION", line 75
    ORA-06512: at line 1
    The stored procedure code is as follows:
    procedure sp_refresh_lcanswertype is
    cid           integer;
    begin
    -- drop the snapshot
    cid := dbms_sql.open_cursor;
    dbms_sql.parse (cid, 'drop snapshot lcanswertype', dbms_sql.v7);
    dbms_sql.close_cursor(cid);
    -- recreate the snapshot
    cid := dbms_sql.open_cursor;
    dbms_sql.parse (cid, 'create snapshot lcanswertype
              pctfree 5
    tablespace lcdata as
    select id
    ,possibleanswers
    ,creatorptr
    ,datecreated
    ,pk_manage_data_replication.sf_get_moddate(''LCANSWERTYPE'',moddate) moddate
    from lcanswertype@airess1', dbms_sql.v7);
    dbms_sql.close_cursor(cid);
    end sp_refresh_lcanswertype;
    Any ideas???
    Thanks,
    Jim

    An old chestnut. You have been granted the privilege CREATE SNAPSHOT through a role (probably CONNECT). We can only build procedures (and views) on privileges that have been granted to the uuser directly.
    Cheers, APC

Maybe you are looking for

  • Nokia 6205 and PC Suite

    I can get my phone to connect and be recognized by PC Suite but, it will not authenticate. Does anyone know if there is a solution for this? I contacted Nokia tech support and they said my service provider (Verizon) was not allowing this functonality

  • Am having problem syncing my iphone. it keeps coming up with a message, itunes stopped working when it gets to step two backing up.

    i am having problem with my iphone 4. i connet it to itunes all fine, when it comes to syncing it it allways comes up with the message, itunes has sopped working. itunes with then close and with in the message it says itunes will get back to me if a

  • Tabbedpanels works in FF and Safari but not IE6 & IE7

    I've got a page with tabbed panels pulled from an XML file. It works fine in Safari and Firefox but silently fails in IE 6 and 7 The page is here: http://www.hillcrest.jobs/rhino.php The XML feed is here: http://www.hillcrest.jobs/rhinofeed.php I'm f

  • Firewire output Support

    Does anyone know when apple is going to add support for Firewire out To external monitor? Or we are stuck with having to buy a IO Card $$$$$ Without External monitor support Color is Useless. Some info would be appreciated. Sigi

  • Linux bluetooth utility "BlueZ" on OS X

    Hi everybody, I'm looking for a way to run these bluetooth utilities , yet unfortunately, they are all written for Linux with BlueZ, the "Official Linux Bluetooth protocol stack". How can I install BlueZ on Mac OS X? (Couldn't find anything via Fink