Orion-web.xml and resource-env-ref-mapping correct usage

What happened to resource-env-ref-mapping element in orion-web.xml? I have a 9.0.4.1 server running several .EAR files containing web applications using this attribute to configure JMS related items. But when deploying the .EAR to newer versions (9.0.5.2) of the server this attribute doesn't appear to be valid any longer?
Here it is in the 9.0.4 documentation:
http://strogoff.unex.es/oradoc/form_y_report_10g/web.904/b10322/apdx_a.htm
Any help would be appreciated?

I should have been more clear about the issue. The error only occurs when running inside the embedded OC4J container of JDeveloper 10.1.2 build 1913. The error does NOT occur in JDeveloper 9.0.3. The application also runs fine when deployed to a 10.1.2 Enterprise application server. The error only occurs in JDeveloper.
The following error occurs when validating my orion-web.xml file. The entry is:
orion-web.xml:
<orion-web-app>
<resource-ref-mapping name="jms/mQueueConnectionFactory" location="jms/matchingQueueConnectionFactory"/>
<resource-env-ref-mapping name="jms/mQueue" location="jms/matchingQueue"/>
</orion-web-app>
web.xml
<resource-env-ref>
<resource-env-ref-name>jms/mQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
java.lang.IllegalArgumentException: Unrecognized parent-elem combination: interface oracle.jdeveloper.xml.oc4j.war.OrionWebApp - resource-env-ref-mapping
     at oracle.javatools.xml.bind.XMLBinding.throwUnrecognizedElem(XMLBinding.java:127)
     at oracle.jdeveloper.xml.j2ee.war.WebAppBinding.elem2intImpl(WebAppBinding.java:637)
     at oracle.javatools.xml.bind.XMLBinding.elem2int(XMLBinding.java:104)
     at oracle.javatools.xml.bind.XMLBinding.insertBetween(XMLBinding.java:88)
     at oracle.javatools.xml.bind.BindingContext.insertNewElement(BindingContext.java:121)
     at oracle.javatools.xml.bind.BindingContext.insertElem(BindingContext.java:95)
     at oracle.javatools.xml.bind.BindingContext.setElement(BindingContext.java:71)
     at oracle.javatools.xml.bind.SetImpl.callSetterForUniqueElem(SetImpl.java:66)
     at oracle.javatools.xml.bind.SetImpl.callSetter(SetImpl.java:57)
     at oracle.javatools.xml.bind.SetImpl.invoke(SetImpl.java:26)
     at oracle.javatools.xml.bind.ElementProxy.invoke(ElementProxy.java:35)
     at $Proxy10.setWebApp(Unknown Source)
     at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.ensureLocalPageReposRootIsSet(Oc4jWorkspaceConfig.java:633)
     at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:269)
     at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:114)
     at oracle.jdevimpl.runner.oc4j.Oc4jStarter.preStart(Oc4jStarter.java:618)
     at oracle.jdevimpl.runner.oc4j.Oc4jStarter.start(Oc4jStarter.java:268)
     at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:756)
     at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:461)
     at oracle.ide.runner.RunProcess$2.run(RunProcess.java:699)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Similar Messages

  • Topic  'resource-env-ref-mapping'

    I get the following exception:
    javax.naming.NamingException: Error creating context: No resource named 'XXXX/WorkflowControllerTopic' found in resource provider 'QT_Topic'
    orion-ejb-jar.xml:
    <resource-env-ref-mapping name="jms/MyTopic"
    location="java:comp/resource/QT_Topic/XXXX/MYTopic" />
    What should I use for 'XXXX'? I've tried the following options
    1) Topics
    2) Topic
    3) Queues
    Regards,
    Marteyn

    Hello Sugu,
    I've made a spelling mistake:
    WorkflowContollerTopic vs WorkflowControllerTopic
    This works:
    java:comp/resource/QT_Topic/Topics/WorkflowContollerTopic
    Therefore your 'Topics' solution is correct (Thanks!).
    But now I've got a new problem:
    ORA-06550: Regel 1, kolom 7:
    PLS-00306: Onjuist aantal of type argumenten in aanroep naar 'AQ$_JMS_ENQUEUE_OBJECT_MESSAGE'..
    ORA-06550: Regel 1, kolom 7:
    PL/SQL: Statement ignored.
    I've executed the following script (ignore the spelling error):
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE(
    Queue_table => 'QT_Topic',
    Queue_payload_type => 'SYS.AQ$_JMS_MESSAGE',
    multiple_consumers => true);
    END;
    EXEC DBMS_AQADM.CREATE_QUEUE(
    'WorkflowContollerTopic','QT_Topic');
    EXEC DBMS_AQADM.ADD_SUBSCRIBER(
    'WorkflowContollerTopic', sys.aq$_agent('MDSUB', null, null));
    EXEC DBMS_AQADM.START_QUEUE ('WorkflowContollerTopic');
    Regards,
    Marteyn Heijlaerts

  • Difference between resource-ref and resource-env-ref ?

    Hello,
    Can anyone tell me what the difference is between <resource-ref> and <resource-env-ref>? (in ejb-jar.xml)
    Thanks in advance,
    Julien Martin.

    Check out this URL. You will find out your answer.
    http://docs.sun.com/source/816-7156-10/agj2eres.html
    Thanks

  • Env-entry in web.xml and 6.0 sp4

    Does anyone know if iws 6.0 sp4 supports env-entry elements in web.xml???
    According to servlet specs 2.2 it should support it since it has JSP support.
    From 2.3 specs:
    "The following addtional elements exist in the web application deployment
    descriptor to meet the requirements of web containers that are JSP enabled or part
    of a J2EE application server. They are not required to be supported by containers
    wishing to support only the servlet specification.:
    � taglib
    � syntax for looking up JNDI objects (env-entry, ejb-ref, ejb-local-ref, resourceref,
    resource-env-ref)
    See the DTD comments for further description of these elements."

    Additional info...actually the code throws a NamingException.

  • Resource-env-ref

    Hi,
              in a servlet's war.xml I define a resource-env reference. But how do I
              specify that in the assiciated weblogic.xml?
              web.xml:
              <resource-env-ref>
                   <resource-env-ref-name>jms/EventTopic</resource-env-ref-name>
                   <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
              </resource-env-ref>
              the dtd for weblogic.xml
              (http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd) only
              defines resource reference and ejb reference.
              <!ELEMENT reference-descriptor (resource-description*,
              ejb-reference-description*)>
              <!ELEMENT resource-description (res-ref-name, jndi-name)>
              <!ELEMENT ejb-reference-description (ejb-ref-name, jndi-name)>
              while the dtd for web.xml (http://java.sun.com/dtd/web-app_2_3.dtd) also
              defines resource-env-ref, resource-ref, env-entry, ejb-ref, ejb-local-ref:
              <!ELEMENT web-app (icon?, display-name?, description?, distributable?,
              context-param*, filter*, filter-mapping*, listener*, servlet*,
              servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?,
              error-page*, taglib*, resource-env-ref*, resource-ref*,
              security-constraint*, login-config?, security-role*, env-entry*,
              ejb-ref*, ejb-local-ref*)>
              Having said that I just read the servlet-spec (2.3 pfd2, page 68), where
              only env-entry, ejb-ref and resource-ref are mentioned! weired ...
              "The env-entry element contains information to set up basic environment
              entry names relative to the java:comp/env context, the expected Java
              type of the environment entry value (the type of object returned from
              the JNDI lookup method), and an optional environment entry value. The
              ejb-ref element contains the information needed to allow a servlet to
              locate the home interfaces of a enter-prise bean. The resource-ref
              element contains the information needed to set up a resource factory."
              >>>
              >>>So defining a resource-env-ref is possibly not possible?!
              >>>Why are they then defined in the dtd?
              >>>
              For the log: my code is:
              Context myNamingContext = new javax.naming.InitialContext();
              System.out.println("NamingContext: "+myNamingContext);
              System.out.println("Event Topic" +
              myNamingContext.lookup("java:comp/env/jms/EventTopic").toString());
              and the Exception is:
              javax.naming.NameNotFoundException: Unable to resolve
              comp/env/jms/EventTopic/ Resolved: 'comp/env/jms'
              Unresolved:'EventTopic' ; remaining name ''
              Thanks for your help,
              Andreas Ebbert
              

    the quotes from "more servlets and java server pages":
    The resource-env-ref element declares an administered object associated with a resource. It
    consists of an optional description element, a resource-env-ref-name element (a JNDI name
    relative to the java:comp/env context), and a resource-env-type element (the fully qualified
    class designating the type of the resource), as below.
    <resource-env-ref>
    <resource-env-ref-name>
    jms/StockQueue
    </resource-env-ref-name>
    <resource-env-ref-type>
    javax.jms.Queue
    </resource-env-ref-type>
    </resource-env-ref>
    The resource-ref element declares an external resource used with a resource factory. It
    consists of an optional description element, a res-ref-name element (the resource manager
    connection-factory reference name), a res-type element (the fully qualified class name of the
    factory type), a res-auth element (the type of authentication used� Application or
    Container), and an optional res-sharing-scope element (a specification of the shareability of
    connections obtained from the resource� Shareable or Unshareable). Here is an example.
    <resource-ref>
    <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope
    </resource-ref>
    Hope it helps.

  • Orion-web.xml access-mask not working

    Hi, I am trying to restrict access to a specific application via the orion-web.xml descriptor. This would be OC4J in OAS 10.1.3.4.
    I have done this in the GUI by using the "Advanced Deployment Plan Editing -> Edit Deployment Plan" option. I thought this would be safer than editing the files by hand. The application deploys successfully, and in orion-web.xml of my deployed application, this translates into:
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"       
            deployment-version="10.1.3.4.0"
            deployment-time="1241707803607"
            jsp-cache-directory="./persistence"
            jsp-cache-tlds="standard"
            jsp-taglib-locations=""
            temporary-directory="./temp"
            context-root="MyApp"
    schema-major-version="10" schema-minor-version="0" >
            <access-mask default="deny">
                    <ip-access  ip="127.0.0.1" mode="allow" netmask="255.255.255.255" />
                    <ip-access  ip="192.168.0.100" mode="allow" netmask="255.255.255.255" />
                    <ip-access  ip="192.168.0.101" mode="allow" netmask="255.255.255.255" />
            </access-mask>
            <!-- Uncomment this element to control web application class loader behavior.
                    <web-app-class-loader search-local-classes-first="true"  include-war-manifest-class-path="true" />
            -->
            <resource-ref-mapping name="jdbc/myDB" location="jdbc/myDB" />
            <web-app>
            </web-app>
    </orion-web-app>This looks OK to my eyes, but unfortunately it doesn't restrict any access at all. I have restarted the specific application, and I have also restarted the entire OC4J. No access is restricted; I can pull up the application from any IP address. My intention was to restrict access only to the 2 IP addresses (and localhost by IP) listed above.
    I have reviewed multiple metalink articles on this topic:
    Note 438493.1 - How to Restrict access for EM Database Control only from Specific Hosts / IPs
    Note 178665.1 - How to Restrict Access to OC4J to Specific Hosts or IP Addresses
    Note 311137.1 - How to restrict access to EM website based on IP Addresses/Domain Names
    None of them seem to indicate that I have done anything wrong.
    If anyone has any feedback on this topic, identifies a problem with my config, or has knowledge of a product bug, please respond to this thread.
    Many thanks in advance for your feedback.

    were you able to resolve this?

  • 10.1.3 - OEM Deployment generating invalid orion-web.xml

    Hi,
    I've playing around with OracleASjms resource adapters, JMS Connector, etc - with some good results. I noticed that one of my test applications, when deployed (via OEM) gets an orion-web.xml which is not according to the XML schema and am wondering whether this is designed behavior.
    In my servlet I'm using some logical names for javax.jms.ConnectionFactory and javax.jms.Destination, which I specify in the web.xml. Deploying the ear file I get the change to resolve environment references to 'physical' JNDI locations. I map the logical javax.jms.ConnectionFactory to an OracleASjms resource adapter connection factory (which in turn is pointing to an JMS ConnectionFactory) and the javax.jms.Destination I map to an OracleASjms Administered resource.
    The applications deploys and works fine, however I have a question with respect to the orion-web.xml that Oracle is generating based. More specifically I see (<....> are replaced with actual values):
       <message-destination-ref-mapping
             name="<logical name>"
             location="<OracleAsjms/Administerered Object>"/>The element message-destination-ref-mapping isn't declared in the XML schema for orion-web.xml, but still it works, how come?

    http://www.oracle.com/technology/oracleas/schema/index .html
    http://www.oracle.com/technology/oracleas/schema/orion-web-10_0.xsd
    Thanks, jvissers. It seems that orion-web-10_0.xsd is outdated. It is probably that it was posted for the 10.1.3 preview. When the 10.1.3 production release is available, at least that schema is not updated. Hmm, all things that are changing but kept at different places are just very susceptible to inconsistency. Hmm, OracleAs team should probably make automated tests to make sure that they are in sync. (I am just thinking loudly). Let me try to communicate to someone who can further take care of this matter of outdated schemas. Thanks again, jvissers.
    Where did you look?Inside my oc4j installation! oc4j will not go to the web to download the oc4j-specific schemas in case of need. The orion-web-10_0.xsd is at OC4J_HOME/j2ee/home/lib/schemas.jar!META-INF/orion-web-10_0.xsd. That is where I looked. So the orion-web.xml generated by OEM is indeed valid.

  • Override JNDI names in persistence.xml and @resource annotation

    I have a Java EE 7 application that I am developing for use with both GlassFish and WildFly, but I have discovered that both application servers use a slightly different format for specifying JNDI names.
    In GlassFish the persistence.xml file references the data source jdbc/myDataSouce, but in WildFly the data source needs to be java:/jdbc/myDataSource.The same is also true for classes that are annotated with @Resource. In GlassFish the annotation for a class using JavaMail would be @Resource(name = "mail/myMailSession"), but to deploy onto WildFly this would need to be @Resource(name = "java:mail/myMailSession").
    The only solution I've got at present is using Maven to create two different releases of the EAR file, with one EAR file containing a persistence.xml file with the data source jdbc/myDataSouce for use with GlassFish, and the second EAR file containing a persistence.xml file with the data source java:/jdbc/myDataSource for use with WildFly. Unfortunately, I haven't found a solution for the @Resource annotation.
    I've taken a look at the documentation for glassfish-application.xml and glassfish-ejb-jar.xml and have tried using resource-ref to override the JNDI names but the application fails to deploy due to an error in the name.
    My question is does GlassFish provide any capability to override the JNDI names specified in the persistence.xml file and classes with the @resource annotation?
    Many Thanks
    Paul

    Have you been able to solve this? I'm attempting to understand what Web Server 7 can do with regard to Java Persistence and what elements of it require Glassfish.
    I've also spent great amounts of time in WS6.1 trying to figure out why a JNDI resource couldn't be found. The rules of thumb I've learned are:
    - Try dropping the *'java:/comp/env/* prefix; just use jdbc/pact part
    - Make sure all referrences (in web.xml and sun-web.xml) are identical with regard to that name.
    I'm hoping you're not still dealing with this (it's been two months!) but if anybody else stumbles on this, maybe it'll help them.
    Dave

  • FORMAUTH Filter in orion-web.xml ignored

    I am trying to use a JAAS Custom Login Module with a customized logon.jsp (and Struts). So I defined a FORMAUTH Filter in orion-web.xml to intercept the logon.
    However, Oracle 10g 10.1.3.2 did not deploy it. Why? How can I fix this problem?
    ===========================================================
    Deployed Application:
    {ORACLE_10_1_3_2_HOME}\j2ee\home\application-deployments\{APPLICATION}\{APPLICATION_WAR}\orion-web.xml contained:
    <?xml version="1.0"?>
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"
         deployment-version="10.1.3.1.0"
         deployment-time="1189531757046"
         development="true"
         jsp-cache-directory="./persistence"
         jsp-cache-tlds="standard"
         simple-jsp-mapping="false"
         temporary-directory="./temp"
         servlet-webdir="/servlet"
         context-root="visit"
    schema-major-version="10" schema-minor-version="0" >
         <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
         <web-app>
         </web-app>
    </orion-web-app>
    ===========================================================
    BUT: APPLICATION.EAR structure:
    APPLICATION_WAR\WEB-INF\orion-web.xml contained:
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.3.1.0"
         temporary-directory="./temp"
         internationalize-resources="false"
         default-mime-type="application/octet-stream"
         jsp-cache-directory="./persistence"
         servlet-webdir="/servlet"
         development="true">
              <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    <web-app>
    <filter>
    <filter-name>AuthenicationFilter</filter-name>
    <filter-class>gov.dhs.visit.filter.AuthenicationFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>AuthenicationFilter</filter-name>
    <dispatcher>FORMAUTH</dispatcher>
    <url-pattern>*.do</url-pattern>
    </filter-mapping>
    </web-app>
    </orion-web-app>

    I've used this before, and it worked fine. The only difference I can see is that you have a url-pattern element in the filter-mapping config.
    In the short term, try removing that and see if it then works.
    -steve-

  • Use of resource-env-ref tag

    Hi,
    Can anybody tell me what is the use of the resource-env-ref tag. I am using resourec-ref tag where I have specified a jdbc datasource configuration. But I do not know what does resource-env-ref do? Does it add any extra feature to the resource-ref tag? I know the use of env-entry tag. Is it similar to env-entry tag?
    Please give an example.
    Thanking in advance.

    * <env-entry> - Environment entry, a single-value
    parameter that can be used to configure how the
    application will operate.
    * <resource-ref> - Resource reference, which is
    typically to an object factory for resources such as
    a JDBC DataSource, a JavaMail Session, or custom
    object factories
    * <resource-env-ref> - Resource environment
    reference, a new variation of resource-ref added in
    Servlet 2.3 that is simpler to configure for
    resources that do not require authentication
    information.Ok, u mean to say that i can use either resource-ref or resource-env-ref tag depending on whether i require authentication or not, right?
    Also, please tell me what does the web container do with these configurations? Does it load these resources at container start-up or it simply
    creates the environment where resources can be accessed through a name like, say java:comp/env/jdbc/MyDataSource where this is again mapped to a jndi name?
    I know that using this type of configuration helps make changes to the jndi name without recompiling our servlets.
    Also, could u please tell me can we use ejbs the same way as above (using resourec-ref or resource-env-ref tag) or I must use the ejb-ref tag. Since ejbs are also bound to jndi names, they should be accessible throught the above tags and not only through the ejb-ref tag.

  • Mime-type tag in web.xml and attachment download

    i have set a mime-type in web.xml as below:
    <mime-mapping>
         <extension>xls</extension>
         <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    And i have a simple jsp that only shows a table and i am making this jsp to get downloaded as an excel attachment. To make it possible i have written the following line in the JSP:
    response.setHeader( "content-disposition", "attachment; filename=myexcel.xls" );
    But i am not setting the content type first by writing:
    response.setContentType( "application/vnd.ms-excel" );
    since i have already mentioned the appropriate mime-type for excel files in web.xml.
    I am using both mozilla and IE. Both are showing file download dialog. But IE is able to correctly identify the type of the attachment and opens it up with Microsoft Excel whereas mozilla fails to identify the type, assumes it to be an HTML document and opens it up in a new window of IE.
    mozilla works fine only when i set the content type in the JSP itself. But IE works in all conditions even without having the mime-type tag in web.xml.
    If i have already specified the mime-type for particular type of file in web.xml, is there any requirement to set the content type again in the JSP/servlet?
    Please help. I even changed the mime-type for .xls (excel) files in web.xml and made it text/plain, but still the same thing is happening. IE is always showing the correct file type where as mozilla is taking it as an HTML document.
    i am using weblogic server 8.1.

    the web xml mime type setting are for static files served by the server...
    if you print a file directly to the output of the servlet, you must set the mime type, so DO write :
    response.setContentType( "application/vnd.ms-excel" );
    IE "works fine" because it also uses the file extension to decide the mime type... but in the absolute, it's a wrong behaviour

  • Orion-web.xml -- web-app-class-loader

    Hi all, I posted this in the jDeveloper section and someone suggested that I ask you guys what the importance of the orion-web.xml file is. Currently my files looks like ...
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
    <orion-web-app servlet-webdir="/servlet/">
    </orion-web-app>
    But it keeps adding the line that I mention below...
    I have a system that consists of multiple projects. When I deploy all projects they all work fine except for one. We discovered that this is due to the following line in the orion-web.xml file in that project ....
    <web-app-class-loader search-local-classes-first="true"/>
    I removed that line and everything is now fine. However, whenever I open up the application in jDev is puts that line back (even if I don't make changes).
    Is there a setting somewhere that is forcing this line to be put there and, if so, why? And how do I switch it off?
    Thanks,
    Russell

    Hey Steve,
    I must admit that this post confused me a bit.
    I can find no deployment plan editor. We have a WAR Deployment Profile, an EAR Deployment Profile and an EJB JAR Deplyment Profile.
    I use the debug functionality (using the embedded OC4J) to test the application locally during development and then deply the EAR Deployment Profile to an EAR file which then gets deployed using an Application Server.
    Further to this I have tried deleting the file (from everywhere), changing the EAR Deployment Properties and even changing the code within the ORION-WEB.XML to say <web-app-class-loader search-local-classes-first="false"/> all to no avail.
    If I remove the file completed, it add its back when I reopen the project. If I change it to false, it changes it back to True.
    Very confused I must admit.
    Thanks,
    Russell

  • Making sure setting ojsp-init tags-reuse from orion-web.xml is used

    I'm facing a problem with the following setting in my application's orion-web.xml:
    <ojsp-init tags-reuse="compiletime-with-release"/>
    previously, we had this setting in global-web-application.xml, but we would like to specify it per application, to get rid of the OC4J post-installation step to manually add the following lines:
    <init-param>
    <param-name>tags_reuse_default</param-name>
    <param-value>compiletime_with_release</param-value>
    </init-param>
    However, the latter works, and the former doesn't seem to have any effect whatsoever. But as far as I can see, the orion-web.xml is correctly following the XSD:
    <?xml version="1.0"?>
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"      deployment-version="10.1.3.3.0"
         deployment-time="1198148775354"
         jsp-cache-directory="./persistence"
         jsp-cache-tlds="standard"
         jsp-taglib-locations=""
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
         context-root="/messagecontrol"
    schema-major-version="10" schema-minor-version="0" >
         <!-- Uncomment this element to control web application class loader behavior.
              <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
         -->
         <ojsp-init tags-reuse="compiletime-with-release"/>
    </orion-web-app>
    http://www.oracle.com/technology/oracleas/schema/orion-web-10_0.xsd
    Am I missing something here? Do we need to do something specific to make sure the ojsp-init values are actually used? The documentation seems to indicate that the two settings are equivalent:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28961/devconfig.htm#BHCFICDA
    Any help would be appreciated.
    Jaap

    Update:
    In the meantime I've logged a SR for this. The settings "none" and "compiletime" do work and behave the same as their global-web-application.xml counterparts. It's just the "compiletime-with-release" that does not work as expected.

  • Orion-web.xml

    What is the siginificanc of orion-web.xml file with respect to 9iAS? It seems to be like a configuration file. But I would like to know where it comes into picture and what role it plays with forms9i/9ias.
    Thanks in advance
    Sheba

    Sheba,
    you use this file to define classpath settings and virtual mappings for a Web deployment context, like /forms90.
    For example: defining
         <virtual-directory virtual-path="/img" real-path="D:\appImages/myImages" />
    in the forms deployment context to access images on the Web will make them accessible through
    http:// server :Port/forms90/img/<image name>
    The virtual directory is created under the context root of the deployment owning the orion-web.xml file
    Frank

  • Add virtual directory to orion-web.xml file of embedded OC4J instance

    I'd like to add a virtual directory to the orion-web.xml file of the embedded OC4J application which comes with JDeveloper (version 10.1.3.3.0.4157). Every time I run my application however, a new orion-web.xml file is created which overwrites the orion-web.xml file with my virtual directory. The orion-web.xml is located in the <JDev_Home>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<app Name> directory.
    Does anybody know a solution to this problem?
    Regards,
    Matthieu

    hi there,
    i have the same problem, all the configuration files are included in the EAR file, like application.xml,...
    but the orion-web.xml is not included.
    I dont have that option that you mencioned File->New->Deployment Descriptiors -> web...for oc4j...
    I can create a EAR, WAR or JAR in File->New->Deployment Profiles.
    I need the orion-web.xml to define the MIME types the servlet can return, is it really needed?
    regards,
    Laura

Maybe you are looking for

  • Is there any way to have a clear or transparent dock. Or to change the dock at all I would love to see that!

    It is exasperating that the iPhone dock cannot be adjusted in any way. I would love to see a transparency slider or a few style choices. C'mon apple. This makes sense!

  • Jdbc sender adapter  hangs and starts showing "Processing Started" forever

    Dear ,           We are facing some issues with jdbc sender adapter channel on production system           Environment : XI 3.0 SP 20 + HP-UX 11.23 ia64 + Oracle 10.2 Sometimes it hangs and starts showing "Processing Started" forever on communication

  • Want to remove some AutoComplete entries in Numbers

    I have the latest version of Numbers running on Yosemite 10.10.2. I would like certain autocomplete entries to vanish. Other posts say that you have to fix the cell with the entry, but it seems that as soon as you exit the cell, it is retained foreve

  • Problems with a JCDK

    Hallo, I get following error message when I run converter: error: export file framework.exp of package javacard.framework not found. My .opt file seems like follows: -out EXP JCA CAP -exportpath $JC_HOME/api_export_files/ with -exportpath $JC_HOME/ap

  • How to increase NGROUPS_MAX

    I'm using dovecot as imap mailserver. Since my upgrade to SL I cannot login to imap mailserver because my account is defined to more than 16 groups since having upgraded to SL. I can find 19 groups wehre at least 14 are groups introduced for sharepoi