Error while tesing a Datasource created from Java function

Hi ,
I am trying to create a datasource from java function.After build/deploy i am getting the following error . The java class i am using from the EvalGuide Sample. Anybody had similar issues ?
regards
GK
weblogic.xml.query.exceptions.XQueryStaticException: {lib:TestLayer/xfl/library1}protectSSN:1, line 4, column 1: {err}XQ0017: "{lib:TestLayer/xfl/library1}protectSSN": unknown function (or number of arguments (1) is wrong)
     at com.bea.ld.server.XQuery.createInvocation(XQuery.java:228)
i am using WLS8.1 sp 6 ,ALDSP 2.5

I am testing from Test View.
I tried build-->deploy-->redeploy several times.
Pls find the complete trace below
eblogic.xml.query.exceptions.XQueryStaticException: {lib:TestLayer/xfl/library}protectSSN:1, line 4, column 1: {err}XQ0017: "{lib:TestLayer/xfl/library}protectSSN": unknown function (or number of arguments (1) is wrong)
     at com.bea.ld.server.XQuery.createInvocation(XQuery.java:228)
     at com.bea.ld.EJBRequestHandler.invokeQuery(EJBRequestHandler.java:559)
     at com.bea.ld.EJBRequestHandler.invokeFunction(EJBRequestHandler.java:775)
     at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:339)
     at com.bea.ld.ServerBean.executeFunction(ServerBean.java:95)
     at com.bea.ld.Server_ydm4ie_EOImpl.executeFunction(Server_ydm4ie_EOImpl.java:954)
     at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
     at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Similar Messages

  • I have error while testing the system created from a sap business objects template in SAP portal

    I have error while testing the system created from a sap business objects template in SAP portal. Error text:
    com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not create JCO connection. 'mshost' missing
    I configure integration SAP portal and SAP BW system. All system requirements are complied.
    Environment
    SAP Business Objects 4.0
    SAP BW 7.31
    1.     I configure SSSO between SAP BW and SAP Business Objects Enterprise 4.0
    2.     Next I setting integration SAP PORTAL with SAP BW system
    3.     I download certificate from portal. Select Certificates and key (http://sapserver:port/nwa) – See scren_
    4.     In next window selected Ticketkeystore and Saplogonticketpair-cert( near part window form)
    5. Select Export entry button and binary format file certificate for download. Press download.
    6.     Save certificate file in local PC folder
    In next step need export certificate file to SAP system. Sequence of step:
    1.       Run STRUSTSS02 transaction .
    2.       Chose certificate ->import.
    3.       Select downloaded certificate file
    4.       Select Add to certificate list button and Add to ACL button
    5.       Inter System ID and Client(000)
    6.       In next I download iview sap business objects template into sap portal: System administration->transport->Import. And select and download sap business Objects iview template in .epa format into sap portal.
    7.       Result – downloaded iview.
    8.       In next step I create system from template. System administration->system landscape.
    9. In next step I input parameters for my system in Connector category, Sap business objects and user management categories: See screen _2
    10.   When I created the system and test the connection error occurred: See screen_3
    This issue is important enough. I would be grateful for opinions and ideas. Thanks in advance.

    Did you find a solution?

  • Error while executing unix shell script from java program

    Hi All,
    I am trying to execute unix shell script from a java program using Runtime.execute() method by passing script name and additional arguments.
    Code snippet :
    Java Class :
    try{
         String fileName ="test.ksh";
         String argValue ="satish"; // value passed to the script
         String exeParam = "/usr/bin/ksh "+fileName+" "+argValue;
         Process proc = Runtime.getRuntime().exec(exeParam);
         int exitValue = proc.waitFor();
         sop("Exit Value  is : "+exitValue);
    catch(Exception e)
    e.printStackTrace();
    }Test.ksh
      export -- application realated paths..
      nohup  abc.exe 1> test.log 2>&1;
      $1
      exit.By running the above java class , i am getting exit Value: 139 and log file test.log of 0 bytes.
    when i am running the same command (/usr/bin/ksh test.ksh satish) manually, it's calling abc.exe file successfully
    and able generate the logs properly.
    Pls let us know where exactly i am stuck..
    Thanks in advance,
    Regards,
    Satish

    Hi Sabre,
    As per the guidelines provided by the article, i had done below changes..
    InputStream is = null;
    InputStreamReader iStreamReader = null;
    BufferedReader bReader = null;
    String line = null;
    try{
    String fileName ="test.ksh";
    String argValue ="satish"; // value passed to the script
    String exeParam = "/usr/bin/ksh "+fileName+" "+argValue;
    Process proc = Runtime.getRuntime().exec(exeParam);
    is = proc.getErrorStream();
    iStreamReader = new InputStreamReader(is);
    bReader = new BufferedReader(iStreamReader);
    System.out.println("<ERROR>");
    while((line = bReader.readLine()) != null)
    System.out.println("Error is : "+line);
    System.out.println("</ERROR>");
    int exitValue = proc.waitFor();
    sop("Exit Value is : "+exitValue);
    catch(Exception e)
    e.printStackTrace();
    Now , it's showing something like..
    <ERROR>
    </ERROR>

  • "VS_NEEDSNEWMETADATA" error while running a package created from C# code

    I have gone through most of the answers for similar questions here however none has resolved the issue. We have created a package using C# code which stages data from a source table to destination (ChildPackage.dtsx).
    Source Table : RowKey, Col1, Col2
    Destination Table : RowKey, Col1, Col2, RowID, RunID (RowID is an identity column in destination table and RunID is a derived column whose value is set using a variable)
    This package runs fine when we execute it directly however, we run these packages from a master package (MasterPackage.dtsx). When we are trying to run the package (ChildPackage) from a MasterPackage we get an error:
    [SSIS.Pipeline] Error: "Oledb Destination" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    We have tried setting DelayValidation to true for the ChildPackage and even tried setting the values for "ValidateExternalMetadata" for the source and destination component as "False" for the data flow task
    of the ChildPackage.
    There is no case difference between column names in source and destination and it runs fine when we run the ChildPackage directly.
    The only additional task that the Master package performs is to generate and set a variable that is used as RunID value by the child package.
    If we hardcode the RunID in the ChildPackage and run it directly, it runs fine.
    The MasterPackage.dtsx is not created from code and has a step to run ChildPackage.dtsx. We generate the ChildPackage.dtsx from code and replace in original solution.
    Any help would be appreciated.
    Gaurav Agarwal

    Where then this RunID is consumed?
    Arthur My Blog
    The RunID is set by the MasterPackage in a parameter, this parameter is used as value of derived column in the data transformation task of the ChildPackage.
    As mentioned ChildPackage has a RunID column.
    Gaurav Agarwal

  • Java.io.filepermission error while executing a batch file from java prog

    Hi,
    i want run a java program which executes a batch file, both are in a jar file. while am trying this using webstart it shows error:access denied java.io.filepermission <<ALL FILES>>execute. why this happens how to rectify this.
    By
    Vinod

    Clearly, it would be a security vulnerability to be able to do such a thing from the web w/o user granting trust to the application.
    Java Web Start applications run in the Java SE secure sandbox unless they have been granted all-permissions by the user:
    1.) sign all jar files.
    2.) add <security><all-permissions/></security> to the jnlp file.
    The user would then be prompted to grant trust to the applications.
    /Andy

  • Error while testing the Webservice created from RFC enabled function module

    Our client has provided the SAP WSDL URL and We tried to generate stub using AXIS 2 tool from this SAP WSDL URL and got u201Cservice and binding tagu201D missing error.
    It seems that clients SAP wsdl file is having only web service interface information and does not have Access Description i.e service and binding tag information . 
    Is it mandatory to have service and binding tag in SAP wsdl to consume webservice from third party java application ?
    Could you please let us know how to resolve this error?
    <urgency removed by moderator>.
    Thanks ,
    Ranjit
    Edited by: Thomas Zloch on Mar 25, 2011 1:16 PM

    Hi,
    I think you might have received wrong WSDL.
    In transaction SOAMANGER for a WebService you can select:
    Porttype WSDL document
    or
    WSDL document for selected binding or service -> for a concrete binding
    You need to get the second one which contains service and binding information. The first one is just interface description.

  • "Errored while looking up datasource: PWC4216: Name myDB is not bound in th

    hi all,
    am trying to deploy my web application (.war which has a servlet which connects to a db and fetches records and displays in jsp) file in SunOne web server V7 but i cant get past this error :
    [29/Jun/2010:15:14:46] failure (24218): for host 146.171.59.144 trying to POST /BbaMigrationQueryTool/BBAMigrationQuery, service-j2ee reports: NamingExcep
    tion caught: Errored while looking up datasource: PWC4216: Name myDB is not bound in this Context
    my java code to lookup the jndi name :
       1.     //looks up a datasource 
       2.     private static synchronized DataSource getDataSource(String jndiName) throws NamingException { 
       3.  
       4.         DataSource dataSource = null; 
       5.  
       6.         try { 
       7.             Context c = new InitialContext(); 
       8.              Context envContext = (Context) c.lookup("java:comp/env"); 
       9.             Logger.getLogger(DBUtilities.class.getName()).log(Level.INFO, "Found sub context"); 
      10.               dataSource = (DataSource) envContext.lookup(jndiName); 
      11.  
      12.         } catch (NamingException e) { 
      13.             e.printStackTrace(); 
      14.             throw new NamingException("Errored while looking up datasource: " + e.getMessage()); 
      15.         } 
      16.  
      17.         return dataSource; 
      18.     } 
      i call the above method with "jdbc/myDB" and have created a JDBC recourse within the SunOne web server via the admin console.
    my web.xml i have an entry for the resource as follows :
       1.             <resource-ref> 
       2.         <res-ref-name>jdbc/myDB</res-ref-name> 
       3.         <res-type>javax.sql.DataSource</res-type> 
       4.         <res-auth>Container</res-auth> 
       5.         <res-sharing-scope>Shareable</res-sharing-scope> 
       6.     </resource-ref> 
    in my sun-web.xml i have an entry as follows :
       1.     <resource-ref> 
       2.         <res-ref-name>jdbc/myDB</res-ref-name> 
       3.         <jndi-name>jdbc/myDB</jndi-name> 
       4.     </resource-ref> 
    server.xml has this entry in it :
       1.   <jdbc-resource> 
       2.     <jndi-name>jdbc/myDB</jndi-name> 
       3.     <datasource-class>oracle.jdbc.pool.OracleDataSource</datasource-class> 
       4.     <property> 
       5.       <name>password</name> 
       6.       <value>76765</value> 
       7.     </property> 
       8.     <property> 
       9.       <name>user</name> 
      10.       <value>56756</value> 
      11.     </property> 
      12.     <property> 
      13.       <name>url</name> 
      14.       <value>jdbc:oracle:thin:@serveretc etc</value> 
      15.     </property> 
      16.     <description/> 
      17.   </jdbc-resource>
      what could be wrong ??
    thanks in advance.
    Edited by: cesarNZ on Jun 29, 2010 7:58 PM
    Edited by: cesarNZ on Jun 29, 2010 8:00 PM

    try to not split the attributes in server.xml
    use them like
    <Context path="/myPath" docBase="myDocBase" debug="5" reloadable="true" crossContext="true" source="org.eclipse.jst.j2ee.server:myDocBase">
                          <Resource name="jdbc/myDB"
                                                     auth="Container"
                                                     type="javax.sql.DataSource"
                                                     maxActive="100"
                                                     maxIdle="30"
                                                     maxWait="10000"
                                                     username="$$$"
                                                     password="$$$"
                                                     driverClassName="com.mysql.jdbc.Driver"
                                                     url="jdbc:mysql://localhost/myTest" />
                     </Context>and i dont know why you define two resources
    try to look at
    http://forums.sun.com/thread.jspa?messageID=11013089&#11013089

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Error while activating BC datasources

    Hi guys,
    I am getting this error while activating BC datasources...it is only with my login, rest of the users can work well.
    Error:
    DataSource 0BP_ACTITLE_TEXT; switch to package BUPA_CENTRAL_DATA_BW is off
    this happened with all DS in the BC, the problem occured because while activating initially my connection got disconnected and then this problem started.....
    how do i rectify this? any help would be highly appreciated.....

    make sure that the server from which ur data source gets the values are also logged on

  • Error while connecting to SQL SERVER from OWB

    HI All,
    I got the following error while connecting to SQL SERVER from OWB(10gR2).
    1). Created DSN with (GMSCADA)
    2). tnsnames file is updated with the following information
    GMSCADA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
    (CONNECT_DATA =
    (SERVICE_NAME = SA)
    3). Tried to connect to SQL SERVER frm OWB
    Username: sa
    password: sa
    host: 172.16.60.29
    port: 1433
    service name: GMSCADA
    schema: sa
    I got the following error, when I click Test Connection:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB_3095
    Regards,
    Kumar.

    Hi David,
    What is Gateway, How I have to setup, Please let me know.
    I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
    Can u please let me know.
    Regards,
    Kumar.

  • ABAP run time error while perform LT06 or create TO with respect to posting

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    >> Short dump has not been completely stored. It is too big.
    >       P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    This part is just the place in the program where the error occured, but why the error occured is mentioned earlier in the dump.
    Maybe you have a too big number in the field and hence a field overflow, maybe you have a character instead of a number in the field.
    Read the dump from the beginning. if you dont know how to read a dump,then try to get help from any local Abaper.

  • Error while relocating (Can't create folder)

    I have been running a referenced library for some time now. I seem to have run into a problem where I can no longer move originals from my hard drive to the referenced external drive.
    When trying to do so, I get the following message:
    Error while relocating (Can’t create folder)
    Any ideas what has changed and how to fix this error?
    Thanks
    Robert

    I did the verify disk from drive utility, checked out as ok. I decided to run the repair disk anyways. I first chose the name of the drive "1 TB Seagate" and all was well with both verify and repair.
    I then chose "GoFlex Aperture" and did the same. Verify was fine, but as you can see, something is amiss with trying to repair it.
    Here's the get info grab.
    Here's the console shot, did find something about the goflex aperture database drive, although that is far beyond my ability to comprehend.
    I appreciate your help. I'm running to the post office, be back in a bit.
    Thanks,
    Robert

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Error while trying to copy template from another application

    Hi,
    I am getting this error while trying to copy template from another application:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    This report is located here:
    Home-Application Builder-Application 150-Shared Components-Templates-Replace Templates
    best regards,

    It is usually a permissions issue.. you have read but not write permission. Why it would suddenly change is one of those Apple Mysteries... but it happens.
    Open the directory (folder) where your media files are.. and check the permissions.. see if you can fix them.
    The problem is the folder on the TC might have lost your ownership and you might not be able to change it.. Apple do not provide anyway to regain permissions because you would need low level access to the TC firmware.
    I would just as a matter of course reset the TC to factory and redo its setup.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Do the setup via airport utility using different names.. short, no spaces and pure alphanumerics. Make sure passwords are also pure alphanumeric mixed case and numbers.. 8-20 characters is usually plenty.
    Mount the disk in finder and see if you have the same issue.. I am not expecting a change.. but it is worth a try.
    No luck you can copy your files off the TC.. wipe it .. and then copy them back.. no bad thing unless you already have a backup of your files at the moment. In which case you can just wipe the TC and copy the files now.

  • ERROR WHILE ACTIVATING THE DATASOURCE

    Hi Experts,
    I'M WORKING ON BW3.0B.I'M GETTING  ERROR WHILE ACTIVATING THE DATASOURCE
    1. EVENT WITH ERRORS EXTRACT IN DATA SOURC 2LIS_11_VAHDR

    Hi,
    where you are getting error in ECC?. or in BW?. If it is already in use, then you need to clear all Queues and then try to activate it.
    Thanks
    Reddy

Maybe you are looking for