JDeveloper, JSP in subdirectories

Hi all!
My problem is this:
I've created a subdir under public_html in my JDeveloper project, and created a new JSP subdir.jsp (file-new-web objects-jsp) and put it in this sub directory. When deploying to my local oc4j container, I get the following error:
Error: variable subdir$jsp.StaticText not found in class subdir.subdir
I've poked around in different doc files, and it seems to be a problem with the Oracle JSP translator?
Anyone seen this before, and how do I fix it?
This problem only appears when placing jsp's in subdirectories of public_html.
thanks in advance
Rune Engseth

This is a know bug, dont use the same name for the directory and the file.

Similar Messages

  • Where is oracle.jdeveloper.jsp.wb.PoolAdministrator in jdeveloper 10.1.3.2.

    Try to upgrade an old developed jsp page to use in Oracle application server 10g. However, when compile with jdeveloper 10.1.3.2.0 there's few error occured. Which one of it was oracle.jdeveloper.jsp.wb.PoolAdministrator no longer available. I thought i might have been deprecated, but there's no document found regarding this.
    Anyone know about this ?
    cheers,

    What release of JDeveloper are you using where you have a oracle.jdeveloper.jsp.wb.PoolAdministrator class?
    I checked the earliest build on my machine (9.0.3.4) and don't find it in there.

  • Cannot Download JDeveloper {JSP Error}

    I cannot download the JDeveloper from the link on the site. I get the below JSP error. Any other magic links?
    Monte Hansen
    JSP Error
    Exception:
    java.lang.NullPointerException
         at oracle.ebiz.common.connectionPool.ConnectionObject.setConnectionOk(Compiled Code)
         at oracle.emarket.reg.RegistrationBean.getLanguage(Compiled Code)
         at jsp.reg._register._jspService(Compiled Code)
         at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
         at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(Compiled Code)
         at oracle.jsp.JspServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at org.apache.jserv.JServConnection.processRequest(Compiled Code)
         at org.apache.jserv.JServConnection.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)

    OK, I tried again later and got thru.

  • Jdeveloper JSP-Struts (which is the right way to decalre a DataSource)

    Hello to all..
    I'am developing web application for a car assicuration.
    I would like to know which is the right "connection" (jndi name) to use in my application..
    I have made a JDBC connection to my production databse...
    Then I have made a Data Source from menu (Jdeveloper -> Tools -> Embeded Oc4J -> Current workspace -> Datasources...
    Here I have created a new DataSource from "Autocreate from IDE..."...
    My Question is.. which Class name I must use?
    Default class is: com.evermind.sql.DriverManagerDataSource
    I see that there is also a: oracle.jdbc.pool.OracleConnectionPoolDataSource..
    Which Class I must select? My application is used by many users online..
    Is there any axample on oracle to see how to use JNDI connections (connection pool)..
    I'am using Jdeveloper version: 10.1.2.1.0
    best regards
    Peter

    AFAIK all connections, DataSource ones included are created by calling the DriverManager. A DataSource is a factory for Connection objects (from JavaDocs)
    If you're talking about managing connections then it depends on the application. A DataSource is great for apps that can support many clients or are multi-threaded, but may require a JNDI implementation to get to it.
    If however you have an single threaded app that hits the database in a serial fashion, then DataSource is probably an overkill.
    Dave

  • Jdeveloper jsp compile problem:too large

    I am getting following error when i try to run the jsp page(I am using embedded oc4j10.1.3.3)
    Error: code segment of method _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) too large
    The jsp is over 2000 lines long.
    Any help would be appreciate.
    Thanks
    Kalee

    Hi,
    you can try and change the compiler to Javac
    Also you might want to think about jsp:includes that include JSP snippets from external files at compile time. A JSP with 2000 lines seems to be quite large and may better be broken up into pieces
    Frank

  • Search in JDeveloper forum

    Hi,
    I specify the following string to search in forum on JDeveloper: 'jsp:setProperty'.
    At a first a number of messages is displayed. But then, when I either try to sort
    messages by date, or try to see next 15 messages - I get the follwing message
    in my IE:
    An error in the system has occurred. Please contact the system administrator if the problem persists.
    type: java.lang.IllegalArgumentException
    java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "= "
    at java.net.URLDecoder.decode(URLDecoder.java:173)
    at com.jivesoftware.base.filter.HTMLFilter.isAcceptableURL(HTMLFilter.java:662)
    at com.jivesoftware.base.filter.HTMLFilter.cleanseTag(HTMLFilter.java:620)
    at com.jivesoftware.base.filter.HTMLFilter.doAdvancedFilter(HTMLFilter.java:436)
    at com.jivesoftware.base.filter.HTMLFilter.doFilter(HTMLFilter.java:351)
    at com.jivesoftware.base.filter.HTMLFilter.applyFilter(HTMLFilter.java:334)
    at com.jivesoftware.base.FilterChain.applyFilters(FilterChain.java:97)
    at com.jivesoftware.base.filter.XMLFilter.applyFilter(XMLFilter.java:65)
    at com.jivesoftware.base.FilterChain.applyFilters(FilterChain.java:97)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:144)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:152)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
    at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:170)
    at com.jivesoftware.forum.database.DbForumMessage.getBody(DbForumMessage.java:450)
    at com.jivesoftware.forum.proxy.ForumMessageProxy.getBody(ForumMessageProxy.java:104)
    at com.jivesoftware.forum.database.DbQuery.highlightResult(DbQuery.java:544)
    at com.jivesoftware.forum.proxy.QueryProxy.highlightResult(QueryProxy.java:158)
    at com.jivesoftware.forum.action.SearchAction.getHighlightedText(SearchAction.java:630)
    at searchresults.jspService(_searchresults.java:1047)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:298)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:81)
    at com.jivesoftware.base.util.webwork.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:49)
    at com.jivesoftware.forum.theme.ThemeAwareDispatcherResult.doExecute(ThemeAwareDispatcherResult.java:82)
    at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:109)
    at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.jivesoftware.forum.action.JiveExceptionInterceptor.intercept(JiveExceptionInterceptor.java:63)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.jivesoftware.base.action.JiveObjectLoaderInterceptor.intercept(JiveObjectLoaderInterceptor.java:56)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at oracle.wocapps.forum.action.OracleLocaleInterceptor.intercept(OracleLocaleInterceptor.java:74)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:71)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
    at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
    at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
    at com.jivesoftware.base.util.JiveWebWorkServlet.service(JiveWebWorkServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at com.jivesoftware.util.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java:53)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at com.jivesoftware.base.PresenceFilter.doFilter(PresenceFilter.java:113)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at com.jivesoftware.util.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:48)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    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)
    Something worng with search engine?
    Regards, Leonid.

    The box at the top left of the browser window (beside the round
    toolbar buttons).
    The forum team are working on improving the search facility.
    See the discussion forum forums for details.
    Thanks,
    Brian
    JDeveloper Team

  • Applet in JSP page

    Hello! I wrote an applet and try to put in jsp page in JDeveloper:
    <jsp:plugin type="applet" code="CompositeTest.class"
    width="400" height="400">
    <jsp:fallback>
    <p>Unable to load applet</p>
    </jsp:fallback>
    </jsp:plugin>
    and I copy the class file to folder where the JSP page is located. When I start Jsp page I have a message: "Applet not found"
    What I do wrong??? PLZ Help!
    BEST REGARDS

    Hi,
    I am not sure the JSP file, which resides in the public_html directory, is part of the class path of the running application. If you open the project properties, you can see where JDeveloper looks for Java classes. Try and extend this setting to include the public_hml directory (you can also try and just add the source as a library path (see library section))
    Frank

  • Using web beans in JSP

    I would like to know how create a tree using Web Beans that Jdeveloper provides. Using the web object editor I could add two Beans which mapped to JSTree and JSTreeData(in oracle.jdeveloper.jsp.wb package), though I don't know the difference between them. I tried to include Both these beans in the JSP(which appear as tags) but I am unable to render the tree. Let's say I have a parent node (text: row1, url: url1, 3 childs) and 3 child nodes (text: row2..row4, url: url2..url4, each with no childs). How do I write it in the JSP to render it properly
    -Rajeev

    I would like to know how create a tree using Web Beans that Jdeveloper provides. Using the web object editor I could add two Beans which mapped to JSTree and JSTreeData(in oracle.jdeveloper.jsp.wb package), though I don't know the difference between them. I tried to include Both these beans in the JSP(which appear as tags) but I am unable to render the tree. Let's say I have a parent node (text: row1, url: url1, 3 childs) and 3 child nodes (text: row2..row4, url: url2..url4, each with no childs). How do I write it in the JSP to render it properly
    -Rajeev

  • JDeveloper doesn't load browser for servlets

    I have JDeveloper 3.1.1.2 and am trying to
    use it to run servlets under Win98. The
    problem is that when it runs a servlet, it
    doesn't load my web browser, IE 5.0. The
    IDE recognizes the servlets for what they
    are and lets me register them with the
    Web Objects wizard. Why doesn't it load
    my browser?
    When i run a servlet inside of JDeveloper
    it writes the following to WebAppRunner.html:
    JDeveloper JSP Server - Exception Occurred
    CreateProcess: cmd.exe /C start "" "C:\Program Files\Oracle\JDeveloper 3.1.1.2\myhtml\WebAppRunner.html" error=0
    java.io.IOException: CreateProcess: cmd.exe /C start "" "C:\Program Files\Oracle\JDeveloper 3.1.1.2\myhtml\WebAppRunner.html" error=0
    at java.lang.Win32Process.(Win32Process.java:51)
    at java.lang.Runtime.exec(Runtime.java:167)
    at java.lang.Runtime.exec(Runtime.java:129)
    at oracle.jdeveloper.debugger.ServletDebugger.setupWtgAndRunBrowser(ServletDebugger.java:248)
    at oracle.jdeveloper.debugger.ServletDebugger.startListening(ServletDebugger.java:263)
    at oracle.jdeveloper.debugger.WebServerThread.run(WebServerThread.java:66)
    null

    jdeveloper is only certified on win nt 4 or win 2000.
    win 95, 98 and 'me' have never been certified as a supported development platform.

  • HOW TO: Debug a remote JSP

    <h1>HOW TO: Debug a remote JSP</h1>
    <strong>Note: </strong>The process of debugging a remote JSP on an Apache/Jserv
    installation involves a couple extra steps that were not covered in the JDeveloper
    3.2 documentation. </p>
    <strong>Introduction</strong></p>
    You use JDeveloper to debug JavaServer Pages (JSP) deployed and running on
    a server that includes a JSP container, such as Apache Jserv. Your JSP container
    will need to be configured to enable remote JSP debugging using JDeveloper.</p>
    JDeveloper allows you to use one of two protocols for JSP debugging - the
    Oracle Java Virtual Machine (OJVM) debugging protocol or the Sun Java Platform
    Debugging Architecture (JPDA). Before you start your remote debugging session,
    you will have to choose which method to use. If you use the OJVM protocol, your
    debugging session will run more quickly and you will have some additional features
    to assist you. You can only use OJVM on a Windows NT system. If your server
    is running UNIX or another operating system, you <strong>must</strong> use the
    &quot;classic&quot; JVM.</p>
    <strong>Setting up your project for remote JSP debugging</strong></p>
    Once you have created a JSP project, you need to set your project options
    so that remote debugging is enabled: </p>
    <ol>
    From the <strong><u>P</u>roject</strong> menu, select <strong><u>P</u>roject
    Properties</strong>. </p>
    </li>
    Click the <strong>Run/Debug</strong> tab.</p>
    </li>
    From <strong><u>D</u>ebug Files As:</strong> dropdown list, select <strong>Remote
    Debugging</strong>. </p>
    </li>
    Click <strong>OK</strong>. </p>
    </li>
    </ol>
    <strong>Configuring the Remote Server</strong></p>
    The following options must be changed on the host running the Apache/Jserv
    server. These instructions assume the server is running Windows NT: </p>
    <strong>Changes to jserv.properties</strong></p>
    These options control which Java Virtual Machine is used and how it is loaded.
    </p>
    <ol>
    For <em>The Java Virtual Machine interpreter</em> parameter <tt>wrapper.bin</tt>:
    </p>
    </li>
    <ul>
    [*]Comment out any existing entries by putting a <tt>#</tt> at the beginning
    of the line.
    <blockquote>
    <pre>#wrapper.bin=C:\java1.1.8\bin\java.exe</pre>
    </blockquote>
    </li>
    [*]Add a new entry with the full path of the <tt>java.exe</tt> that you want
    to use. To use the JDeveloper 1.3 OJVM, put
    <blockquote>
    <pre>wrapper.bin=C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin\java.exe</pre>
    </blockquote>
    </li>
    </ul>
    For the <em>Arguments passed to Java interpreter</em> parameter <tt>wrapper.bin.parameters</tt>:
    The value you put for this parameter depends on which Debugging Protocol
    you will choose in the <strong>Remote Debugging Dialog</strong> in JDeveloper
    when you start debugging.</p>
    </li>
    <ul>
    [*] If you want to use the JDeveloper 3.2 OJVM, put </li>
    <blockquote>
    <pre>wrapper.bin.parameters=-ferrari -XXdebugondemandquietport4000</pre>
    </blockquote>
    [*]If you want to use Java Platform Debugging Architecture, put
    <blockquote>
    <pre>wrapper.bin.parameters=-classic -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -Xdebug -Xnoagent -Djava.compiler=NONE</pre>
    </blockquote>
    The <tt>4000</tt> parameter defines the port number which the JDeveloper
    debugger will use to communicate with the server. You can specify a different
    port number, but it must match the port which you will enter in the <strong>Remote
    Debugging Dialog</strong> in JDeveloper when you start debugging. </p>
    </li>
    </ul>
    [*] For the <em>PATH environment value passed to the JVM</em> parameter <tt>wrapper.path</tt>
    enter the location of <tt>jdwp.dll</tt>, which is part of the <em>Java Platform
    Debugging Architecture</em>.
    This parameter is only necessary if you will choose the <em>Java Platform
    Debugging Architecture</em> debugging protocol:</p>
    <blockquote>
    <pre>wrapper.path=C:\jpda\bin</pre>
    </blockquote>
    </li>
    For the <em>CLASSPATH environment value passed to the JVM</em> parameter
    <tt>wrapper.classpath</tt>: </p>
    <ul>
    Keep the location of <tt>ApacheJServ.jar</tt>. If it is not already
    there, add it. </p>
    <blockquote>
    <pre>wrapper.classpath=C:\Program Files\Apache\JServ\ApacheJServ.jar</pre>
    </blockquote>
    </li>
    Comment out the location of <tt>jsdk.jar</tt>. </p>
    <blockquote>
    <pre>#wrapper.classpath=C:\jsdk2.0\lib\jsdk.jar</pre>
    </blockquote>
    </li>
    [*]Add the location of <tt>servlet.jar</tt> from JDeveloper 3.2.
    <blockquote>
    <pre>wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\servlet.jar</pre>
    </blockquote>
    </li>
    [*] Add the locations of <code>jdeveloper.zip</code> and <code>ojsp.jar</code>
    from JDeveloper.
    <blockquote>
    <pre>
    wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\jdeveloper.zip
    wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\ojsp.jar
    </pre>
    </blockquote>
    </ul>
    </ol>
    <strong>Changes to jserv.conf</strong></p>
    <ol>
    For the <em>ApJServAction</em> parameter: </p>
    <ul>
    [*] Comment out any existing <tt>ApJServAction .jsp</tt> entries by putting
    a <tt>#</tt> at the beginning of the line. </li>
    <blockquote>
    <pre>
    #ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
    </pre>
    </blockquote>
    [*]Add a new <tt>ApJServAction .jsp</tt> entry like this.
    <blockquote>
    <pre>
    ApJServAction .jsp /servlets/oracle.jsp.JspServlet
    </pre>
    </blockquote>
    </li>
    </ul>
    </li>
    </ol>
    <strong>Changes to zone.properties</strong></p>
    <ol>
    In the <em>Servlet Init Parameters</em> section: </p>
    </li>
    <ul>
    Add the following lines. </p>
    <pre>
    servlet.oracle.jsp.JspServlet.initArgs=emit_debuginfo=true
    servlet.oracle.jsp.JspServlet.initArgs=jspcompiler=oracle.jdeveloper.jsp.JspOjcCompiler
    servlet.oracle.jsp.JspServlet.initArgs=classpath=C:\Program Files\Oracle\JDeveloper 3.2\java1.3\jre\lib\rt.jar
    </pre>
    </li>
    </ul>
    </ol>
    <strong>Copying the JSP to the Apache/Jserv Server</strong></p>
    Once you have restarted the server with the modified parameters, you need to
    copy your JSP to the server's HTML root directory. For most Apache installations
    this is <tt>C:\Program Files\Apache\htdocs</tt>. </p>
    You also need to make sure the JSP is in your HTML directory in the JDeveloper
    tree, typically <tt>C:\Program Files\Oracle\JDeveloper 3.2\myHTML</tt>. The
    reason for this is JDeveloper uses the folder name as its package name.</p>
    <strong>Debugging a JSP</strong></p>
    Debugging a JSP is very similar to debugging any other Java program.</p>
    <ol>
    From the <strong><u>R</u>un</strong> menu, select <strong><u>D</u>ebug
    "<em>filename</em>.jsp"</strong>. </p>
    Start the JSP running (for example, start your web browser and open a
    connection to the JSP). </p>
    Debug as normal. </p>
    </ol>
    If you are using the JDeveloper OJVM debugging protocol, you will be able
    to disconnect from the JSP container. This allows you to stop debugging, but
    leave the JSP container running. In addition, you will be able to use two extra
    debugging functions that are not available using the JDPA protocol - <strong>Run
    to End of Method</strong> and <strong>Set Next Statement</strong>.</p>
    If you using JPDA, you must use <strong>Stop</strong> to end your debugging.
    Using this method will also stop the JSP container.</p>
    <blockquote>
    <strong></strong></p>
    </blockquote>
    null

    Hi,
    It again same as you do in your local server...You can monitor the BPEL process flow in the em console and debug..if its not sufficient....u can also monitor the logs located at
    <SOA_Home>\user_projects\domains\domain1\servers\soa_server1\logs to debug.

  • PlSql Package in Jdeveloper

    I want to use Plsql packages for insert/update/delete in Jdeveloper Jsp forms . Can anyone help me regarding this . Thanks in Advance
    Thanks
    N.Nagarajan

    Or you could create an EntityObject based on a view, and have your Pl/SQL package called by "instead of" triggers on this view. This way, you keep a consistent interface between various applications (for instance, a BC4J application and something built with PHP).

  • JDev3.2/JSP/JSTree

    Here's what I want to do...
    <jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTreeData" id="myTree_Data" scope="request">
    <%
    myTree_Data.setName("myTreeJS_Data");
    myTree_Data.initialize(pageContext);
    myTree_Data.addRow("1.0","closed",3,request.getRequestURI(),true);
    myTree_Data.addRow("1.1","open",0,"",true);
    myTree_Data.addRow("1.2","closed",2,request.getRequestURI(),true);
    myTree_Data.addRow("1.2.1","open",0,"",true);
    myTree_Data.addRow("1.2.2","open",0,"",true);
    myTree_Data.addRow("1.3","open",0,"",true);
    myTree_Data.addRow("2.0","closed",3,request.getRequestURI(),true);
    myTree_Data.addRow("2.1","open",0,"",true);
    myTree_Data.addRow("2.2","open",0,"",true);
    myTree_Data.addRow("2.3","closed",4,request.getRequestURI(),true);
    myTree_Data.addRow("2.3.1","open",0,"",true);
    myTree_Data.addRow("2.3.2","open",0,"",true);
    myTree_Data.addRow("2.3.3","open",0,"",true);
    myTree_Data.addRow("2.3.4","open",0,"",true);
    myTree_Data.render();
    %>
    </jsp:useBean>
    <jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTree" id="myTree" scope="request" >
    <%
    myTree.setName("myTreeJS");
    myTree.setDataSource("myTreeJS_Data");
    myTree.initialize(pageContext);
    myTree.render();
    %>
    </jsp:useBean>
    Here are two parent items (closed) that contain child items (and some of the children have children themselves).
    What I want to do is use the (+) to selectively expand portions of the tree and unexpand them at will.
    I believe that using request.getRequestURI() is not what I want to use in this case for each of the 'Parent' nodes that can be expanded to show children.
    Any ideas?

    I met the same problem in my project. Have you already found out the answer? If you do, would you mind to pass your secret to me?
    I have tried to bepass the Oracle JSTree. You can create your own tree by looking some examples in www.dynamicdrive.com.

  • Creating Tab pages using JSP

    Can anyone help me in creating Tab Pages using JSP ?

    in JDeveloper 3.1 or greater version
    you have JSP Element wizard
    on riht click on mouse you choise JSP Element wizard
    end JSTabContainer
    or you write folowing code(example):
    <jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTabContainer" id="tbc" scope="request" >
    <%
    tbc.setName("tbc");
    tbc.setTitle("Dr`avi");
    tbc.setHelpText("Drzavi");
    tbc.setUseModalPage(true);
    tbc.setInitialTab(1);
    tbc.setTopFrameURL("DrzaviView_Top.jsp?tc=tbc");
    tbc.setBottomFrameURL("ViewBottom.jsp?tc=tbc");
    tbc.initialize(pageContext);
    tbc.addTab("Tab1", "DR@AVA", "DrzaviView displayed using the Row Viewer", "", "DrzaviView_RowViewer.jsp", true, true, false, null);
    tbc.addTab("Tab2", "DR@AVI", "DrzaviView displayed using the Rowset Browser", "", "DrzaviView_Browse.jsp", true, true, false, null);
    tbc.render();
    %>
    </jsp:useBean>

  • Design view of jspx not rendering : Error exercising tag : afh:head

    I'm using JDeveloper 10.1.3.4 and I have an intermittent problem where by the jspx does not render correctly in design view - it just shows a whole load of nested boxes.
    By following a suggestion from another website I turned on "Design time messages in log" in jdeveloper JSP visual editor preferences.
    The error messages being sent to the log window are :
    Error exercising tag : afh:head
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.AdfRenderingContext.getTranslatedString(AdfRenderingContext.java:70)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet.outputScriptletContent(GlobalVariablesScriptlet.java:49)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.Scriptlet.outputScriptletImpl(Scriptlet.java:111)
    Error exercising tag : af:forEach
    javax.servlet.jsp.JspTagException: 'begin' and 'end' should be specified if 'items' is not specified
         at oracle.adfinternal.view.faces.taglib.ForEachTag._validateAttributes(ForEachTag.java:320)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:93)
    Error exercising tag : afh:body
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleClass(CoreAdfRenderingContext.java:211)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.XhtmlRenderer.renderStyleClass(XhtmlRenderer.java:338)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer._renderLibraryDownloadElement(PanelPartialRootRenderer.java:480)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderPPRSupport(PanelPartialRootRenderer.java:340)
    How can I fix this ?
    Cheers,
    Brent

    Hi Didier,
    Sorry, intermittent problem is not very descriptive ! What I actually meant is that some of my applications have the problem while others dont. Once the problem exists, it always does regardless of restarting JDeveloper.
    Starting JDeveloper using the console provided similar error message to outputting the JSP visual editor to the log file :
    SEVERE: Element End name:head does not match start name:script
    04-Dec-2009 17:28:38 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElem
    ent
    SEVERE: Element End name:html does not match start name:div
    Reading other posts, problems seemed to stem from errors within the faces-config or web.xml files so I compared them between apps displaying pages correctly and ones that weren't. I found a difference in the filter-mapping section of the web.xml. Changing the entries to match the applications that displayed correctly has worked !!
    The entries for the apps that didn't display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping> 
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>ordDeliverMedia</servlet-name>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jspx</url-pattern>
      </filter-mapping>... and the entries for the apps that did display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping>Somehow the filter-mapping entries for the adfFaces and adfBindings filter got all screwed ? Strange as the application has always worked fine, the only (obvious) problem has been the jspx pages not rendering properly in design view.
    Once updating the web.xml with the correct value for these two entries, the pages are displayed correctly :)
    While I don't like blindly making changes like this to the web.xml - the application still seems to function !
    Cheers,
    Brent

  • Bug:  HTML table row with id on design mode does not display properly

    JDeveloper studio edition version 10.1.3.3.0.4157
    Created a very simple JSP file, which has a table of 3 rows, 3 columns.
    Added id attr to second row, JDeveloper does not recognize the row in Design mode. See sample code below.
    <html>
    <head>
    <title>JDeveloper JSP Design Mode tr with ID</title>
    </head>
    <body>
    <table cellspacing="0" cellpadding="5" border="1" width="300">
    <tr><td>1</td><td>2</td><td>3</td></tr>
    <tr id="row2"><td>4</td><td>5</td><td>6</td></tr>
    <tr><td>7</td><td>8</td><td>9</td></tr>
    </table>
    </body>
    </html>

    Thanks for your quick response.
    I will post another bug. Please check.
    thanks!

Maybe you are looking for