Define custom JNDI entry

Hi,
I would like to define an ear/war that is independant of the deployement plateform.
That's possible when I use only DataBase or JMS external connectors. In these cases I do it by defining JMS Queue or Data source in my config.xml file and referencing them in the deployement descriptors of my applications.
But I don't find how I can define a custom property in the config.xml, for example I need to have a remote IP adresse for calling a specific service.
I find how to add JNDI entry in the deployement descriptor of my applications, but that requires to modify my war/ear before deploying them on the servers.
On Tomcat for example, that can be done using this configuration:
<?xml version='1.0' encoding='utf-8'?>
<Context displayName="MyApp" docBase="wsp" path="/wsp" workDir="work/Catalina/localhost/wsp">
<Environment description="My custom entry" name="url.SpecificService" type="java.lang.String" value="http://192.168.0.1/"/>
Does anybody know how to add custom entry to the JNDI tree in the config.xml file or any other resources that is not buddle with the EAR/WAR ?

Those errors are from February 7, so not helpful.  (and they were probably due to bugs in Generator that got fixed in 14.2.1).
Hmm, not sure why you aren't getting an error logged.
And I can't seem to get any errors when defining a custom shape.
What sort of shape/path do you have selected?
What sort of document are you using?

Similar Messages

  • " Unit of measure ****** is not defined; check your entry in table T006

    I´m Trying to create a material from MDM to SAP and I´m monitoring the IDOC in  WE05 and i get the next message:
    " Unit of measure ****** is not defined; check your entry
    Message no. M3490
    Diagnosis
    The key for the unit of measure you entered is not defined in table T006.
    Procedure
    Define the unit of measure through Customizing (Materials Management). "
    In MDM we are sending as remote key the SAP Code and this code exists in the table T006, but in the information of failed IDOC say:
    " Messages have been issued: number 0000000000184470
    Message no. MK101
    Diagnosis
    During inbound processing for the IDoc, messages have arisen while checking material data. "
    If someone has information about it ,pls I´ll appreciate your answer.
    Regards Itzell T.

    I´m Trying to create a material from MDM to SAP and I´m monitoring the IDOC in WE05 and i get the next message:
    " Unit of measure ****** is not defined; check your entry
    Message no. M3490
    Diagnosis
    The key for the unit of measure you entered is not defined in table T006.
    Procedure
    Define the unit of measure through Customizing (Materials Management). "
    In MDM we are sending as remote key the SAP Code and this code exists in the table T006, but in the information of failed IDOC say:
    " Messages have been issued: number 0000000000184470
    Message no. MK101
    Diagnosis
    During inbound processing for the IDoc, messages have arisen while checking material data. "
    If someone has information about it ,pls I´ll appreciate your answer.
    Regards Itzell T.
      Hi Itzell T,
          While creating the material the unit of measurement which is entered is not existing in the SAP System. The unit of measurement entered during creation of material is cross checked from enteries of check table T006.
          So, functional consultant should take care of this issue just let him know the message.
       He know what problem actually is and fix the problem as Ankur had said.

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

  • Could not complete the define custom shape command because of program error

    I am using the pen tool to draw a shape and then select it to create a custom shape. I use path: edit - define custom shape = "could not complete the define custom shape command because of program error"
    The error message appears once I click the define button.

    Also, I solved this another way, seems to happen to me often. I click on the path panel, near layers panel and clicked on 'load path as a selection' (3rd icon on bottom from left), then click 'make work path from selection' (4th icon on bottom from left). Then you will see that the whole work area is part of the selection, including your desired shape/path. In order to change this, just select 'path selection' tool and highlight each corner and delete each point from each corner, then you are left with the desired selection to create a shape. I am self taught and this seem unorthodox, but it works.

  • When I click on Define Custom Shape, I get an error message: "could not complete your request because of a program error."

    I'm using Photoshop CC 2014. When I click on Define Custom Shape, there is an error box that says "could not complete your request because of a program error."  How can I solve this problem or work around it? I've looked on the internet for answers but could find no solutions to this. The custom shape tool is 99% of what I use!

    Consider resetting the Pen tool by right clicking here
    and if that doesn't solve the problem a logical next step would be to reset your Preferences.
    To reset Preferences:
    If Photoshop is already open on your screen, close it (Quit). Then hold down Shift+Ctrl+Alt (Win) / Shift+Command+Option (Mac) on your keyboard and start Photoshop.
    A dialog box will pop up asking if you want to delete the existing Preferences file (the "Settings"). Click Yes in the dialog box. The existing Preferences file will be scrapped and a new one will be created.
    By the way, if "The custom shape tool is 99% of what I use!" have you considered Illustrator?

  • Is there a HP color laser printer that can define custom-size media sizes in WINDOWS?

    Is there a  HP color laser printer that can define custom-size media sizes in WINDOWS?

    Have you tried downloading and installing the drivers from here?
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18...
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Allow Custom Text Entry for Drop down not working For Dynamic form

    Dear All,
    In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
    If any body can please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Dear Jimmypham,
    Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
    Can you please help me to find out the solution for this problem.
    Regards
    Rakesh

  • Define custom shape error in Photoshop CC 14.2.1

    whene I try to define Custom Shape I got this message

    Those errors are from February 7, so not helpful.  (and they were probably due to bugs in Generator that got fixed in 14.2.1).
    Hmm, not sure why you aren't getting an error logged.
    And I can't seem to get any errors when defining a custom shape.
    What sort of shape/path do you have selected?
    What sort of document are you using?

  • Define Custom Shape doesn't work in Photoshop CS5

    It seems to be impossible to Define Custom Shape in Photoshop CS5. This option in Edit menu always remains grayed out...
    Can anyone check and see if this is the case in your own installation of the program?
    Very same procedure works in Photoshop CS4 just fine, but not in CS5...

    Hi Fox,
    I think you might just have found a bug there. I've reported it upstairs.

  • Custom Table Entry not in Sync between Different Environment

    Hi All,
    we have different environment like Dev System, Quality system, performance testing system etc... these are all environment customs table entry not in syn .. Table entry should be syn. How to make it syn all the entry between all environment without do any manual work. Kindly help on this.
    Thanks

    Hello Mohammed,
    It depends on what type of tables you are referring to. If you have a table of type 'Customizing', you have to transport your table entries across different environments and they will be in Sync.
    If you are referring to tables of type 'Master Data', they have to be maintained in all environments.
    Table of type 'Transaction Data' by default have different records based on your day to day transactions.
    You cannot have all custom tables with same data in all environments. Hope this helps.
    Rgds,
    Vijay.

  • How can I define the possible entries for "invoicing process" at fkkinv_ma?

    At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
    Thanks in advance for the answers.

    You have to define them in the IMG 
    Financial Accounting (new)
    Contract Account Recievable and Payable
    Business Transactions
    Invoicing
    Invoice Types
    You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like  Dunning Charges
    then you have to have a developer create the form and form class of invoice.

  • [solved] dolphin file manager losing all custom places entries

    Hi all,
    I am getting phantom problem with dolphin file manager, i added custom place entries there but suddenly they diappear from dolphin.
    There is no any pattern in disappearance. They appear for few days without any problem, even after shutdown/reboot. But suddenly some day they disappear and i have to add them again.
    I want to find cause of this problem then fix it.
    Or at least find config file where dolphin store configuration about custom places that i can backup and restore to get back entries.
    I checked ~/.kde4/share/config/dolphinrc but couldn't find there anything about custom places.
    I am using KDE 4.14.5 and Dolphin 14.11.97
    Last edited by samtech09 (2015-02-16 13:02:09)

    Hi samtech09,
    dolphin stores the configuration of the custom places in ~/.local/share/user-places.xbel.
    The problem you described has already been reported upstream: https://bugs.kde.org/show_bug.cgi?id=343735
    Last edited by mauritiusdadd (2015-02-16 11:30:50)

  • Series not defined for journal entry

    Hello Sir
    I have defined two series namely "SCPL"  and "New1"
                    Start No    Last No
    SCPL        10001       3000
    New1         3001        30000  
    Now i have made "SCPL" series as default for A/R Invoices and "New1" series as default for rest of the documents like A/R Credit memo,Journal Entry  etc...  
    Now when I try to add an A/R Invoice , it gives me error message "Series not defined for journal entry"..??    But i have defined New1 series as default for Journal Entry

    Hi,
    In the series defined for journal entry,set document series as default for which default journal entries will be posted automatically.
    Ex.For delivey,return,invoice journal entry will be generated automatically,so if you a series like JESYS08 indicating system automated journal entry.This series should be set as default.
    If you have further issue let me know.

  • Can you enter a custom recurring entry in calander from the iPad?

    Can you enter a custom recurring entry in calander from the iPad?

    Unfortunately, no you can't with the built in calendar app. Take a look at some of these apps. One of them may work for you.
    http://appadvice.com/appguides/show/best-calendar-apps

  • Custom classpath and custom jar entry in R12

    Hi all,
    I have created the custom classpath and custom jar file for isrore process. I had put custom jar and custom class entry in orien_application.xml file. But it was working on R12 at doveloper mode. It will creates the classes for custom jsp file using custom import class or custom jar. But once i revert back the devloper mode means it won't work.
    Could you please help..

    Oracle apps R12 - Compiling JSP with custom classpath
    We all know that to compile JSP manually on the Oracle Application R12 instance, we need to run the file $FND_TOP/patch/115/bin/ojspCompile.pl.
    Its help is as follows:
    syntax: ./ojspCompile.pl COMMAND {ARGS}
    COMMAND --compile               update dependency, compile delta
    --create                rebuild entire dependency file
    -delta.out update dependency, list delta to file
    -dep.out update dependency, output heirarchy to file
    ARGS -s matching condition for JSPs filenames
    -p number of parallel compilations
    -log to override logfile from ojspCompile.conf
    You are
    recommended to set the log file location
    outside of any network file system shared (NFS) area/drive.
    -conf to override ojspCompile.conf
    --retry         retry previously failed compilation attempts
    --flush         forces recompilation of all parent JSPs
    --quiet         do not provide an actively running progress meter
    --fast          instantly fail jsps that are possibly invalid
    example1: ojspCompile.pl compile -s 'jtf%' -p 20 retry
    example2: ojspCompile.pl compile -s 'jtflogin.jsp,jtfavald.jsp' flush
    example3: ojspCompile.pl compile fast --quiet
    If your JSP uses custom classes, then compiling jsp manually can fail if proper classpath is not set. Yes, even though if you have setup the classpath correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml classpath.
    So, the problem is to identify where to set the classpath so that above utility can pick it up. After several search and looking into code, I found following:
    By default, the jsp compiler script uses following configuration file
    $INST_TOP/appl/admin/ojspCompile.conf
    This conf file has a classpath field in it which is usually pointed to file
    $INST_TOP/appl/admin/ojspCompile.properties
    This property file lists the classpath used for JSP compilation.
    So if your classes are not listed in this file, your jsps will not compile by ojspCompile.
    Ofcourse, you can always set the "main_mode" to "recompile" in orion-web.xml, but that for production you do not want to change it and compile the JSP on file deployment.
    References:
    458338.1 How to Enable Automatic Compilation of JSP pages in R12 Environment
    433386.1 JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
    783094.1 Compile jsp files at Application R12 at Windows

Maybe you are looking for

  • N-series Cardbus Adapter

    Moving ahead with 802.11n technology, will Cisco be coming up with N-series Cardbus Adapter for the clients?

  • Organizer shuts down everytime you open it

    my photo shop 11 organizer shuts down every time it is opened can't do anything.

  • Tomcat error when deploying WAR file

    Hi I have written my first program using Creator 2. It runs with no problems when i use the sun appserver. however I wanted it to run on tomcat and having deplowed the war file on tomcat when i run the program I get the following error message which

  • Am I missing a

    I bought a Nomad JukeBox Zen Xtra and it came with just one CD. I've loaded all the software and finally got the pc to recognize the Nomad. (Took about 4 hours to accomplish that)?Now I cannot find a way to sync the Nomad and the computer's music fil

  • Simple pdf search page

    Hello, I am trying to set up a very simple webpage that would provide a search box that would search through multiple pdfs in a specific folder. Under this search box, I would like a dynamic list of pdf files within the specific folder as links. My r