Oracle & GUID

Hi Oracle Gurus,
As i am a novice in databases so i need some help in porting data from SQL server. i want to upgrade from SQl server ot oracle 9 i and for that i need to port my data to oracle 9i. I know this can be done easily as i am not using any other data types specific to SQL server, but the only thing that seems problematic is GUID. So can anyone tell me is there a work around for GUID's in oracle or how can i get through with this problem of uniqueness in oracle.
Thanks in advance
Regards,
Harry

Then go find it on OTN and download it.

Similar Messages

  • Oracle guids little endian, big endian problem

    hello every one,
    I am having an strange issue. I am developing a .net app against an Oracle DB. Well, when I insert a guid into a raw oracle changes the order of the byte array.
    In VB.net I see (with all the representations of guids, with or without {,- or whatever):
    ac6d5c4f-542e-4fc8-b8b6-f53821811be3
    In Oracle I see (tested with toad and sql tools):
    4F5C6DAC2E54C84FB8B6F53821811BE3
    It goes ok with the rightests numbers but fails the the leftests.
    Any suggestion?

    I have to admit that I get the meaning of big/little endian confused.
    As JosAH says; Big endian means the big end is first,
    NOT that the big value is at the end.And I have to admit that I find that whole big/little-endian jargon quite confusing
    too, I mean the most significant byte is stored at the lowest address and we
    call it big-endian ... If the number is stored 'backwards' we call it little endian.
    In the old days when computers were made of wood and ran on steam, we
    used to call it 'low-byte-first' and 'high-byte-first'. Sigh ... those were the days ;-)
    kind regards,
    Jos

  • Errors in 1z0-051 and 1z0-061 Official Oracle exam guides

    What can we do about errors in the official Oracle exam guides.
    I am doing the 1z0-061 (Oracle Database 12c: SQL Fundamentals).
    The 051 and 061 exams are exactly the same.
    051 is written by John Watson and Roopesh Ramklass and the 061 is written by Ramklass, but the thing is, both books have the same content word for word.
    I found these errors in the books:
    (1.) In chapter 08 (Using subqueries to solve problems) in both books it says "A subquery can be used to select rows for insertion but not in a VALUES clause of an INSERT statement".
    But this is wrong. You CAN use a subquery in a VALUES clause: This will work ->
    INSERT INTO values_test (f1) VALUES ((SELECT SYSDATE FROM DUAL));
    However you have to have the 2 brackets in red.
    (2.)
    Chapter 2: Self test question 9
    The following character literal expression is selected from the DUAL table: SELECT 'Coda""s favorite fetch toy is his orange ring' FROM DUAL; (Choose the result that is returned.)
    A.  An error would be returned due to the presence of two adjacent quotes
    B.  Coda's favorite fetch toy is his orange ring
    C.  Coda""s favorite fetch toy is his orange ring
    D.  Coda""s favorite fetch toy is his orange ring'
    The books says the correct answer is B. But this is wrong.
    Correct answer is C, since the "" are 2 double quotes and they will appear as it is.
    Even if "", is actually 4 single quotes the output then will be Coda''s favorite fetch toy is his orange ring
    which has 2 single quotes.
    I wrote to the author  (emai [email protected]) but got no reply.
    How can we let Oracle certification know that there are errors in these books. This can affect the exam and can mean the difference between passing and failing.

    >The book cover says "Oracle Press", meaning Official Oracle.
    No -- the name does not mean that.  'Oracle Press' is a division of the McGraw-Hill publishing company that specializes in writing books for the Oracle suite of products.  Oracle has close ties with the publisher and often supplies information to the authors that is not publicly available.  However, Oracle is not responsible for the content of the books.
    >If not, then what ARE the Official Oracle guides?
    The only thing that you could call an 'Official' Oracle guide would be student guides developed by Oracle University for one of their courses.  This content is supplied to attendees of the courses. The material is copyrighted and should not be available on the Web.

  • Installing Oracle 11g R2 on RHEL 5.9 server

    Hi,
        I've been trying to install Oracle 11g R2 on a Red Hat Enterprise Linux 5.9 server but have not succeeded thus far. The server meets all the software and hardware requirements for Oracle 11g Release 2 and when it also has all the prerequisite packages/ RPM's on it, when checked manually. I have set up the various kernel, semaphore and local port range parameters in accordance with the Oracle guides for installing Oracle on RHEL 5. I also followed the online guides to create the "oracle" user and set up the groups (oinstall, dba, oper and asm).
        However, when I run the installer, it shows "Failed" for all the prerequisite checks. I tried to ignore this and install Oracle but it failed at 37% and gave multiple errors, related to invoking target 'XYZ' of different files including makefile and gcc.
         I suspect that either the installer is unable to detect these packages as they already exist on our server or it is something to do around permissions to the groups. I read on these forums that it might be because of a "cvu" folder created inside /tmp that requires '777' permission but am not sure if that's what's causing our installation to fail.
         Please let me know how to proceed with the installation and guide me through this.
    Thanks.

    Hi, its Oracle 11g R2 -  2.0.3.6 .
    The O.S is Linux x86_64
    server: RHEL 5.9 (Takinga) with kernel: 2.6.18
    I've been working on this all day today and have managed to overcome the errors regarding the missing/ failed packages. I've also verified that my kernel parameters are correct; I had missed the kernel shmmni parameter yesterday.
    The installer now detects all the packages & runs till 86% when it gives the error: "error invoking target client_sharedlib of makefile".
    Kindly let me know how to proceed. Thanks in advance !

  • How to find Oracle documentation in PDF format

    In the last month, i downloaded two oracle guide in PDF format from OTN site: "Oracle Spatial Topology and Network Data Models" and "Workspace Manager". But now I forgot the link where i founded a complete list of document prompted to download (over 40-50 e-books).
    Thank you in advance.

    Both books are avaialble on the 10g Documentation Library page: http://www.oracle.com/pls/db102/portal.portal_db?selected=3
    in both HTML and PDF formats.

  • Oracle Application Server 10.1.3 R3 - Restart problem and out of memory

    Dear All,
    I am using Oracle App Server 10.1.3 Release 3. After deploying EAR, my server is runnig for some time. But after some time its getting restarted. I m not able to find out its permanent solution.
    If you see below log, it showing out of memeory error. But even though i have increase memeory to 2 gb, i m getting the same problem.
    Please help my ASAP.
    09/03/26 07:43:52.366 10.1.3.1.0 Started
    09/03/26 07:44:00.639 webapp: Initializing Spring FrameworkServlet 'test'
    09/03/26 07:44:13.186 webapp: No Configuration for this context. Initializing.
    09/03/26 07:44:13.186 webapp: configuring cewolf app..
    09/03/26 07:44:13.190 webapp: using storage class de.laures.cewolf.storage.TransientSessionStorage
    09/03/26 07:44:13.190 webapp: using overlibURL etc/overlib.js
    09/03/26 07:44:13.190 webapp: debugging is turned off
    09/03/26 07:44:13.190 webapp: ...done.
    09/03/26 07:44:13.191 webapp: 10.1.3.1.0 Started
    09/03/26 07:46:56.567 webapp: Servlet error
    com.core.exception.GenericFrameworkException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException
    : An established connection was aborted by the software in your host machine
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:85)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException: An established connection was aborted
    by the software in your host machine
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:539)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:406)
    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1689)
    at web2d_inf._jsp._framework._core._commonParent._jspService(_commonParent.java:777)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:171)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1160)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:901)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:81)
    ... 9 more
    09/03/26 07:46:56.569 webapp: An established connection was aborted by the software in your host machine
    09/03/26 07:46:56.569 webapp: Servlet error
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:309)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/03/26 07:50:09.755 webapp: Servlet error
    com.core.exception.GenericFrameworkException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException
    : An established connection was aborted by the software in your host machine
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:85)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException: An established connection was aborted by the software in your host machine
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:539)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:406)
    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1689)
    at web2d_inf._jsp._framework._core._commonParent._jspService(_commonParent.java:777)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher
    .java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher
    .java:50)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher
    .java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher
    .java:198)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:171)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1160)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:901)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java
    :64)
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:81)
    ... 9 more
    09/03/26 07:50:09.757 webapp: An established connection was aborted by the software in your host machine
    09/03/26 07:50:09.757 webapp: Servlet error
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:309)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/03/26 07:50:09.770 webapp: Servlet error
    com.core.exception.GenericFrameworkException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException
    : An established connection was aborted by the software in your host machine
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:85)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpIOException: An established connection was aborted
    by the software in your host machine
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream
    .java:210)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:539
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:406)
    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1689)
    at web2d_inf._jsp._framework._core._commonParent._jspService(_commonParent.java:777)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:711)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher
    .java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher
    .java:50)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher
    .java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher
    .java:198)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:171)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1160)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:901)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java
    :64)
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:81)
    ... 9 more
    09/03/26 07:50:09.772 webapp: An established connection was aborted by the software in your host machine
    09/03/26 07:50:09.772 webapp: Servlet error
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:309)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/03/26 08:15:24.251 webapp: Servlet error
    com.core.exception.GenericFrameworkException: javax.servlet.ServletException: Error in servlet
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:89)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.servlet.ServletException: Error in servlet
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:757)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher
    .java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher
    .java:50)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher
    .java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher
    .java:198)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:171)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1160)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:901)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java
    :64)
    at com.tcs.vat.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:81)
    ... 9 more
    09/03/26 08:15:32.681 webapp: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    Edited by: Vrushank Joshi on Mar 27, 2009 2:04 AM

    It looks like your PermGen space is too small. Try modifying your opmn start parameters; use java option -XX:MaxPermSize to increase your PermGen space.
    Check out this Oracle guide for [Deploying Large Applications|http://download.oracle.com/docs/cd/B25221_04/web.1013/b14431/bigapps.htm].
    You should also take a look at this [JVM options|http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp] page on Sun's site.

  • Retrieve Client IP Address in a Oracle WebServices Manager Custom Policy

    Hi everybody,
    For some reasons i had to implement a custom policy in the OWSM, to restrict the access to webservices by Client IP Addresses. I´ve been following the examples for custom policies mentioned in the books: "Oracle Web Services Manager, Oracle Web Services Manager" by Sitaraman Lakshminarayanan, and the "Oracle® Web Services Manager Extensibility Guide 10g (10.1.3.3.0)" by Oracle. I followed the examples mentioned in those books to implement my Custom policy, the policy is successfully deployed to OWSM and it works, only by the issue that when i want to retrieve the Client Ip address it returns null, and following the example by the Oracle Guide, the HttpServletRequest its also returns null, im desperated because in every site that i finally find some info about it, quotes any of these 2 examples in those books, and mine doesnt work! this is the code of the custom policy, i´ve combined the 2 aproaches:
    package project1;
    import com.cfluent.ccore.util.logging.ILogger;
    import com.cfluent.ccore.util.logging.Level;
    import com.cfluent.ccore.util.logging.LogManager;
    import com.cfluent.pipelineengine.container.MessageContext;
    import com.cfluent.policysteps.sdk.AbstractStep;
    import com.cfluent.policysteps.sdk.Fault;
    import com.cfluent.policysteps.sdk.IMessageContext;
    import com.cfluent.policysteps.sdk.IResult;
    import com.cfluent.policysteps.sdk.InvocationStatus;
    import com.cfluent.policysteps.sdk.Result;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Vector;
    import javax.servlet.http.HttpServletRequest;
    public class CustomPolicy extends AbstractStep {
    private static String CLASSNAME = CustomPolicy.class.getName();
    private static ILogger LOGGER = LogManager.getLogger(CLASSNAME);
    private String allowedIpAddress = null;
    private String allowedRoleName = null;
    private String protectedServiceMethodName = null;
    public CustomPolicy() {
    public void init() throws IllegalStateException {
    // nothing to initialize
    public void destroy() {
    * This is the main method which will validate that the request is coming from
    * the correct IP Address and has permission to access the specified metod.
    public IResult execute(IMessageContext messageContext) throws Fault {
    LOGGER.entering(CLASSNAME, "execute");
    Result result = new Result();
    result.setStatus(IResult.FAILED); //initialize result
    String processingStage = messageContext.getProcessingStage();
    LOGGER.log(Level.INFO, "Processing stage is " + processingStage);
    HttpServletRequest httpServletRequest = (HttpServletRequest)
    messageContext.getProperty("javax.servlet.request");
    String remoteAddr = httpServletRequest.getHeader("Host");
    LOGGER.log(Level.SEVERE, "Dir IP:"+remoteAddr);
    String remoteHost = httpServletRequest.getRemoteHost();
    LOGGER.log(Level.INFO, "ADDR" + remoteAddr+ "HOST"+remoteHost);
    boolean isRequest =
    (IMessageContext.STAGE_REQUEST.equals(messageContext.getProcessingStage()) ||
    IMessageContext.STAGE_PREREQUEST.equals(messageContext.getProcessingStage()));
    //Execute the step Only when its a Request pipeline else return success
    if (!isRequest) {
    result.setStatus(IResult.SUCCEEDED);
    return result;
    MessageContext msgCtxt = (MessageContext)messageContext;
    String _MethodName = msgCtxt.getRequest().getMethodName();
    LOGGER.log(Level.INFO,
    "Writing Allowed IP Addr before creating SOAP header " +
    allowedIpAddress);
    LOGGER.log(Level.INFO,
    "Writing Remote IP Addr before creating SOAP header " +
    msgCtxt.getRemoteAddr());
    /*LOGGER.log(Level.INFO,
    "Writing Remote IP Addr before creating SOAP header " +
    remoteAddr);*/
    String cadTempo = allowedIpAddress;
    Vector vect = new Vector();
    for (int i = 0; i < allowedIpAddress.length(); i++) {
    if (cadTempo.indexOf(",") != -1) {
    //vect.add(cadTempo.substring(0, cadTempo.indexOf(",") - 1));
    vect.add(cadTempo.substring(0, cadTempo.indexOf(",")));
    cadTempo =
    cadTempo.substring(cadTempo.indexOf(",") + 1, cadTempo.length());
    LOGGER.log(Level.INFO,
    "AQUI111");
    } else {
    if (!cadTempo.equalsIgnoreCase("")) {
    vect.add(cadTempo);
    LOGGER.log(Level.INFO,
    "AQUI222");
    break;
    for(int i=0;i<vect.size();i++){
    String temp = (String)vect.get(i);
    if (temp.equals(msgCtxt.getRemoteAddr()) &&
    _MethodName.equals(protectedServiceMethodName)) {
    LOGGER.log(Level.INFO,
    "AQUI333");
    result.setStatus(IResult.SUCCEEDED);
    break;
    } else {
    msgCtxt.getInvocationStatus().setAuthorizationStatus(InvocationStatus.FAILED);
    LOGGER.log(Level.INFO,
    "AQUI444");
    /*if(allowedIpAddress!=null){
    result.setStatus(IResult.SUCCEEDED);
    /*if (allowedIpAddress.equals(msgCtxt.getRemoteAddr()) &&
    _MethodName.equals(protectedServiceMethodName)) {
    result.setStatus(IResult.SUCCEEDED);
    } else {
    msgCtxt.getInvocationStatus().setAuthorizationStatus(InvocationStatus.FAILED);
    // Set the result to SUCCESS
    //result.setStatus(IResult.SUCCEEDED);
    return result;
    public String getIpAddress() {
    return allowedIpAddress;
    public void setIpAddress(String IpAddress) {
    this.allowedIpAddress = IpAddress;
    LOGGER.log(Level.INFO, "IP Address is.. " + allowedIpAddress);
    public String getServiceMethodName() {
    return protectedServiceMethodName;
    public void setServiceMethodName(String serviceMethodName) {
    this.protectedServiceMethodName = serviceMethodName;
    public String getRoleName() {
    return allowedRoleName;
    public void setRoleName(String roleName) {
    this.allowedRoleName = roleName;
    And the xml:
    <csw:StepTemplate xmlns:csw="http://schemas.confluentsw.com/ws/2004/07/policy"
    name="Custom authenticate step" package="project1"
    timestamp="Oct 31, 2005 05:00:00 PM" version="1"
    id="0102030405">
    <csw:Description>Custom step that authenticates the user against the
    credentials entered here. This step requires Extract
    credentials to be present before it in the request pipeline.</csw:Description>
    <csw:Implementation>project1.CustomPolicy</csw:Implementation>
    <csw:PropertyDefinitions>
    <csw:PropertyDefinitionSet name="Basic Properties">
    <csw:PropertyDefinition name="Enabled" type="boolean">
    <csw:Description>If set to true, this step is enabled</csw:Description>
    <csw:DefaultValue>
    <csw:Absolute>true</csw:Absolute>
    </csw:DefaultValue>
    </csw:PropertyDefinition>
    </csw:PropertyDefinitionSet>
    <csw:PropertyDefinitionSet name="Custom Access Rules">
    <csw:PropertyDefinition name="IpAddress" type="string" isRequired="true">
    <csw:DisplayName>IpAddress</csw:DisplayName>
    <csw:Description>IP Address that is allowed access</csw:Description>
    <csw:DefaultValue>
    <csw:Absolute>192.168.0.1</csw:Absolute>
    </csw:DefaultValue>
    </csw:PropertyDefinition>
    <csw:PropertyDefinition name="ServiceMethodName" type="string"
    isRequired="true">
    <csw:DisplayName>ServiceMethodName</csw:DisplayName>
    <csw:Description>Service Method Name that is Protected (Secured)</csw:Description>
    <csw:DefaultValue>
    <csw:Absolute>getTime</csw:Absolute>
    </csw:DefaultValue>
    </csw:PropertyDefinition>
    </csw:PropertyDefinitionSet>
    </csw:PropertyDefinitions>
    </csw:StepTemplate>
    Please any tip or idea is welcome, thanks in advance for the help.
    Carlos.

    Hi again
    copied your code for testing. And it works fine.
    So both the code and policy-step definition is fine, log output below.
    What is your log output?
    Using soapui to send the request will give the ip of my localhost, using the test client will give the ip of the server, because that is the actual client.
    I guess the server ip is 192.168.0.1 in your case, as you are testing from test console.
    <b>anyway, results from SOAPUI:</b>
    2009-05-19 09:52:15,096 FINE [HTTPThreadGroup-4] CSWComponent - Executing policy step. Policy='SID0003004', Step Name='Custom Policy Step', Step Class='com.*.soa.wsm.CustomPolicy'
    2009-05-19 09:52:15,096 FINER [HTTPThreadGroup-4] wsm.CustomPolicy - com.*.soa.wsm.CustomPolicy execute:ENTERING
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Processing stage is Request
    2009-05-19 09:52:15,096 SEVERE [HTTPThreadGroup-4] wsm.CustomPolicy - Dir IP:hostname.domain:8890
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - ADDRhostname.domain:8890HOST10.47.89.116
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - MethodName=getHostNameElement
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Allowed IP Addr before creating SOAP header 10.47.89.116, 192.168.0.1
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Remote IP Addr before creating SOAP header 10.47.89.116
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI111
    2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI222
    2009-05-19 09:52:15,097 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI333
    2009-05-19 09:52:15,097 FINER [HTTPThreadGroup-4] agent.Agent - com.cfluent.agent.Agent intercept:ENTERING
    <b>But if I use the test client the remote IP would be 10.47.137.50 and execution fails, as code is written</b>
    <i>
    2009-05-19 09:54:12,266 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Allowed IP Addr before creating SOAP header 10.47.89.116, 192.168.0.1
    2009-05-19 09:54:12,266 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Remote IP Addr before creating SOAP header 10.47.137.50
    2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI111
    2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI222
    2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI444
    2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI444
    2009-05-19 09:54:12,267 FINE [HTTPThreadGroup-4] CSWComponent - Step execution failed: Policy=[SID0003004] Pipeline=[Request] Step Name=[Custom Policy Step] Step Class=[com.tandberg.soa.wsm.CustomPolicy]
    2009-05-19 09:54:12,267 FINER [HTTPThreadGroup-4] common.PrepareForServiceStep - Step PrepareForServiceStep called
    </i>

  • Do you recommend me "Learning Oracle 11g Training DVD - Tutorial Video"?

    Hi
    I found on Amazon "Learning Oracle 11g Training DVD - Tutorial Video by InfiniteSkills". Is it worth it? There are no Amazon reviews :-(
    Do you use other video training? What do you recommend me?

    I don't know if the video is any good, but Lewis Cunningham is a reasonably well-known authority on Oracle. He talks about the release of the video in his blog, gives a table of contents and a link to some samples:
    http://it.toolbox.com/blogs/oracle-guide/new-dvd-training-learning-oracle-11g-50929

  • Link for oracle erp training

    hi all
    can anyone give me the link where oracle ebs certification and training is given?
    i want to do the training and then give the exam
    i am looking for training and certification in P2P,HRMS ,Discoverer
    kindly guide me

    The following certifications will help you to achive your required objectives.
    HRMS
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=535
    P2P (Implementation)
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=344
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=346
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=347
    Discoverer
    You can easily learn discoverer with available Oracle guides.
    For example:
    http://www.oracle.com/technetwork/developer-tools/discoverer/overview/index.html

  • Error when creating ssh keys for Oracle RAC on Solaris 10

    I'm in the process of configuring 2 node oracle cluster running on Sun cluster 3.2 /solaris 10 OS.
    I have followed this oracle guide to when creating keys (oracle document No =B14205-01)
    But im having problem when executing this step
    bash-3.00$ scp authorized_keys tsavo-east:/oracle/.ssh/
    ssh: connect to host tsavo-east port 22: Connection timed out
    lost connection
    bash-3.00$
    Please advise
    Thanks
    Francis Mwangi

    Robert Thanks alot for your reply. have a look of what i found out
    ps -ef | grep sshd
    root 4270 4267 0 16:22:46 ? 0:00 /usr/lib/ssh/sshd
    root 759 1 0 Nov 09 ? 0:00 /usr/lib/ssh/sshd
    root 4267 759 0 16:22:41 ? 0:00 /usr/lib/ssh/sshd
    root 4372 4311 0 18:56:52 pts/3 0:00 grep sshd
    ===================================
    netstat -a | grep ssh
    *.ssh *.* 0 0 49152 0 LISTEN
    tsavo-west.ssh 10.30.210.213.2241 63668 51 49640 0 ESTABLISHED
    *.ssh *.* 49152 0 LISTEN
    6002b4aec88 stream-ord 6002b5a0740 00000000 /tmp/ssh-mgPl3398/agent.3398
    ==============================
    telnet tsavo-west 22
    Trying 10.20.3.151...
    Connected to tsavo-west.
    Escape character is '^]'.
    SSH-2.0-Sun_SSH_1.1.1
    #has hanged here for the last 10 minutes
    Thanks please what can you conclude from above; also from the console monitoring both nodes
    i saw messages that end with
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to up
    #another line here
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to down
    #another line here
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to up
    this happens on both nodes
    Any idea
    did i use the right document. have other steps that works (anyway not sure if this error are related to the stepsfor configuring ssh)
    Please help if you can ....

  • Help using C# application to connect to oracle database

    I'm new to database.
    I'm developing a C# GUI application in visual studio 2008 that is suppose to interact with oracle. After researching and trying out several sample codes, nothing works and I'm in desperate need of some help/advice/suggestions.
    The simplest example I'm trying is to just get a button to run a simple SQL query. The code is:
    private void button1_Click(object sender, EventArgs e)
    string oradb = "Data Source=acme.gatech.edu;User Id=gtg880f;Password=******;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.Connection = conn;
    cmd.CommandText = "select Location_Name from warehouse where Location_name = 'atlanta'";
    cmd.CommandType = CommandType.Text;
    OracleDataReader dr = cmd.ExecuteReader();
    dr.Read();
    label1.Text = dr.GetString(0);
    conn.Dispose();
    I've installed many many version of oracle database and have included the Oracle.Data.Access under reference.
    If I use putty and connect to acme.gatech.edu via port 22, I can type sqlplus / and run the query "elect Location_Name from warehouse where Location_name = 'atlanta'" and it'll work.
    After some research, some say that if I can connect via sqlplus that means i can connect to the database but what do i need to implement to enable my c# code in visual studio to be able to do that.
    I did a search on the forum but found nothing that matches this. In essence, I'm not sure what/how to specify such that I can connect to the acme.gatech.edu server and run sql commands.
    Thanks,
    Oky Sabeni

    There're two ways you can get data in and out of database using .NET
    #1 System.Data.OracleClient namespace - it's .NET avail out of the box
    #2 Oracle.DataAccess.Client - aka "ODP.NET"
                   Download: http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    Or download Beta because as of today it's the only version which supports .NET "TransactionScope" (I just tested seems like still it is NOT working Re: 10g Express + ODP.NET (version 2.111.6.20) > support TransactionScope? http://www.oracle.com/technology/software/tech/windows/odpnet/index1110710beta.html
    QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
    Also there's a doc under Start menu>Programs>Oracle - OraOdac11g_BETA_home>Application Development>"Oracle Data Provider for .NET Developer's Guide"
    It's worth reading just scroll down quick for code fragment.
    Anyway here's two small examples:
    Example 1: System.Data.OracleClient (Using library from M$)
              * First you'll need to add reference to "System.Data.OracleClient".
              IDbFactory oDbFactory = DbProviderFactories.GetFactory("System.Data.OracleClient");
              IDbConnection oConn = oDbFactory.CreateConnection();
              oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
              // Or ...
              oConn = new System.Data.OracleClient.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
         Example 2: ODP.NET from Oracle
              IDbFactory oDbFactory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
              IDbConnection oConn = oDbFactory.CreateConnection();
              oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
              // Or ...
              oConn = new Oracle.DataAccess.Client.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
    string strSQL = "... SQL statement...";
              int nPersonId = 0;
              string strFirstName = null;
              Person oPerson = null;
              string strSQL = "SELECT Id FROM PERSON";
              oCmd = oConn.CreateCommand();
              oCmd.CommandText = strSQL;
              oCmd.CommandType = System.Data.CommandType.Text;
              IDataReader oRdr = oCmd.ExecuteReader();
              while (oRdr.Read())
                   if (!Convert.IsDBNull(oRdr["Id"]))
                        nPersonId = (int) oRdr["Id"];
                   if (!Convert.IsDBNull(oRdr["FirstName"]))
                        strFirstName = (string)oRdr["FirstName"];
                   oPerson.Id = nPersonId;
                   oPerson.FirstName = strFirstName;
    Example CREATE TABLE:
              DECLARE
              count_item int;
              BEGIN
                   SELECT count(1) into count_item FROM user_sequences WHERE sequence_name = 'AUDITLOGSEQUENCE';
                   IF count_item > 0 THEN
                        begin
                        dbms_output.put_line('drop sequence AUDITLOGSEQUENCE');
                        EXECUTE IMMEDIATE ('DROP SEQUENCE AUDITLOGSEQUENCE');
                        end;
                   ELSE
                        dbms_output.put_line('no need to drop AUDITLOGSEQUENCE');
                   END IF;
                   EXECUTE IMMEDIATE 'CREATE SEQUENCE AUDITLOGSEQUENCE
                        MINVALUE 1
                        MAXVALUE 999999999999999999999999999
                        START WITH 1
                        INCREMENT BY 1
                        CACHE 20';
                   dbms_output.put_line('AUDITLOGSEQUENCE created');
                   SELECT count(1) into count_item FROM user_tables WHERE table_name = 'LOG';
                   IF count_item > 0 THEN
                        begin
                        dbms_output.put_line('drop table LOG');
                        EXECUTE IMMEDIATE ('DROP TABLE LOG');
                        end;
                   ELSE
                        dbms_output.put_line('no need to drop table LOG');
                   END IF;
                   EXECUTE IMMEDIATE '
                        CREATE TABLE LOG (
                             Id numeric(19,0) NOT NULL,
                             CreateDate timestamp default sysdate NOT NULL,
                             Thread varchar (510) NULL,
                             LogLevel varchar (100) NULL,
                             Logger varchar (510) NULL,
                             Message varchar (4000) NULL,
                             InnerException varchar (4000) NULL,
                             CONSTRAINT PK_LOG PRIMARY KEY (Id)
                   COMMIT;
                   dbms_output.put_line('table LOG created');
                   dbms_output.put_line('setup complete');
              EXCEPTION
                   WHEN OTHERS THEN
                        dbms_output.put_line('*** setup exception detected! ***');
                        dbms_output.put_line('error code: ' || sqlcode);
                        dbms_output.put_line('stack trace: ' || dbms_utility.format_error_backtrace);
                        RAISE_APPLICATION_ERROR(-20000, 'AuditTrail.oracle.tables.sql - install failed');
              END;
         Before running script, make sure your account has permission (unless you're using SYS account of course). You'd probably need to know how to create user and granther right:
              CREATE USER dev IDENTIFIED BY "devacc_@";
              GRANT CREATE SESSION TO DEV;
              GRANT DBA TO DEV;
         Here's how you can run PL\SQL scripts in Oracle
         SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 6 14:10:05 2009
              Copyright (c) 1982, 2005, Oracle. All rights reserved.
              SQL> connect devvvy/"somepwd"
              Connected.
              SQL> set serveroutput on
              SQL> @C:\dev\UnitTest\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.sql
              1125 /
              SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.data.only.sql
              560 /
              PL/SQL procedure successfully completed.
              SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\AuditTrail.oracle.tables.sql
              54 /
              PL/SQL procedure successfully completed.
              SQL> COMMIT;
         Remeber however:
              (a) SQL*Plus does not like "&" in your SQL script. Do comment or string containing "&" should be taken out.
              (b) password should not contain "@" because it's a special character in "CONNECT" command.
                   Alternative, download TOAD for Oracle - http://www.toadsoft.com/toad_oracle.htm
              (c) After command, type "/" next line to get command executed.
              (d) remember to COMMIT
    REF for Oracle:
         Oracle Official doc: http://www.oracle.com/pls/db111/portal.portal_db?selected=1&frame=
         Oracle 11g configuration Guide: http://www.thegeekstuff.com/2008/10/oracle-11g-step-by-step-installation-guide-with-screenshots/
         ODAC/ODP.NET QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
         ODP.NET versioning scheme: http://download.oracle.com/docs/html/E10927_01/InstallVersioningScheme.htm
         SQLPlus basic: http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJAGGHGE
         PL\SQL:
              Cheat sheet: http://en.wikibooks.org/wiki/Oracle_Programming/SQL_Cheatsheet
              Reference:
                   http://www.rocket99.com/techref/oracle_plsql.html
                   http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
              EXECUTE IMMEDIATE, DROP/CREATE TABLE: http://www.java2s.com/Code/Oracle/PL-SQL/Callexecuteimmediatetodroptablecreatetableandinsertdata.htm
              Exception handling: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm
              Named Block syntax: http://www.java2s.com/Tutorial/Oracle/0440__PL-SQL-Statements/Thestructureofanamedblock.htm
              CREATE PROCEDURE: http://it.toolbox.com/blogs/oracle-guide/learn-plsql-procedures-and-functions-13030
         Oracle DataType: http://www.ss64.com/orasyntax/datatypes.html
                             http://www.adp-gmbh.ch/ora/misc/datatypes/index.html
         Oracle Sequence and Create table: http://www.java2s.com/Tutorial/Oracle/0100__Sequences/Usingasequencetopopulateatablescolumn.htm

  • Oracle 11g database installation failure

    Hi All.
    Iam tyring to install OIM 11g database on RHEL 6 installed in a VM. I have followed the oracle guide to install oracle Db on linux. Set the display variable .but when OUI is getting started the following error is thrown.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x0000003a48c14d70, pid=3451, tid=140676870371088
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b03 mixed mode)
    # Problematic frame:
    # C [ld-linux-x86-64.so.2+0x14d70]
    # An error report file with more information is saved as hs_err_pid3451.log
    [thread 140677929178880 also had an error]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    ^
    C
    Please help me out.
    guest OS :RHEL 6 64 bit
    JAVA:java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
    Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
    Host: WINDOWS 7 64 bit
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)

    Hi,
    On a different note, I used Oracle Linux 6.0.0.0 64 bit , jdk 1.6.0_30 and database 11.2.1.0 and then ran the following command:
    ./runInstaller -jreLoc /opt/apps/jdk1.6.0_30
    I am able to get installation screen. But if i dont specify jreLoc options its defaulting to OS jdk although i have specified JAVA environment variables like inlcluding in path and setting JAVA_HOME.
    thanks and regards,
    Rajan Kumar

  • Oracle Streams in 10g

    Hi All,
    I am new to Oracle Streams in 10g, Could any one explain me what is Oracle streams and why we have to use it and related documents.
    Please don't hesitate me to reply.
    Thanks,
    Redro.

    You can get overview from the below link:
    http://www.oracle.com/technology/products/dataint/htdocs/streams_fo.html
    Step by Step guide to implement streams:
    http://it.toolbox.com/blogs/oracle-guide/oracle-streams-step-by-step-17095

  • Can HA-Oracle agent distinguish a failed database from an inactive one?

    I read "Oracle and Sun Cluster:A technical Overview" by Joseph Bianco. It says "The HA-Oracle agent can distinguish a failed database from an inactive one".
    How do we configure HA-Oracle agent to be smart enough to distinguish normal shutdown (due to cold backup, or other maintainence purpose) and a failed database? So, it should not automatically start up database at the other node for normal shutdown operations.
    Thanks,
    Shuhsin

    The default behaviour is to consider the service down if the database
    is not online. But you can change this behaviour. For more info see
    The Sun Cluster 3.1 Dataservice for Oracle Guide
    http://docs.sun.com/db/doc/817-3306
    There are several ways to handle this scenario, including disabling
    the fault monitor during backups or maintenance. I'm not sure there
    is a generic, best way, so you should consider a solution based on your
    requirements.
    -- richard

  • Oracle HA Setup - how to define resource dependency !

    - I have one resource group :
    oracle-rg- I created three resource in this resource group:
    oracle-ha-rs ( type SUNW.HAStoragePlus)
    oracle-listener-1 ( type SUNW.oracle_listener )
    oracle-server-1 ( type SUNW.oracle_server )Now how do I define dependency between the resources? or a specific sequest when switching?
    I am asking this because everything are working okay(except shutdown). When I switch, Oracle comes up on failover Node and vice-versa.
    But during switch the oracle-ha-rs resource goes offline first, and then the resource oracle-server-1 and oracle-listener-1
    Since the filesystem is unmounted FIRST it crash the oracle instance(oracle shutdown cmds are fired .
    Question: I want to sequence it as follows during switching how do I do this?
    Current Node:
    - oracle-server-1 : Stop Oracle server
    - oracle-listener-1 : stop listener
    - oracle-ha-rs : Unmount filesystem
    Failover Node:
    - oracle-ha-rs : Mount filesystem
    - oracle-server-1 : Start Oracle server
    - oracle-listener-1 : Start listener
    Sun Log
    Jul 22 17:59:50 SC[SUNWscor.oracle_server.monitor_stop]:oracle-rg:oracle-server-1: Stopping fault monitor using pmfadm tag ORASERV_MON_oracle-server-1
    Jul 22 17:59:51 SC[SUNWscor.oracle_server.stop]:oracle-rg:oracle-server-1: Using method 'run_setuid_prog' to execute shutdown commands
    Jul 22 17:59:51 SC[SUNWscor.oracle_server.stop]:oracle-rg:oracle-server-1: Stopping oracle server using shutdown immediate
    Shutting down Oracle instance: ORAHA  : /u01/binary/oracle/product/10.2.0/db_1.
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 22 17:59:51 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected.
    SQL> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Solaris-AMD64 Error: 2: No such file or directory
    SQL> Disconnected
    Executing command: /opt/SUNWscor/oracle_server/bin/oracle_server_manage shutdown immediate
    Jul 22 17:59:56 SC[SUNWscor.oracle_server.stop]:oracle-rg:oracle-server-1: Server stopped successfully.Oracle Log
    Wed Jul 22 12:46:50 2009
    Completed: ALTER DATABASE OPEN
    Wed Jul 22 17:59:53 2009
    Errors in file /u01/binary/oracle/product/10.2.0/db_1/rdbms/log/oraha_ckpt_16333.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: '/global/u01/oradata/ora_control2'
    ORA-27063: number of bytes read/written is incorrect
    Solaris-AMD64 Error: 5: I/O error
    Additional information: -1
    Additional information: 16384
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: '/global/u01/oradata/ora_control1'
    ORA-27063: number of bytes read/written is incorrect
    Solaris-AMD64 Error: 5: I/O error
    Additional information: -1
    Additional information: 16384
    Wed Jul 22 17:59:53 2009
    Errors in file /u01/binary/oracle/product/10.2.0/db_1/rdbms/log/oraha_ckpt_16333.trc:
    ORA-00221: error on write to control file
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: '/global/u01/oradata/ora_control2'
    ORA-27063: number of bytes read/written is incorrect
    Solaris-AMD64 Error: 5: I/O error
    Additional information: -1
    Additional information: 16384
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: '/global/u01/oradata/ora_control1'
    ORA-27063: number of bytes read/written is incorrect
    Solaris-AMD64 Error: 5: I/O error

    E.g. using this:
    # clresource create -g resource-group \
    -t SUNW.oracle_listener \
    -p LISTENER_NAME=listener \
    -p ORACLE_HOME=Oracle-home \
    -p resource_dependencies=storageplus-resource resource
    Copied from the docs at http://docs.sun.com/app/docs/doc/820-3041/chdiggib "Sun Cluster for Data Service Oracle Guide"
    Regards
    Hartmut

Maybe you are looking for

  • Windows 8.1 Suddenly Restarting Again and Again

    Hi everyone, My PC has been suddenly restarting every so often ever since the windows 8.1 update. What do? It's really frustrating not being able to get any work done. Below are the last few DMP files. Thanks in advance! https://skydrive.live.com/red

  • Hide Region action menu

    Hi, I created a region out of taskflow. When I make show header, it shows both minimize icon on the left top and action menu at the right top(control flow case). I need to display only minimize icon and hide action menu at the right top corner. How t

  • Where is the refresh button? Missing !

    I cannot find the refresh button? I don't see refresh in the view menu drop down either.

  • PRINT TO EMAIL Of Output In VF03 Transaction.

    Hello Experts, How can i do this ? Thanks for the help. Avi.

  • Restoring data from old iphone

    Hi! I had a 3g 16 gb iphone that was destroyed. My insurance payed for a new one, but when I connected it, itunes asked me if I wanted to merge the data stored from my old phone into it or if I wanted to treat it as a new one. I chose the merging opt