GetNetuiTagName functioning in Workshop 8.1?

Hellos,
I've tried to utilize Javascript for a couple of functions and it appears that
the getNetuiTagName functions aren't being generated by the <netui:html> tag as
is suggested by the documentation. The tagId parameter of various tags doesn't
seem to get passed on to the rendered html either. Are these features that just
didn't quite make it into the July release of 8.1 Workshop or are they there and
I'm most likely using them incorrectly?
My reality check was to develop a simple web app via the wizards using a rowset
control. This results in the basic structure and utilizes a template.jsp in the
resources directory. That template.jsp contains the uber <netui:html> tag. Running
the web app takes you to the page identified in the begin action, but viewing
the source doesn't show any javascript functions for getNetuiTagName as is suggested
here:
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/taglib/www.bea.com/workshop/netui-tags-html-1.0/html.html?skipReload=true
Adding tagID attributes to the columns or adding them to tags on a details page
to eliminate any potential issues regarding repeating tags doesn't seem to propogate
those IDs to the HTML. Viewing source and searching for tag "foo" that was identified
within a tagID returns nothing.
Is there something more that I'm missing in order to make these attributes and
tags perform as expected?
Thanks for the help,
Morgan

Hellos,
I'am working with bea workshop 8.1.2 (2003.1211)
But I've the same problem describe before.
I can't write into a textbox via a javascript function, indeed the source
code generated by bea is the folowwing :
<input type="text" name="{actionForm.avantDateHeureMessage}" size="10" value="date"/>
(here is my code :<netui:textBox defaultValue="date" tagId="date" dataSource="{actionForm.apresDateHeureMessage}"
size="10"/>)
My attribute "tagid" doesn't work ...
Thanks for help
Renard Eloise,
e-mail : [email protected]
"Daryl Olander" <[email protected]> wrote:
This is a feature that had a bunch of work done on it in SP2. The support
in the 8.1 release had a bunch of issues. The tagId doesn't result in
an id
attribute in the generated HTML, but should instead result in the lookup
table and getNetuiTagName() method. There was a known bug that using
templates with the <netui:html> tag didn't work. This has been fixed
in
SP2.
"Morgan" <[email protected]> wrote in message
news:[email protected]...
Hellos,
I've tried to utilize Javascript for a couple of functions and it appearsthat
the getNetuiTagName functions aren't being generated by the <netui:html>tag as
is suggested by the documentation. The tagId parameter of varioustags
doesn't
seem to get passed on to the rendered html either. Are these featuresthat just
didn't quite make it into the July release of 8.1 Workshop or are theythere and
I'm most likely using them incorrectly?
My reality check was to develop a simple web app via the wizards usinga
rowset
control. This results in the basic structure and utilizes a template.jspin the
resources directory. That template.jsp contains the uber <netui:html>tag. Running
the web app takes you to the page identified in the begin action, butviewing
the source doesn't show any javascript functions for getNetuiTagNameas is
suggested
here:
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/taglib/www.bea.com/workshop/netui-tags-html-1.0/html.html?skipReload=true
Adding tagID attributes to the columns or adding them to tags on adetails
page
to eliminate any potential issues regarding repeating tags doesn'tseem to
propogate
those IDs to the HTML. Viewing source and searching for tag "foo"that
was identified
within a tagID returns nothing.
Is there something more that I'm missing in order to make these attributesand
tags perform as expected?
Thanks for the help,
Morgan

Similar Messages

  • Pop up window, and window.opener function using workshop?

    hi,
    pop up window, and window.opener function using workshop?
    hi,
    i am having two folders.
    one folder having
    abc.jpf file,
    test1.jsp
    second folder having
    xyz.jpf
    test2.jsp
    i am using weblogic workshop8.1
    i need to call test2.jsp as pop up window
    from test1.jsp.
    i need to pass value from test1.jsp to test2.jsp
    again i need pass value from test2.jsp to test1.jap
    normal jsp programming we can use window opener
    javascipt function to do above.
    same thing how to us in weblogic workshop?
    any can help?
    thanks,
    jp reddy

    Hi,
    assuming action.do is the action method of ....../folder1/abc.jpf you can try out this in the test1.jsp,
    function openNameHistory(url) {
    var args = "<%= request.getContextPath() %>/folder1/"+url;
         window.showModalDialog(args,'','dialogHeight:320px;dialogWidth:600px;scroll:yes;status:no');
    <netui:anchor href="javascript:openNameHistory('action.do')">Name History</netui:anchor>
    u need not specify the abc.jpf in the url because , workshop allows only one jpf per folder
    hope this helps...
    regards
    shakan

  • Lazy form bean functionality in 8.1.4

    Hi All!
    Is there any functionality in Workshop 8.1.4 which similar to struts lazy form bean functionality? I can't find any doc or example or forum item about it.
    I need it to implement a functionality where my html form generated runtime and don't know in advance how many and what type of fields will it contain.
    Any suggestion should be highly appreciated!
    Thanks in advance!
    S.

    I can't be sure about exactly what's happening here, but I can point out several things.
              The class "javax.servlet.jsp.el.VariableResolver" is associated with JSTL 1.1.x, and JSP 2.0. It's not part of JSTL 1.0.x. Make sure you really have version 1.0.6, and don't have 1.1 somewhere.
              If you're just trying to use the JSTL, you shouldn't need several of those jars that you're presently including. You only need jstl.jar and standard.jar.
              Why are you using the "rt" versions of these taglibs? Those don't even use the expression language. I would remove "_rt" from all of those references.
              Note that if you're using Struts and the JSTL, you probably want to use Struts-EL, which is a version of the Struts jar that uses the EL to evaluate attribute values. Check the struts-user archive for some information about this. You'll find the struts-el distribution in the "contrib" directory of the Struts distribution.

  • Netui:radioButtonGroup and getNetuiTagName errors?

    Hi,
    I can't seem to get the value from my netui:radioButton group in javascript by using the getNetuiTagName function. When I submit the form and it calls the javascript, the javascript yells that it is undefined" even if I hard code one of the values in the pageFlow. The radio button will show it is selected, but I get the undefined. The javascript will focus on the individual options, but not recognize the the main datasource. What am i missing??
    Thanks,
    Wendy
    Here are the snippets of code i have:
    from javascript:
    function validateForm() {
    var methodType = document.forms[getNetuiTagName('customerSearchForm', this)][getNetuiTagName('searchMethod', this)].value;
    jsp:
    <netui:form action="updateCustomerRecord" tagId="customerSearchForm">
    <netui:radioButtonGroup tagId="searchMethod" defaultValue="ssn" dataSource="{pageFlow.method}" >
    <netui:radioButtonOption tagId="inquiryIDOption" value="id">Inquiry ID</netui:radioButtonOption> <br/>
    <netui:radioButtonOption tagId="lastNameOption" value="lastName">Customer Last Name</netui:radioButtonOption> <br/>
    <netui:radioButtonOption tagId="ssnOption" value="ssn">Customer SSN</netui:radioButtonOption>
    </netui:radioButtonGroup>
    <netui:button action="searchForRecords"
    value="Search" type="submit"
    onClick="validateForm(); return false;"
    accessKey="s" />
    </netui:form>

    Your first problem can be solved by changing your radiobuttonoptions to this:
              <td><netui:radioButtonOption value="1"> </netui:radioButtonOption></td>
              I'm not sure about your second problem...

  • What is wrong with the migrated project? (8.1 to 10.3)

    Hi all,
    I've "inherited" an old WebLogic 8.1 app that is to be migrated to WebLogic 10.3. I've run it through the migration/upgrade functionality in Workshop 10.3, fixed the compile errors, and dealt with the most obvious (to me) cases of deprecated class use. The app, from what I've been told, was originally coded using the old non-eclipse-based workshop 8.1, using PageFlows.
    The app, however, when I run it, still produces some warnings, and does not behave correctly. I've probably missed some crucial step in the migration process. Though I've worked a great deal with (Non-j2EE) Java before, I'm very green when it comes to the intricacies of WebLogic applications. I'm hoping that someone wiser than I can shed some light on what I've missed.
    At startup:
    <17-09-2009 10:07:43 CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: MessageBufferTopicBean is unable to connect to the JMS destination: weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_TOPIC. The Error was:
    Can not get distribute destination information. The destination JNDI name is weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_TOPIC, the provider URL is null>
    <17-09-2009 10:07:43 CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: MessageBufferBean is unable to connect to the JMS destination: weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_QUEUE. The Error was:
    Can not get distribute destination information. The destination JNDI name is weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_QUEUE, the provider URL is null> then when accessing order page
    <[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "622" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@18bcbb[
    GET //pub/order.jsp HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
    Accept-Language: da
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
    Connection: Keep-Alive
    Cookie: JSESSIONID=Lvp3KxndMydGSq6RP4pPH2Krvy05NGkx0120Wp1G3W1kdmWGLP72!-738502403
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-33 "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, waiting, priority=1, DAEMON> {
        -- Waiting for notification on: weblogic.jsp.internal.client.JobWaiter@2edf62[fat lock]
        java.lang.Object.wait(Object.java:???)
        java.lang.Object.wait(Object.java:485)
        weblogic.jsp.internal.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
        weblogic.jsp.internal.client.ClientUtilsImpl.build(ClientUtilsImpl.java:353)
        weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:67)
        weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
        weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
        ^-- Holding lock: weblogic.servlet.jsp.JavelinxJSPStub@58c61b[thin lock]
        weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:352)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
        weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
        org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:349)
        ^-- Holding lock: pub.PubController@4cd2ed[thin lock]
        org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:100)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3468)
        weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
        weblogic.security.service.SecurityManager.runAs(Unknown Source)
        weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2116)
        weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2038)
        weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1372)
        weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
        weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    >
    <17-09-2009 10:23:12 CEST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "688" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@18bcbb[
    GET //pub/order.jsp HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
    Accept-Language: da
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
    Connection: Keep-Alive
    Cookie: JSESSIONID=Lvp3KxndMydGSq6RP4pPH2Krvy05NGkx0120Wp1G3W1kdmWGLP72!-738502403
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-33 "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, waiting, priority=1, DAEMON> {
        -- Waiting for notification on: weblogic.jsp.internal.client.JobWaiter@2edf62[fat lock]
        java.lang.Object.wait(Object.java:???)
        java.lang.Object.wait(Object.java:485)
        weblogic.jsp.internal.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
        weblogic.jsp.internal.client.ClientUtilsImpl.build(ClientUtilsImpl.java:353)
        weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:67)
        weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
        weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
        ^-- Holding lock: weblogic.servlet.jsp.JavelinxJSPStub@58c61b[thin lock]
        weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:352)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
        weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
        org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:349)
        ^-- Holding lock: pub.PubController@4cd2ed[thin lock]
        org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:100)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3468)
        weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
        weblogic.security.service.SecurityManager.runAs(Unknown Source)
        weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2116)
        weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2038)
        weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1372)
        weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
        weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    >
    <17-09-2009 10:23:47 CEST> <Warning> <com.bea.wlw.netui.script.el.CompatImplicitObjectUtil> <BEA-000000> <Could not create a ContextFactory for type "com.bea.netuix.servlets.script.PortalVariableResolver$PortalContextFactory" because the ContextFactory implementation class could not be found.> and when trying to progress to the next step in a pageflow
    <17-09-2009 10:58:13 CEST> <Error> <org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler> <BEA-000000> <Could not find exception handler method handleException for java.lang.NullPointerException.>
    <17-09-2009 10:58:13 CEST> <Error> <org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler> <BEA-000000> <Could not find exception handler method handleException for java.lang.RuntimeException.>
    [] Unhandled exception caught in Global.app:
    java.lang.NullPointerException
         at pub.PubController.OrderStepOne(PubController.java:85)
         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:597)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2121)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:159)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    I have experienced the same problem in which I finally give up trying LookOut connection browser.  After few follows, you can not even see the display on the screen anymore.  Close the connection browser and reopen again then everything goes fine, but it will crap out again after few follows.
    Frank Nguyen

  • How to get the tag name into javascript

    Hi,
    Is there any way to get the tag name into java script when user clicks on.
    For eg: if i use netui:anchor tag, how can I pass the tag id to the javascript when user clicks on the link using onClick attribute. This tag id needs to be evaluated at run time.
    Ex code is given below.
    function fun1(){
    // how to get the tag name;
    <%
    String st="hai";
    %>
    <netui:anchor action="x" onClick="fun1()" tagId="<%=st%>>
    I want to get this tagId (st) to the java script function fun1() when user clicks on this link. How can I do that. can you please help in this issue.
    Thanks,
    Satish.

    Hi,
    You can set the java variable as a js variable at run time:
    <script>
    var anchorName = <%=getNetuiTagName%>;
    function fun1()
    var anchorID = getNetuiTagName(anchorName);
    alert(anchorID);// this will show the rendered ID for the anchor specified
    </script>
    this works because the jsp variable will be rendered before the js.
    Thanks,
    Steve

  • Oracle Service Bus - Assign Variables with max occurs of unbounded

    Hello,
    I have the following response document from a call to a Tuxedo Service. I need to assigned the values for all &lt;SOC&gt; tags below to the response document which was created with a min occurs of 1 and max occurs of unbounded. When I try to assign the values from all &lt;SOC&gt; tags from the response document below, only the first value of SOC get assigned. When I run a test in the XQuery Expression Editor, I get back all 7 values for SOC below using the following expression: $outputCsLsSrvAgr00/SOC. However, the variable this data gets assigned to only has the first SOC node.
    &lt;FML32&gt;
    &lt;SERVICE_TYPE&gt;R&lt;/SERVICE_TYPE&gt;
    &lt;SERVICE_TYPE&gt; &lt;/SERVICE_TYPE&gt;
    &lt;SERVICE_TYPE&gt; &lt;/SERVICE_TYPE&gt;
    &lt;SERVICE_TYPE&gt;P&lt;/SERVICE_TYPE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080924&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SERVICE_TYPE&gt;R&lt;/SERVICE_TYPE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080802&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SERVICE_TYPE&gt;R&lt;/SERVICE_TYPE&gt;
    &lt;SOC&gt;DTMMSBUIN&lt;/SOC&gt;
    &lt;SOC&gt;FN0132007&lt;/SOC&gt;
    &lt;SOC&gt;DTUNLB004&lt;/SOC&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080922&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080924&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080608&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080924&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SOC_EFFECTIVE_DATE&gt;20080923&lt;/SOC_EFFECTIVE_DATE&gt;
    &lt;SERVICE_TYPE&gt;R&lt;/SERVICE_TYPE&gt;
    &lt;SOC&gt;VMA0.00&lt;/SOC&gt;
    &lt;SOC&gt;OUTRSTRCN&lt;/SOC&gt;
    &lt;SOC&gt;SMSBAN202&lt;/SOC&gt;
    &lt;SOC&gt;VM&lt;/SOC&gt;
    &lt;/FML32&gt;
    Can someone tell me how to populate the response variable structures with all 7 values of SOC?
    Thanks,
    David Walaski

    can you post your schema, this XML looks strange, there seems to be no order or logic to the way it is being represented.
    This could be causing you the issues. The test function in workshop can behave differently to when run at runtime.
    cheers
    James

  • Java Stored Procedure via Function Give 0RA 600 from SQL Workshop and App

    Hi,
    Anyone experienced stored procedures or functions failing when called from APEX app or SQL Workshop ( ora 600 ) yet they work fine when called from SQLPlus?
    Sqlplus connected as my apex workspace schema owner:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    RESULT
    The database connection attempt was SUCCESSFUL
    From Apex Sql Worshop:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    ORA-00600: internal error code, arguments: [16371], [0x434B08150], [0], [], [], [], [], [], [], [], [], []
    NOTE: Same result when run in response to button push on page in application.
    Apex Version: 3.2.1.00.10
    Oracle Version: 11.1.0.7.0
    NOTE: I am using the embedded plsql gateway; was going to try NOT using it to see if it was shared server related (seemed to be from trc files)
    Any ideas?
    Since the code works from sqlplus, I know that it's good: Here some snippets
    -- ========================================================================================
    public class NetServices extends Object {
    public static String doTestDbConnectionViaLdap
    String piDbConnUrl,
    String piUserName,
    String piUserPassword
         String vResult = null;
    try
         Connection conn = null;
         OracleDataSource ods = new OracleDataSource();
         ods.setUser( piUserName );
         ods.setPassword( piUserPassword );
         ods.setURL( piDbConnUrl );
         conn = ods.getConnection();
         conn.close();
         vResult = "The database connection attempt was SUCCESSFUL";
    } catch ( SQLException e )
         int vErrCode = e.getErrorCode();
         String vErrMsg = e.toString();
              if ( vErrCode == 1017 ) {
              vResult = "The database connection attempt FAILED! Incorrect Username or Password";
         } else if ( vErrCode == 17433 ) { // Null Username or Password
              vResult = "The database connection attempt FAILED! You must provide both a Username and a Password";
         } else if ( vErrCode == 17002 ) {
              vResult = "The database connection attempt FAILED! Net Service Name was Not Found";
         } else if ( vErrCode == 17067 ) { // NULL Net Service Name
              vResult = "The database connection attempt FAILED! You must provide a Net Service Name";
         } else {
              vResult = "The database connection attempt FAILED! Error " + vErrCode;
    return vResult;
    } // method: doTestDbConnectionViaLdap
    -- ========================================================================================
    function do_test_db_connection_via_ldap
    pi_db_conn_url IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2
    return VARCHAR2
    is -- PRIVATE to the net_services package
    language java -- NOTE: See cr_java_class_NetServices.sql for actual java implementation
    name 'NetServices.doTestDbConnectionViaLdap
    ( java.lang.String, java.lang.String, java.lang.String ) return java.lang.String ';
    -- ========================================================================================
    function test_db_connection_via_ldap
    pi_net_service_name IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2,
    pi_search_base IN VARCHAR2
    return VARCHAR2
    is -- PUBLIC procedure
    v_url      VARCHAR2(256);
    begin
    g_err_source := 'NET_SERVICES.test_db_connection_via_ldap';
    g_err_action := 'build_jdbc_conn_url_using_oid';
    /*     NOTE: We don't want to assert the parameters because we don't want to raise
    an exception;
    -- Get the jdbc connection url that uses oid info
    v_url := build_jdbc_conn_url_using_oid( pi_net_service_name, pi_search_base );
    return( do_test_db_connection_via_ldap( v_url, pi_user_name, pi_user_password ) );
    end test_db_connection_via_ldap;
    -- ========================================================================================
    Thanks in advance for your consideration.
    Troy

    Troy:
    You could be right in your guess that the error is related to MTS. Search Metalink for '16371'. Why not switch your APEX app to use OHS and test whether the error persists. ?
    varad

  • Sun Workshop Analyzer Function/Modules corrupted

    I am trying to run the Workshop analyzer on C++ code. However, the error message "Functions/Modules information corrupted" appears in the window of the analyzer and the time spent in each of the functions is listed as being 0.0000 seconds. I only get a general overview of the time spent waiting by the program.I compiled using the -g flag for debugging before analyzing. I'm sure the code is not this efficient. Does anyone know what the source of this problem could be?

    Hi,
    thanks for your answers.
    I'll list what I did in case it helps someone else:
    I tried the update first through "NetBeans update center".
    I selected everything but that didn't solver the issue (I didn't see any explicit reference to dbx in the packages added).
    Then I uninstalled sunstudio:
    cd /opt
    java -cp . uninstall_Sun_Studio_12Then I uninstalled netbeans:
    cd /opt/netbeans-5.5.1/_uninst
    ./uninstallerAfter that, I noticed there was a second uninstall folder (my guess from sunstudio). So I uninstalled it too:
    cd /opt/netbeans-5.5.1/_uninst2
    ./uninstallerAll 3 uninstall completed without errors.
    There were some leftovers (mostly some netbeans modules and prerequisites) so I renamed the folders just in case:
    mv netbeans-5.5.1 netbeans-5.5.1_old
    mv prepare_system_prerequisites prepare_system_prerequisites_oldAt that point, I ran the installer again.
    It tried to install but failed. Here's a small part of the log:
    /tmp/installQIayVk/checkinstallSIayVk: /tmp/response.SPROfdxd: cannot create
    Processing package instance <SPROfdxd> from </tmp/install-intel-S2/packages-intel-S2>
    Sun Studio 12 X-Designer GUI Builder
    (i386) 12.0,REV=2007.04.11
    pkgadd: ERROR: request script did not complete successfully
    Installation of <SPROfdxd> failed.
    No changes were made to the system.
    Error: pkgadd failed for SPROfdxd
    ...I was running this as root so I'm not sure why it failed.
    I was reusing the installation files I extracted from the pkg.tar.bz2 under /tmp so I deleted everything and extracted it again from a different place.
    I also deleted the .sunstudio, .netbeans and .java in my home folder.
    I was previously using cygwin XWin to run the installer with the UI.
    This time, I did it from a shell terminal (putty) and used the -nodisplay option.
    It installed successfully.
    Then I go back to the ui and sunstudio starts normally now: no missing modules and I have the dbx options in the menu
    Again, thanks for your time.
    Francois

  • Replicate Data Workshop Export XML functionality

    Does anyone know how I can replicate in an application the export functionality available in data workshop??
    i.e. select table -> select columns ->export to xml
    I have the first two stages complete, how can I take my selections and export to xml

    Hi Kavi,  You can have as many webservice data connections as you need in a PDF form as well as the XSD one, you can then bind directly to it or use the saveXML() loadXML() methods to update the XSD data connection.  There is also a Acrobat JavaScript webservice API which might suit, described in this document http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_devel oper_guide.pdf, Regards Bruce

  • Run function from SQL Workshop Command window

    hi, cant get it work, maybe someone will help. i need to test the function running, how to launch it in workshop window?
    currently im thinking of something alike:
    declare a varchar2(62);
    begin
      a:=VAL_MERGE_SQL();
    end;Simon

    hi Geert,
    thanks for the tip, but my function uses DDL statements, so it cant be executed in DML statement like select.
    problem solved: DDL statement inside function must use global keyword (create global...) then it can be executed like this:
    declare
      a varchar2(62);
    begin
      a:=VAL_MERGE_SQL;
    end;greets,
    Simon

  • Unable to edit some functions in APEX Sql Workshop

    Hi
    Users are able to edit some procedures/functions in APEX SQL Work shop. ( Object Browser - functions - EDIT)
    When we press edit we get cursor in the code area and can edit some procedures, But for some procedures when we click edit we don't get cursor in the code area and we are not able to edit the functions/procedures.
    I am using fairfox browser.This is happening with only some. Is there any security.grants issue???
    Thanks
    Sree

    Hi
    This is happening with some procedures, For others this works fine.In IE I get red block in code area.
    EDIT is working for some procedures so I think may not be the browser issue.
    Thanks
    Sree

  • Edit non-functional in Rel. 2 SQL Workshop Object Browser

    Using IExplorer 6. Recently upgraded to HTMLDB Rel. 2. Thus far everything I've tried works fine except for the Object Browser code display and editing function.
    First problem: the code display for Packages, Functions, Views etc. does not wrap.
    Second problem: the edit icon does nothing. Code display is single line with red background (tried creating and then editing a view to make sure it wasn't a privilege problem). I see javascript:toggleCodeArea('e') when I mouse-over the edit button but clicking on it does nothing.
    Has anyone else encountered this? Any hints on troubleshooting it?
    Thanks,
    Fred Pierce

    I knew I should have searched on "Red Screen" 8-)
    Unfortunately the AddType solution isn't working for me. The documentation isn't specific about where to add those lines, i.e. I've tried it in marvel.conf both outside and inside the definition, and in the httpd.conf file in the mime types but neither has had an effect (yes, I restart the http server each time). As others have observed, it does work in Firefox.
    If you could clarify where in the marvel.conf file the AddType is supposed to go that would be helpful.
    I'm having the same problem on two different systems, so whatever I'm doing wrong, I'm consistant about it.
    Thanks,
    fdp

  • Use SQL Workshop SQL Scripts function

    When I tried the following 5 steps,
    I cannot enter the ddl in the SQL editor window.
    The fact is that I cannot enter anything.
    Anyone can point out what is wrong with my procedure??????
    Thanks!
    Create the HT_EMP Table
    To create the HT_EMP table and the appropriate associated objects:
    1. Click SQL Workshop on the Workspace home page.
    2. Click SQL Scripts.
    3. When the SQL Scripts Repository appears, click Create.
    The Script Editor appears.
    4. In Script Name, enter HT_EMP
    5. In the Script Editor, enter the following DDL:
    CREATE TABLE ht_emp (
    emp_id NUMBER primary key,
    emp_first_name VARCHAR2(30) not null,
    emp_middle_initial VARCHAR2(1),
    emp_last_name VARCHAR2(45) not null,
    emp_part_or_full_time VARCHAR2(1) not null check (emp_part_or_full_time in
    ('P','F')),
    emp_salary NUMBER,
    emp_dept VARCHAR2(20) check (emp_dept in
    ('SALES','ACCOUNTING',
    'MANUFACTURING','HR')),
    emp_hiredate DATE,
    emp_manager NUMBER references ht_emp,
    emp_special_info VARCHAR2(2000),
    emp_telecommute VARCHAR2(1) check (emp_telecommute in ('Y')),
    rec_create_date DATE not null,
    rec_update_date date)
    /

    You need to upload the file to the SQL scripts area of ApEx. If you upload it to the static files area it's not going to be treated as a SQL script.
    Barring that as the problem - did you verify the contents of the script file on your workstation before you uploaded it - to make sure that the script actually contained the correct contents of the script?
    I've never had any significant problems with script uploads and running scripts in ApEx that couldn't be traced back to operator error. :>)
    Try explaining in detail the steps that you took to try to make this work - then we'll know where to start.
    Earl
    Message was edited by:
    Earl

  • Download function in SQL Workshop - Object Browser

    I am an APEX newbie, trying to download the data from a view into a .csv file. I am doing this in SQL Workshop, in the Object Browser - I click the 'download' link at the bottom of the page and it allows me to dump the data to a .csv file - no problem. My issue is this: it is only downloading the first 500 rows. How can I tell it to download all rows?
    Thanks in advance for your help...
    Kenny

    Try this...
    In object browser,
    1. Click Data (next to Table link on top).
    2. Then click on Query.
    a. If you are selecting all rows, check on the Check All checkbox. If not select the appropriate columns.
    b. Then click Query
    3. Now you will see the Display option on the top.
    4. Select number of rows from drop down.
    5. Click Go
    6. Now download.
    Hope this helps!
    Thanks!

Maybe you are looking for

  • How can I get rid of BrowseStudio on my laptop. I've had to change to Chrome which isn't half a good as Firefox.t's driving me c

    BrowseStudio is an adware virus that is infuriatingly possessive. I've fitted AVG antivirus, done Microsoft Essentials and Spybot check to no avail. I Googled for solutions but none of them worked. In desperation I took it to a computer shop but they

  • Message Queue

    What is a Message Queue and Is there other MQ available other than java .where can i get more info on MQ or any documentation/tutorial

  • IPod backlight problem...

    Why isn't my iPod touch 2G 16GB's display not turning on? I know it's a backlight problem because I can faintly see the apple logo sometimes.

  • Adjustment / ABC analysis

    Hi Gurus Can you anyone gimme a details of ABC analysis?? Is there any chance to change in the class automatically?(Ex A to B), In regualr scenarious how the industries are using and handling??? Please gimme some ideas SP

  • Plugin doest respond until web server reboot

    We have a weblogic 6.0SP2 cluster with 4 backends and two Iplanet Web Server 4.1 as front ends. During FULL GCs in weblogic JVM cluster nodes do not respond to any request and the foront ends are not able to respond. Web have noticed that if the erro