Error in using c:if test="$

my IDE eclipse is showing me error in this use of EL
<c:if test="${param.error=='5'}" >and apache is giving error on running
According to TLD or attribute directive in tag file, attribute test does not accept any expressionsI am sending the parameter "error" form a page
any clue what is wrong
Edited by: hunterzz on Dec 7, 2007 3:27 AM

thanks for reply but,
I got it, It was a silly error ....the tutorial i referred was old jakarta lib jstl 1.0 based so the URI was http://java.sun.com/jstl/core given into it .but, i was using jstl 1.1 for which URI is http://java.sun.com/jsp/jstl/core. just changed in <tablib> at jsp made the error go away. :)

Similar Messages

  • Error when using %@ include file="/test.jsp"%&

    UsingNitrox version 2.1 M3 (build 419 06022005):
    with jdk version: 1.5.0_03 and Tomcat 5.5.9
    This is the error :cry: when using <%@ include file="/test.jsp"%> in jsp:
    Severity     2
    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (test.jsp)
    It used to work in previuos version of Nitrox. I can't use struts tiles because the tiles content is dynamic (run time) and I need it to be static (at compile time).
    Have you encountered this problem? What is the fix? Nitrox bug?
    I need your help please,
    Alberto

    M7,
    I found the problem :wink: . In the java Build path having the default (ALL) is not picking up the content of the package. I had to use add multiple and include all the folders and subfolders (many L) in my packages. After that I added *.java and *.properties to select all the java files. Now it is working. I assume this is a bug in Nitrox. The default ALL should include the all the files in the path.
    Thanks,
    Alberto

  • Air iOS - To use TestFlight Beta Testing, build 1.0.0 must contain the correct beta entitlement.

    Hi,
    I published my iOS app and uploaded it to iTunes Connect to run an external beta test through Apple TestFlight but I got this error:
    To use TestFlight Beta Testing, build 1.0.0 must contain the correct beta entitlement.
    I created my certificate 3 days ago and it contains the beta entitlement.
    I published the iOS app with the latest Flash CC 2014 version on a Mac with Air 15.
    How to fix that error?
    Thanks

    I'm using flasProfesionnalcc 2014, using Air SDK 16... I have the same problem. 
    >In summary... I am using Air SDK 16.0 and added the following to my app xml file:
    <Entitlements>
    <![CDATA[ <key>get-task-allow</key>
    <false/>
    <key>beta-reports-active</key>
    <true/> ]]>
    </Entitlements>
    But when I try to insert the <Entilements> code into de xml file   I receive a error when a try to complile:
    Error application.Entilemens is a unexpected element/atribute
    How to fix that error?
    Thanks

  • Error after using Test Client (HomeFactory Problem)

    All,
    I am a newbie with websphere and I try to develop a sample EJB app.
    My attempts to test my method of my stateless Session bean were not successful.
    I got the following messaage:
    [18.07.05 00:02:51:752 CEST] 31c7edd5 WebGroup I SRVE0180I: [bpesoapclient] [bpesoapclient] [Servlet.LOG]: InvokerServlet: init
    [18.07.05 00:02:52:003 CEST] 31c7edd5 ApplicationMg A WSVR0221I: Die Anwendung wurde gestartet: BPERemoteDeploy
    [18.07.05 00:02:52:023 CEST] 31c7edd5 ApplicationMg A WSVR0200I: Die Anwendung wird gestartet: query
    [18.07.05 00:02:52:083 CEST] 31c7edd5 EJBContainerI I WSVR0207I: Der Start des EJB-JAR wird vorbereitet: querybean.jar
    [18.07.05 00:02:52:333 CEST] 31c7edd5 EJBContainerI I WSVR0037I: EJB-JAR-Datei wird gestartet: querybean.jar
    [18.07.05 00:02:52:524 CEST] 31c7edd5 ApplicationMg A WSVR0221I: Die Anwendung wurde gestartet: query
    [18.07.05 00:02:52:534 CEST] 31c7edd5 ApplicationMg A WSVR0200I: Die Anwendung wird gestartet: TestDmProjectEAR
    [18.07.05 00:02:52:644 CEST] 31c7edd5 EJBContainerI I WSVR0207I: Der Start des EJB-JAR wird vorbereitet: TestDmProject.jar
    [18.07.05 00:02:57:671 CEST] 31c7edd5 EJBContainerI I WSVR0037I: EJB-JAR-Datei wird gestartet: TestDmProject.jar
    [18.07.05 00:03:01:266 CEST] 31c7edd5 ApplicationMg A WSVR0221I: Die Anwendung wurde gestartet: TestDmProjectEAR
    [18.07.05 00:03:01:496 CEST] 31c7edd5 StaffServiceI I STFF0032I: Der Staff Service wurde ordnungsgem&#33913; gestartet.
    [18.07.05 00:03:02:899 CEST] 31c7edd5 HttpTransport A SRVE0171I: Der Transport http ist empfangsbereit an Port 9.080.
    [18.07.05 00:03:06:003 CEST] 31c7edd5 HttpTransport A SRVE0171I: Der Transport https ist empfangsbereit an Port 9.443.
    [18.07.05 00:03:06:043 CEST] 31c7edd5 SchedulerServ I SCHD0031I: Der Scheduler Service wird gestartet.
    [18.07.05 00:03:12:733 CEST] 31c7edd5 SchedulerServ I SCHD0032I: Die Scheduler-Instanz BPEScheduler wird gestartet.
    [18.07.05 00:03:17:309 CEST] 31c7edd5 SchedulerDaem I SCHD0038I: Der Scheduler-D&#33282;on f&#12539; die Instanz BPEScheduler wurde gestartet.
    [18.07.05 00:03:17:500 CEST] 31c7edd5 SchedulerServ I SCHD0033I: Die Scheduler-Instanz BPEScheduler wurde gestartet.
    [18.07.05 00:03:17:520 CEST] 31c7edd5 SchedulerServ I SCHD0001I: Der Scheduler Service wurde gestartet.
    [18.07.05 00:03:19:012 CEST] 31c7edd5 RMIConnectorC A ADMC0026I: Der RMI-Connector ist an Port 2809 verf&#12539;bar.
    [18.07.05 00:03:19:542 CEST] 31c7edd5 WsServer A WSVR0001I: Der Server server1 ist f&#12539; e-business bereit.
    [18.07.05 00:03:27:013 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: jndiLookupServlet: init
    [18.07.05 00:03:29:517 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /index.jsp: init
    [18.07.05 00:03:29:827 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/ejbPage/ejbFrame.jsp: init
    [18.07.05 00:03:29:837 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/toolbar/global_nav.jsp: init
    [18.07.05 00:03:30:458 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/ejbPage/referencePage.jsp: init
    [18.07.05 00:03:30:468 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/ejbPage/parameterPage.jsp: init
    [18.07.05 00:03:30:939 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/toolbar/toolbar.jsp: init
    [18.07.05 00:03:30:959 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/ejbPage/reference.jsp: init
    [18.07.05 00:03:31:520 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: /html/ejbPage/parameter.jsp: init
    [18.07.05 00:03:36:457 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: treeExpansionServlet: init
    [18.07.05 00:03:39:932 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: selectMemberServlet: init
    [18.07.05 00:03:42:145 CEST] 46da2dd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: invokeServlet: init
    [18.07.05 00:03:44:388 CEST] 4d94edd7 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: addObjectServlet: init
    [18.07.05 00:03:55:504 CEST] 46da2dd7 SystemOut O class=class com.mbusa.TestDm._EJSRemoteCMPStatusHome_ce727769_Stub
    [18.07.05 00:03:55:504 CEST] 46da2dd7 SystemOut O ejbRef ejb/com/mbusa/TestDm/StatusHome is a remote reference.
    [18.07.05 00:03:56:105 CEST] 46da2dd7 ExceptionUtil E CNTR0019E: Bei der Verarbeitung der Methode "setStatus" ist eine nicht auf die Anwendung zur&#12539;kzuf&#12539;rende Ausnahme eingetreten. Ausnahmedaten: com.ibm.ejs.container.CreateFailureException: ; nested exception is:
         java.lang.reflect.InvocationTargetException
         at com.ibm.ejs.container.StatelessBeanO.<init>(StatelessBeanO.java:151)
         at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMStatelessBeanO.java:53)
         at com.ibm.ejs.container.CMStatelessBeanOFactory.create(CMStatelessBeanOFactory.java:40)
         at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:668)
         at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:755)
         at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:78)
         at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:516)
         at com.ibm.ejs.container.EJSContainer.preInvoke_internal(EJSContainer.java:2762)
         at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2487)
         at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2472)
         at com.mbusa.TestDm.EJSRemoteStatelessTestDmSession_3f7076e7.setStatus(EJSRemoteStatelessTestDmSession_3f7076e7.java:34)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:726)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java:351)
         at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:724)
         at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)
         at $Proxy5.setStatus(Unknown Source)
         at com.mbusa.TestDm._TestDmSession_Stub.setStatus(_TestDmSession_Stub.java:266)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
         at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
         at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1019)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:592)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:204)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.ibm.ejs.container.StatelessBeanO.<init>(StatelessBeanO.java:144)
         ... 51 more
    Caused by: java.lang.ClassCastException: com.mbusa.TestDm._EJSRemoteCMPStatusHome_ce727769_Stub
         at com.mbusa.TestDm.TestDmSessionBean.getHomes(TestDmSessionBean.java:71)
         at com.mbusa.TestDm.TestDmSessionBean.ejbCreate(TestDmSessionBean.java:39)
         ... 57 more
    The code looks as follows:
    package com.mbusa.vrm;
    * Bean implementation class for Enterprise Bean: VrmSession
    import javax.ejb.*;
    import javax.naming.*;
    import java.rmi.RemoteException;
    import java.sql.Date;
    import com.test.dm.homeFactory.*;
    public class TestDmSessionBean implements javax.ejb.SessionBean {
         private javax.ejb.SessionContext mySessionCtx;
         protected StatusLocalHome statusHome = null;
              * getSessionContext
              public javax.ejb.SessionContext getSessionContext() {
                   return mySessionCtx;
              * setSessionContext
              public void setSessionContext(javax.ejb.SessionContext ctx) {
                   mySessionCtx = ctx;
              * ejbCreate
              public void ejbCreate() throws javax.ejb.CreateException {
                   getHomes();
              * ejbActivate
              public void ejbActivate() {
                   getHomes();
              * ejbPassivate
              public void ejbPassivate() {
                   statusHome = null;
              * ejbRemove
              public void ejbRemove() {
              protected void getHomes() {
                   try {
                        statusHome = (StatusLocalHome) HomeFactory.singleton().getHome("ejb/com/test/dm/StatusHome");
                   } catch (NamingException ex) {
                        ex.printStackTrace();
                        throw new EJBException("Error looking up homes: "+ex.getMessage());
         public void setStatus(int statusId, String description) throws FinderException, CreateException {
              try {
                   StatusLocal status = statusHome.create(statusId);
                   status.setDescription(description);
              } catch (EJBException ex) {
                   throw new EJBException("Status setStatus failed for "+ statusId);
         public String getStatusDEscription(int statusId) throws FinderException, CreateException {
              try {
                   StatusLocal status = statusHome.findByPrimaryKey(new StatusKey(statusId));
                   return status.getDescription();
              } catch (EJBException ex) {
                   throw new EJBException("Status setStatus failed for "+ statusId);
    I appreciate any help!!!
    Cheers
    Greg

    Hi,
    I am using the Universal test client to test my methods.
    Thank you very much for your help!!!
    Greg

  • How to fix sequence editor error when using Test Executive 5.1.1 with Labview6.0?

    I had a test sequence that was built with Test Executive 5.1.1 and Labview 5.1.1. The sequence test step vi used Test Shell to allow the user to edit and config the test. After upgrading the test step vi from Labview 5.1.1 to Labview6.0 by mass compiling all vi to Labview6.0, an error occurred while editing the test vi. The error is as following:"Sequence Editor Error: Config Test Vi Callback.vi: Could not config test vi. Make sure the path to the vi is valid." I am sure the vi path is valid, does anybody has any idea why the path was not seen? How can this bug be fixed? Any hints or suggestion would be helpful.

    That's really a TestStand question. You should post to the TestStand Discussion forum. TestStand Discussion Forum

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Error in using printList

    I can't seem to figure out why I keep getting an error message using printList
    The code I've written:
    import java.util.*;
    public class ExampleTest
         public static void main(String[] args)
              List <String> s = new LinkedList<String>();
              s.add("red");
              s.add("white");
              s.add("blue");
              printList(s);
    }It keep giving me the following message:
    cannot find symbol method printList(java.util.List.<java.lang.String>)
    However, when I tried to run another program which I've copied from a textbook, it doesn't give out any error messages and prints the output properly. The code which I test out is from this website
    http://www.deitel.com/articles/java_tutorials/20051209/LinkedList.html
    Many thanks :)

    error messages and prints the output properly. The
    code which I test out is from this websiteErrrr line 42 of that example code has a method called printList. Perhaps you should copy all the code and not just some of it.

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • SSMS 2012:FOR XML PATH Using XPath Node Tests-Columnn name 'test()' contains an invalid XML identifier as required by FOR XML?

    Hi all,
    I am learning XPATH and XQUERY from the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles, (published by apress). I copied the Code Listing 12-8 FOR XML PATH Using XPath Node Tests (listed below) and executed it in my
    SQL Server 2012 Management Studio:
    --Coles12_8.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-8 FOR XML PATH Using XPATH Node Tests
    -- Retrieving Name and E-mail Addresses with FOR XML PATH in AdvantureWorks
    -- 16 March 2015 0935 AM
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "test()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH;
    I got the following error message:
    Msg 6850, Level 16, State 1, Line 2
    Column name 'test()' contains an invalid XML identifier as required by FOR XML; '('(0x0028) is the first character at fault.
    I have no ideas why I got this error message.  Please kindly help and advise me how to resolve this error.
    Thanks in advance,  Scott Chang

    Hi Michelle, Thanks for your nice response.
    I corrected the mistake and executed the revised code. It worked nicely.
    I just have one question to ask you about the appearance of the xml output of my Co;les12_8.sql:
    <row>
    <?nameStyle 0?>
    <Person ID="1" />
    <!--2003-02-08T00:00:00-->697-555-0142<Person><Name><First>Ken</First><Middle>J</Middle><Last>Sánchez</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="2" />
    <!--2002-02-24T00:00:00-->819-555-0175<Person><Name><First>Terri</First><Middle>Lee</Middle><Last>Duffy</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="3" />
    <!--2001-12-05T00:00:00-->212-555-0187<Person><Name><First>Roberto</First><Last>Tamburello</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="4" />
    <!--2001-12-29T00:00:00-->612-555-0100<Person><Name><First>Rob</First><Last>Walters</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="5" />
    <!--2002-01-30T00:00:00-->849-555-0139<Person><Name><First>Gail</First><Middle>A</Middle><Last>Erickson</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="6" />
    <!--2002-02-17T00:00:00-->122-555-0189<Person><Name><First>Jossef</First><Middle>H</Middle><Last>Goldberg</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="7" />
    <!--2003-03-05T00:00:00-->181-555-0156<Person><Name><First>Dylan</First><Middle>A</Middle><Last>Miller</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="8" />
    <!--2003-01-23T00:00:00-->815-555-0138<Person><Name><First>Diane</First><Middle>L</Middle><Last>Margheim</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="9" />
    <!--2003-02-10T00:00:00-->185-555-0186<Person><Name><First>Gigi</First><Middle>N</Middle><Last>Matthew</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="10" />
    <!--2003-05-28T00:00:00-->330-555-2568<Person><Name><First>Michael</First><Last>Raheem</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="11" />
    <!--2004-12-29T00:00:00-->719-555-0181<Person><Name><First>Ovidiu</First><Middle>V</Middle><Last>Cracium</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    I feel this xml output is not like the regular xml output.  Do you know why it is diffrent from the regular xml xml output?  Please comment on this matter.
    Thanks,
    Scott Chang
    What do you mean by regular xml document? Are you referring to fact that its missing a root element? if yes it can be added as below
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "text()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH('ElementName'),ROOT('RootName');
    replace ElementName and RootName with whatever name you need to set for element as well as the root element
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Error while using pt:standard.choose tag

    Hi,
    I am getting error while using the ALUI 6.5 Adaptive tags. The details are given below. Can anyone help?
    The code I am using is
    <pt:standard.choose>
                   <pt:standard.when pt:test="stringToACLGroup('user=13009;').isMember($currentUser)">
                        <div class="ali-portlet-controlone">Adit</div>
                        <pt:logic.value pt:value="$currentUser"/>
                        <pt:logic.value pt:value="checking Tags"/>
                   </pt:standard.when>
              </pt:standard.choose>
    Also I checked for the variable $currentUser and it was displaying null so I set the variable as
    <pt:logic.variable pt:key="currentUser" pt:value="13009"/>
    I aslo checked by giving the group id in stringToACLGroup('group=301;') but same result.
    The stack trace is ::
    <!--Error displaying tag when in library standard. String index out of range: -19: com.plumtree.openfoundation.util.XPIndexOutOfBoundsException: String index out of range: -19
         at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:403)
         at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:350)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:165)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
         at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
         at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
         at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -19
         at java.lang.String.substring(String.java:1938)
         at com.plumtree.taglib.standard.WhenTag.DisplayTag(WhenTag.java:72)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
         at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
         at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
         at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
         at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
         at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
         at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
         at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
         at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
         at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
         at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user590322 on Oct 29, 2009 12:22 AM

    Proper usage:
    <pt:standard.choose>
    <pt:when pt:test="stringToACLGroup('user=1;').isMember($currentuser)">
    ... secret administrator content ...
    </pt:when>
    </pt:standard.choose>
    Note that it's pt:when and not pt:standard.when. Also, Joel is right -- I think $currentuser is case sensitive.
    Chris Bucchere
    http://bucchere.com
    http://twitter.com/bucchere

  • Error connecting using JCO.Client: null

    Hi,
    I created a WD app which uses  the RFC FM.  I followed How-To-build-webdynpro.pdf document to create the WD and trying to deploy and run, I see the view page but when I trigger the action via button UI element I get following error as exception in the try catch block of execute method
    In the NWA I see
    Could not create JCOClientConnection for logical System: 'WD_MODELDATA_DEST' - Model
    An exception has occurred: Erorr accessing cache [region]='XCM_SESSION_SCOPE'.
    [EXCEPTION]
    com.sap.isa.core.cache.Cache$Exception: Cannot return access for region 'XCM_SESSION_SCOPE'. Cache is not ready
    I'm using following existing JCO definition by configuring them with correct parameters.  Tested them successfully
    WD_RFC_METADATA_DEST
    WD_MODELDATA_DEST
    What am I missing?  In SM04 tcode I see 2 connections are opened with 2 Megabyte not released for a long time.  I think if connections are released correctly it should drop to 1 megabyte.  Is there anything that I need to do just after execute method as shown below (I have replaced function module with <FM> in below code)
    try {
             wdContext.node<FM>_Input().current<FM>_Get_InputElement().modelObject().execute();
         } catch(Exception exception) {
              msgMgr.reportException(exception.getLocalizedMessage(), false);
          wdContext.nodeOutput().invalidate();
          msgMgr.reportSuccess("Success");
    The error is in the catch block which is displayed on the view page.
    Thanks
    Praveen
    I modified the above code and put in finally block to close the connections as follows, please let me know if this is OK.  I still get error message as "Error connecting using JCO.Client: null" but no additional connections in the SM04 after adding finally block.
    try {
             wdContext.node<FM>_Input().current<FM>_Get_InputElement().modelObject().execute();
         } catch(Exception exception) {
              msgMgr.reportException(exception.getLocalizedMessage(), false);
         }finally {
              // disconnect the connection
              wdContext.<FM>_Get_InputElement().modelObject().modelInstance().disconnectIfAlive();     
    Edited by: Praveen11 on Oct 5, 2009 9:06 AM

    Thanks Satish.
    The issue is resolved.  I think it was to do with permission, as I was running directly from NWDS deploy and run the session didn't have proper authorisation or something that was causing this error.
    When I copy pasted the URL in the correct browser session window I got no error and function module was successfully executed.   However the issue now is that values are not showing up in the view may be to do with mapping context or model  I'll review and post back as different thread.
    Thanks
    Praveen

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • Error connecting using RemoteObject

    I've developed a simple flex app for listing data in a grid,
    which works just fine locally when the remoteobject call is made to
    the cfc. However, once the file was moved to a testing server, I
    receive the following error when the object call fires off:
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.BadVersion: : url:
    http://www.website.edu/flex2gateway/
    The site does have a firewall in place, but the call to the
    page is being made from a pc inside the network. Are there any
    specific cf config files that need modified to allow the AMF
    message to get through?
    Thanks!

    Hi
    1.May be JCO's are not configured properly.Check your JCO's are up and running by pinging it in ContentAdmin->WebDynpro.
    2. its a simple problem of connection pooling. In your JCO connection settings change the maximum connections to 200. It will work.it  is good After you execute the Model please release the connection. The reason you are getting this JCO Client null is because the connection is not getting released.
    When you say the following code
    wdContext.current<BAPI_INPUT>.modelObject().execute();
    //Get the reference to the model and release the connection
    If your Model name is say "MO_Mymodel"  then
    MO_Mymodel model = (MO_Mymodel) WDModelFactory.getModelInstance(MO_Mymodel.class);
    model.disconnectIfAlive();
    This should release your connections. Also ensure you release the connections even if there is a exception :).
    Please refer the below forum also:
    Error connection using  JCO.Client :null
    JCO.Client: null
    com.sap.mw.jco.JCO$Exception: (102) JCO_ERROR_COMMUNICATION: JCO.Client not
    Thanks
    susmita

  • Error connection using JCO.Client

    Hello all,
    I got the following problem <b>"Error connection using JCO.Client"</b> and don't know what's wrong. All connections works at the content administration when I test the connection.
    Can anyone help me please?
    Best regards
    Petra

    Hi,
    I almost tested the JCO connection with the 'test' button successfully at the content administrator. I tested again and it still works. And I have a stand alone webdynpro application (no portal).
    Now I got the following error message after completing the coding with 'e.printStackTrace().'.
    <i>
    "Error connection using JCO.Client:null"
    "[Ljava.lang.StackTraceElement:@60db08"
    "Could not create JCOClientConnection for logical System:WD_MODELDATA_DEST - Model: class impersonalaccout.intro.model.Z_Fh0002_Datenverwaltung.Please assure that you have configured the RFC connections and/or logical System"
    "com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException:Error connection using JCO.Client:null"
    "com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model:class impersonalaccout.intro.model.Z_Fh0002_Datenveraltung.Please ***"</i>
    Can anyone explaine me what's wrong?
    Bye
    Petra

  • WDDynamicRFCExecuteException: Error connecting using JCO.Client: null

    Hi
    This is a common problem,I have seen many threads , but following them did not solve my problem.
    I have the JCOs tested successful from WD Admin. When I create a sample WDJ application with RFC model and deploy it to the server, I get
    Exception:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecution: Error connecting using JCO.Client: null.
    I have checked my binding , I have only one input parameter and the code is
          wdComponentAPI.getMessageManager().reportSuccess("Inside wdInit in Component ctrller");
          Z_Plm44_Obsoleteimpactanalysis_Input input = new Z_Plm44_Obsoleteimpactanalysis_Input();
         wdContext.nodeZ_Plm_Input().bind(input);
         wdContext.createZ_Plm_InputElement(input).setV_Type(wdContext.currentZ_Plm_InputElement().getV_Type());
    Also I have implemented closing the connection
    disconnectifalive
    I contacted the basis team... they tell me that everything is fine from their end. they have tried increasing the JCO connection pools.
    Thanks for your help in advance
    Karthika

    Hi Karthika
    Check this pdf and try to catch WDDynamicRFCExecution in catch block.
    Please put your code in try catch and also import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecution in your code;
    http://www.sappro.com/downloads/WebDynproJava.pdf
    Re: User has no RFC authorization for function group.
    Hope this will help you.
    thanks
    Arun Jaiswal

Maybe you are looking for

  • Ipod nano shows in my computer but not ITunes

    I have a windows xp and I have some Ipod 4s that i want to reset them and sell them. Whenever I connect either of the 3 of them, they all go on a dim screen that says 'do not dissconnect' and I can't do anything on them. If i go to my computer and ej

  • Do we need to create Storage Bins for each Client?

    Hi, I have defined the storage bin structure etc which I could transport. But does the creation of bins (using LS01N) need to be done separately for each client? If on the test client we dont have access to Create Bins then what is the right approach

  • Offline template in combination with FREE enhancement

    Hi Experts We are working with Performance Management 604 We have a problem when we combine the enhancements HRHAP00_OFFLINE and HRHAP00_ENHANCE_FREE In the online template we can manually add up to 7 new goals, and this is also possible in the offll

  • Question about URL

    My website, www.jumpunder.com, is under construction, but I got my blog available. When you click the link to the blog, the URL stays www.jumpunder.com, instead of www.jumpunder.com/blog, or something of the sort. I have godaddy and did all the maski

  • How to set material standard price to zero

    Hi, I am facing a problem relating to standard price of material. The material price control indicator is S. The standard price of that material is 300/-. I need to change 300/- to zero. How can i do that? Pl. advise. I will assign the points for the