SQL not showing in Embedded OC4J Server window

Previously, when we'd run a page through JDeveloper, the sql statements that were used to execute the query would appear in the Embedded OC4J Server window in JDeveloper. Now they no longer appear (along with a lot of other logging data that used to appear). Is there a configuration setting somewhere to make this info appear again?

There is no such setting for OC4J log. Are you sure that you are looking at the right tab because there are generally 3 tabs on the bottom most log window which are Messages, Compiler and Embedded OC4J Server.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Embedded OC4J Server could not be started up

    hi ,
    we are using java web services(JAX-RAC) in jdevloper for oaf page , for getting data from another application, if i run page from jdevlope with web services it is showing "failed to start embbed oc4j server". if i run without web services it is not showing any error.
    please hlep me, advanced thanks.
    regards,
    kishore
    Edited by: Saurabh on Nov 4, 2011 7:00 AM

    When I try to open the Tools/Embedded OC4J Server Preferences...
    the following error stack trace pops up:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:224)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:112)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
         at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
         at oracle.ide.IdeAction.performAction(IdeAction.java:665)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any other way of checking the configuration? Corrupt files somewhere?
    Thanks,
    Gonzalo

  • Embeded Oc4j server not starting up in Jdeveloper 10g 10.1.3.0.3

    hi,
    I have created simle hello.jsp , but i try to run it with the embedded OC4j server i get the following error .
    C:\jdk1.4\bin\javaw.exe -client -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=172.16.233.34 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=local.|localhost|127.0.0.1 -Dhttps.proxyHost=172.16.233.34 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=local.|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Sep 30, 2005 6:23:17 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:23 Application: system is in state FAILED
    05/09/30 18:23:23 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdev/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:24 Fatal error: server exiting
    Process exited with exit code 1.
    Can anyone help

    The 10.1.3 version of JDeveloper (and the embedded OC4J) requires JDK 5.0 to run.
    You can however set your project to work with JDK 1.4 in the project properties.

  • Embeded OC4J server within JDeveloper does not pick latest JAR files.

    Hi,
    Currently OC4J seems to be using an older version of JAXB1.0. Hence I created a shared library in my standalone OC4J server and imported the shared library while deploying my applicatoin in the ClassLoader task.I am trying to replicate the same in
    my embeded OC4J server within JDeveloper.
    I followed as indicated in readme.txt file in the \j2ee\home\shared-lib\ folder.
    1) I created a folder called "jaxb" within /j2ee/home/shared-lib/. I then created a folder with the name "2.0" indicating the version number of the API.
    2) I then added the relevant jaxb JARS to the jaxb/2.0 folder.
    3) In the server.xml file available under /j2ee/home/config/ , I added the following entries.
    <shared-library name="jaxb" version="2.0">
              <code-source path="jaxb-api.jar"/>
              <code-source path="activation.jar"/>
              <code-source path="jaxb1-impl.jar"/>
              <code-source path="jaxb-impl.jar"/>
              <code-source path="jsr173_1.0_api.jar"/>
              <code-source path="jaxb-xjc.jar"/>
         </shared-library>
    I am still facing the issue where my embedded OC4J server is picking up the jaxb version 1.0.
    What are the steps that needs to be taken to ensure that the embeded OC4J
    takes in the jaxb2.0 version.

    Refer
    Re: SUN Jaxb2.0 incompatible with OC4J included in JDEV/OC4J ??

  • BUG: JDev 10.1.3.0.4 Embedded OC4J Server Preferences

    If we specify in the Embedded OC4J Server Preferences->startup a OC4J installation to use for running and debbuging, click ok, and then delete the choosen directory and try again to access the Embedded OC4J Server Preferences, an error occurs. Appears an dialog and we can not alter this anymore.

    Hi,
    not sure on the limitation of dbms_output.put, but 4000 characters happens to be the maximum size of a varchar2 column....
    I normally use dbms_output.put_line for debugging PL/SQL.
    You could also post in the database forum if you have no luck here.
    regards,
    Brenden

  • I would like to use time Machine to back up to a network SMB drive. I can see the drive on my desktop but it will not show in the time machine window to be able to select it

    I currently have a mini server (OSX10.8.5, server 2.2.2) that I am using Time Machine to back up 4 external drives that are connected to the server via firewire 800. I would like to use Time Machine to back up to a windows network SMB drive. I can see the drive on my desktop but it will not show in the time machine window to be able to select it for use.
    Can this be done
    Thanks for any and all help

    The supported targets for Time Machine backups are local (direct-connected) disks, and network targets include Time Capsule, a disk hanging off the current-generation AirPort (though not earlier AirPort devices), and OS X Server systems.
    The Time Machine storage is based on the HFS+ file system, so I would not expect TM to work with SMB file services.
    While there are hacks to allow Time Machine to access network drives, I would not consider those to be reliable. Skim the forum and the 'net for related details, and for previous discussions of setting this up and the related issues that can arise.
    Remember to test the recovery with whatever you decide to use; whole point of backups is the ability to restore the data, after all.
    If you want to learn more about Time Machine, Pondini is an excellent resource.

  • How to Deploy HTML file in embedded OC4J Server

    Hi,
    I have a problem with deploying the HTML file.
    How to deploy a HTML file in embedded oc4j server.
    I'm running this in a Standalone and JDeveloper9i version.
    I don't know where to deploy and how to deploy ?
    Thanks
    James

    Hi Deepak,
    I tryed that but i was NOT successful.
    I'm getting 404 error page could not find in the Server.
    Any other idea ?

  • Error on Opening "Embedded OC4J Server Preferences"

    When I tried to open Tools-->Embedded OC4J Server Preferences, I got the following error:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:224)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:112)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
         at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
         at oracle.ide.IdeAction.performAction(IdeAction.java:665)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    But it works in my colleague machine. What is wrong in my environment? We use Jdev 10g 9.05.1
    Dan

    If you have Web project, check if HTML Root Directory has got a Null value ?
    Double-click on the project to bring up project properties
    Select Input Paths
    See the value for HTML Root Directory.
    If it is Null or invalid, edit to make sure it is valid and Click ok.
    If not, create a new/empty project and see if you can launch Embedded OC4J server preferences dialog for that project.
    raghu
    JDev Team

  • JDeveloper 10.1.3.3 and Embedded OC4J server

    This is the Embedded OC4J server on JDeveloper 10.1.3.3 I have pointed it to compile in Java SDK 1.4.2_14
    I have set up the projects datasources to use the JDBC driver ojdbc14.jar
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdev\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\j2sdk1.4.2_14\bin\javaw.exe -ojvm -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    *WARNING: Code-source C:\jdev\jdbc\lib\ojdbc14.jar (from <library> in /C:/jdev/jdev/mywork/NJTransit/NJTransit-oc4j-app.xml) has the same filename but is not identical to /C:/jdev/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    *Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 4421 ms.
    Target URL -- http://207.200.160.250:8988/NJTransit-NJTransit-context-root/index.jsp
    12/03/08 14:58:05 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    My question is why is it having trouble distinguishing between ojdbc14.jar and ojdbc14dms.jar
    as a result I am getting unexpected behavior from the Application
    Declaration in my code
    int mypidm;
    String sql1 = "SELECT SPRIDEN_PIDM FROM SPRIDEN WHERE SPRIDEN_ID = UPPER(?)";
    try{
    PreparedStatement pstmt = conn.prepareStatement(sql1);
    pstmt.setString(1, studid);
    ResultSet rs;
    rs = pstmt.executeQuery();
    //mypidm = rs.getInt("SPRIDEN_PIDM");
    This part of the code drops through i.e. rs.next() always gets a false result
    while (rs.next()) //evaluates to false so mypidm is always zero.
    mypidm = rs.getInt("SPRIDEN_PIDM");
    I am thinking that these two things are related.
    Any Thoughts.

    The tables are not created by default. You can configure your persistence.xml to define how you want tables to be created. The persistence.xml properties are defined in the TopLink class, EntityManagerFactoryProvider (oracle.toplink.<essentials>.ejb.cmp3).
    Set the property, "toplink.ddl-generation" to "drop-and-create-tables" if you want them recreated every time your redeploy. Note this will delete all previous data in the tables, so make sure you do not leave this setting on when you go into production.

  • How to use the HTTP Analyzer with the embedded OC4J server?

    JDeveloper version: Studio Edition Version: 10.1.3.0.3.3412
    I have a web application, which I run in the embedded OC4J server.
    I tried to use the HTTP analyzer to inspect http requests and responses, but I could not make the analyzer work.
    I tried to setup the HTTP analyzer by looking at the help entry, but I could not make it work.
    If the HTTP analyzer works for you in the embedded OC4J server, please write the steps on how to setup the analyzer.
    (Maybe I could not make the correct settings about port numbers?)
    Thanks in advance,
    Regards,
    Turgay Zengin

    I was able to use the HTTP Analyzer by changing the proxy setting directly in Internet Options. Check the browser/proxy settings set in JDeveloper preferences and copy them to the Connections tab of Internet Options. See if that works for you.

  • How to set up data source for JDeveloper's embedded OC4J Server?

    Help needed. I Created a BMP EJB and tried to test
    it with JDeveloper's( version 9.0.3) embedded
    OC4J server. For JDBC, I created a data source
    in data-source.xml lacated in JdeveloperHome\j2ee\home\config. However,
    when I run the test client. I got the error
    from JNDI lookup:
    java.rmi.RemoteException: jdbc/entdatasource not found
    Could anybody with similar experience help?
    Thank you in advance.
    -John Wang

    Try making your changes in the data-source.xml located @ JDev_root\jdev\system9.0.3.1035\oc4j-config.
    You can tell that this is the one to be modified by watching the log when you start the OC4J server. Look for the line that says C:\JDEV\JDK\bin\javaw.exe -ojvm -classpath . . .
    the -config option will point to where the server.xml is used from, the same dir should be where you get your data-source.xml

  • HT4174 Not sure what I did but projects are not showing up in the video window as i skim... Event footage does but project footage has sound but the video screen is gray... Hwo do I get the vido to show in the viewer?

    Not sure what I did but projects are not showing up in the video window as i skim... Event footage does but project footage has sound but the video screen is gray... How do I get the vido to show in the viewer?

    So you can ping and nslookup from your ms to these agents and vice versa right?  I wouldn't do a manual install, I would push the agent from the management server.  You can uninstall the agent manually, or use cleanmom to get rid of them.  Then
    do an install from the console.  When you initiate the install from the console (management server), should it run into any issues it will dump out an error which will give you an idea of where the problem may be.
    From Holmans post on this:
    e MOM Server could not execute WMI Query "Select * from Win32_OperatingSystem" on 
    computer “servername.domain.com” 
    Operation: Agent Install 
    Install account: DOMAIN\account 
    Error Code: 800706BA 
    Error Description: The RPC server is unavailable.
    The MOM Server could not execute WMI Query "(null)” on 
    computer “servername.domain.com” 
    Operation: Agent Install 
    Install account: DOMAIN\account 
    Error Code: 800706BA 
    Error Description: The RPC server is unavailable.
    8004100A 
    800706BA
    1.  Ensure agent push account has local admin rights 
    2.  Firewall is blocking NetBIOS access.  If Windows 2008 firewall is enabled, ensure “Remote Administration (RPC)” rule is enabled/allowed.  We need port 135 (RPC) and the DCOM port range opened for console push through a firewall.  
    3.  Inspect WMI service, health, and rebuild repository if necessary 
    4.  Firewall is blocking ICMP  (Live OneCare) 
    5.  DNS incorrect 
    http://blogs.technet.com/b/kevinholman/archive/2009/01/27/console-based-agent-deployment-troubleshooting-table.aspx
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • I can't synch my iPhone with iTunes because the device does not show up in a device window when I plug it in...it's missing in action and thus I'm not able to add any content from the iTunes to my iPhone, e.g. podcasts

    I can't synch my iPhone with iTunes because the device does not show up in a device window when I plug it in...it's missing in action and thus I'm not able to add any content from the iTunes to my iPhone, e.g. podcasts.   All the instructions on synching start with "find your device in the device window".  But what if you have no device window?

    Missing "message" from above: The iPad "DGMTR" is synced with another iTunes library on DGMTR's MacBook Pro. Do you want to erase this iPad and sync with this iTunes library? An iPad can be synched with only one iTunes library at a time. Erasing and syncing replaces the contents of this iTunes library.
    I thought the libraries were the same.

  • My iPhone is not showing up in iTunes, or Windows Explorer.

    I have looked around searching and tried to uninstall everything that had anything to do with Apple and iTunes. Nothing worked. I also have gone into the computer managment and stopping and starting the apple managment and iPod service. Still, nothing worked. My iPhone will not show up in iTunes, nor Windows Explorer, when I plug it in I can hear the sound that when a device gets plugged into the computer.

    It sounds like you have a bad USB driver for the phone. That software is installed with iTunes. Like I said earlier, you need to make sure to uninstall everything using that support document. That clears out all Apple software. Do that without the phone attached to the computer of course. Once you have reinstalled everything, then try and connect it. It should load the USB driver and begin to work.
    Let me ask you this. How many pictures do you have in the camera roll? If you have a large number of them and  you have not imported them to the computer, there could be a corrupt picture causing you some problems. While that was known in the past to cause syncing problems, I thought that was fixed. If after you uninstalled iTunes the phone was recognized as a camera, I suggest importing the pictures and then deleting them from the camera roll and try the process all over with uninstalling and reinstalling iTunes. See if that helps.

  • Ipod touch will not show up in my computer windows 7

    My ipod touch will not show up in my computer ( windows 7 ) how do you resolve this issue ?

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

Maybe you are looking for

  • Mail says my home directory is full

    I've been having some major system problems of late. Following the successful restoration of my laptop's hard drive today I launched Mail. It was very sluggish & came up with the error message: "Mail cannot update your mailboxes because your home dir

  • Tutorial Announcement :: Creating A Shoutbox using ADDT

    Hi to all, Just added an ADDT tutorial on my website. Have a look and let me know how you get on with it. The link is http://www.grafikkaos.co.uk/article/48-Creating-a-shoutbox-using-ADDT/ Cheers, Emmanuel.

  • 3rd party junk mail filter for Mail?

    Does anybody know of one that works? I have been dutifully labeling junk mail as junk, and it just doesn't work. I am so sick of graphic images and lubricious subject lines. Anybody? Does anything exist that really works?

  • Variable SRUCTNEW is undefined?!?

    Hello, we recently upgraded to CF9.  One of the new features I want to play with is CFSPREADSHEET. In working with the sample code I have found (here and elsewhere), most work fine.  But certain functions return a "Variable XXXX is undefined" error.

  • Packing - Two different material are packed toghether on same box

    Hi Gurus, I bring problem during automatically packing on delivery creation Both material are packed toghether on same box ( I don't want it ) Both material are on same packing instruction for box Both material have target / minimun and rounding qty