Problem creating url

I have the following code and for some reason, it can not construct the URL.. When I reference <%=Parameter.PROCEDURE_INDEX_PARAM%> it does not seem to understand it. When I hard-code the value ("procedureindex") it works.
If I reference Parameter.PROCEDURE_INDEX_PARAM in my scriptlet code, it works just fine.
What am I doing wrong?
<%@ page info="Procedure Results" import="adac.web.util.Parameter" %>
<script language=javascript>
function blankRightWindow(webServerIP, uid, contextPath, strCnt, showImages, viewerType) {
     if (showImages)     {
          if(viewerType == null || viewerType.toUpperCase() == "AMICAS") {
             url = "http://" + webServerIP + "/servlet/com.amicas.servlet.integration.CernerEmbeddedWebViewer?";
             url = url + uid;
          } else {
               alert ("cnt " + strCnt);
//               url = contextPath + "image.jsp?" + "procedureindex" + "=" + strCnt
               url = contextPath + "image.jsp?" + <%=Parameter.PROCEDURE_INDEX_PARAM%> + "=" + strCnt
               alert ("URL: " + url);
</script>

Take a look at the generated html/javascript from this page:
Assuming the constant is declared aspublic class Parameter{
public static final String PROCEDURE_INDEX_PARAM = "procedureindex";
}It will be something like this in the html page.
url = contextPath + "image.jsp?" + procedureindex + "=" +
as most likely there is no javascript variable called procedure index, its value will undefined.
The following should do it
// putting quotes around the scriptlet expression, so it is interpreted as string
url = contextPath + "image.jsp?" + "<%=Parameter.PROCEDURE_INDEX_PARAM%>" + "=" + strCnt
// just inserting it into the javascript string
url = contextPath + "image.jsp?<%=Parameter.PROCEDURE_INDEX_PARAM%>=" + strCntCheers,
evnafets

Similar Messages

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • Create URL for image content and display in new window

    Hi,
    I am attaching a new image and it is displayed in a table view.
    I am having problems creating the URL for the image.
    When i give the link of external site like http://www.google.com, it works fine. It does not work when i give as www.google.com.
    It does not work for the image. Please help.
      ls_properties-name         = 'KW_RELATIVE_URL'.
      ls_properties-value        = lv_imgname.
      APPEND ls_properties TO lt_properties.
      ls_properties-name         = 'LANGUAGE'.
      ls_properties-value        = sy-langu.
      APPEND ls_properties TO lt_properties.
    Assign file properties
      ls_file_access_info-binary_flg = 'X'.
      ls_file_access_info-file_name  = lv_imgname.
      ls_file_access_info-mimetype   = 'image/pjpeg'.
      ls_file_access_info-property   = lv_string2.
      APPEND ls_file_access_info TO lt_file_access_info.
    Move content to file_content
      lv_str = lv_img_content.
      lv_strlen   = XSTRLEN( lv_str ).
      lv_offset   = 1022.
      lv_bytes_rd = 0.
      lv_bytes_rm = lv_strlen.
      ASSIGN lv_str TO <fs>.
      WHILE lv_bytes_rd LT lv_strlen.
        IF  lv_bytes_rm LT lv_offset.
          ls_content-line = <fs>+lv_bytes_rd(lv_bytes_rm).
        ELSE.
          ls_content-line = <fs>+lv_bytes_rd(lv_offset).
        ENDIF.
        APPEND ls_content TO lt_content.
        lv_bytes_rd = lv_bytes_rd + lv_offset.
        lv_bytes_rm = lv_strlen - lv_bytes_rd.
        CLEAR ls_content.
      ENDWHILE.
    Create a Document using class CL_CRM_DOCUMENTS
      CALL METHOD cl_crm_documents=>create_with_table
        EXPORTING
          business_object     = ls_business_object
          properties          = lt_properties
          file_access_info    = lt_file_access_info
          file_content_binary = lt_content
          raw_mode            = 'X'
        IMPORTING
          loio                = ls_loio
          phio                = ls_phio
          error               = ls_error.
    Using the logical and physical id's, get the file location as an URL
    data:
    lv_no type char1 value '1'.
        CALL METHOD cl_crm_documents=>get_with_url
          EXPORTING
            loio     = ls_loio
            phio     = ls_phio
            url_type = '2'
          IMPORTING
            error    = ls_error
            url      = lv_url1.
    should i prefix the url with 'javascript:'?
    Thanks in advance.
    Regards
    Shanthi

    Hi Shanti,
    The URLs that are external to the server, you should always have http://, your image URL is has http:// prefix? Other wise system will always look for the same inside the current BSP application. For Example your BSP application is ZBSP and if you are accessing www.google.com the URL in the browser will be
    *******/bsp/ZBSP/www.google.com which will not be existing, hence causing the problem.
    If not try adding http:// to the URL by concatenation and try.
    Regards,
    Ravi

  • Discoverer Plus - Creating URL's with Multiple Dimension values

    We are using the "Manage Links" feature in Discoverer Plus (10.1.2.2.0) to send dimension value names in a URL. As part of the "Manage Links" feature, the user is given the opportunity to choose which dimension values for the selected cells they want to include in the URL.
    We are attempting to create URL's to drill from Discoverer Plus to more detailed Oracle Reports, which will use the dimension values in sql statements . One problem we noticed is for each dimension we can not select multiple values to send in the URL.
    For example;
    I have a URL I want to append selected dimension values from Discoverer Plus.
    We have 2 dimensions each containing 5 dimension values. We use Discoverer Plus to filter down to 2 dimension values for each dimension to be included in our url.
    Time: Nov2007, Dec2007
    Division: USCCSLT, USCCLSY
    Measure: Flux
    URL:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=<TIME:VALUE>, <DIV:VALUE>
    When the link executed, the EXIT URL only contains the first dimension value for each dimension. I have included the exit URL below:
    Result:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=Nov2007,USCCSLT
    It should contain Nov2007, Dec2007, USCCSLT, USCCLSY.
    I've tried a variety to things in the Manage Links, but it always sends out just one dimension value.
    According to the choices given in "Manage Links", it is not supposed to work this way.
    I have a feeling I'm doing something wrong, because I don't see many posts here related to creating Discoverer Plus URL's.
    If anyone encountered this and came up with a solution, I'd be interested to read your comments.
    Thanks,
    Michael

    What version of Discoverer are you running? I'm assuming 10.1.2 but I would look at the 2 URL parameters
    pluspopup and framedisplaystyle
    From the Oracle Documentation:
    When using popup in conjunction with framedisplaystyle=, the possible combinations are:
    pluspopup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it.
    pluspopup=true and framedisplaystyle=separate opens a new pop-up browser window and launches Discoverer Plus in a new applet window.
    This combination launches three windows: the original browser window (i.e. Discoverer Connections page), the new browser window containing the Discoverer image, and the JFrame window containing the Discoverer Plus applet.
    pluspopup=false and framedisplaystyle=embedded launches Discoverer Plus in the current browser window.
    See if those help you out, if not let me know and we can dig into this further
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]
    pluspopup=false and framedisplaystyle=separate launches Plus in a JFrame window. The current browser window contains the Discoverer image.

  • Javahelp Search -- Failed to create URL from jar

    When I attempt to use my search feature, I get the following message:
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-generatedid-55.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-odbc-tutorial-s-5132529.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulsynchronize-library-sesql.htmlpresumably, the files that were found in the search were:
    cp-ulc-generatedid-55.html
    cp-ulc-odbc-tutorial-s-5132529.html
    cp-ulsynchronize-library-sesql.html
    but it seems the URL being built is incorrect. I am building my search like so:
    in the xml:
    <view>
    <name>Search</name>
    <label>Search</label>
    <type>javax.help.SearchView</type>
    <data engine="com.sun.java.help.search.DefaultSearchEngine">
    JavaHelpSearch
    </data>
    </view>
    and in the java:
         _jhIndexer = new com.sun.java.help.search.Indexer();
         //outDir is the directory the help is compiled to -- defined earlier
         String searchName = "JavaHelpSearch";
         String args[] = new String[ 3 ];
         args[ 0 ] = "-db";
         args[ 1 ] = outDir + searchName;
         args[ 2 ] = outDir;
         try {
             _jhIndexer.compile( args );
         } catch( Exception e ) {
             e.printStackTrace();
         //addDirectory copies everything from ourDir/searchName to jar/searchName
         jarFile.addDirectory( searchName, outDir + searchName, null );Any ideas how to fix this?
    Thanks,
    Aarnott

    Yesterday I met with the same problem with you, and I read the Javahelp_Guide for several times and today I solve the problem. I reply the topic and want to share the experience with friends.
    First cofirm that you have created the html pages, .hs file, index file, TOC file, map file, and be sure they all work well. We assume you put the last 4 files in D:\HelpFile, and the html pages in D:\HelpFile\HelpPage
    Now we come to the second step -- generate the Full-Text Search Database.
    1. Open "Start" -> "Run" in windows, and input "cmd" command.
    2. Switch to your help folder, here we assume it as D:\HelpFile
    3. Find the path of the jhindexer in the javahelp\bin folder of the JavaHelp system release, e.g E:\JavaHelp\bin
    4. Input the following command in cmd.exe you just open in step 1:
    E:\JavaHelp\bin\jhindexer HelpPage
    the command means to call the tool jhindexer to generate the Full-Text Search database for the html pages in folder HelpPage
    5. you'll find a new folder named JavaHelpSearch generated in the current folder D:\HelpFile
    6. Pack all the files in folder D:\HelpFile as a jar file and you can use it in your system
    Note: 1. avoid asian character in your folder path, though there's no obvious reason but we should avoid possible error.
    2. Full-Text Search need no programming in your program, just do it as the steps ibid.
    release: Javahelp 2.0.05
    Operation System: Windows XP

  • Problem creating service jboss.security:name=XMLLoginConfig

    Hello,
    I am trying to to run my application using Java 5 and JBoss 4.2.1, but i am stuck in the middle. The error which i received is as follows:-
    2008-10-15 12:56:06,031 WARN | (org.jboss.system.ServiceController:337) - Problem creating service jboss.security:name=XMLLoginConfig
    java.lang.AbstractMethodError: org.jboss.security.auth.login.XMLLoginConfig.jbossInternalLifecycl
    (Ljava/lang/String;)V
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    at $Proxy0.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:330)
    at org.jboss.system.ServiceController.create(ServiceController.java:273)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy4.create(Unknown Source)
    at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    at org.jboss.Main.boot(Main.java:200)
    at org.jboss.Main$1.run(Main.java:508)
    at java.lang.Thread.run(Thread.java:595)
    2008-10-15 12:56:06,078 INFO | (org.jboss.logging.Log4jService$URLWatchTimerTask:440) - Configur
    ng from URL: resource:log4j.xml
    log4j: Reading configuration from URL resource:log4j.xml
    log4j: Could not find root logger information. Is this OK?I am not able to find the cause of this error. May be deployment is not happening. But the code was properly working on Java 4 and JBoss 3.0.0. Now when i migrated it to newer version , here i get this error.
    Please help me
    Thanks in advance
    Monadear

    Hi,
    Looking at your document URL for the WSDL, the PeopleSoft IB should contain "Service" in it's name, it looks like you are using your IB Gateway URL instead.
    This is what you posted:
    - http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl
    Try the following and this should resolve your problem.
    - http://xxx.com:11001/PSIGW/PeopleSoftServiceListeningConnector/CI_Z_POSITION_DATA.1.wsdl
    Regards,
    Dan

  • Problem creating container for filter entity

    Hi,
    I have a working API gateway instance (11.1.2.1.0). But from today when I tried to access to it using my policy studio, it gives me this embarrassing error. It worked well, and the gateway instance itself is serving well.
    I can stop and start the gateway instance including the node manager.
    Only from today suddenly my policy studio cannot access to the gateway any more. Any idea? The policy studio can access to other gateway instances in the same version.
    I tried to access from another policy studio in a different machine. Same error.
    It seems the error shows up at the last step to loading filters.
    There must be a dirty stuff in my existing deployment, but it is working well and I have no idea how to clean it up.
    INVALID 2014/01/21 16:36:10.068 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:36:10.441 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:36:10.449 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:36:10.450 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml
    INVALID 2014/01/21 16:51:48.771 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:51:49.286 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:51:49.295 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:51:49.295 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml

    Hi,
    This does happen sometimes and usually its enough to just exit Policy Studio and connect again. If that does not work you can delete everything in your C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace folder (backup before doing anything) as this is just a temporary storage.
    This could also could mean you somehow have managed to get an corrupt deployment (It might load ok in the actual API Server) that fails to load in Policy Studio. In the bin folder there is a esexplorer.bat file, this tool allow you edit configurations in raw format and if you find the error you could try fix it there.
    Cheers,
    Stefan

  • Problem Creating Hyperlink to another workbook

    I am having a problem creating a hyperlink to a worksheet in another workbook.
    Here is what I have done:
    Created the master and detail reports in 2 different workbooks.
    Executed the master worksheet to display the data
    Right clicked the field in the first row where I want to create the hyperlink, and chose Manage Links
    Clicked the New Link button
    Chose Worksheet for Where do you want to link to?
    Clicked Browse by the Destination Worksheet
    Clicked the detail report from the list of workbooks but the select button is grayed out
    Does anyone have any idea why it won't let me select the detail report to link to?
    I have OracleBI Discoverer Plus 10g
    Any suggestions would be deeply appreciated.

    Yes, I did add a parameter to the detail report so that I could get detail just for that one item. The part that is giving me trouble is specifying the Destination workbook/worksheet. I see the detail report when I browse but the Select button is grayed out so I haven't made it to the part where you identify what values to pass to the detail report yet.

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • "Source not found" Error creating URL Data control with query parameters

    Hi,
    I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like this Department=##ParamName##, something weird is happening. After giving the param string in the Source field, it asks for default param value to test the url. It tests the url successfully. After that i select XML as the data format in which i am mentioning the xsd like this . "file:///C:/..../something.xsd" . And this is when i am getting the error. "Invalid Connection. The source is not found". I am giving exactly same path for xsd which i gave while creating URL data control without query parameters. Infact i was able to create the URL data control with query parameters successfully till afternoon. after that it started giving me this error all of a sudden. Infact as soon as i was able to create a URL data contol with query parameter successfully, i took a backup of the application before moving further. But even that backup is not working now.
    As far as i understand, i dont think there will be any change in xsd if query params are passed to a web service. Please correct me if i am wrong.
    Just dont know what could be the issue. Please help
    Thanks

    Hi,
    xsd is used for the URL service to know what the returned data structure is so it can create the ADF DC metadata
    Frank

  • Problem creating Allocation Table with Reference to a PO

    Dear Folks,
    I am having problems creating an allocation table with reference to a PO in T-code WA01.
    I read the SAP help that some prerequisites need to exist:
    ==> You can only reference order items flagged as being relevant to a stock split (the Allocation table relevant indicator in the additional item data).
    Can anyone advice me where to find this stock split indicator?
    Also, can anyone advice me how to reuse an allocation table? For example, I had previously created an allocation table with many articles and various allocation rules. I already generated follow on documents for this table.
    Say after 2 weeks, I have the similar requirements that I can make use of the same table, only with minor adjustments to the quantity. How do I create a new allocation table using the existing allocation table data?
    Thanks and Regards
    Junwen

    Any idea please?
    thanks

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • Problem creating hierarchy based on 2 physical dimension tables

    I'm having a problem creating 1 logical dimension with a drill-down hierarchy, based on two separate physical dimension tables. The errors I receive when navigating the drill-down hierarchy is:
    "Cannot find logical table source coverage for logical columns" &
    "Missing join between logical tables".
    I'm using OBIEE 10.1.3.4
    Here are the details of what I have setup sofar:
    Physical layer:
    Dimension table DIM_ORG with columns:
    -dimension_key
    -org_total_code
    -org_total_description
    -org_detail_code
    -org_detail_description
    Dimension table DIM_DEPT with columns:
    -dimension_key
    -dept_total_code
    -dept_total_description
    -dept_detail_code
    -dept_detail_description
    Fact table FACT_SALES with columns:
    -fk_org
    -fk_dept
    -sum_sales
    Physical Joins:
    FACT_SALES.fk_org = DIM_ORG_dimension_key
    FACT_SALES.fl_dept = DIM_DEPT.dimension_key
    Business Model & Mapping layer:
    I created a logical dimension ORG_DEPT. It contains two logical table sources (DIM_ORG & DIM_DEPT) and the following logical columns:
    - All Departments (mapped to dept_total_code)
    - Organisation (mapped to org_detail_description)
    - Organisation Number (mapped to org_detail_code)
    - Department (mapped to dept_detail_description)
    - Department Code (mapped to dept_detail_code)
    The business logical key is based on the combination of Organisation Number & Department Code
    The hierarchy I need is: All Departments -> Organisation -> Department so I created the following hierarchy for ORG_DEPT:
    - Total Level containing: All Departments
    - Organisation Level containing: Organisation Number (defined as the Logical level key) & Organisation (defined als the Drill level key)
    - Detail Department Level containing: Department Code (defined as Logical level key) and Department (defined as Drill level key).
    In the LTS of the dimension ORG_DEPT I've set the Content levels for the sources:
    DIM_ORG : Organisation Level
    DIM_DEPT: Detail Department Level
    In the LTS no -inner- joins have been added against related physical tables.
    I created a logical fact table SALES (based on the physical fact table) and joined it against the logical dimension table ORG_DEPT.
    In the LTS the Content level for ORG_DEPT is set against the Detail Department Level. No - inner- joins have been aded against related physical tables.
    When I create a report in Answers to test the hierachy and select only 'All Departments' I get the correct dimension value returned. When I try to drill to the next level I get the following ODBC error:
    "Cannot find logical table source coverage for logical columns: [All Departments]. Please check more detailed level keys are mapped correctly".
    When I create a report in Answers and select both 'All Departments' and 'Sales' I get the correct result. When I try to drill to the next level I get a different ODBC error:
    "Missing join between logical tables DIM_DEPT and DIM_DEPT: There must be at least one physical join link between the underlying physical tables".
    Any suggestions are welcome!
    Thanks!

    Hello Robert,
    Your suggestions were known to me but I still wanted to combine the two physical dimension tables in one logical dimension. So I've played around a bit more and found the solution: In my original setup I had two seperate logical table sources (one for each physical dimension table). The solution was to combine the two logical table sources in one logical table source. I achieved that by logical joining the DIM_DEPT table to the FACT_SALES table and subsequently to the DIM_ORG within the 1 LTS and using inner joins.
    Then I created the logical table key (a combination of org_detail_code & dept_detail_code). After that I could create the hierarchy with no problem.
    Edited by: The_Dutchman on Nov 4, 2011 9:43 PM

  • Problem Creating VirtualProviders Based on the DTP

    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process"  for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

    Corrected some typo in my earlier update...
    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

Maybe you are looking for

  • How to delete the recorded file in imovie(ipad version)

    I am try a lot of way to delete it but still can't do it. T____T

  • Is there a way to remove a painting on a wall in a shot?

    a couple walk by a wall with a painting hanging behind them. is there a way to remove it? like copy a blank space and paste it on the painting? something like that possible? do i have to go frame by frame? its like 15 total seconds...

  • Can't Sync Or Backup. iTunes Hang

    iOS 7.06 iPhone 5s Winodwows 7 x64 Lastest Itunes 11.1.5.5 Problem: I cannot Sync or backup my iPhone in any PC at all. Itunes will forver stuck in Backing up....... or Waiting to sync....... if I manage to enter iPhone on itunes. Sometimes when I pl

  • VSTs not showing up in effect-section

    Hello friends, when I scan my VST-library and enable my collection of Sonoris plugins they refuse to show up in the effect-section. The affected plugins are Sonoris Mastering Compressor, Sonoris Mastering Equalizer and Sonoris Parallell Equalizer. In

  • Change log in Inspection method

    Hi, I have a requirement for tracking status changes in QS32. When I try to use the change history I can't see the statuses in the inspection method. Is it possible to extend the change history to include this or is there any other way to solve this?