Using dbms_alert in Jdeveloper

Hello!
I need check signal from OracleDatabase in my application on the JSP Page.
How I can using dbms_alert package for my JSP page?
Thanks.

Not specific for DBMS_ALERT but here are the basics from the JDBC developer guide:
http://download.oracle.com/docs/cd/B10501_01/java.920/a96654/basic.htm#1002489

Similar Messages

  • How to use BC4J with JDeveloper 9i in a Team

    Hello
    I'm not sure if I'm to stupid, but to say the truth I didn't found the clue how to share a BC4J Application between several develeopers. Maybe someone can give me a hint.
    That's my situation:
    Our team is going to develop a web application using BC4J and BC4J-JSP, nothing special I think.
    But my problem is, that BC4J and especially the wizards refer to a lot of different files. Even simple changes often result in multiple files being changed in different parts of the project.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.
    So it is not easy to find parts of code from which I can say they are owned by one developer and others which are owned by another. Most often, if you have to merge the work of different developers, you have to edit the BC4J-XML-Files using an external editor. Or did someone find a better way? Please tell me!
    So, what is the best way to share code between developers?
    Should I partition the application by packages?
    - advantage:
    it allows a fine partitioning
    - disadvantages:
    it has the great danger that BC4J makes changes in other packages which will be overseen when merging.
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.
    Thanks in advance
    Frank Brandstetter

    Hi,
    I'm not sure whether my answer is good enough for you, but it might help.
    First of all, you have to use JDev 9.0.3, because 9.0.2 has big problems with associations/view links between objects in different projects.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.This is not completely true in 9.0.3, as you may choose not to create an accessor in the imported object (and usually you don't need it neither!). As for bc4j.xcfg, there is a trick: define a "standard" database connection name to use all over your project! This will prevent modifying these files all the time!
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.I would say, projects for each application component, which by chance will be managed by a single developer at a time.
    As for the disadvantages, in 9.0.3 you are able to properly create associations and links using read-only objects. Hopefully, the release version will solve some generation inconsistencies...
    Concerning the errors that occur when modifying a library, this might be balanced by the relative independence of the components... If you are able to develop following the dependency tree, you will not meet the problem very often.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.Indeed, I do not have a SCMS really able to manage merges in the BC4J XML files... We rather try not to arrive there!
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.I really hope that my hints will help.
    Regards,
    Adrian

  • Using Struts with JDeveloper, BC4J and OC4J 9.0.2

    Is it feasible to use Struts with JDeveloper 9.0.2, BC4J 9.0.2 and OC4J 9.0.2? We have an application that uses the BC4J JBO tags in version 9.0.2. We wish to use Struts and we want to retain the use of the JBO tags. Is there a way to do this without upgrading to 9.0.3?

    Here are two related questions:
    Can we upgrade to oracle9iAS 9.0.3 yet still use JDeveloper 9.0.2 and BC4J/JBO 9.0.2?
    Can we upgrade to JDeveloper 9.0.3 and BC4J/JBO 9.0.3 yet still deploy to oracle9iAS 9.0.2?

  • How to upload a file in BPEL Console Using JSP in JDeveloper, pleae........

    I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.

    Hi,
    ADF Faces provides you with the file upload component
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
    http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
    This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
    Frank

  • How to upload a file in BPEL Console Using JSP in JDeveloper, please help..

    Please I am new to Jdeveloper and to BPEL Process of OASuite,I want to know , how to upload a file in BPEL process using JSP in Jdeveloper IDE.
    The main aim is first we need to upload a file in JSP , it has to go to BPEL Process & it has to read the file & write the respective file in return to JSP through BPEL Process. Please I am in Urgent need of the Query , please help me ASAP.
    Send to me response Please.....................................

    Hi,
    I thin that you asked the same question before and I premember that I ointed you to the ADF BC developer guide and the SRDemo if your application uses JSF. For plain JSP - if you Google for: JSP and file upload then you find plenty of sources for JSP and Struts.
    The remaining part is how to stiff the file into a BPEL service on the middle tier. For this I recommended to ask your question on the BPEL forum
    BPEL
    Note that the BPEL integration would be easier if it was done on the middle tier and not onthe client
    Frank

  • Using DBMS_ALERT package

    Hello,
    I would like to use DBMS_ALERT package. I have read documentation about this package. It works correctly but I have noticed that sometime the pl/sql block (with dbms_alert) performed quick but sometimes it lasted too long. There is no traffic od the server. So my questions are followed:
    a) what could be the reason that calling dbms_alert sometimes last too long?
    b) how performance is affected
    c) waiting session has active status. It is good idea to use shared server for this purpose?
    Thanks

    I have just now solved my problem with DBMS_ALERT :-). I described my problem badly.
    My application using dbms_alert started wait when I issue statement dbms_alert.waitone (in another thread). The problem was that my database was misconfigured :-(. I have only one shared_server process and session with dbms_alert.waitone blocked this shared server and any other session cann't work for a while.
    SASA
    PS: The way of understanding is very twisting :-)

  • How to use CVS with JDeveloper

    Hi all!
    I'm starting a new project and I would like to know how to use CVS with JDeveloper. This is my first project where I will have two more people working with me and I don't know what the better approach is. Should I use CVS that come with JDeveloper (option Internal to Oracle JDeveloper 10g) or should I configure an external repository? In both cases, I don't know what I have to do to have CVS working properly with JDeveloper. Actually I tried to create a new CVS connection in CVS navigator (using the access method Password Server), but when I test I receive the message: Could not open connection to CVS server: general socket failure, sure I must doing something wrong.
    I'm using JDeveloper 10.1.3.0.4
    Thanks in advance.

    Thanks for you help John!
    I installed cvsnt and when I try to create a new CVS connection inside JDeveloper I receive the message: authorization failed: server adminf29786.dixamico.com.br rejected access to /Diversos/DownLoad/CVS/usr/local/cvsroot for user JMartins
    I using pserver method and JMartins is my user in windows
    There is something that I'm curious about, when I was installing CVSNT I didn't configure any user and password, is there any default user/password?
    Thanks!

  • Using ActiveX in JDeveloper

    Do you have any idea how I can use my ActiveX control in a JDeveloper application?
    thanks
    Nazire

    Ignore my previous post. I misread the question.
    There is no support for using ActiveX in JDeveloper. What you would need to do is to wrap your activex in a Java class and then you'd be able to use that java class in your project. There may be some facilities available somewhere on the internet that would help you doing that. I just don't know of any.
    Regards,
    Michel

  • Problems with use cases in JDeveloper 11.1.1.1.0

    Use cases made with JDeveloper 11.1.1.0.2 can not be used and edited in JDeveloper 11.1.1.1.0.
    Same problems with Use Case Diagrams.
    And it seems to be impossible to create new use cases in JDeveloper 11.1.1.1.0.
    What are the differences between 11.1.1.0.2 and 11.1.1.1.0 if you look at use cases??

    In JDeveloper 11.1.1.0.2 each use case has one file with the folllowing name: *.xhtml_usc.
    In JDeveloper 11.1.1.1.0 each use case has two files with a names like *.xhtml_usc and *.uml_usc (after standard migration with JDeveloper). I can still edit the *.xhtml_usc files, but I have no idea what to do with the *.uml_usc files. I can only open a Property-editor, but the properties I see have no relation with the text I used in my original use cases . New use cases only have a *.uml_usc file and a Property-editor. In javadoc the new use case does not appear.
    My question is: why do I have two different use case files in JDeveloper 11.1.1.0 and how can I use the Property editor??

  • HOw to use EL in JDeveloper 9.0.5

    Hello All,
    I am trying to use EL in JDeveloper 9.0.5 and it is not working. The problem I figured out is JDeveloper 9.0.5 doesn't have the jar files that support EL. Any idea how I can change the jar files to give support for EL in the JDeveloper 9.0.5???
    Any help would be highly appreciated.
    Thanks

    Thanks for the prompt answer. I can use the JSTL tags, but the problem is I am using struts tags to iterate and to render other HTML controls.
    The code is something like this
    <logic:iterate id="FrmBean" name="FormBean01" property="dataId">
    <logic:equal name="FormBean01" property="dataId" value="${dataObject.dataId}">
    <bean:write name="FrmBean" property="dataId"/>
    </logic:equal>
    </logic:iterate>
    I can not use a tag inside a tag. Yes, I can surely use a tag inside a HTML control, but that would not serve my purpose.
    Is there any way by which I can change the .jar file of JDeveloper 9.0.5 from jsp version 1.2 to jsp version 2.0 so it starts supporting EL....??
    Thanks

  • How to use JPublisher in Jdeveloper 11g?

    Hi! I have question. How to use JPublisher in Jdeveloper 11g? Maybe someone can help?
    Best regards!

    Hi! I have question. How to use JPublisher in Jdeveloper 11g? Maybe someone can help?
    Best regards!

  • Any tutorial for using Hibernate in Jdeveloper?

    Hi
    thank you for reading my post
    is there any tutorial that helps with using Hibernate with Jdeveloper?
    specially the ant task stuff about schema generator and Hibernate annotation?
    Thanks

    Hi,
    The previous problem is solved but now getting another error
    500 Internal Server Error
    javax.faces.FacesException: #{Catalog.commandButton_action}: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at javax.faces.component.UICommand.broadcast(UICommand.java:332)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         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.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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         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.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 20 more
    Caused by: java.lang.NullPointerException
         at hibernate.HibernateDB.getData(HibernateDB.java:168)
         at hibernate.Catalog.commandButton_action(Catalog.java:112)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 21 more
    Where line 168 is
    result[0] = new String(""+catalog.getId());
    please help.
    Thanks

  • [ADF BC] error in using ajax4jsf with jdeveloper 10.1.3

    I want to use ajax4jsf with jdeveloper 10.1.3 but foolowing error is appearing when i run my application
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: org.apache.commons.collections.map.LRUMap
         Dependent class: org.ajax4jsf.cache.LRUMapCache
         Loader: current-workspace-app.web.Application11-Project1-webapp:0.0.0
         Code-Source: /D:/testProjects/Application11/Project1/public_html/WEB-INF/lib/richfaces-impl-3.1.3.GA.jar
         Configuration: WEB-INF/lib/ directory in D:\testProjects\Application11\Project1\public_html\WEB-INF\lib
    The missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)     at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)     at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)     at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)     at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)     at org.ajax4jsf.cache.LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:49)     at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:110)     at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.getFilterConfig(HttpApplication.java:7585)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:515)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)

    Missing class: org.apache.commons.collections.map.LRUMap
    The commons-collections.zip included with JDeveloper 10.1.3 does not include the LRUMap class.
    Use the Apache Commons Collections commons-collections-3.2.zip.
    http://commons.apache.org/downloads/download_collections.cgi

  • How can I use JNI in JDeveloper???

    hi
    I have a native mathod,it can work very well use JCreator or JDK's Java command.
    But it can't work in Jdeveloper with the errors :
    java.lang.UnsatisfiedLinkError: no JniConvert in java.library.path
    void java.lang.ClassLoader.loadLibrary(java.lang.Class, java.lang.String, boolean)
    void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String)
    void java.lang.System.loadLibrary(java.lang.String)
    void myInterMediaPackage.ArithmaticBean.<clinit>()
    void DrawTest.init()
    void DrawTest.main(java.lang.String[])
    Who have used JNI in JDeveloper or can help me?
    I appreciate anyone's help;

    Dennis ,
    Thank you very much.
    I have resolved that question according to your second option.
    thank you again!
    Good luck.
    2 options, that I know of (windoze, right?):
    1. Add "-Djava.library.path=c:\<blah>\" (the location of your native DLL) to the "Java Options:" field in the "Project Settings/Configurations/Development/Runner" window. OR
    2. Put your DLL in a folder that is on your PATH (e.g., c:\winnt\system32).
    If you deploy it to a jar, and put the DLL in there, I'd think it would see it - but I haven't gotten THERE, yet! :-P
    Later.
    Dennis

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

Maybe you are looking for