What is the meaning of java:comp/env in (?java:comp/env/jdbc/mssql?) ?

I know that we are suppose to give jndi names starting with jdbc/
But i have a sun book in which they created a jndi with jdbc/ejbUserAccount and later referred it with "java:comp/env/jdbc/UserAccountDB"
also in this blog this guy has done the same ..
http://vchaithanya.wordpress.com/category/java/
please help !!

DogsAreBarking wrote:
I know that we are suppose to give jndi names starting with jdbc/
no we're not!
But i have a sun book in which they created a jndi with jdbc/ejbUserAccount and later referred it with "java:comp/env/jdbc/UserAccountDB"
That's how he defined it, apparently. Or rather the application(server) that provides the resource through JNDI.
please help !!It's just a name. It could be anything, but usually they are descriptive.

Similar Messages

  • What is the meaning of e system- jvm:infop=25a84f41,a='7.1.0.746',0='9.50.0.80',h=e000f03

    what is the meaning of e system- jvm:infop=25a84f41,a='7.1.0.746',0='9.50.0.80',h=e000f03 when i press alt+L+G+L+G on my bb 9220 i have that situation,but when i press alt+L+G+L+G on the other device i come different situation.what i must to do?

    deepspace wrote:
    i2b converts form int tot byte.
    If you don't use this instruction, the int will probably simply be chopped off at 1 byte.
    The casting does this:
    Narrowing Conversions: when an integer type is cast to another integer type of a smaller n number of bits, all but the n lowest-order bits, will be truncated.
    Yes, if instructions that yields integer results, such as iload_<n>*, are not proceeded with an i2b* instruction then the bastore* instruction, for example, would truncate the 32bit word into 8bits. But what option is there anyway? Maybe not proceeding an instruction, such as iload_<n>*, with i2b* will cause the bastore* instruction to forcibly compress a 32bit word into an 8bit byte?
    Please, if you would look at the output of the programs, that I discussed earlier in this post, you would notice the results are exactly the same, regardless to if the iload_<n>* instruction is proceeded with i2b* or not; it is analogous to the NOP*, No Operation, instruction used by microprocessors; however, conversely, the i2bmnemonic implies it actually performs a function. This is why I was questioning the pragmatic* reasoning behind it's usage. I just want to understand what is happening!
    I have posted this question to 3 different developer sites, including java.sun.com/j2se forums, and HAVE YET to get a DEFINITIVE* answer. All I get is the obvious answer but that is my problem, isn't it OBVIOUS* that 32bits must be truncated to 8bits to fit into a byte? I could understand if i2* transformed the 32bit word in some way but as evidence by the programs I posted earlier this is not the case. The values I passed to thoses methods ranged from -255 to 255, inclusive!!! Should I use values ranging from java.lang.Integer.*MIN_VALUE* to java.lang.Integer.*MAX_VALUE*, inclusive, instead?
    h4.
    Please read the posting and look at the output and you will understand my conundrum
    -----

  • What is the meaning of HeuristicHazard

    Hi
    I am new to XA and getting some bizzare exceptions ... I read your article and
    got inspider to ask you this question ...
    What is the meaning of HeuristicHazard
    We are using WLS8.1 and uisng XA as we want to maintain a transaction context
    between our DB and JMS publisher ..
    the exception looks like this ...............
    java.rmi.RemoteException: Exception while commiting Tx : Name=[EJB dbnexus.server.ejb.clientapi.DocumentManagerBean.store(dbnexus.comm.data.DataStream)],Xid=BEA1-0035FEE57A8B60BFCDEB(140482544),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=129,seconds left=119,XAServerResourceInfo[nexus_connection_pool]=(ServerResourceInfo[nexus_connection_pool]=(state=committed,assigned=LONGRTDbnexusMS2),xar=nexus_connection_pool),SCInfo[LON-INT-GRTDbnexus+LONGRTDbnexusMS2]=(state=committed),properties=({weblogic.transaction.name=[EJB
    dbnexus.server.ejb.clientapi.DocumentManagerBean.store(dbnexus.comm.data.DataStream)]}),local
    properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=LONGRTDbnexusMS2+lonindapip4.uk.db.com:10001+LON-INT-GRTDbnexus+t3+,
    XAResources={},NonXAResources={})],CoordinatorURL=LONGRTDbnexusMS2+lonindapip4.uk.db.com:10001+LON-INT-GRTDbnexus+t3+);
    nested exception is:
    javax.transaction.HeuristicMixedException: (nexus_connection_pool, HeuristicHazard,
    I will be obliged if you find some time to reply to my email .......................
    Thanking you in advance
    Tanmoy Das

    HeuristicHazard Exception is internally thrown by weblogic transaction subsystem. If transaction is rolled back or commited and somebody tries to rollback or commit same transaction again, we internally throw heuristic hazard exception.
    This can happen in scenarios like this.
    When we start the transaction, we put xid in the tlog file. Once we commit/rollback transaction and it is successful, we remove entry for that xid from tlog files. If something happens after transaction is commited/rolledback but tlog entry is not removed, at server startup we do recovery process
    and we will try to commit/rollback this tx which is already completed. In this case we throw heuristichazard exception. Generally, this exception is harmless.
    Thanks,
    Mitesh
    Tanmoy wrote:
    Hi
    I am new to XA and getting some bizzare exceptions ... I read your article and
    got inspider to ask you this question ...
    What is the meaning of HeuristicHazard
    We are using WLS8.1 and uisng XA as we want to maintain a transaction context
    between our DB and JMS publisher ..
    the exception looks like this ...............
    java.rmi.RemoteException: Exception while commiting Tx : Name=[EJB dbnexus.server.ejb.clientapi.DocumentManagerBean.store(dbnexus.comm.data.DataStream)],Xid=BEA1-0035FEE57A8B60BFCDEB(140482544),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=129,seconds left=119,XAServerResourceInfo[nexus_connection_pool]=(ServerResourceInfo[nexus_connection_pool]=(state=committed,assigned=LONGRTDbnexusMS2),xar=nexus_connection_pool),SCInfo[LON-INT-GRTDbnexus+LONGRTDbnexusMS2]=(state=committed),properties=({weblogic.transaction.name=[EJB
    dbnexus.server.ejb.clientapi.DocumentManagerBean.store(dbnexus.comm.data.DataStream)]}),local
    properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=LONGRTDbnexusMS2+lonindapip4.uk.db.com:10001+LON-INT-GRTDbnexus+t3+,
    XAResources={},NonXAResources={})],CoordinatorURL=LONGRTDbnexusMS2+lonindapip4.uk.db.com:10001+LON-INT-GRTDbnexus+t3+);
    nested exception is:
    javax.transaction.HeuristicMixedException: (nexus_connection_pool, HeuristicHazard,
    I will be obliged if you find some time to reply to my email .......................
    Thanking you in advance
    Tanmoy Das

  • What is the diffrence between package javax.sql and java.sql

    Is javax designed for J2EE?
    And when to use package javax?

    Hi,
    What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
    1.The java.sql package and
    2.The javax.sql package.
    java.sql provides features mostly related to client
    side database functionalities where as the javax.sql
    package, which adds server-side capabilities.
    You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
    For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support/

  • What is the diffrence between My Runnable Interface and Java Runnable

    Hi folks
    all we know that interfaces in java just a decleration for methods and variables.
    so my Question is why when i create an interface its name is "Runnable" and i declared a method called "run" inside it.then when i implements this interface with any class don't do the thread operation but when i implement the java.lang.Runnable the thread is going fine.
    so what is the diffrence between My Runnable Interface and Java Runnable?
    thnx

    Hi folks
    all we know that interfaces in java just a decleration
    for methods and variables.
    so my Question is why when i create an interface its
    name is "Runnable" and i declared a method called
    "run" inside it.then when i implements this interface
    with any class don't do the thread operation but when
    i implement the java.lang.Runnable the thread is going
    fine.
    so what is the diffrence between My Runnable Interface
    and Java Runnable?
    thnxClasses and interfaces are not identified by just their "name", like Runnable. The actual "name" the compiler uses is java.lang.Runnable. So even if you duplicate the Runnable interface in your own package, it's not the same as far as the compiler is concerned, because it's in a different package.
    Try importing both java.util.* and java.awt.* (which both have a class or interface named List), and then try to compile List myList = new ArrayList();

  • What is the meaning of the black line in the Layer 2 View?

    In the layer 2 View,there are many black line indicate "Ethernet 100M",what is the meaning?Does it mean the device is an end device that connected PC only?

    Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
    If anyone else in the forum has some advice, please reply to this thread.
    Thank you for posting.

  • MM - PO - what is the meaning of this button?

    Dear friends,
    Could anybody help me with one question.
    There is a strange button in a Purchasing Order on the Account Assignment tab page on this screenshot (it is marked with red color).
    Screenshot below
    http://content.foto.mail.ru/mail/raiden87/81/i-84.jpg
    What is the meaning of this button? When it is used for?
    I hope that anybody knows the meaning =)

    hi raiden,
    as for as i have gone through the issue I have come to know that:
    If you want to use multiple account assignment for a line item in PO then at that moment you will have to first press the "repeat on " button. only after that multiple account button will be active that is just before your "repeat on " button.
    Steps:
    1:Save your PO.
    2:Go to transaction code ME22N to change the PO.
    (Here you will firstly see that the multiple a/c assignment button is firsty gray.It will become active only after when you press the "repeat on" button).
    I hope It will be helpfull for you.
    regards,
    Aslam Ansari.

  • So I have an iPad with the smart cover, and it's usually supposed to turn on the iPad when u open it, but it's no doing that for me. Nor is it turning off without pressing the button. What is the meaning of this?

    So I have an iPad with the smart cover, and it's usually supposed to turn on and off the iPad when u open it and close it, but it's not turning on for me. Nor is it turning off without pressing the button. What is the meaning of this?what caused it to be this way? Is there someway that I could fix it?

    Wait a sec did this just start?
    You set up the smart cover function in settings (you did that, right?) so, if you did that and it's failed you make an appointment at your nearest Genius Bar now.

  • What is the meaning of this column in the pricing  procedure?

    Dear Gurus,
    What is the meaning of this column in the pricing procedure?
    thanks..

    subtotal field : Subtotal field is used to pass the value to some other field in PO .
    for ex: using value 9 you pass the value to field komp-brtwr. so that this can be used in  any other routine in the pricing procedure.
    requirement field: if there is a scenario that condition type should come in pricing on some condition like vendor country is india. in that case use create the requirment and attached this requirement.in this requirment you put logic and set the sy-subrc value 4 or 0.

  • What is the meaning of "i" in apple products?

    what is the meaning of "i" in apple products? i means "my" or any other answers?
    iOS means iphone Operating System
    so , iphone means my phone , internet phone or any other meanings?
    Can any one please clear my doubt?
    Thank you.

    http://www.quora.com/What-is-the-history-of-the-i-prefix-in-Apple-product-names
    Cheers
    Pete

  • In CM01 selection screen, what is the meaning of "Operator"

    Hello,
    (1) In CM01 selection screen, there are 3 fields with column heading "Operator". There is no documentation available for those fields. Can someone help me understand what is the meaning and use of those 3 fields. Thanks.
    (2) We are in the process of writing a wrapper program for CM01 - so that we have more detailed selection options and also download to Excel. Any help/suggestion for this is welcomed. Thanks.
    - Chetan

    Hi Chetan
    the operator field is just to select your input values and it has these following options
    and has no significance on the report
    =     equal to
    <>     not equal to
    >     Greater than
    >=     greater than/equal to
    <     less than
    <=     less than/equal to
    EQ     equal to
    NE     not equal to
    GT     Greater than
    GE     greater than/equal to
    LT     less than
    LE     less than/equal to
    CP     contains pattern
    NP     does not contain pattern
    regarding downloading the report to excel file, it is a standard functionality and any ABAP developer should be able to add it to your report and if you plan to add some additional fields to make your report more details, you need to do some enhance ment and build a custom report depending on what you want to add
    if helpful please reward your points

  • Could you tell me what's the meaning of the logfile-path and log-level?

    we are running an productive xml database. but it is not stable now. Sometime it would report resource conflict error while you access xmldb via http protocol. I read the database logs and listener logs, but no abnormal message could be found. So, I want to find more information from the xmldb logs. While I run select DBMS_XDB.cfg_get().getclobval() from dual, I found that there are several logfile-path and log-level tags and I guess that these would be xmldb logs. Does anyone know what's the meaning of these tags?

    I wondered about that one often too. I didn't have a chance yet to investigate (but maybe Mark will elaborate a little here), my guess is that it / or will be a possibility to enable tracing regarding the protocols or servlets.
    Though It look like if you enable it it will trace to the XML file defined in the xdbconfig.xml. I also guess that (because there is also a XSD counterpart) that one could create an resource that streams the errors into a XDB ftp or http or ... xmltype table based on these settings.
    This would be great because it would mature the protocol server regarding functionality. You could enable the tracing and see what happens. Until now the documentation doesn't give much extra insight...
    <!-- FTP specific -->
    <element name="ftpconfig">
    <complexType><sequence>
    <element name="ftp-port" type="unsignedShort" default="2100"/>
    <element name="ftp-listener" type="string"/>
    <element name="ftp-protocol" type="string"/>
    <element name="logfile-path" type="string" default="/sys/log/ftplog.xml"/>
    <element name="log-level" type="unsignedInt" default="0"/>
    <element name="session-timeout" type="unsignedInt" default="6000"/>
    <element name="buffer-size" default="8192">
    <simpleType>
    <restriction base="unsignedInt">
    <minInclusive value="1024"/> <!-- 1KB -->
    <maxInclusive value="1048496"/> <!-- 1MB -->
    </restriction>
    </simpleType>
    </element>
    <element name="ftp-welcome-message" type="string" minOccurs="0"
    maxOccurs="1"/>
    </sequence></complexType>
    </element>
    <!-- HTTP specific -->
    <element name="httpconfig">
    <complexType><sequence>
    <element name="http-port" type="unsignedShort" default="8080"/>
    <element name="http-listener" type="string"/>
    <element name="http-protocol" type="string"/>
    <element name="max-http-headers" type="unsignedInt" default="64"/>
    <element name="max-header-size" type="unsignedInt" default="4096"/>
    <element name="max-request-body" type="unsignedInt" default="2000000000"
    minOccurs="1"/>
    <element name="session-timeout" type="unsignedInt" default="6000"/>
    <element name="server-name" type="string"/>
    <element name="logfile-path" type="string"
    default="/sys/log/httplog.xml"/>
    <element name="log-level" type="unsignedInt" default="0"/>
    <element name="servlet-realm" type="string" minOccurs="0"/>
    ...etc...

  • What's the meaning of the various .bin files used by SAM?

    hey everyone,
    I'm trying to understand why exactly there are so many .bin files used by the SAM, and how to compile each one of them.
    My .rc file for the simulation contains:
    load bin reset.bin 0xfff0000000
    load bin q.bin 0xfff0010000
    load bin openboot.bin 0xfff0080000
    load bin nvram1 0x1f11000000
    load bin 1c1t-md.bin 0x100000
    load bin 1c1t-hv.bin 0x180000
    load bin disk1.img 0x1f40000000
    I don't understand why I have 3 different files - reset.bin, q.bin and openboot.bin when I would have expected only one bootfile.
    I also don't know what's the meaning of the 1c1t-md.bin file (what md stands for).
    If anyone could clear this subject for me, and also point me to the sources of each such file (if they exist in the project, and assume they do, at least for most of them), I'd be grateful.
    Thanks,
    Mintz Yuval

    Hi,
    Sorry I haven't replied sooner.
    I get your project now and it sounds pretty cool.
    Let me answer your last question first. The service processor resides a separate motherboard running independently of the N2 processor. The SP and N2 processor communicate via a I2C link which allows the SP to read and alter the state of the N2. The cpu, caches, NIU, memory, etc. are all connected by this link. Once the N2 is running, the SP and the N2 firmware may exchange messages via a mailbox protocol over the I2C.
    nvram1.bin is a configuration file that is OBP specific. On HW, it would be a little ROM that obp reads during the boot. Since it's in memory, SAM doesn't make any assumptions about it. You can remove it or rework it to suit u-boot.
    disk.img is the contents of a virtual disk which contains the root filesystem. This is essentially a ram disk which has been added to SAM's version of the hypervisor and/or obp. On HW, the firmware does not support this kind of virtual ram disk. For SAM, I'm pretty sure that obp is extended to create a device tree node for the virtual disk. Hypervisor may not know about the virtual disk.
    Since disk.img is a UFS (or other Solaris-oriented) filesystem, you will probably want to replace it with a ext3 or Linux-oriented filesystem. Since Linux has direct kernel support for ramdisk, you might be able to build/configure the kernel with the location of the root filesystem image in memory. Or this might be a u-boot option.
    As to 1c1t*.bin and reset.bin. On HW, the service processor is responsible for discovering all the devices and cpus on a system and writing the machine description file (e.g. 1c1t*.bin) and the reset firmware (e.g. reset.bin). These files are used during boot and various resets to initialize or reinitialize machines state for the cpus and all the i/o devices. Since SAM doesn't include a service processor, these files are static and created completely outside of SAM. The md*.bin files contents must match the configuration of cpu's in the sam.rc file -- firmware will fail if it tries to run code on a strand that is missing.
    The md and reset.bin files are used during the boot process to set-up CMT registers and do a little bit of i/o device initialization. SAM doesn't support reset modes such as warm reset.
    I hope this helps. Let me know if you need me to track down more details.
    Cheers,
    Stephen

  • What's the Meaning of Dimension in SAP B1?

    Sir,
    What's the Meaning of Dimension in SAP B1? And how it is used in Profit Centre ?
    plz tell me ......!

    Hi,
    Dimension - Dimensions configured in the system provide customers with multiple views of an expense and revenue analysis.
    For further clarifications and use you can check the details in the following links :
    Dimensions - Cost Accounting.
    http://help.sap.com/saphelp_sbo881/helpdata/en/fe/9b2e5e66894e378d041732fcdd531a/content.htm
    http://help.sap.com/saphelp_sbo881/helpdata/en/91/f6349f3c9047d5b91696c02ac6e9d6/content.htm
    Hope it helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • What's the meaning of local PO, reservation?

    Hi ,
    I am new to SRM. I have small doubts. Please clarify these..
    1. Create the sc with 4 line items like this:
    i. line item one will be selected from the catalogue and will create a backend PO
    ii. line item two will be selected from the catalogue and will create a local PO
    iii.line item three will be entered manually and will create a backend PO
    iv. line item four will be a product that was replicated earlier and will create a reservation in the backend.
    I have to create a this type of SC.
    My doubt is:
    i. How i will come to know for this  SC,  PO will create in backend or PO will create in local??
    What is the meaning of local PO??
    ii. What's the meaning of reservation??
    As per my knowledge if it is a stock item resevations created. but i am not understanding exactly.
    Please explain me. I know these are very basic, but i am not understanding.
    Thanks,
    Visu

    This may be better posted in a different forum.
    I think in your case local = SRM, Backend = ERP (R/3, ECC).
    Reservation in this context is a step before PO, you can create a reservation to simulate values, it can later be converted into a PO.

  • What's the meaning of "SID to Group returns null"

    hi, I configure a ATN in WLS, and the ATN log shows:
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <returnConnection conn:LDAPConnection {ldap://localhost:389 ldapVersion:3
    bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <LDAP Atn
    Authenticated User weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <oneShotGroupMembershipLookup called for weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <activeDirectoryLookupTokenGroups called for weblogic>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <getConnection return conn:LDAPConnection {ldap://localhost:389
    ldapVersion:3 bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <getDNForUser search("cn=Users,dc=mydavid,dc=org",
    "(&(cn=weblogic)(objectclass=user))", base DN & below)>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <DN for
    user weblogic: CN=weblogic,CN=Users,DC=mydavid,DC=org>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <No
    groupname found for SID \01\02\00\00\00\00\00\05\20\00\00\00\21\02\00\00>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns null>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <No
    groupname found for SID \01\02\00\00\00\00\00\05\20\00\00\00\20\02\00\00>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns null>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <Group
    mapping found is Domain Users>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <SID to
    Group returns Domain Users>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <returnConnection conn:LDAPConnection {ldap://localhost:389 ldapVersion:3
    bindDN:"CN=weblogic,CN=Users,DC=mydavid,DC=org"}>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000>
    <oneShotGroupMembershipLookup returns with 1 groups>
    <2005-10-2 ????01??28??05?? CST> <Debug> <SecurityDebug> <000000> <login
    succeeded for username weblogic>
    what's the meaning of "SID to Group returns null"?
    \01\02\00\00\00\00\00\05\20\00\00\00\21\02\00\00 resprent for what?
    Any one could tell me?
    thanks.
    david.turing

    Hi
    In AR, you will give cash discount to customer and not the other way round as you mentioned.
    For eg if AR value is 100 and customer pays you 90, there is a difference of 10. Assume you have cash discount % of say 6%, you expect the customer to pay 94 (100- 6% of 100) and not 90. There is still a gap of 4. This can be added to cash discount account if you enter 4 in this field. Hence the A/c entry will be:
    Dr Bank 90
    Dr cash discount (expense/loss) 10
    Cr Customer 100
    However this field is interlinked with some other fields like "Cash discount per line item", etc
    Jayaram

Maybe you are looking for