About application debug

hi:
I have an application , it can connect database correct when it is run,but I want debug my DBBean, it can't connect to database. error message as follows:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
The running environment is not same as debug environment ???
-- And the lib/ext/jdbc20x.zip have some bugs , I have an application is correct compiled with javac (dos mode),but compiled with IDE,the jdbc20x.zip have a error message:
C:/devtools/s1studio/ee/lib/ext/jdbc20x.zip(javax/sql/DataSource.java) [32:1] class DataSource is public, should be declared in a file named DataSource.java
(source unavailable)
1 error
Errors compiling DBConnectionManagerForJNDI.
my source code as follows:
try
Context ct = new InitialContext();
DataSource ds = (DataSource)ct.lookup("ConnectionPool");
cn = ds.getConnection();
}

Yelang,
Found the following:
http://www.waterware.com/projects/samples/RouteMaster/tutorial.jsp
NOTE: if you get an error saying something like "could not compile Class Closure Compiler" shut down Sun ONE Studio. Go to <Studio Installation directory>\Studio\lib\ext and open the file jdbc20x.zip with WinZip. Select all the .java files if they exist and select Actions -� Delete from the menu. Restart Sun ONE Studio and try again.
Also
http://docs.sun.com/source/817-2332/jdbc.html At the bottom:
Running Your JDBC Application
You can compile, run, and debug JDBC applications as if they were any other form. If you need special JDBC drivers, ensure they are in the Sun ONE Studio 5 CLASSPATH, so they will, by default, be available for external compiling, executing, and debugging of JDBC-based forms.
You can run your application external to the IDE by adding paths to these packages into your CLASSPATH:
modules/ext/sql.jar
modules/ext/rowset.jar
lib/ext/jdbc20x.zip
A corresponding JDBC driver. JDBC drivers are typically stored in lib/ext.
If a WebRowSet is used in your JDBC application, two more JAR files are required:
lib/ext/parser.jar
lib/ext/xerces.jar

Similar Messages

  • Best practice for application debug logging?

    I am building a webcenter portal using Oracle Webcenter 11.1.1.1.5 and deploying on Oracle Weblogic Server 11g. Please suggest what is the best practice to use for application debug logs. Should I use log4j or Apache commons library? Is it possible to manage the logs (enable/ disable/ change severity) of the logs using WLS admin console?

    You might want to read the chapter about AM Granularity in the ADF Developer Guide:
    http://download.oracle.com/docs/html/B25947_01/bcservices009.htm#sm0229

  • Application debug not writing ....

    Database 11.2.0.2
    IBM AIX 6.1
    A new core banking application is being implemented. It is still at Testing phase. We are facing the problem of application debug not writing, or writing intermittently. Has anyone faced this or similar issue ...
    The database is installed on AIX server. On this server there is a directory created for this debug. And debug files are generated in this directory when the application guys work on database.
    Application guys frequently complain it is not writing.
    There are no errors on database alert logs, everything looks normal.
    Can anyone give me an idea how to resolve this....

    875719 wrote:
    Database 11.2.0.2
    IBM AIX 6.1
    A new core banking application is being implemented. It is still at Testing phase. We are facing the problem of application debug not writing, or writing intermittently. Has anyone faced this or similar issue ...
    The database is installed on AIX server. On this server there is a directory created for this debug. And debug files are generated in this directory when the application guys work on database.
    Application guys frequently complain it is not writing.
    There are no errors on database alert logs, everything looks normal.
    Can anyone give me an idea how to resolve this....Sometimes my car doesn't start. Can you give me an idea how to resolve this?
    The only thing you've really told us is that this system is running on an AIX. You haven't said a thing about the mechanism whereby this "application debug" is supposed to "write".
    So I say the solution is "42".

  • Change_connection does not update entire info about application

    The procedure change_connection does not update the entire info of the about application window. When I change my connection the connect string in the about application window still shows the old connection string.
    I added the line g_connect_string := get_application_property(CONNECT_STRING);
    to the procedure change_connection between the lines
    -- Reset user preference settings for new user connection
    qms$user_prefs.init;
    and the lines:
    -- The menu must be replaced because the new user might have other security privileges
    Now the connect string will change in the about window.

    Mark,
    This has been implemented in Headstart PATCH6530_for_6i and PATCH6530_for_9i.
    Regards,
    Marcel

  • Webdynpro application Debug Configuration problem

    Dear Friends,
    I am trying to WebDynpro application debug Configuration.
    But I could not find the Debug Configurator link under portal's System Administrator -> System Configuration -> Web Dynpro Console -> Settings
    My portal version is
    J2EE Engine : 6.40 PatchLevel 105424.313
    Portal : 6.0.18.1.0
    KnowledgeManagementCollaboration : 6.0.18.0.0 (NW04 SPS18)
    Can anybody help me where I am wrong and how can I do Java WebDynpro application debug configuration can do?
    Thanks in advance
    Lakshmikanthaiah

    Hi,
         As for as I know the debug configurator is available in NW04s SP 12. See this 
    <a href="http://209.85.175.104/search?q=cache:0172QKC3AU4J:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56debugconfiguratorwebdynpro&hl=en&ct=clnk&cd=1">web dynpro debug configurator</a> link
    regards,
    Siva

  • Why think about Application virtualization before going to VDI or desktop virtualization

    Hi Team,
    I am new in ThinApp technology.
    My question is that "Why think about Application virtualization before going to VDI or desktop virtualization."
    Please help to clear my question.
    Thanks
    Yogesh

    With Application Virtualization you'll make any transition easier. While the term isn't really clear to understand for anyone new to the technology I usually find it easier to explain by calling it Application Isolation/Redirection, which actually gives a clearer idea of what it is doing. What ThinApp (or any other Application Virtualization) does is catch calls the operating system does to the registry and files and reroute that to a single contained environment. With Application Virtualization you can deploy your applications without touching the other applications or operating system. The nice thing about ThinApp is that it's clientless so there is no need for any backend or client. The runtime is contained in the ThinApp, which is why you can even use multiple versions at the same time.
    With VDI you try to consolidate resources and not buy 1000's of desktops every few years, because physical desktop migrations are a pain. You also try to make managing them easier because basically you'll only have to manage a single desktop (master image). But to get there you will have to do a migration, having Application Virtualization in place will make it an easy project instead of a hard one.
    The second reason why you would want to do it is because with ThinApp there is no need to actually deploy the application to the VDI, they can be shown on the machine but actually run from a share or even dynamically mapped with virtual disks.

  • About Application Identity

    Hi,All
    I have a problem about application Identity.
    If table has numberic primary key columns,when reversemapping,it will be
    mapped to built-in data type like "long","int".But I want it be wrapped
    class like "Long","Integer".How to do?
    Regards,
    Jia shunlin

    See our documentation on customizing reverse mapping.
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_reverse.html#ref_guide_pc_reverse_custom

  • Questions about application server architecture

    Hello guys,
    I have few questions about application server architecture�
    I have a task to build a server application which will do the following: Clients (special java clients) will connect to it and send some data for further processing on server side. Chunks of data will be relatively small but they will take a lot of time for processing (it is ok that it will be quite slow).
    Also server will run some sort of �database� where all clients� working data will be stored. So, in case a client loses its data he/she is always able to download it from the server.
    For me it seems, like server will consist of the following components:
    1. �Reception�. This part will be responsible for all client-communication procedures.
    2. �Data storage�. This part will simply store all clients� data and provide some API interface for clients through �reception� to manage it (add/get/delete and so on).
    3. �Processor�. Some sort of dummy-sophisticated module. It will take some input data from �data storage� when it receives order for this and process it. �Processor� will have two states: �busy� which means �processor� processing some data and �available� which means �processor� ready to process new data.
    4. �Manager�. This part will always check �data storage� for new data and �processor� for availability. When �processor� and new data are available �manager� will make an order for �processor� to take new data from �data storage� and process it.
    So, my question is the following: Which technology and approaches I should use to realize my plan?
    I think that I can make �reception� as a Session Bean, but I don�t know yet, what are the best for the rest, for example �manager� and �processor�. I was thinking about writing my own application server (and I can do it), but I would like to learn j2ee technologies, so I think it is a perfect chance for me (I read a lot about j2ee before I wrote this post, but all examples have only �account�-�bill�-�money transfer� I think it is quite far away from reality or I am doing something wrong ;-)!
    p.s. I am thinking about using JBoss as an Application Server. I tested it and wrote some tests. They work and run fast enough, so I like it. Moreover it has module architecture.
    Please, give me some advises and tips!
    Thank you in advance!

    1. �Reception�. This part will be responsible for all
    client-communication procedures.Session bean with remote interface.
    2. �Data storage�. This part will simply store all
    clients� data and provide some API interface for
    clients through �reception� to manage it
    (add/get/delete and so on).Session bean that will use entity beans or hibernate to work with persistant data.
    3. �Processor�. Some sort of dummy-sophisticated
    module.Use a message driven bean. Make Reception to enqueue a message when new data is available for processing. Processor will process the data and store the resut in database using Data Storage session bean.
    4. �Manager�. This part will always check �data
    storage� for new data and �processor� for
    availability. When �processor� and new data are
    available �manager� will make an order for
    �processor� to take new data from �data storage� and
    process it.It's redundand component, because application server will manage messages and processors.

  • Bar (Home, Application, Debug, Session, etc) is not visible

    Hello,
    The Apex 4.0 bar (Home, Application, Debug, Session, etc.) is not visible.
    How can I re-enable the bar?
    Thank you!
    Marcelo

    Hi,
    Is it invisible on all your apps ?
    Check your app status
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/bldr.htm#sthref389
    Br,Jari

  • Several questions about Application Security

    Hello,
    I have several questions about Application Security and perhaps I need a few tips...
    I have a lot of users in a few groups which have access to my application! And the different groups should have only access to their pages.
    In my application I use trees to navigate through the application.
    So my idea is that i display different trees for the different user groups and restrict the user to access the URL....so the user can only see and contact "their" pages.
    I know how to create the logic behind the trees, but how can I create the restricted URL access...
    The "No URL Access" in the Session State Protection can not be used, because I use a lot of links in reports and HTML regions.
    Is there another way to solve that?
    But I am unsure if that is a "good" solution for my problem!
    What do you think about that?
    Am I going to do that too complicated?
    Could that be done by authentication or authorization?
    (By the way, I do not understand the differences between authentication and authorization. Can anyone help?)
    I would be glad for any reply!
    Thank you,
    Tim

    Hey Arie and Scott,
    thank you for your quick reply!
    Now I understand the context around authorization and authentication...
    I try the Access Control List and I think that is a very nice feature! Really good!
    But now I am wondering, how I can create more privileges?
    So that I have a few "end-user-roles" and then I can choose who have access to a page and who not!
    Does anybody know how to do that?
    Thank you,
    Tim

  • Important conceptual question about Application Module, Maximum Pool Size

    Hello everyone,
    We have a critical question about the Application Module default settings (taking the DB connections from a DataSource)
    I know that on the Web it is generally suggested that each request must end with either a commit or rollback when executing PL/SQL blocks "directly" on the DB without the framework BC/ViewObject/Entity service intervention.
    Now, for some reasons, we started to develop our applications with thinking that each Web Session would reference exactly one DB session (opened by any instance taken from the AM pool) for the whole duration of the session, so that the changes made by each Web session to its DB session would never interfere with the changes made by "other" Web Sessions to "other" DB sessions .
    In other words, because of that convincement we often implemented sort of "transactions" that open and close (with either commit or rollback) each DB session not in/after a single HTTP request, but during many HTTP Requests.
    As a concrete example think of this scenario:
    1. the user presses the "Insert" button. An HTTP request is fired. The action listener is executed and ends up with inserting rows in a table via a PL SQL block (not via the ViewObjects API).
    2. no commit or rollback after the above PL/SQL block is done yet.
    3. finally the user presses a "Commit" or "Rollback" button, firing the call to the appropriate AM methos.
    Those three requests consist of what I called "transaction".
    From the documentation it's clear that there is no guarantee that the couple AM istance + DB session is the same during all the requests.
    This means that, during step 2, it's possible that another user might reference the same "pending" AM/DbSession for his needs and "steal" somehow the work done via PL/SQL after step 1. (This happens because sessions taken by the pool are always rolled back by default.)
    Now my question is:
    Suppose we set the "Maximum Pool Size" parameter to very a great number (always inferior to the maximum number of concurrent users):
    Is there any guarantee that all the requests will be isolated in that case?
    I hope the problem is clear.
    Let me know if you want more details.

    Thanks for the answers.
    If I am right, from all your answers about resource avaiability, this means that even supposing the framework is able to always give us the same AM instance back from the AM pool (by following the session-affinity criterias), there is, however, no "connection affinity" with the connections from the DataSource. This means that the "same AM instance" might take the "a new DB connection", if necessary, from the connection pool of the DataSource. If that happens, that could give us the same problems as taking "a new AM instance" (that is, not following session-affinity) from the beginning, since each time an a new connection is taken (either via a new AM instance or via the same AM instance plus a new DB connection), the corresponding DB session is rolle back by default, clearing all the pending transactions we might have performed before with direct PL/SQL calls bypassing the AM services during the life cycle of our application, so that the new HTTP request will have a clean DB session to start to work with.

  • The question about application priority in OCAP

    First question:
    I know the AIT includes priority for each application.
    But I find nothing about priority description in XAIT, may be I made a mistake about XAIT's structure.
    Second question:
    OCAP(10.2.2.5) define the priority range from 1 to 255. Where we can use this value, only in AIT?
    BRs.
    Alexander

    hi igor,
    you have to import the IDOC Types under the imported objects in the integration repository objects,
    what are all the data that coming out from the file adapter, you design the datatype.
    the target IDOC should be real and you do the mapping for the all necessary fields.
    refer: --
    File to IDOC:
    Re: how to Sending XML data to idoc
    IDOC Mapping:
    http://help.sap.com/saphelp_crm40/helpdata/en/77/a1d48b1ce06d40932e0a26f3c117ce/frameset.htm

  • Clarification sought about Application type and library availability

    I am new to Adobe's product line and am confused about something and would be grateful for some clarification.
    In Flex Builder 3 when creating a new Project, there is an Application type radio button:
    O Web application (runs in Flash Player)
    O Desktop application (runs in Adobe AIR)
    Is my understanding correct that if I choose "Web application", classes identified in the documentation as "AIR only" (e.g. HTMLLoader class) will be unavailable to my app?
    Here's the source of my confusion. The class is called flash.html.HTMLLoader  and the class is found in the flash.html package, but the documentation reads "(AIR only)".
    Do I have to choose "Desktop application" when creating the new project if I want the app to have access to the HTMLLoader class (and others marked "AIR" in the docs)?
    Thanks

    Yes, that's exactly right.
    I assume the source of the confusion is that the "AIR only" classes are still in the flash.* package. In the early days there was some discussion back and forth about the appropriate place to put AIR only classes. In the end it was decided that they would be in the same top-level package as the Flash Player classes.
    (To add to the confusion, there is also an air.* package. That package contains classes that are AIR-only but are not built-in to AIR. In other words, they're additional code libraries that make certain functionality easier, but they're written in ActionScript and run on top of AIR just like any ActionScript code you write, rather than being part of the AIR runtime.)

  • Something I'm missing about application processes in 4.1?

    So I'm trying to create a new application in 4.1. I'm starting out with just the basic login page and I've created a custom Authorization scheme and login/logout procedures that work fine. On the home page, I'm trying to create a region that allows the user to create a new password. I can't get the process to fire - no completion message, no error message. It's supposed to fire after validations/page submit. Here's what it looks like:
    declare
      v_usrid      NUMBER        := :G_USER_ID;
      v_usr        VARCHAR2(40);
      v_hash       VARCHAR2(40);
      v_old        VARCHAR2(40)  := :P1_OLD_PWD;
      v_new        VARCHAR2(40)  := :P1_NEW_PWD;
      v_newc       VARCHAR2(40)  := :P1_CONFIRM_NEW_PWD;
    begin
      select ADMIN_USERNAME, PWD_HASH into v_usr, v_hash
        from APEX_ACCESS_CONTROL
       where ID = v_usrid;
      if HASH_PASSWORD(v_usr,v_old) = v_hash then
        --Old password matches hash, change password
        if v_new = v_newc then
          update APEX_ACCESS_CONTROL
             set PWD_HASH = HASH_PASSWORD(v_usr,v_new)
             where ID = v_usrid;
            --:new.updated_by := v_usr;
            --:new.updated_on := sysdate;
        end if;
      end if;
    end;It worked fine in the last app under APEX 3.2 - I'm literally copying it across.
    Just to see if I could get ANYTHING to fire, I created a second process that sets an application variable with the user's location. I use this for a lot of items in the application. It won't fire either. It's pretty simple:
    declare
    begin
      :G_KEY_LOC := :P1_KEY_LOC;
    end;P1_KEY_LOC gets set (if null) to a value tied to the user's login (:APP_USER) from my authorization table and that is working fine. It seems like if I put it in a PL/SQL process, it just doesn't fire at all. What am I doing wrong?

    BEFORE Page submit? Uh, in 3.2 I can have page processes that fire On Submit, After Validations and they work fine. If I try to do exactly the same thing here, they never fire. I use the validations to check the values in the fields. It's only AFTER the validations fire that I want the Page Process to fire, because I want the validations to do their job.
    Right now, I have the process set to fire when a button is pushed. That's what I'm confused about. Did they change everything about how page processes fire in 4.1?

  • Error launching AIR application, Debug works

    Hello!
    I just tried to develop an air application that grabs current actions from our local intranet. While developing with aptana everything worked fine. Then i created the .air package and installed the new program.
    But everytime i want to start the program an windows error occurs. Testing the project with aptana or directly with the adt-file throws up NO error. Everything works fine.
    Has anyone an ideo of what is happening here?
    I cant run the program after creating with aptana, same with creating directly with the Air SDK command line tool.
    Here's a jing video of what i mean: http://www.mypoo.de/tmp/adobeair_error.swf
    Thank you

    Hi. I don't think we've seen this before. The engineer who
    handles this area is out on vacation this week, so I apologize if
    it takes us a bit to follow up.. In the meantime, would you mind
    posting your exact steps? I.e. are you literally just running the
    AIR project wizard, adding some code to the default application it
    generates, and clicking the debug button? Anything else? You're not
    double-clicking the -app.xml file directly by any chance, are you?
    If you could also note the version of Dreamweaver you have
    installed that'd be great.
    Thanks,
    Tom

Maybe you are looking for

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus, i have this problem. In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are: - Release productio

  • Several Pending orders

    I have tried to purchase credit on my Skype account but the order is pending and instead of one order I have several.  I would just like to purchase order order for credit.  How do I cancel the other pending orders?

  • Chrome PDF Rendering Issue

    Hello all, I've been noticing some odd behavior in Chrome when trying to render a PDF I've exported from InDesign; attached is a screenshot of the symptom, and if you take the following link, you can also see it firsthand (though occasionally it will

  • New ipod does not sync with Windows

    Just bought an a 30gb ipod. I imported my old "Creative" mp3s into Itunes 7. When I connect the iPod it displays "Do Not Disconnect". It's showing in iTunes and when I clicked on SYNC iPod I got a message that certain tracks couldn't be copied as the

  • Multiple xpjs drawing from same set of folders?

    Is it possible to use a set of common folders in multiple help projects? That is, have html files stored in one set of folders (that are already configured to support a complex TOC structure) and have several xpjs access them? No individual html file