Suppressing unable to resolve reference to parameter... message

We have converted our applications to Oracle 9I (Internet) from Oracle 5 (Client Server).
We force a closing of an extra browser window by creating a .pll with a customized function called close_browser which runs close.htm and then does an exit_form to replace exit_form. We have forms call other forms, if the form is called, then it checks a forms parameter called parameter.pr_called. We want to just modify the library and not modify 100s of forms but :parameter.pr_called does not exist in a number of forms but we need to check parameter.pr_called with a NAME_IN in the library just in case it is called so we don't close the browser window if the form is a called form. It would then simply exit form and go back to the original form. When we check for name_in('parameter.pr_called) = 'Y' to check for this condition, we get unable to resolve reference to parameter pr_called.
We have tried changing message levels, but that only works for error messages and not messages. There seems to be no programming way to do a find_parameter for a form parameter. Any suggestions on how to prevent the message from appearing. We would not want to modify all the forms.
Thank you,
- Brian

If you want to add this parameter to all your forms in batch - this is simple to do with the Java API - here's some sample code.
package oracle.forms.jdapi.demos;
import oracle.forms.jdapi.*;
public class AddParam
  public AddParam(String formName, String parameterName, String parameterValue)
    try
      // Open the module - this implicitly starts JDAPI
      FormModule form = FormModule.open(formName);
      System.out.println("Processing " + form.getName());
      // see if the parameter already exists
      ModuleParameter param = null;
      try
        param = ModuleParameter.find(form, parameterName);
      catch (JdapiException cjdex)
        System.out.println("Parameter not present needs creating...");
      if (param == null)
        // create the required Param
        param = new ModuleParameter(form,parameterName);
        param.setParameterDataType(JdapiTypes.PADA_CHARACTER_CTID);
        param.setMaximumLength(3); //assuming Y/N, YES/NO??
        param.setParameterInitializeValue(parameterValue);
        System.out.println("Parameter created...");
        //we've made a change so save...
        form.save(formName);
        System.out.println("Form Saved...");
      else
        System.out.println("Parameter already exists...");
      form.destroy();
      Jdapi.shutdown();
    catch (JdapiException jdex)
      System.out.println(jdex.toString());
   * @param Pass the name of the Form as an agument to the class
  public static void main(String[] args)
    String paramName = "PR_CALLED";
    String paramDefaultValue = "N";
    AddParam addParam = new AddParam(args[0], paramName, paramDefaultValue);
    System.exit(0);
}

Similar Messages

  • Enter Journal - FRM-40105: Unable to resolve reference to item GLXJEENT_A

    Hello,
    When I am opening the form Enter Journals in General Ledger, the following messages is prompted:
    FRM-40105: Unable to resolve reference to item GLXJEENT_A
    Note that if I turn the Custom code Off, the error does not appear.
    Please help,
    Vikram

    Thanks Dirk,
    I have open the CUSTOM.pll file in form builder and found the following:
    fdrcsid('$Header: CUSTOM.pld 115.5.1150.1 2000/02/07 16:10:16 pkm ship $');
    I have applied a patch on the environment to update version to R12.1.2.
    Should this Header information in the CUSTOM.pll be updated? how do we do update it?

  • Error unable to resolve reference to items.

    hello experts,
    i have a problem in oracle form.i have to search item that are coming thorugh db. a same items comes multiple time.
    suppose a item XXX comes five times in form then when i search for this item XXX then cursor search this part five times one by one
    i using below code for searching.then that error comes unable to resolve reference to items.pls help me to resolve this issue.
    DECLARE
    temp_last number(2);
    item varchar2(30);
    chk_exc exception;
    i number(2);
    j number(2);
    BEGIN
    go_block('BLOCK3');
    last_record;
    temp_last:=to_number(:system.cursor_record);
    for i in 1..temp_last
    loop
    go_record(i);
    item:=:BLOCK3.item;
    if ITEM=:BLOCK1.SEARCH_PART
    THEN
    GO_ITEM(':BLOCK3.item');
    end if;
    end loop;
    exception
    when chk_exc then
    mess(' Not Exist !');
    Raise form_trigger_failure;
    END;
    Thanks
    Ravi

    Hi Ravi,
    try this code
    DECLARE
         temp_last number(2);
         item varchar2(30);
         chk_exc exception;
         i number(2);
         j number(2);
    BEGIN
         go_block('BLOCK3');
         last_record;
         temp_last:=to_number(:system.cursor_record);
         for i in 1..temp_last loop
              go_record(i);
              item:=:BLOCK3.item;
              if ITEM=:BLOCK1.SEARCH_PART THEN
                   GO_ITEM('BLOCK3.item');
              end if;
         end loop;
         exception
         when chk_exc then
         message(' Not Exist !');
         message(' Not Exist !');
         Raise form_trigger_failure;
    END; Hope works...
    hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • Unable to resolve reference/Cannot find Canvas

    Hi,
    I have generated a form with Designer 6i. It has 3 tabs. On the second or third tab, when I diminish the width property of a BOUND TEXT ITEM , I get 2 error messages one after the other :
    - FRM-40105. Unable to resolve reference to item <item name>. ...
    - FRM-41053. Cannot find Canvas--invalid ID.
    If the width is equal or bigger than its original value, it works fine. As soon as I change the value to a smaller one, it doesn't work anymore.
    Any help would be appreciated,
    Denise

    Hi,
    When you reference an item using:
    set_item_property(<varchar2 field>, ...)
    you should format the item name as:
    'BLOCKNAME.ITEMNAME';
    For example, set_item_property('NCP.B', enabled, property_true);
    The colon is only used when you actually want the value of the item.
    I can't remember, but this might be case sensitive too - so use uppercase.
    Cheers
    Chris

  • FRM-10405 UNABLE TO RESOLVE REFERENCE

    im using forms 6i.
    i have a tabular block named "SUB". in which i have a text field named "LTYPE".
    on LTYPE field i have a post change trigger in which i have a tiny code
         if :sub.ltype='B' then
              set_item_property(':sub.subcode',navigable,property_true);
              go_item(':sub.subcode');
              end if;
    it shows FRM-10405 UNABLE TO RESOLVE REFERENCE TO ITEM :SUB.SUBCODE.
    can anybody help me whats the problem

    Gul wrote:
    im using forms 6i.
    i have a tabular block named "SUB". in which i have a text field named "LTYPE".
    on LTYPE field i have a post change trigger in which i have a tiny code
         if :sub.ltype='B' then
              set_item_property(':sub.subcode',navigable,property_true);
              go_item(':sub.subcode');
              end if;
    it shows FRM-10405 UNABLE TO RESOLVE REFERENCE TO ITEM :SUB.SUBCODE.
    Little mistake.
    replace go_item(':sub.subcode');
    to
    go_item('sub.subcode');Hope this works

  • See error Frm-40105 : unable to resolve reference to item 20.

    hi master
    sir when i put this code on when_button_press then give this error
    go_block('emp');
    enter_query;
    :emp.deptno := 10;
    execute_query;
    error
    Frm-40105 : unable to resolve reference to item 20.
    sir please give me idea
    Thanking you

    Frm-40105
    Cause:  Runtime error. A GO_ITEM statement references a nonexistent item.
    Which suggests that there might be some code in your form which causes this error (in)directly.

  • FRM - 40105 : Unable to resolve reference to item item name

    Hi,
    FRM - 40105 : Unable to resolve reference to item <item name>
    When I am opening a form I am getting the above mentioned error. Instead of <Item name> how we can display the error like <:CTRL_BLK.DOC_DATE>
    Thanks & Regards,
    Jenson

    Hi,
    Actually I know what is the reason for getting this error. What I tried to ask you is any way to display the item name, which error is occurred.
    In the form around more than hundred item setting the SET_ITEM_PROPERTY , there only I am getting this error. Like this around more than five form I have to debug. I would like to know through error handling routine or some other code we can display the exact item name, which error is occurred.
    Thanks & Regards,
    Jenson V.A.

  • Frm-40105  unable to resolve reference to item parameter.webutil config

    Hi.
    I have one form(10G) that's using webutil and the system returns this message, but I have others forms that's works fine.
    I just copied all objects of webutil of one form that's ready works to this new form.
    Someone already had this problem.
    Best regards.

    HI, when you copied the objects, did you drap the object group WEBUTIL to the new form's Object Group? If you did that you should have all the components that webutil require. oh. minus the most important one..webutil.pll :-)

  • FRM- 40105: Unable to resolve reference to item

    hi dear all,
    the following query give no error and return records when i execute it in toad. but the lov didn't return any records. frm-41830 the list didn't contain entries.
    SELECT ALL AP_VENDORS.VENDOR_ID, AP_VENDORS.VENDOR_NAME, AP_VENDORS.ADDRESS,TYPE_ID ,AP_VENDOR_TYPE.VENDOR_TYPE_ID, AP_VENDOR_TYPE.TYPE_NAME
    FROM AP_VENDORS , AP_VENDOR_TYPE
    WHERE AP_VENDOR_TYPE.TYPE_NAME = :AP_ENTER_BILL_MASTER.VENDOR_TYPE';
    what is the problem.
    Regards:
    Muhammad Nadeem
    Message was edited by:
    Muhammad Nadeem

    Hi ,
    Put a static value which will return some rows..... replacing your block item value.....
    See the link below.....it may help you....
    Zdebug -- A Forms debugging message tool
    or run the Debugger tool of your Fomr Builder.... examining the data value your block item has.....
    Regards,
    Simon

  • FRM-40105:Unable to resolv refrnce to item INV_SUM_FOLDER.match_status_flag

    After entering into Payables Vision Operations(USA)--> Invoices-->entry-->invoces. Enter the header details, while click on lines, the error is "FRM-40105: Unable to resolve reference to item INV_SUM_FOLDER.match_status_flag" populated.
    While click on ok on error form, another error is "frm-41072 cannot create group appcore_condition" populated.
    Please fix the issue.

    If this is a standard eBusiness Suite form (not a custom form in EBS) report it to Oracle Support. Other questions about EBS should be posted in the EBS forum.

  • Unable to resolve 'weblogic.messaging.dispatcher.S:null'

    We have a WLS 10.3 cluster with 1 admin server and 2 managed servers. Each managed server hosts JMS queues so we have a distributed queue environment. Applications periodically report an issue that prevents messages from being dropped onto the queues. The frequency of the issue is weekly and sometimes multiple times during the week. We have found that un-targeting and re-targeting the JMS Servers seems to resolve the problem (at least in the short term). The message producer applications are using the weblogic.jar and an xa connection factory. I've included the stack trace below. I'm hoping that someone can help uncover the root cause of the issue.
    Stack Trace:
    Caused by: weblogic.jms.common.JMSException: No failover destination.
    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
    at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1275)
    at weblogic.jms.client.JMSProducer.deliveryInternal(JMSProducer.java:783)
    at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:541)
    at weblogic.jms.client.JMSProducer.sendWithListener(JMSProducer.java:394)
    at weblogic.jms.client.JMSProducer.send(JMSProducer.java:384)
    at weblogic.jms.client.WLProducerImpl.send(WLProducerImpl.java:970)
    at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:597)
    at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:574)
    at org.springframework.jms.core.JmsTemplate$4.doInJms(JmsTemplate.java:551)
    at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471)
    ... 8 more
    Caused by: weblogic.jms.common.JMSException: No failover destination.
    at weblogic.jms.frontend.FEProducer.pickNextDestination(FEProducer.java:750)
    at weblogic.jms.frontend.FEProducer.sendRetryDestination(FEProducer.java:1092)
    at weblogic.jms.frontend.FEProducer.send(FEProducer.java:1399)
    at weblogic.jms.frontend.FEProducer.invoke(FEProducer.java:1460)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
    at weblogic.messaging.dispatcher.DispatcherServerRef.invoke(DispatcherServerRef.java:276)
    at weblogic.messaging.dispatcher.DispatcherServerRef.handleRequest(DispatcherServerRef.java:141)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.messaging.dispatcher.DispatcherException: could not find Server null
    at weblogic.messaging.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:176)
    at weblogic.messaging.dispatcher.DispatcherManager.dispatcherFindOrCreate(DispatcherManager.java:58)
    at weblogic.jms.dispatcher.JMSDispatcherManager.dispatcherFindOrCreate(JMSDispatcherManager.java:219)
    at weblogic.jms.dispatcher.JMSDispatcherManager.dispatcherFindOrCreateChecked(JMSDispatcherManager.java:230)
    at weblogic.jms.frontend.FEProducer.findDispatcher(FEProducer.java:825)
    at weblogic.jms.frontend.FEProducer.sendRetryDestination(FEProducer.java:995)
    ... 9 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.messaging.dispatcher.S:null'. Resolved 'weblogic.messaging.dispatcher'; remaining name 'S:null'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.messaging.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:172)
    ... 14 more

    Hi,
    I would suggest you to go through these 2 links which you give all the details about UDD
    Topic:Steps to Configure Uniform Distributed Queue (UDQ) on Weblogic Server
    http://middlewaremagic.com/weblogic/?p=3747
    Topic:JMS Demo using WebLogic Uniform Distributed Queue (UDQ)
    http://middlewaremagic.com/weblogic/?page_id=1976
    Tips to solve UDQ issues
    - Make sure the Server Affinity Enabled parameter should be un-checked (disable) which under the [ Connection factory –> Configuration (tab) –> Load Balance (sub-tab)]
    - Disable the Server Affinity Enabled parameter for the connection factory whish is been used by your UDQ.
    - All the managed servers are in the same cluster.
    - If the managed serves are in different boxes make sure the listing address is given correctly which is under [ Machine –> Configuration (tab) –> Node Manager (sub-tab) ]
    - Test if you are able to PING the servers on different boxes and make sure that there is no network issues and you are able to communicate with the servers.
    Hope this helps you.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them eithe

    Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them either failing or not sending at all.  Is there an outage in the Cleveland, Ohio area (zip codes 44129, 44134, 44137) or anything else I can do to resolve this issue?

    Not that I'm a Verizon employee, but I have experience in the field. An LTE tower will only extend up to, on a perfect day, with no elevation, 6-7 miles. On a typical day, you will be lucky at four (4) miles. The three ZIP codes you've given are all within about a 12 mile radius. That would mean that 2-3 towers are currently down at the same time, and Verizon would know about it within the hour. Being it's Cleveland, I'm sure they would receive numerous calls regarding an outage of that size.
    My point is that if you're having issues in all three ZIP codes, chances are it's a phone issue. If you're handset is simply not receiving LTE, but still receiving 3G, that would signify a SIM card issue. You need to get your SIM card replaced.

  • Javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ' Resolved: ''

    Hi,
              I have written a simple client to receive messages from a 'jppsacntrQ'
              queue,
              The jms server which keeps this queue is already targetted at the
              server I am running.
              I have closed my command prompt and restarted WLS a few times but I am
              still getting this error.
              Has anyone else encountered the same problem?
              Appreciate the help ...
              Victor
              c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
              -Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
              c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
              com.intellij.rt.ant.execution.AntMain -logger
              com.intellij.rt.ant.execution.IdeaAntLogger -verbose
              -Dbuild.compiler.emacs=true -buildfile
              C:\java-projects\portnet-jp\build.xml test-polling-subscriber
              build.xml
              test-polling-subscriber
              java
              Running Start Polling Task ...
              DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
              DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              DEBUG [main]: java.naming.provider.url=t3://localhost:7001
              DEBUG [main]: java.naming.referral=throw
              DEBUG [main]: java.naming.security.authentication=simple
              DEBUG [main]: java.naming.security.principal=null
              DEBUG [main]: java.naming.security.credentials=null
              DEBUG [main]: sleepTimePerCycle=15000
              DEBUG [main]: queueConnectionFactoryName=pnsgQCF
              DEBUG [main]: incomingQueueName=jppsacntrQ
              DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
              DEBUG [main]: timestampFormat=yyyyMMddHHmm
              INFO [main]: Setting Up Queue and QueueConnectionFactory ...
              DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
              DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
              javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
              Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
                   at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
                   at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
              Source)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
                   at javax.naming.InitialContext.lookup(Unknown Source)
                   at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
                   at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
                   at pow.business.JP.Container.Main.start(Main.java:183)
                   at pow.business.JP.Container.Main.main(Main.java:289)
              Please check whether 'jndi.properties' is available in the CLASSPATH
              and whether it has been configured properly.
              Java Result: -1
              Build completed with 1 error and 13 warnings. Time: 13 s
              

              Looks OK - did you check your log file for error messages?
              Post the log file if you want me take a look.
              [email protected] (Kok Liang) wrote:
              >Here it is:
              >
              ><?xml version="1.0" encoding="UTF-8"?>
              ><!--Last updated on: Sat May 24 01:50:49 SGT 2003, If your domain is
              >active, please do not edit the config.xml file. Any changes made to
              >that file while the domain is active will not have any effect on the
              >domain's configuration and are likely to be lost. If your domain is
              >inactive, you may edit this file with an XML editor. If you do so,
              >please refer to the BEA Weblogic Server Configuration Reference
              >documentation available from
              >http://edocs.bea.com/wls/docs70/config_xml. In general, we recommend
              >that changes to your configuration file be made through the
              >Administration Console.-->
              ><Domain ConfigurationVersion="7.0.1.0" Name="portnet-domain">
              >     <Application Deployed="true" Name="DefaultWebApp"
              >Path=".\applications" StagedTargets="" TwoPhase="false">
              >          <WebAppComponent Name="DefaultWebApp" Targets="portnet-server"
              >URI="DefaultWebApp"/>
              >     </Application>
              >     <Application Deployed="true" Name="certificate" Path=".\applications"
              >StagedTargets="" TwoPhase="false">
              >          <WebAppComponent Name="certificate" Targets="portnet-server"
              >URI="certificate.war"/>
              >     </Application>
              >     <Application Deployed="true" Name="jive3"
              >Path="C:\java-libraries\jive_forums_pro_3_0_9" TwoPhase="true">
              >          <WebAppComponent Name="jive3" Targets="portnet-server"
              >URI="jive3.war"/>
              >     </Application>
              >     <ApplicationManager Name="portnet-domain"/>
              >     <EmbeddedLDAP Credential="{3DES}U0sIdpap3Jn35/agldr/nk4n9q5Vo449V4F0z3bLPsM="
              >Name="portnet-domain"/>
              >     <FileRealm Name="wl_default_file_realm"/>
              >     <JMSConnectionFactory DefaultDeliveryMode="Persistent"
              >JNDIName="pnsgQCF" Name="pnsgQCF" Targets="portnet-server"/>
              >     <JMSDestinationKey Name="portnet-jms-dest-key"/>
              >     <JMSFileStore Directory="c:\bea\user_projects\portnet-domain\logs\file-store"
              >Name="portnet-jms-file-store"/>
              >     <JMSServer Name="portnet-jms-server" Store="portnet-jms-file-store"
              >Targets="portnet-server">
              >          <JMSQueue BytesPagingEnabled="false"
              >DeliveryModeOverride="Persistent"
              >DestinationKeys="portnet-jms-dest-key" JNDIName="jppsacntrQ"
              >MessagesPagingEnabled="false" Name="jppsacntrQ" StoreEnabled="true"/>
              >          <JMSQueue BytesPagingEnabled="false"
              >DeliveryModeOverride="Persistent"
              >DestinationKeys="portnet-jms-dest-key" JNDIName="psajpcntrQ"
              >MessagesPagingEnabled="false" Name="psajpcntrQ" StoreEnabled="true"/>
              >     </JMSServer>
              >     <JTA Name="portnet-domain"/>
              >     <Log FileName=".\wl-domain.log" Name="portnet-domain"/>
              >     <PasswordPolicy Name="wl_default_password_policy"/>
              >     <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              >     <SNMPAgent Name="portnet-domain"/>
              >     <Security GuestDisabled="false" Name="portnet-domain"
              >PasswordPolicy="wl_default_password_policy" Realm="wl_default_realm"
              >RealmSetup="true"/>
              >     <SecurityConfiguration
              >Credential="{3DES}iE0EWRYurlOnPzbJk1HTM6ajARYfmNrCU4UL/1iAQRJOQGyzRoBdl9bhnBu6JzIucTmQclA22XOW7WwQpMguyQqbLDIGr1VA"
              >Name="portnet-domain"/>
              >     <Server ListenPort="7001" Name="portnet-server"
              >NativeIOEnabled="true" ServerVersion="7.0.1.0"
              >StdoutDebugEnabled="true">
              >          <COM Name="portnet-server"/>
              >          <ExecuteQueue Name="default" ThreadCount="15"/>
              >          <IIOP Name="portnet-server"/>
              >          <JTAMigratableTarget Cluster="" Name="portnet-server"
              >UserPreferredServer="portnet-server"/>
              >          <JTARecoveryService Name="portnet-server"/>
              >          <KernelDebug Name="portnet-server"/>
              >          <Log FileName="portnet-server\portnet-server.log"
              >Name="portnet-server"/>
              >          <SSL Enabled="true" HostnameVerificationIgnored="true"
              >ListenPort="7002" Name="portnet-server"
              >ServerCertificateFileName="democert.pem"
              >ServerPrivateKeyAlias="demokey"
              >ServerPrivateKeyPassPhrase="{3DES}F9QhYhhBa4InPlBKebOlAw=="/>
              >          <ServerDebug Name="portnet-server"/>
              >          <ServerStart Name="portnet-server"/>
              >          <WebServer DefaultWebApp="DefaultWebApp"
              >LogFileName="portnet-server\access.log" LoggingEnabled="true"
              >Name="portnet-server"/>
              >     </Server>
              ></Domain>
              >
              >
              >Tom Barnes <[email protected]> wrote in message news:<[email protected]>...
              >> Please post your config.xml
              >>
              >> Kok Liang wrote:
              >> > Hi,
              >> >
              >> > I have written a simple client to receive messages from a 'jppsacntrQ'
              >> > queue,
              >> >
              >> > The jms server which keeps this queue is already targetted at the
              >> > server I am running.
              >> >
              >> > I have closed my command prompt and restarted WLS a few times but
              >I am
              >> > still getting this error.
              >> >
              >> > Has anyone else encountered the same problem?
              >> >
              >> > Appreciate the help ...
              >> >
              >> > Victor
              >> >
              >> > c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
              >> > -Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
              >> > c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
              >> > com.intellij.rt.ant.execution.AntMain -logger
              >> > com.intellij.rt.ant.execution.IdeaAntLogger -verbose
              >> > -Dbuild.compiler.emacs=true -buildfile
              >> > C:\java-projects\portnet-jp\build.xml test-polling-subscriber
              >> > build.xml
              >> > test-polling-subscriber
              >> > java
              >> > Running Start Polling Task ...
              >> > DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
              >> > DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              >> > DEBUG [main]: java.naming.provider.url=t3://localhost:7001
              >> > DEBUG [main]: java.naming.referral=throw
              >> > DEBUG [main]: java.naming.security.authentication=simple
              >> > DEBUG [main]: java.naming.security.principal=null
              >> > DEBUG [main]: java.naming.security.credentials=null
              >> > DEBUG [main]: sleepTimePerCycle=15000
              >> > DEBUG [main]: queueConnectionFactoryName=pnsgQCF
              >> > DEBUG [main]: incomingQueueName=jppsacntrQ
              >> > DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
              >> > DEBUG [main]: timestampFormat=yyyyMMddHHmm
              >> > INFO [main]: Setting Up Queue and QueueConnectionFactory ...
              >> > DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
              >> > DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
              >> > javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
              >> > Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
              >> >      at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
              >> >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
              >> >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
              >> >      at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
              >> > Source)
              >> >      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
              >> >      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
              >> >      at javax.naming.InitialContext.lookup(Unknown Source)
              >> >      at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
              >> >      at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
              >> >      at pow.business.JP.Container.Main.start(Main.java:183)
              >> >      at pow.business.JP.Container.Main.main(Main.java:289)
              >> > Please check whether 'jndi.properties' is available in the CLASSPATH
              >> > and whether it has been configured properly.
              >> > Java Result: -1
              >> >
              >> > Build completed with 1 error and 13 warnings. Time: 13 s
              

  • Javax.naming.NameNotFoundException: Unable to resolve ejb-link.

    Env: JDK 1.3.1_08
    Weblogic: 7.0
    We are attempting to use EJB's (session) and have it all localized in a jar.
    The Business and Custom Logic is all compiled to WEB-INF/classes. All the jars including the EJB jar is under WEB-INF/lib.
    On Startup Weblogic throws the error message
    weblogic.management.ApplicationException: activate failed for application
    Module Name: application, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean is not in the context. The context includes the following link bindings: {} Make sure the link reference is relative to the URI of the referencing module.]
    I have tried using the ../ notation before the Appejb.jar in the web.xml and what not, but that does not work either.
    I have sucesfully deployed the EJB jar through the weblogic console.
    Any Clues or suggestions will be most appreciated..
    thanks
    -a

    Create a ear application from the ejb jar and web application war.
    Copy ear application to the applications directory.
    In the ejb-link element in web.xml specify the relative path to the ejb jar.
    <ejb-link>../Appejb.jar</ejb-link>
    thanks,
    Deepak
    Akshay <[email protected]> wrote:
    Env: JDK 1.3.1_08
    Weblogic: 7.0
    We are attempting to use EJB's (session) and have it all localized in
    a jar.
    The Business and Custom Logic is all compiled to WEB-INF/classes. All
    the jars including the EJB jar is under WEB-INF/lib.
    On Startup Weblogic throws the error message
    weblogic.management.ApplicationException: activate failed for application
    Module Name: application, Error: weblogic.j2ee.DeploymentException: Could
    not setup environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean
    is not in the context. The context includes the following link bindings:
    {} Make sure the link reference is relative to the URI of the referencing
    module.]
    I have tried using the ../ notation before the Appejb.jar in the web.xml
    and what not, but that does not work either.
    I have sucesfully deployed the EJB jar through the weblogic console.
    Any Clues or suggestions will be most appreciated..
    thanks
    -a

  • Unable to resolve JNDI DataSource in weblogic 12c When you upgrade web application

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

Maybe you are looking for

  • How to store global values for the whole application to use ?

    Hi, In our application, we have global values that is store in a parameter table, I want only to query it once, and it will be used every where from the whole application. e.g : I have general parameter tables that store : % Tax Current Period etc..

  • Gradient tool doesn't work with gradients on strokes?!

    Okay, so one of the new flagship features of Illustrator CS6 is gradients on strokes, but you can't use the Gradient Tool with them? I just get a crosshairs pointer with a "no" sign next to it. What's up with that?? I can see why this wouldn't work w

  • Create proxy to an object created by a wcf service class

    Hi We are trying to develop a WCF Service which is configured as per-session. The service object creates another object which has some data + functions, and has its own Interface which is available on both client and server. Is it possible to somehow

  • Reg: Problem to find Which view it belongs in MM01

    Hi all, I have to display an ALV list for displaying the changes that have been made for a material during a period. Iam using a FM CHANGEDOCUMENT_READ Using this FM Iam getting the details of the material that have been changed in to an Internal tab

  • CSS justifications are different when I upload my page...

    I used to build websites with GoLive CS2 for number of years. With the purchase of a new laptop, I recently switch from CS2 to CS5. (But have been using CS4 at work). As GoLive is no longer existing, I just switch to Dreamweaver. I had several proble