Server side TAF services not working

Hi,
I configured a clustermanaged services with failover methos='basic' and failover type=select,
but when I check the view gv$session, there are many session connected to this service with failover method and failover type NONE.
below is the output when I query dba_services
select service_id,name,failover_method,failover_type from dba_services where name='ODCSE'
service_id name failover_method failover_type
5     XXX     BASIC     SELECT
and in the gv$session
SERVICE_NAME FAILOVER_METHOD FAILOVER_TYPE
     XXX      NONE     NONE
     XXX      NONE     NONE
     XXX      NONE     NONE
     XXX      NONE     NONE
is there anything to do with the client program connectivity?
Thanks
pjsiong

Hi,
The service is running, and if I connect using sqlplus, it will get the failover mode and type.
But if it connect thru our VB application, the failover type and mode is NONE.
That's why I suspect there is some client connectivity constraint.
Rgds
Pjsiong

Similar Messages

  • Server side mailrules are not working!

    Hi,
    on my Lion Server the server side mailrules are not working.
    I created about 4 different rules via the webmail interface but none of them are applied to incoming mails :-/
    They were working back in the days I used 10.5 and 10.6 Server (this was not upgraded!).
    Are server side mailrules are working for you?
    Any assistance would be appreciated.
    Regards,
    Eldrik

    Nevermind... got it sorted out..
    My rules are based on the senders email address and switching from "is equal" to "contains" (sorry only got the translation from German) did the trick!
    Greetz
    Eldrik

  • SHAREPOINT 2013 WITH SQL SERVER 2012 REPORTING SERVICES - NOT WORKING

    The SQL 2012 with SP1 is installed but the Reporting Services are not working and not able to connect the Sharepoint with it.
    i also TRIED TO install THE ADD-ON (rsSharePoint.msi) but it doesn't connect and show the Sharepoint Mode and cannot connect the Reporting services.
    If I install the Reporting Native feature then the reporting service config displays the Instance else doesn't show and connect to the sql server.
    But I am able to access the Configuration manager and TCP/IP are enabled.
    I have installed SQL 2012 and Sharepoint 2013. Please revert soon.
    Tks - Vinay

    Reporting Service
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://blogs.msdn.com/b/biblog/archive/2012/12/04/installing-and-configuring-sql-reporting-services-on-sharepoint-2013.aspx
    http://blogs.msdn.com/b/psssql/archive/2011/02/18/sharepoint-adventures-setting-up-reporting-services-with-sharepoint-integration.aspx
    http://dinesql.blogspot.in/2010/06/configuring-reporting-services-2008-r2_07.html
    http://www.codeproject.com/Articles/355461/Dynamically-Pointing-to-Shared-Data-Sources-on-SQL
    http://www.heysharepoint.com/problems-with-sql-2012-reporting-services/
    http://andrewcbancroft.com/2012/06/30/troubleshooting-sql-server-2012-reporting-services-and-sharepoint-2010-integration-part-1/
    Please find the helping URL
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • Oracle sid 102isql service not working

    Hi,
    oracle<sid>102isql is not in start status, when i try to start it i got below message.
    the above service could not start local services and error:1067 the process terminated unexpectedly.
    iam not able to connect the SAP for this reason.Please advice.
    Regards,
    Asif

    Hi,
    Check the DB and Listener is UP or not.. If it OK and still you are facing database connection problem then check the TNS entry in tnsnames.ora file is correcty given or not. The host, port and SID of TNS entry should match with Listener Host, Port and SID.
    Check the Listener status using the command
    lsnrctl status
    Check the TNSping using Command
    tnsping <DB TNS entry name>
    Then check SAP is able to connect the DB using command
    R3trans -d
    if it give the return code 0, then SAP will be able to connect DB.
    Thanks
    Manoj

  • Server-side TAF can not tansfer another node

    环境 ORACLE RAC :10.2.0.4.0 2node
    LINUX REDHAT 5.7
    使用dbca 新建SERVER “TAF",finish以后查询状态:
    [root@rac2 ~]# srvctl config service -d prod -a
    TAF PREF: PROD1 AVAIL: PROD2 TAF: basic
    [root@rac2 ~]# crs_stat -t
    Name Type Target State Host
    ora....D1.inst application ONLINE ONLINE rac1
    ora....D2.inst application ONLINE ONLINE rac2
    ora....OD1.srv application ONLINE ONLINE rac1 --此处为何只有在实例1上有服务,看说明应该在2个节点上都有
    ora.....TAF.cs application ONLINE ONLINE rac1
    ora.PROD.db application ONLINE ONLINE rac1
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip application ONLINE ONLINE rac1
    ora....C2.lsnr application ONLINE ONLINE rac2
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip application ONLINE ONLINE rac2
    配置TAF
    begin
    dbms_service.modify_service(
    service_name=>'TAF',
    failover_method=>dbms_service.failover_method_basic,
    failover_type=>dbms_service.failover_type_select,
    failover_retries=>180,
    failover_delay=>5
    end;
    select NAME,FAILOVER_METHOD,FAILOVER_TYPE,FAILOVER_DELAY from dba_services where NAME='TAF';
    NAME FAILOVER_M FAILOVER_T FAILOVER_DELAY
    TAF BASIC SELECT 5
    检查服务器端tnsname配置
    TAF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TAF)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    在客户端使用sqlplus登陆,删除客户端tnsnames.ora
    sqlplus system/oracle@rac1-vip/TAF
    查询instance_name 为 节点1 "PROD1"
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    PROD1
    根据sid 查询连接 spid,服务器杀死连接 kill -9 "spid"
    本地客户端查询:
    SQL> select instance_name from v$instance;
    select instance_name from v$instance
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    等待一段时间,再次查询:
    INSTANCE_NAME
    PROD1
    为什么没有转换?

    实例1 shutdown abort 后sqlplus 就不能做任何查询了 就一直卡在那,也没有出现连接失败等字样。
    查询状态,服务已经切换到实例2节点上。
    [root@rac2 ~]# crs_stat -t
    Name Type Target State Host
    ora....D1.inst application OFFLINE OFFLINE
    ora....D2.inst application ONLINE ONLINE rac2
    ora....OD1.srv application ONLINE ONLINE rac2
    ora.....TAF.cs application ONLINE ONLINE rac1
    ora.PROD.db application ONLINE ONLINE rac1
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip application ONLINE ONLINE rac1
    ora....C2.lsnr application ONLINE ONLINE rac2
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip application ONLINE ONLINE rac2

  • Data Services- The job server you selected is not working

    Long Text:
    After logging in to the Data Services designer,when try to run a job it shows error -The job server you selected is not working
    Latest Software version -BODS 4.0 SP2
    Reproduce Steps:
    1. Double click on the Project from repository, it will display the project in Project area.
    2. After that it will display all the jobs under the project.
    3.Right click on the job and try to execute, then it will display the "Execution Properties" windows.
    Here the we can the default Job Server has been selected.
    4. Try to click ok to execute the job and then we get the error-"The job server you selected is not working"

    Hi
    Please contact your Data services administrator to check on the server why the job server is not working.
    There might be several issues like connectivity with the repository, access details , mapping in the management console etc.
    And let us know the exact issue.
    Regards
    Puneet

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • Error getting the server-side naming service functionality

    Hi all,
    we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
    Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
    We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
    In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
    upload system (IMP) -> DEV -> ACC -> QAS -> PRD
    I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
    When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
    Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
    tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
    File import canceled
    When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
    Kind Regards,
    Nico van der Linden...

    Hello Nico,
    I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
    #1172252: CTS+, 'attach file': Troubleshooting Guide;
    #1003674: Enhancement for non-ABAP systems in CTS;
    #1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
    Pay special attention to parameter  NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
    Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
    Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
    I hope this information helps.
    Best regards,
    Tomas Black

  • "no serializer is registered..." error with a web service not working

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

  • Client Side Javascript Validation not Working in Struts 1.x version

    hi,
    I'm following the steps provioded in the below link for Javascript Client side validation but still it is not working.I'm struggling to get this work.
    [http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/|http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/]
    "The framework automatically generates the browser specific JavaScript and validate the data only at the client side."From the above statement i undertstand that framework itself generates the javascript function for validating the field mentioned in validations.xml file so that we dont have to explicitly write a javascript function for
    validating the fields
    (or)
    Do we need to call an explicit function
    Please need help on this.
    I have followed all the steps mentioned on the above link but Client Side Javascript Validation not Working in Struts 1.x version....
    Thanks and Regards,
    Deepak

    Hi,
    Please find my steps below....still getting an error.
    2> which version of commons-validation.jar needs to be downloaded ...Link please
        downloaded the latest commons-validation.jar and placed in lib.refreshed the project,and did a build.
        3> which DTD name to be specified in "validator-rules.xml" which is in accordance to commons-validator.jar file.
    validator-rules.xml ::
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">validation.xml:
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    i did as u said and im gettiong the below errorNov 5, 2009 4:33:08 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Invalid byte 2 of 2-byte UTF-8 sequence.
    org.apache.commons.digester.xmlrules.XmlLoadException: Invalid byte 2 of 2-byte UTF-8 sequence.
         at org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:139)
         at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1610)
         at org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:89)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:122)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:238)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:181)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1036)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Need help forum members.....
    Please reply to my question 1  which has been asked before as belowDo i need to write explicit javascript function for validation in Struts (or) struts generates the javascript function by itself.??? Please explain with an example....
    Edited by: Deepak_A_L on Nov 5, 2009 4:37 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • My Newly bought Blackberry Classic left side speaker is not working.... Help needed...!!!!!

    Dear All,
    Please kindly help me on this, I am from Pakistan and I got my Blackberry Classic delieved to me from USA my cousin bought it from online blackberry store and brought it by hand. Just now i have noticed that my blackberry classic left side speaker is not working only ringing sound music sound and loudspeaker sounds are coming from the right side of the speaker.
    Has anyone faced this problem with his new classic and what should i do?
    Please help or guide me
    Solved!
    Go to Solution.

    Knowing this that classic comes up with only one speaker did broke my heart  But to be honest the sound is excellent even at high volume the sound does not distort. its a genuien stereo speaker

  • Group Chat feature in Office Communications Server 2007 R2 does not work in Windows Server 2008 R2 domains

       Hello to all, there are two confliting articles about this topic:
       1-
    http://technet.microsoft.com/en-us/library/upgrade-domain-controllers-to-windows-server-2008-r2(v=ws.10).aspx#BKMK_Whatsnew : this one says that it does not work "The Group Chat feature in Office Communications Server 2007 R2 does not work in Windows
    Server 2008 R2 domains". This article was updated in 2013.
       2-
    http://technet.microsoft.com/en-us/library/ee692314(office.13).aspx: this other article says that it will function "Office Communications Server 2007 R2 Group Chat will function in a Windows Server 2008 R2 forest". This article was updated in
    2010 and was refered by the first one.
       What is the correct support position for Group Chat feature in Office Communications Server 2007 R2 and Windows Server 2008 R2 domains?
       Regards, EEOC.

    Hi,
    I notice the following sentence in the link below “Office Communications Server 2007 R2, Group Chat will not function in a Windows Server 2008 R2 forest or when Group Chat member servers are joined to a Windows Server 2008 R2 domain.
    We know of an issue with changes in Windows 2008 R2 that requires a Group Chat Client and Group Chat Admin Tools hotfix. The Group Chat Client and Group Chat Admin Tools hotfixes are currently scheduled for mid-April 2010.”
    http://blogs.technet.com/b/nexthop/archive/2010/11/06/supportability-for-office-communications-server-2007-r2-and-windows-server-2008-r2.aspx
    So in my opinion, if you update to the latest version of Windows Server 2008 R2, OCS Server 2007 R2 and Group Chat Client, Group Chat Admin Tools to the latest version, it should work.
    However, the best method for you is make a lab to test the problem firstly.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Error :server-side naming service functionality during getInitialcontext op

    Hi Friends,
    I am trying  out Java Proxies Scenario(Asynchronous).
    I am facing problem with the following error:
    <b>Error getting the server-side naming service functionality during getInitialContext operation.</b>
    Please help out to solve the above problem.
    Sudheer.

    Hi Sudheer
    Check the following thread,
    Re: Problems When recieving Jms messages from XI
    cheers
    Sameer

  • Server-side naming service functionality

    Dear all,
    I have this problem on my JCA connection:
    ###Exception #1#com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:238)
    at ...etc etc....
    The problem is on this part of code:
    public void doProcessBeforeOutput() throws PageException {
    TestJCABean myBean = new TestJCABean();
    myBean.setStr(remoteStr);
    ((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
    this.setForward("TestJCA.jsp");
    I really don't understand, any suggestion regarding this?
    I will apprecciate a lot.
    Vipa

    Hi Ravi,
    here my code, thanks for your help.
    -----TESTJca.java
    public class TestJCA extends PageProcessorComponent {
      public DynPage getPage(){
        return new TestJCADynPage();
      public static class TestJCADynPage extends JSPDynPage{
         private final static String LOGGER = "NameJCA";
         private final static ILogger log = PortalRuntime.getLogger(LOGGER);
         private String remoteStr = "";
        public void doInitialization(){
             //Accedo il portal component profile per ottente il valore del system alias configurato per l'iview
             //MNT è stato configurato da portal e sul file xml
              log.info(this, "[doInitialization()]comincio");
             IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentContext compContext = request.getComponentContext();
              IPortalComponentProfile userProfile = compContext.getProfile();
            //Ritorna MNT che ho aggiunto in portalapp.xml
              String sys = userProfile.getProperty("System"); 
              log.info(this, "[doInitialization()]valore del system alias: "sys"");
              //Utilizza la funzione per la connessione al sys di backend e reperimento dell'info necessarie
              remoteStr = getRemoteString(request, sys);
              log.info(this, "[doInitialization()]remoteStr: "remoteStr"");
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          TestJCABean myBean = new TestJCABean();
          myBean.setStr(remoteStr);
          ((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
          // fill your bean with data here...
           //log.info(this, "[doInitialization()]Setto il nome della jsp");
          this.setJspName("TestJCA.jsp");
          //this.setForward("TestJCA.jsp");
           //IResource jsp = request.getResource(IResource.JSP, "pagelet/bannerOriginalle.jsp");
           //response.include(request, jsp);
    @param pgContext
    @param response
    @param compBean
    @param cubeName
    @param templateID
              private String getRemoteString(IPortalComponentRequest request, String sapSystem) {
                   IConnection connection = null;
                   try {
                        // get the Connector Gateway Service
                        Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                        IConnectorGatewayService cgService = (IConnectorGatewayService) connectorservice;
                        if (cgService == null) {
                             log.info(this, "[getRemoteString()]Error in get Connector Gateway Service
    try {
    IUser user = request.getUser();
    ConnectionProperties cp = new ConnectionProperties(user.getLocale(), user);
    connection = cgService.getConnection(sapSystem, (ConnectionProperties) request);
    } catch (Exception e) {
    log.severe(this, "[getRemoteString()]Connection to SAP system failed. Exception:" +e.getLocalizedMessage());
    if (connection == null) {
    log.info(this, "[getRemoteString()]Connection is null
    } else {
    log.info(this, "[getRemoteString()]Connection succesful");
    } catch (Exception e) {
    log.severe(this, "[getRemoteString()]Exception occured. Exception:" +e.getLocalizedMessage());
    log.info(this, "[getRemoteString()]Iview: runFunction");
    try {
    // Get the Interaction interface for executing the command
    IInteraction ix = connection.createInteractionEx();
    // Get interaction spec and set the name of the command to run
    IInteractionSpec ixspec = ix.getInteractionSpec();
    //String functionName = "Z_ESTRAIDATA";
    String functionName = "RPL_CUSTOMER_NAME_GET";
    // Put Function Name into interaction Properties.
    ixspec.setPropertyValue("Name", functionName);
    // return structure - dovrebbe essere il nome del parametro di export della funzione
    //cambiarlo di conseguenza
    //String function_out = "ERRORE";
    String function_out = "PE_NAME1";
    String function_in_value = "1000010001";
    RecordFactory rf = ix.getRecordFactory();
    MappedRecord input = rf.createMappedRecord("input");
    // put function input parameters
    // input.put("ZSC_CUBE", cubeName);
    // input.put("ZSC_PERVAL", selection);
    // input.put("ZSC_UTENTE", user.getLogonUid());
    input.put("PI_KUNNR", function_in_value);
    //ottengo l'oggetto che mi rappresenta l'output della funzione
    //lancio la RFM
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    Object rs = null;
    try {
    Object result = output.get(function_out);
    if (result == null) {
    rs = new String(" ");
    } else if (result instanceof IRecordSet) {
    rs = (IRecordSet) result;
    log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
    return rs.toString();
    // Do need all type here ?
    else {
    rs = result.toString();
    log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
    return rs.toString();
    } catch (Exception ex) {
    log.severe(ex, "[getRemoteString()]Error getting function result. Exception:" +ex.getLocalizedMessage());
    log.info(this, "[getRemoteString()]Codice errore ritornato: " + rs.toString());
    } catch (Exception e) {
    log.severe(e, "[getRemoteString()]Error getting function interaction. Exception:" +e.getLocalizedMessage());
    return null;
    -----TESTJcaBean.java
    package ... ... ... ...
    import java.io.Serializable;
    public class TestJCABean implements Serializable {
         private String str;
    @return
         public String getStr() {
              return str;
    @param string
         public void setStr(String string) {
              str = string;

  • [svn] 4226: Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.

    Revision: 4226<br />Author:   [email protected]<br />Date:     2008-12-03 15:25:17 -0800 (Wed, 03 Dec 2008)<br /><br />Log Message:<br />-----------<br />Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working. <br />QA: Yes<br />Doc: No<br />Checkintests Pass: Yes<br /><br />Details:<br />* Make sure the <reliable/> option is treated as a nested element rather than an attribute of its parent <network> element.<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/LCDS-517<br /><br />Modified Paths:<br />--------------<br />    blazeds/trunk/modules/core/src/flex/messaging/Destination.java

    Revision: 4226<br />Author:   [email protected]<br />Date:     2008-12-03 15:25:17 -0800 (Wed, 03 Dec 2008)<br /><br />Log Message:<br />-----------<br />Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working. <br />QA: Yes<br />Doc: No<br />Checkintests Pass: Yes<br /><br />Details:<br />* Make sure the <reliable/> option is treated as a nested element rather than an attribute of its parent <network> element.<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/LCDS-517<br /><br />Modified Paths:<br />--------------<br />    blazeds/trunk/modules/core/src/flex/messaging/Destination.java

Maybe you are looking for

  • Resultset from a Stored Procedure

    Hello Everyone, Is it possible to return a resultset from a stored procedure? I need to do display set of rows which are resulted by joining few tables. Is it possible? Please help.. TIA Regards, Rao Santapur. null

  • Purchase register and sales register

    Dear sir, how to show purchase register & sales register ? if any t-code pls send it.

  • Fan Control

    I would like to control the fans on my Mac Pro. Does SMC Fan Control void AppleCare? Is there a way to control the fans without software? Thanks

  • Creating Low Level dll memory drivers

    Hi I am looking to perform some memory testing on a couple of Micron memory devices using Labview.  On the micron website they provide the drivers to interface to an SPI controller in C files.  I saw a tutorial explaining how to build dll libraries w

  • Optimization steps for Uncompressed cube

    I am new to Oracle OLAP, I have designed a cube with 4 dimensions and three measures. Since I have measures like count of staff and hours encoding, I have to group (sum) # of staff and hours encoded for each team and roll up with its tree. At the sam