Need help with Oracle Service Registry HTTPS configuration

I have installed the Oracle Service Registry on a separate OC4J instance called registry without errors. I have also done the following steps to configure HTTPS given in the user guide.
1. Delete the file <OC4J_HOME>/j2ee/home/keystore if it exists.
2. Generate the server identity into <OC4J_HOME>/j2ee/home/keystore using the Java keytool as follows:
keytool -genkey -keyalg RSA -alias oracle -keystore <OC4J_HOME>/j2ee/home/keystore -storepass
<PASSWORD>
3. Enabling SSL in the Oracle Application Server Standalone
4. Copy <OC4J_HOME>/j2ee/home/config/http-web-site.xml to <OC4J_HOME>/j2ee/home/config/secure-website.
xml.
5. Edit <OC4J_HOME>/j2ee/home/config/secure-web-site.xml by changing the port and adding the parameter secure="
true" to the <web-site> element; for example:
<web-site port="4443" ... secure="true">
6. Add the following element into the into the <web-site> element, use absolute path to keystore file, for example:
<ssl-config keystore="<OC4J_HOME>/j2ee/home/keystore" keystore-password="<PASSWORD>"/>
7. Add the path reference to secure-web-site.xml into the file server.xml; for example:
<web-site path="./secure-web-site.xml" />
8. You have to change the <web-app> definition for the OracleAS Service Registry n both files, http-web-site and
secure-web-site, so the OracleAS does not create independent instances for each of the websites. Add a
shared="true" attribute to the <web-app> elements for the OracleAS Service Registry application.
After following these steps, I restarted OPMN. I am able to get the Oracle Service Registry console. When I click on the Publish link, it shows the Security Alert Window. After I click on Yes in the security alert window, it just shows "Page cannot be displayed". The same happens for all the secure links such as login. I even tried exporting the certificate through the Security Alert window, but still it does not work. All the HTTP links in the Service Registry console are working and the HTTPS links are all not working. I believe this should be an SSL configuration issue. Please let me know whether I have missed any steps in the security configuration.
Thanks,
Sathish

Any replies to this please?
Has anyone successfully installed and configured the Oracle Service Registry with all the links in the service registry console working fine? Is any one able to publish web services into the oracle service registry?
Thanks.

Similar Messages

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Need Help in Oracle Service Contracts API -- OKS_COVERAGES_PUB

    Hi All
    We have a requirement in service contracts module, wherein we have to delete the old coverage template of service line of a contract and attach the new template with the service line.
    For this, we are using OKS_COVERAGES_PUB (“OKS_COVERAGES_PUB.DELETE_COVERAGE”, “OKS_COVERAGES_PUB.CREATE_ACTUAL_COVERAGE”) API but not able to get the desired results.
    The API Works for only those service line ids of the contract which has the status “Entered”.
    For service line ids of status other than “Entered” the API throws an error.Error Message Details – (x_return_status – ‘E’, x_msg_count – 1, x_msg_data – ‘OKC’).
    We don’t know exactly the limitation of the API and there is no detail available about these API in both Service Contracts Development and API reference guide.
    If anyone come across similar requirement or known any details about this API, Kindly mail the details to this id : [email protected]
    Thanks in Advance
    Thanks & Regards
    Sivakumar

    Hi,
    i want to add the lines and covered product to the existing contract.
    Cuold you please suggest me the API for the same.
    Thanking you in anticipation.
    Regards,
    Reena
    Edited by: user10829701 on Mar 27, 2009 1:34 AM

  • Oracle Service Registry --HTTP 404 Error During Approval & Account activity

    Hello,
    Environment: OSR 11.1.1.2 ; Database : 11g Database ; Embedded HTTP Server; Windows 7 (1 Discover Node and 1 Publisher node).
    I have done the installation of Discovery node and Publishing node . I could access BSC and registry control and could login with admin user and demo users. However, in publishing node, when I try to create account or promote a published provider/service, I am getting a fatal error displayed in the web page.
    Error while creating account in Publish node:
    Fatal error occurs in account management.
    Error while promoting providers,services in Publish node:
    RequestDenied.Automatic context checking has failed. Your approval request has been unsuccessful.
    For both the errors , errorEvents.log shows the following error
    Caused by: javax.xml.messaging.JAXMException: org.systinet.wasp.client.XMLInvocationException: Exception while processing incoming message message. Unable to read server response. Server returned status code: 404 (Not found) (Content-type:text/html):
    *<HTML>*
    *<HEAD>*
    *<TITLE>Error 404 Not Found</TITLE>*
    *<BODY>*
    *<H2>HTTP ERROR: 404 Not Found</H2>*
    *<!-- Padding for IE --><!-*
    I tried to capture the SSL traffic between Publish node and Discover node for the above two activities. Following the is the trace
    POST //uddi/production HTTP/1.1
    User-Agent: Systinet Server for Java/6.0 (Java/1.6.0_18; Windows XP/5.1; build SSJ-6.0-20091204-1155)
    Connection: keep-alive
    SOAPAction: ""
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 230
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><get_userAccount xmlns="http://systinet.com/uddi/account/5.0"><loginName>rews</loginName></get_userAccount></Body></Envelope>HTTP/1.1 404 Not Found*
    Server: Systinet Server for Java/6.0 (Java/1.6.0_18; Windows 7/6.1; build SSJ-6.0-20091204-1155)
    Content-Type: text/html
    Content-Length: 818
    It is trying to post it to the URL "/uddi/production", which seems to be unavailble. Not sure whether this is a configurable entry or is it missing in my installation.
    Appreciate any help in understanding and resolving the problem.
    Thanks

    I tried using Weblogic application server instead of Embedded HTTP server. However the issue remains the same. Followng is the packet capture of traffic when account creation or approval acitivity is carried out in Publish node
    The issue seems to be with *//* before *'uddi/production'* string in the POST request.
    ##Packet capture -- Start##
    POST /registry//uddi/production HTTP/1.1_
    User-Agent: Systinet Server for Java/6.0 (Java/1.6.0_18; Windows XP/5.1; build SSJ-6.0-20091204-1155)
    Connection: keep-alive
    SOAPAction: ""
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 231
    <?xml version="1.0" encoding="UTF-8"?>
    <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><get_userAccount xmlns="http://systinet.com/uddi/account/5.0"><loginName>test1</loginName></get_userAccount></Body></Envelope>HTTP/1.1 404 Not Found
    Date: Mon, 28 Feb 2011 19:37:09 GMT
    Server: Systinet Server for Java/6.0 (Java/1.6.0_18; Windows 7/6.1; build SSJ-6.0-20091204-1155)
    Content-Length: 0
    X-Powered-By: Servlet/2.5 JSP/2.1
    ##Packet capture -- END##
    Anybody have come across this problem?

  • Need help with ORACLE ADMIN, NETWORKING CONCEPTS and SQL, ASAP!

    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)

    841784 wrote:
    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. What is "SEO"?
    A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)YOu think you can learn this stuff in a few days? Think again.
    Re: What to learn first for DBA/DEV?

  • Need help with Oracle reports 10g

    Hi
    we have a requirement in a oracle 10g application
    this application is on the unix server
    the requirement is such that the user must be able to print a report directly to the default printer
    when the user clicks on the button a report must be printed on the users default printer
    can u help us understand that how can we configure the local printer of the user on the unix server?

    hi, piyush9010
    Check this following link...
    Oracle reports 10g output directly to printer
    Oracle reports 10g output directly to printer
    Make your printer as shared printer then try.
    Use DESTYPE=PRINTER.
    http://qamarsyed.blogspot.com/2011/02/how-to-print-oracle-report-to-network.html
    http://docs.oracle.com/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i637246
    Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • Power Query for Excel - Need Help with Oracle SQL Syntax

    Hello everyone,
    I am new to Power Query and am not able to figure this out.  I am trying to pull in data into my Excel spreadsheet using a specific Oracle SQL query.  While in query editor, how do I take the Oracle.Database function and add my SQL statement? 
    I already know what I want, I don't want it to download all the table names.  According to the help page, I should be able to do this but it does not provide a syntax example
    Also, I don't understand what "optional options as nullable record" means.
    Below is what function and arguments the help page notes.  How do I use this?
    Oracle.Database(server as text, optional options as nullable record) as table
    Any help is greatly appreciated.
    Thank you,
    Jessica

    When I try this, I get an error 
    DataSource.Error: Oracle: Sql.Database does not support the query option 'Query' with value '"Select * from Owner.View_Name"'. Details: null
    I'm trying to download oracle data from a view into power query - Power Query navigator does not list th eviews from my source, it lists only the tables. When I try write sql statements, it throws me the above
    error. This is what I tried
     Oracle.Database("Source/Service",[Query="Select * from Owner.View_Name"])
    Any ideas how to fix this? 

  • Need help with Web Services SDK.

    I am new to Web Services SDK can I get documentation on same.

    For documentation about the BOE XI R2 SP2 Web services go to our DevLibrary: http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    then locate the Web Services topic under which, you will find the necessary info to help you deal with BOE Web Services.
    Cheers
    Alphonse

  • Need help with the Modulation Toolkit to configure a QPSK Modulation

    Hi! I'm
    trying to build a CDMA system with the Modulation Toolkit to use it later with
    a PXI-RF Product as a part of my thesis (I don't remember the exact model
    number because it's in my university and I'm home right now, sorry). But my problem right now is, I assume, a very simple one.
    I'm having
    some trouble understanding the MT Modulate PSK.vi and the MT
    Demodulate PSK.vi since I have them both connected and the output bit stream is
    not the same as the input bit stream. I'm guessing it's a problem with the sync
    parameters in the MT Generate Synchronization Parameter.vi because maybe I
    don't really understand how the sync bits work. I tried using a simple
    sync header but the output bit stream is always shorter than the input and shows
    only a little portion of the input bit stream and some of the 1's I used to
    create the sync header, and it gets worse when I increase the number of input
    bits.
    I'm
    attaching the simple vi I created to try to understand the mod-demod vi's, so
    if someone knows what I'm doing wrong it would be great if you let me know
    since I'm stuck in my thesis and understanding this issue will let me continue
    with the project.
    Thanks a
    lot in advance!
    Daniel
    Attachments:
    QPSK Test V-1.0.vi ‏31 KB

    Por favor mire en enlace abajo:
    Cordiales Saludos
    http://forums.ni.com/ni/board/message?board.id=6170&message.id=11549&jump=true
    Luciano Borges
    National Instruments Brazil
    Luciano Borges
    R&D Engineer
    Pirelli Brazil

  • Need help with Gateway / Services

    Running a standalone OWSM install - 10g 10.1.3
    We have been through the Gateway config and deployment several times.
    Also have a test service registered to the gateway, however, no matter what we try, we continue to get a 500 Internal Server Error when attempting to access the service URL: Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Which application log do I need to look at? The gateway log doesn't register any errors...
    I'm sure I'm missing something, but I can't find it...

    I'm not sure why or how, but it's fixed...
    I set logging to 'FINEST' and restarted everything and suddenly it all started working as expected.
    Set logging back to INFO and restarted - still working.
    No idea why it would just start working...

  • Need Help with Directory Services?

    Hello I am a student taking Email Server Admin and we are working with setting up a server for a fake company so as you see I have everything installed the problem I am facing is I can't go to the /certsrv website and we I do I get the message below that
    there is no network, my professor has told me just keep removing and installing ADCS but that doesn't make much sense nor does it clear off the no network, I have websites set up for some reason I was able to make single server certificates and attach them
    to my websites but we were working now with other things and I am pretty out of touch I googled it and tried several things but I can't figure out what is stopping the network when I get to certsrv, can anyone help me here maybe if I post the lab you will
    understand where I am going with this

    Hi,
    If you have a LAN network, you can set up a few test machines to perform some simple tests.
    Since the contents of your daily study plan are a lot, which makes this thread difficult to read, do you mind making it short by deleting some irrelevant posts?
    Best Regards,
    Amy

  • Need help with Shared Services Role

    Hello,
    I am trying to create a Native Directory group which will allow the users extract all the Application Elements, but restrict them from loading anything to the system. This group should only have the ability to view the objects and not edit them. It should also have the extract functionality.
    By removing the role 'Load System', we can restrict the users from loading the artifacts, but once this role is removed, the users are not able to extract the Application Elements (Security, Memberlists and Rules file).
    Can you please let me know if there is any other way/setup that would allow the users to perform the required functinalities with out the 'Load System' role?
    Any help would be appreciated.
    Thanks,

    Sorry but I have the same issue and I cannot do anything...
    We have to ask from the admin team to extract and send us the metadata....
    Regards,
    Thanos

  • Need Help with Oracle Designer Install!

    When I attempt to install Oracle designer, it asks me to choose an Oracle Home. I choose "OraHome81" from the drop down menu, but it gives me the following error:
    "The location specified: C:\Oracle\Ora81 is already used as an Oracle Home for 'Oracle 815 Production'
    It can not be used as an Oracle Home for 'nt' "
    PLEASE HELP!!!
    my email address is [email protected]

    As you would have seen if reading the documentation, this is probably a DB home, in which you cannot/should not install Designer. Type another name in there....
    ....when you are done reading your install guide.

  • Need Help with Oracle Query

    CREATE TABLE PMS_EMPLOYEE
    EMPLOYEECODE VARCHAR2(15 BYTE) NOT NULL
    , NAME VARCHAR2(100 BYTE)
    , DEPARTMENTCODE VARCHAR2(10 BYTE)
    , CONSTRAINT PK_PMS_EMPLOYEE PRIMARY KEY
    , EMPLOYEECODE
    ENABLE
    LOGGING
    TABLESPACE "USERS"
    PCTFREE 10
    INITRANS 1
    STORAGE
    INITIAL 3145728
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    BUFFER_POOL DEFAULT
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05611','Khan','01');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05612','chan','02');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05613','tina','03');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05614','bety','04');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05615','brad','04');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05616','kuty','03');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05617','rose','02');
    Insert into PMS_EMPLOYEE (EMPLOYEECODE,NAME,DEPARTMENTCODE) values ('05618','jack','01');
    CREATE TABLE PMS_DEPARTMENT
    DEPARTMENTCODE VARCHAR2(10 BYTE) NOT NULL
    , DESCRIPTION VARCHAR2(50 BYTE)
    , CONSTRAINT PK_PMS_DEPARTMENT PRIMARY KEY
    , DEPARTMENTCODE
    ENABLE
    LOGGING
    TABLESPACE "USERS"
    PCTFREE 10
    INITRANS 1
    STORAGE
    INITIAL 65536
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    BUFFER_POOL DEFAULT
    Insert into PMS_DEPARTMENT (DEPARTMENTCODE,DESCRIPTIOND) values ('01','HR');
    Insert into PMS_DEPARTMENT (DEPARTMENTCODE,DESCRIPTIOND) values ('02','IT');
    Insert into PMS_DEPARTMENT (DEPARTMENTCODE,DESCRIPTIOND) values ('03','MA');
    Insert into PMS_DEPARTMENT (DEPARTMENTCODE,DESCRIPTIOND) values ('04','FN');
    CREATE TABLE TAS_EMPBOOKINGS
    EMPLOYEECODE VARCHAR2(10 BYTE) NOT NULL
    , TRXTYPE VARCHAR2(2 BYTE)
    , TRXDATE DATE
    , TRXTIME FLOAT(126)
    , CONSTRAINT PK_TAS_EMPBOOKINGS PRIMARY KEY
    EMPLOYEECODE
    ENABLE
    LOGGING
    TABLESPACE "USERS"
    PCTFREE 10
    INITRANS 1
    STORAGE
    INITIAL 233832448
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    BUFFER_POOL DEFAULT
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05611','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),6.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05611','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),15.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05612','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),7.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05612','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),10.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05612','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),12.36);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),7.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),10.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),12.25);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),13.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),13.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05613','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),14.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),7.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),10.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),12.25);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),13.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),13.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),15.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05614','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),15.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05615','IN',to_timestamp('24-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),11.16);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05616','IN',to_timestamp('24-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),10.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05616','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),8.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05617','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),7.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05617','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),12.30);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05617','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),14.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05618','IN',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),7.00);
    Insert into TAS_EMPBOOKINGS (EMPLOYEECODE,TRXTYPE,TRXDATE,TRXTIME) values ('05618','OU',to_timestamp('25-JAN-11 00.00.00.000000000',
    'DD-MON-RR HH24.MI.SS.FF'),16.30);
    I need to count the number of employees inside the office in each department wise.
    In case of employee 05611 he is In and out - no count
    In case of employee 05612 he is In,out and In - need to count him as he is in at 12.36 still inside the office.
    In case of employee 05613 he is In,out,In,out and In - need to count him as he is in at 14.16 still inside the office.
    In case of employee 05614 he is In,out,In,out and In - need to count him as he is in at 15.16 still inside the office.
    In case of employee 05615 he is In at yesterday but still in the office - need to count him as he is in at 11.16. Query should bring today and previous day
    employee who are still inside the office in each department.
    In case of employee 05616 he is In and out - in was 24 jan and out at next day so no count.
    In case of employee 05617 he is In,out and In - need to count him as he is in at 14.00 still inside the office.
    Note: Here they can swipe the card multiple times in or out. we need to find the last swipe in and last swipe out to make them countable and not countable.
    In this sample data my output should be like this
    Here don't show the Department if the count is 0 (no employee are inside the office) only count greater or equal to 1.
    Our output case dept HR will not be shown in output data
    Description(that is DepartmentName) InCount
    02                         2 ( as both chan and rose are inside the office need to count)
    03                         1 ( tina is in and kutty out. need to count tina only )
    04                          2 ( as both betty and brad are inside the office need to count then but brad was inside the office from
    yesterday not gone out we need to consider him in the count as well)
    if the create or insert does not run please correct it and then run.
    Thanks

    Note the name of this forum is SQL Developer *(Not for general SQL/PLSQL questions)* (so only for issues with the SQL Developer tool). Please post these questions under the dedicated SQL And PL/SQL forum (you've posted there before).
    Regards,
    K.

  • Almost solved, just need help with a service file!

    Hey all,
    For some time now my systemd sleep hook has stopped working (e.g. only killing my program and not relaunching it when waking up). Only now I have time to look into it, though, so I can't really say if any update caused this.
    I had a custom sleep hook in /usr/lib/systemd/system-sleep/dwmstatus.sh, which killed my dwm-status program before going to sleep/suspend and started it again when waking up. It looked like this:
    #!/bin/sh
    case $1 in
    pre) killall dwm-status
    post) dwm-status
    esac
    exit
    I've been looking into it and noticed the example on the Wiki (my previous script above was a direct copy of the old example) got updated, so I updated mine accordingly. It now looks like this:
    #!/bin/sh
    case $1/$2 in
    pre/*)
    echo "Going to $2, killing dwm-status"
    killall dwm-status
    echo "dwm-status killed"
    post/*)
    echo "Waking up from $2, starting dwm-status"
    exec /usr/bin/dwm-status &
    echo "dwm-status started"
    esac
    But that's not working either. (The echos are just here for debugging this). I first tried using just dwm-status to start it again, but it didn't work. Then I tried the full path without result too and now with exec I still am not getting anywhere. Can someone explain to me why it's not working anymore?
    Last edited by Unia (2012-12-24 13:31:46)

    Now that I have solved all the outstanding issues and integrated quite a bunch of new features into dwmst (rename of dwm-status) it's only this issue that needs to be resolved. I still can't get dwmst to launch again after suspend/hibernate.
    I checked journalctl but it comes up without any errors whatsoever:
    ┌─[jente @ lappy ~] 20:07:40
    └─■ sudo journalctl -b -u systemd-suspend
    -- Logs begin at wo, 2012-10-31 12:43:25 CET, end at wo, 2012-12-19 20:08:36 CET. --
    dec 19 20:08:10 lappy systemd-sleep[1174]: xset: unable to open display ""
    dec 19 20:08:10 lappy systemd-sleep[1174]: Suspending system...
    dec 19 20:08:19 lappy systemd-sleep[1174]: System resumed.
    dec 19 20:08:19 lappy systemd-sleep[1174]: ERROR: could not open display
    dec 19 20:08:19 lappy systemd-sleep[1174]: xset: unable to open display ""
    Or is it that xset error?
    EDIT: I just removed my script from /usr/lib/systemd/system-sleep to check the output, and I still get the xset error but not the ERROR line:
    dec 19 20:12:12 lappy systemd-sleep[1329]: xset: unable to open display ""
    dec 19 20:12:12 lappy systemd-sleep[1329]: Suspending system...
    dec 19 20:12:21 lappy systemd-sleep[1329]: System resumed.
    dec 19 20:12:21 lappy systemd-sleep[1329]: xset: unable to open display ""
    So I guess that ERROR: could not open display is the error dwmst generates when it tries to launch it? Further investigation will have to follow, but in the meantime I'm open for pointers!
    EDIT2: The ERROR line is not related to dwmst. I put some echo lines before and after killing and launching dwmst and the ERROR line appears after the echo's:
    dec 19 20:16:57 lappy systemd-sleep[1443]: System resumed.
    dec 19 20:16:57 lappy systemd-sleep[1443]: starting dwmst
    dec 19 20:16:57 lappy systemd-sleep[1443]: started dwmst
    dec 19 20:16:57 lappy systemd-sleep[1443]: ERROR: could not open display
    dec 19 20:16:57 lappy systemd-sleep[1443]: xset: unable to open display ""
    Last edited by Unia (2012-12-19 19:18:34)

Maybe you are looking for

  • Possible to fix bad clusters on iPod HD ?

    Hello Everyone, I got a 3G 40 gb ipod ... i recently started having trouble with the ipod , it keeps freezing whenever i upload/download stuff to it .. but it plays mp3s fine ! i restored it a few times , but it wont fix the problem ... i tried forma

  • Power Mac G5 Dual 2.5 GHz running 10.5.8 cannot burn DVD+R

    Hello all- I have a Power Mac G5 Dual 2.5 GHz running 10.5.8 and I cannot burn DVD+R. Does that make sense? If I insert a DVD+R into the drive, it just spits it back out. I've tried several discs so it's not a faulty DVD. Help. Thank you.

  • An other question about required fields en color change

    I've got 4 fields. The client must enter a Country name in Field1 If this is "NL", than Field2, Field3 and Field4 become required. I've done this with FormCalc if (Field1 == "NL") then Field2.validate.nullTest="error" Field3.validate.nullTest="error"

  • No 5ghz ssid for WRT610N

    Just got the WRT610N and I can't see the SSID for the 5ghz channel, I can see the 2.4 channel and connect to it but not the 5. It's not a range issue as i've had the laptop right beside the router. Anyone else had this issue? Is the 5ghz channel just

  • How to send by mai iweb site?

    Hy. My friend, is profesional in publicity. Can I send her by mail my iweb file so she can tell me what`s good and what`s not from what I am doing? Thank you Pd: I read in other post: Go to Library/Aplication support/Iweb. I went and there is no Iweb