OC4J : configuring queues programmatically than in jms.xml file.

Hi All,
I'm using MDB-Queues and OC4J Scheduler in my application deployed in OC4J 10.1.3.1. I need to get rid of the dependency of "jms.xml" (under "<OC4J>\j2ee\home\config") where the queues are defined for the OC4J Scheduler. This is because, I cant always expect my client to add these entries into their app server setting. Can anyone please let me how this can be achieved..?
Thanks
Rajasekaran Iyanu

hi,
You can enter jms information in jms-server.xml which can be deploy with application and you dont need to configure AS .
Regards

Similar Messages

  • I have one requirement .which is JMS XML file should convert to Flat file

    HI Gurus,
    My Scenario is
    sender SAP ---> receiver  MF( Mainframe) ..
    I have one requirement i will get IDOC from SAP sender pass throw PI to Mainframe...  which is recevier's JMS XML file should convert to Flat file...
    plz guide me any related suggestion and related links .... how to achieve..
    Thanks in advance..

    >
    > My Scenario is
    > sender SAP ---> receiver  MF( Mainframe) ..
    >
    > I have one requirement i will get IDOC from SAP sender pass throw PI to Mainframe...  which is recevier's JMS XML file should convert to Flat file...
    >
    Where is MQ coming in to picture here, You receiving data from SAP and sending Main Frame system,as per your post.
    so we can SAP->PI-->MAINFRAMES.most of the times we sent data to main frame system in the form of test files,so you can use receiver adapter file and use file content conversion.
    thats it.
    Regards,
    Raj

  • More than 100 mb xml file , giving out of memory error in BIP 10.1.3.4

    We are running outofmemory error, java heap space error, if we run a report which has more than 100mb xml, with two or more grouping in RTF template.
    How to configure it to work with better performance for bigger XML files ?
    Any particular setup , pointers are welcome.
    Thanks.

    Long time no see vet. Your problem sucks. I would go to sun site review there articles on JVM tunning. To solve this problem you will need to change the command line arguments to JVM to increase the heap space.
    java -Xms<initial heap size> -Xmx<maximum heap size>
    Defaults are usually: java -Xms32m -Xmx128m
    -Xm*s* - initial java heap size
    -Xm*x* - maximum java heap size
    -Xm*n* - the size of the heap for the young generation
    This is a good article: http://java.sun.com/developer/technicalArticles/Programming/turbo/
    Also, if this solves your problem please check it off so I can get some points. I've been out of the game for awhile.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Oc4j generated finders in orion-ejb-jar.xml file causing errors

    Any information or assistance would be greatly appreciated.
    I have encountered a problem with the generated orion-ejb-jar.xml file.
    It looks like the additional finder methods that are generated when the application
    is deployed are incorrect from the 9.0.3 version to the new 10.1.2.0.2 version.
    The original content of orion-ejb-jar.xml before additional finder syntax is added:
    <finder-method query=
    "NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER($1) and
      NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
      SELECT H1.AUTOID                             
      FROM   NO_SYS_USER_OBJECT_HISTORY H1,                                
             (SELECT AUTOID                                     
              FROM   NO_SYS_USER_OBJECT_HISTORY                                    
              WHERE  USER_ID=UPPER($1)                                    
              ORDER BY DATE_TIME DESC) H2                            
      WHERE  ROWNUM &lt;= $2
        AND  H1.AUTOID = H2.AUTOID)">
    <method>
      <ejb-name>NoUserHistoryEntry</ejb-name>
      <method-name>findOldest</method-name>
      <method-params>
       <method-param>java.lang.String</method-param>
       <method-param>java.lang.Integer</method-param>
      </method-params>
    </method>
    </finder-method>
    After deploying in 9.0.3 the following information is added to the orion-ejb-jar.xml file:
    <finder-method query=
    "NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER($1) and
      NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
      SELECT H1.AUTOID
      FROM   NO_SYS_USER_OBJECT_HISTORY H1,
             (SELECT AUTOID                                     
              FROM   NO_SYS_USER_OBJECT_HISTORY
              WHERE  USER_ID=$1   
              ORDER BY DATE_TIME DESC) H2
      WHERE  ROWNUM &lt;= $2
        AND  H1.AUTOID = H2.AUTOID)">
    <!-- Generated SQL:
      "select NO_SYS_USER_OBJECT_HISTORY.autoid
       from   NO_SYS_USER_OBJECT_HISTORY
       where  NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER(?)
         and  NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
              SELECT H1.AUTOID                             
              FROM   NO_SYS_USER_OBJECT_HISTORY H1,
                     (SELECT AUTOID
                      FROM   NO_SYS_USER_OBJECT_HISTORY
                      WHERE  USER_ID=?
                      ORDER BY DATE_TIME DESC) H2
              WHERE ROWNUM <= ?
                AND H1.AUTOID = H2.AUTOID) -->
    <method>
      <ejb-name>NoUserHistoryEntry</ejb-name>
      <method-name>findOldest</method-name>
      <method-params>
       <method-param>java.lang.String</method-param>
       <method-param>java.lang.Integer</method-param>
      </method-params>
    </method>
    </finder-method>
    After deploying in 10.1.2.0.2 the following information is added to the
    orion-ejb-jar.xml file:
    <finder-method query=
    "NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER($1) and
      NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
      SELECT H1.AUTOID
      FROM   NO_SYS_USER_OBJECT_HISTORY H1,
             (SELECT AUTOID
              FROM   NO_SYS_USER_OBJECT_HISTORY
              WHERE  USER_ID=UPPER($1)
              ORDER BY DATE_TIME DESC) H2
      WHERE  ROWNUM &lt;= $2
        AND  H1.AUTOID = H2.AUTOID)">
    <!-- Generated SQL (pk only):
      "select H1.autoid
       from   NO_SYS_USER_OBJECT_HISTORY
       where  NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER(?)
         and  NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
              SELECT H1.AUTOID
              FROM   NO_SYS_USER_OBJECT_HISTORY H1,
                     (SELECT AUTOID
                      FROM   NO_SYS_USER_OBJECT_HISTORY
                      WHERE  USER_ID=UPPER(?)
                      ORDER BY DATE_TIME DESC) H2
              WHERE  ROWNUM <= ?
                AND  H1.AUTOID = H2.AUTOID) -->
    <!-- Generated SQL (all columns):
      "select H1.autoid, H1.USER_ID, H1.OBJECT_CLASS_ID,
                 H1.DATE_TIME, H1.COMMENT_TEXT, H1.ACTION,
                 H1.ACTION_DATA, H1.SITE_DESCRIPTION
       from   NO_SYS_USER_OBJECT_HISTORY
       where  NO_SYS_USER_OBJECT_HISTORY.USER_ID=UPPER(?)
         and  NO_SYS_USER_OBJECT_HISTORY.AUTOID NOT IN(
              SELECT H1.AUTOID
              FROM   NO_SYS_USER_OBJECT_HISTORY H1,
                     (SELECT AUTOID
                      FROM   NO_SYS_USER_OBJECT_HISTORY
                      WHERE  USER_ID=UPPER(?)
                      ORDER BY DATE_TIME DESC) H2
              WHERE  ROWNUM <= ?
                AND  H1.AUTOID = H2.AUTOID) -->
    <method>
      <ejb-name>NoUserHistoryEntry</ejb-name>
      <method-name>findOldest</method-name>
      <method-params>
       <method-param>java.lang.String</method-param>
       <method-param>java.lang.Integer</method-param>
      </method-params>
    </method>
    </finder-method>
    The problem with the 10.1.2.0.2 generated finders is that it is prepending H1 when
    it should be NO_SYS_USER_OBJECT_HISTORY which results in the following error:
    Exception in thread "main" com.cdtelecom.vygroe.configuration.ConfigurationException:
    com.evermind.server.rmi.OrionRemoteException:
    Transaction was rolled back: Database error: java.sql.SQLException:
    ORA-00904: "H1"."SITE_DESCRIPTION": invalid identifier
    ; nested exception is:
            java.sql.SQLException: ORA-00904: "H1"."SITE_DESCRIPTION": invalid identifier
            at com.cdtelecom.vygroe.configuration.ConfigurationSession.internalRecordAction(ConfigurationSession.java:869)
            at com.cdtelecom.vygroe.configuration.ConfigurationSession.recordAction(ConfigurationSession.java:401)
            at com.cdtelecom.vygroe.configuration.Configuration.recordActionSaveOrder(Configuration.java:886)
            at com.cdtelecom.vygroe.configuration.Configuration.getOrder(Configuration.java:239)
            at test10g.main(test10g.java:47)
    I tried to manually edit the file but when I shutdown and restart oc4j it regenerates the file again.

    Jingzhi -- If you define the correct EJB-QL you should get the correct SQL generated for the finder. If that's not happening can you verify it against the OC4J v903 production release and see if it is still happening. I don't know if this helps with the JDeveloper problem specifically but if you don't need to create your own finders then that I hope should help.
    Thanks -- Jeff

  • Configure WCF client at runtime from XML file

    Hi
    Since we use a special config system in our application that also uses xml files which are parsed at runtime, i also want/need to to integrate WCF configuration in our main config system. So we have only one config file and system.
    Our system is somewhat cumbersome, so I want to reference an app.config-styled xml file into our config system like
    config. file "bla.accfg"
    <class ID="WcfClient1" ... >
    <Interface>
    <Property Name="WcfConfigFile" Value="WcfClient1.config" />
    </Interface>
    </class>
    and the wcf config in "WcfClient1.config" is identical to the settings of app.config <sytem.serviceModel> section
    <configuration>
    <system.serviceModel>
    <bindings>
    <netTcpBinding>
    <binding name="NetTcpBinding_IInstallationCommunciationService">
    <security mode="None"></security>
    </binding>
    </netTcpBinding>
    </bindings>
    <client>
    <endpoint address="net.tcp://localhost:9002/InstallationCommunciationService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IInstallationCommunciationService" contract="IInstallationCommunciationService" name="NetTcpBinding_IInstallationCommunciationService">
    <identity>
    <servicePrincipalName value="host/XXX-ZZZfutura"/>
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    </configuration>
    So when the app stzarts i read the "WcfConfigFile" property in my "WcfClient1" instance, find file "WcfClient1.config" then I want to conigure my WcfCleint accoridng to the setttings found in this file.
    How can I achieve it?
    I know there is are new APIs in .NET 4.5 like "ServiceHost.ApplyConfiguration" and "ConfigurationManager.OpenMappedExeConfiguration".
    Whcih is the right one?
    Regards, Chris

    In short I want to know how I can configure a wcf client, that derives from ClientBase<T>,  at runtime to get the binding and endpoint from a config file (app.config format) so I can potentially change this file and switch the security or switch
    from NetTcp to Http or chnage the server's endpoint adress or such like.
    like Pseudo-code:
    MyClient client = new MyClient(Configuration.FromFile(....));

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • Ability to Queue Rather than "Open" Hundreds of Files

    Problem: I have 500 JPEG files to edit in Photoshop.  I cannot "open" more than 200 files at once for editing.
    Solution: Make a "Queue" option to allow me to queue as many files as I desire.  Only one file will be open at a time for editing, and when that one is closed, the next in the queue is opened, ready to edit.
    Yes, I know another solution is to buy Lightroom, but I would like to see this work using Photoshop alone or in conjunction with Bridge.

    Obviously, I must halt the batch process for each file to allow editing.
    No, you shoudnt necessarily have to do that.
    You haven't told us what type of editing needs to be done on each file. If for example its color correction (it often is in these kind of operations) then you don't have to stop the process at all - it used to be possible to edit them and press enter to commit… Pressing enter after changing the adjustment values, will then complete the process of saving and closing the file. No Stops necessary.
    This is one area where CS3 was better than Photoshop CS4. If you still have a copy of CS3 on your machine, (most smart people will have) then these actions will still work. Actions created in CS3 can be used in CS4 - they will open a dialog and allow editing of the values.
    Many things including Cropping, mode changes, and most other editing processes can also be automated in this way, WITHOUT needing a stop in the action. Its retouching (image specific spotting and changes) which can't be automated

  • COnfiguring Struts-config.xml file for two level popup windows?

    This is the code for 1st level
    <action path="/search/advanced" scope="request" parameter="method"
                   type="org.fao.gilw.agris.action.AdvancedSearchAction" name="advancedForm" validate="false">
                   <forward name="failed" path="/search/advanced.jsp" redirect="false"/>
                   <forward name="success" path="/search/advanced.jsp" redirect="false"/>
              </action>"search" is the main window, in this window I'm opening/loading a pop-up window called " advanced" ..the above code is for this
    Now again i want to pop-up another window in "advanced" page
    So how to configure for this in Struts-config.xml file...?

    Better post this question at a Struts related forum. There is a mailinglist at their own homepage and a forum at Nabble.com.

  • General knowledge/Guidelines on UWL behaviour - configured from XML files

    Hi,
    Like a lot of other people working with SAP UWL, we also have the needs for configuring the UWL behaviour from the XML files.
    Until now, we have managed (not many cases/issues - but, a lot of time) to handle the needs.
    But, my aim is to get a more stuctural knowledge of the uwl.standard, uwl.webflow etc. and the relationsships between the elements between them. When we have an issue to solve now, we almost start from scratch as we do not have an structural overview of the files and their contents - and their elements interrelationships.
    I have searched to find it, but, unfortunately I have not succeeded.
    Do some of you guys know where to obtain some structural knowledge of the XML files featured?

    Hi Lars,
    Check out the following documentation (the last link is the most interesting for you):
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f935e788be10b3e10000000a11466f/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45
    Cheers,
    Noë

  • Which is the servlet configuration XML file in tomcat

    Which/where is the servlet configuration file in Tomcat?
    Do we need to modify this anytime?

    You configure tomcat itself using the server.xml file in the conf folder, but there are many other xml files that can be modified, which can have an affect on your servlets or jsps.
    I think you may be talking about the web.xml file which resides in your WEB-INF folder of your webapp (defined by your context tags in server.xml). Don't confuse this with the web.xml file that sits in the servers conf folder.
    Search for web.xml to get details of what you can put in here. There are plenty of examples across the internet.

  • Does JDeveloper deploy the data-sources.xml file?

    Hi,
    My project has a data-sources.xml file. When I deployed the project, JDeveloper created a .war file. The data-sources.xml file is not in the .war file. How will the application server pick up the data source if the xml file is not getting deployed?
    Thanks,
    Merced

    data-sources.xml configures the datasource with the oc4j server.
    A <Application>-data-sources.xml file also gets added for a project to the project directory.

  • How to use multiple ejb-jar.xml files

    Hello -
    If the project you work on has a lot of beans that you need to configure them in one ejb-jar.xml file. Then ejb-jar.xml file will be getting bigger and bigger. I am wondering if there is any way to divide the ejb-jar.xml file into multiple sub ejb-jar.xml files and then combin them together when deploy it. Same question question for the vendor ejb-jar.xml like weblogic-ejb-jar.xml.
    Thanks!
    Ben

    HI Ben,
    No, there is no notion of combining ejb-jar.xmls at deployment time in Java EE. There is no
    set limit on the number of ejb components within an ejb-jar module either.
    --ken                                                                                                                                                                                                                                                                                                                                                                                       

  • Reading from XML file and updating the table ????

    Hi
    I have package which reads the hier.XML file and does Update inserts into the 5 tables
    i have table called MAIN_tbl with the column cur_date.
    The package kicks if this cur_date is one day less than the hier.XML file DT.
    Currently i m manually checking this date's to make sure the Main_tbl cur_date is n sync with
    hier.XML file DT.
    for example :- hier.xml file DT is "20091020" then main_table cur_date should be 10/19/2009
    in order to kicks of the pakage.
    what i m looking to do ??
    compare the hier.xml DT with the main_table cur_date,
    if cur_date is -1(Preivous day) of hier.xml DT then run hier_pkg(Package)
    if not then update main_table cur_date to -1(previous day) of the hier.xml DATE
    Then later write the above logic to update the main_table in a procedure, and
    then call the package from the procedure.
    below are the top few lines of the hier.XML file which is relevant to the one which we are trying to do
    <?xml version = '1.0'?>
    <HIER_POSTING num ="111" HIER_TYP="CD" DT="20091020" Global="Y">
    FYI : The hier.XML file is located in UNIX space.
    How do i accomplish this. any idea ????
    Thank you so much in advance. For giving a thought on this problem!!!

    Any thought on this guys ???
    Thanks!!

  • UCCX Reading XML file hosted on IIS web server

    hi guys,
    i have a customer on CCX 8.5 environment and they have a .NET application running on an IIS web server. As part of this .NET application, the app produce an XML file.
    My questions is
    "Can CCX read XML file that is hosted externally on IIS web server rather than parsing the XML file on CCX document repository?"
    All of the examples of XML parsing points to the XML file in document repository.
    Any pointers to links and documentation/example on how to do this would be greatly appreciated.
    If this is not achievable, if you could kindly suggest a different way of doing it too would be greatly appreciated.
    Thanks in advance,
    Daniel

    Hi,
    to be quite honest with you, I don't know anything about Sharepoint - so I am afraid I cannot help you with its XML editing capabilities. XML is just a well formed text file that follows some logical rules, so no additional application is required for editing, in fact, I always encourage everybody to use Notepad/Textpad/ to read and edit XML files. Of course, if it's not possible, you will find a great number of various user friendly XML editing applications.
    A UCCX script will normally access an XML using the Create URL Document step and then, using the Get XML Document data step with the help of an XPath expression, will filter out the necessary information from the XML document.
    The protocols used are standard and well known, including HTTP and XPath (and XML itself). So it does not really matter what kind of HTTP server serves the XML file, IIS is just an option.
    Examples may be found in the Scripting guides for your particular UCCX version.
    HTH
    G.

  • XML file path in jdeveloper

    I have some custom xml files that needs to be shipped along with the application. In my programs I dont want to use the absolute file path for these xml files because the directory in which the application will be installed will vary. How do I configure the project to use these xml files using a relative path ?
    regards,
    Nirvan

    Can someone please help me with this.
    regards,
    nirvan

Maybe you are looking for

  • Restoring iPhone from an iTunes backed up on an External Harddrive

    I deleted all of my old "restore iphone" devices not realizing that I was deleted my current one as well. I am having trouble locating Mobilsync in my MacHD and in my external HD where everything is backed up. I used the scripts you put in the termin

  • Installing Oracle 9i client on remote PC with out using distrib on cd-rom

    Hello! I have a such problem. I must install oracle client on a remote PC with no user assistant (with out usin cd-rom, I must use distrib from local hard drive). When I trying to launch setup file ORACLE 9i from Hard drive I have an error abut using

  • Best solution for showing photos on a HD TV?

    I recently got a Sony HD TV with full 1080. I would like to be able to display my photos at the best resolution possible on it. What is the best way to do that? My computer is nowhere near the TV so I can't plug it in directly. I also am not interest

  • Copied query running indefinitely.

    Dear All, I am facing a strange issue. I have a query say A. On execution of the query it works fine and displays the results. When I save this query as B and execute it, it does not display any result. The query executes indefinitely. In SM50 the st

  • Distributing an application over several projects

    I want to create a BC4J-application, which consists of two separated Projects: - the "model" project contains all entity, view and application objects - the "JSP" Project contains corresponding JSP-pages to access the application objects As recommend