Error connecting OData service with Appbuilder

Hello,
I have created an OData service with SAP Netweaver Gateway and there isn't any problem while testing the service on the browser.
I made all the right settings in SMP 3.0 and the system is reached successfully from the server.I am developing the app with appbuilder so when trying to connect with SMP onboarding service there is the following error. Failed to get Service metadata.I can see the metadata in the browser so i can not understand what this error means.
If anybody can help it would be very useful because im in a deadlock.
Thank you in advance!

Hi IIliona,
I am facing the same error
I can see the metadata in the browser.
The operation of entity set returns correct results as well.
Did you fix the it?  If yes, do you mind sharing your solution?
Thanks!!

Similar Messages

  • Internal error when redefinind service with entity types and associations

    Dear gateway specialists,
    I have created a gateway service with several entity types and several associations together with corresponding navigation properties.
    Then I have created another service in which I want to redefine the first service with all the entity types and associations.
    But the redefinition ends with an internal error (message no. /IWBEP/SBCM001) and the navigation properties are not imported (entities and associations seem to be o.k.).
    What could be the reason for the error? And why might the navigations not be imported?
    Thanks!
    Regards,
    Juergen
    P.S. I found SAP note 2027049 "Service Builder Redefiniton - Extend of Odata service with Associations" which I've implemented, but without success

    Hi,
    on debugging I found out that the changes coming with SAP note 2027049 are  actually causing the problem:
    In method DO_EXECUTE_COMMAND of program /IWBEP/LFG_MOD_GENI02 the note inserts the following piece of code:
    IF gt_odata_associations IS NOT INITIAL.
      LOOP AT gt_odata_associations ASSIGNING <ls_association>.
           READ TABLE gt_odata_entities ASSIGNING <ls_entities>
              WITH KEY name = <ls_association>-left_end.
           IF sy-subrc = 0.
                READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>
                   WITH KEY name = <ls_entities>-name.
                IF sy-subrc = 0.
                     READ TABLE gt_navigation_props ASSIGNING <ls_nav_prop>
                        WITH KEY source_entity_id = <ls_entity_types>-entity_id.
                     IF sy-subrc = 0.
                          ls_entity_np-name = <ls_nav_prop>-name.
                          ls_entity_np-technical_name = <ls_nav_prop>-external_name.
                          ls_entity_np-relation_ship = <ls_association>-name.
                          ls_entity_np-from_role = <ls_association>-left_end.
                          ls_entity_np-to_role = <ls_association>-right_end.
                          APPEND ls_entity_np to <ls_entities>-nav_props.
                     ENDIF.
               ENDIF.
           ENDIF.
      ENDLOOP.
    ENDIF.
    SORT gt_odata_entities BY technical_name.
    But the statement
         READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>...
    is not correct. It leads to wrong results if an entity has more than one navigation properties as the key is not fully specified.
    Regards,
    Juergen

  • Problem creating an OData service with RFC-/BOR Import.

    Hi Experts,
    i am running always into the same problem
    I want to create an Odata Channel with "SEGW" and Datamodel with an RFC import.
    RFC si GET_CPU_ALL
    but I am running always into the same problem when I want to generate the runtime.
    I don´t know why.
    Error: ... _DPC was generated with syntax errors....
    I would really appreciate if someone could help me.
    Thanks

    Oh dear, your'e not an ABAP guy are you
    OK, you can go back to my previous suggestion and do it a different way, but first...
    TF_CPU_ALL isn't a table, it's a structure of type CPU_ALL. GET_CPU_ALL uses that as the interface structure for data it sends out.
    Starting with a blank service, create a model by using DDIC import wizard, using CPU_ALL as the structure. Call the entity "CPU". Mark 'serialnr' as the key.Create an entityset called "CPUSet".
    Generate the service.
    Go to DPC_EXT, find method CPUSET_GET_ENTITYSET and redefine it. Assuming that you can leave the inputs as the defaults, call function GET_CPU_ALL in the method with the importing parameter TF_CPU_ALL assigned to ET_ENTITYSET.
    call function 'GET_CPU_ALL'
         tables
           tf_cpu_all = et_entityset
         exceptions
           others     = 1.
       if sy-subrc <> 0.
    * Implement suitable error handling here
       endif.
    That's all it needs.
    Activate EXT class and try your service.
    opu/odata/sap/ZCPUALL_SRV/CPUSet?$format=json
    "type" : "ZCPUALL_SRV.CPU"
             "Type" : 101,
             "Subtype" : 3,
             "Serialnr" : 0,
             "NbrCpu" : 2,
             "Load1Avg" : 7,
             "Load5Avg" : 29,
             "Load15Avg" : 30,
             "IntSec" : 1059,
             "SyscSec" : 4555,
             "CsSec" : 895,
             "UsrTotal" : 3,
             "SysTotal" : 1,
             "IdleTotal" : 96,
             "IdleTrue" : 96,
             "WaitTrue" : 0
    Did it myself in under 10 minutes from build to test.

  • Strange error protecting BPEL service with WSM server agent

    I'm trying to protect a BPEL service with OWSM (SOA Suite 10.1.3.3 MLR#19). Everything looks fine as far as I can see, but when the service is called with WSM active it always fails with internal server error. There are no errors in the logs (BPEL logs, OPMN logs, OWSM logs, ...) except the following in the Apache access logs:
    "POST /policymanager/services/RegistrationService HTTP/1.0" 200 525
    I can connect to /policymanager/services/RegistrationService with a browser, it shows a message saying it is an Axis web service. Without WSM the BPEL service works fine.
    I have tried to fix this for two full days now and nothing I have tried makes a difference. Any suggestions for what I should do in order to solve the issue or at least get more data on what the root cause could be?
    -Erik
    Edit: There were two issues. The built-in test page doesn't work, when invoked with a real external client it works better. In addition the properties for file-based policies seem to be used even when the online check has been enabled (so they cannot be omitted/blank) and a restart is required to make the changes bite.
    Edited by: ew on Oct 4, 2010 2:50 PM

    Did you resolve this issue ? We are having same issue with one of our BPEL process ........ any help would be highly appreciated .....
    Thanks in Advance

  • Bex Odata Services with Customer Exit

    Hi All,
    Im using Bex as Odata Services in order to export the result set , everything works fine until i tried to use Customer Exit in Bex...in that moment the Odata Service goes down an shows a few errors.
    Does anybody know how can i manage this?
    Thanks a lot.

    Hi Marcos,
    Can you please explain your scenario and what you have done so far (e.g. share the coding in the user exit)?
    I understand that you get a few error messages. Please share them too and display the error messages on the lowest level (with details on the error).
    Last but not least, on which BW release and SP level are you working?
    Thanks,
    Sander

  • Binding to Odata Service with Input Parameters from HANA

    Hello,
    I'm developing a UI5 application that consumes a SAP HANA OData service to search a database (using fuzzy search). This service receives an Input Parameter, used to query the database.
    So every time the user searches for something I build a new binding path and refresh the model to show the search results in the sap.m.List.
    The Model:
    var hanaModel =  new sap.ui.model.odata.ODataModel("…/services/seed.xsodata");
    this.setModel(hanaModel);
    The search event handler from sap.m.SearchField:
    var listBinding = this.getView().byId("list").getBinding("items");
    listBinding.sPath = "/FoodstuffByNameValuesParameters(P_NAME='" + searchString + "')/Results";
    this.getView().getModel().refresh();
    My question is if this is the correct approach to create the model and bind the list when we have a service with an Input Parameter, or if there is a better way to do it.
    (This approach is actually working).
    Regards,
    Paulo

    i would do
    var       filter = [];
    var selectFilter = new sap.ui.model.Filter("name", sap.ui.model.FilterOperator.Contains, sVal);
          filter.push(selectFilter);
    listBinding .filter(filter);

  • Sending Idocs to R/3 Error when Business Service with a party is configured

    Hi All,
    I'm facing some issue when posting idocs (FINSTA) back to R/3 when Business Service with a party is configured in my Integration Directory. However, I do not have this problem, if the
    Business System without Party is configured. It seems that 'adapter specific' setting doesn't
    seem to work when you have a party.
    I have read the same problem faced by other SDN members as well, some suggested to have the latest patch to solve the problem. FYI, I'm using latest patch SP 15, but the problem still exist. The error that I have in the sxmb_moni is "Unable to convert sender XI party http://sap.com/xi/XI / XIParty / GABXI100 to an IDoc partner".
    Please assist. Thanks.

    Hi Arun,
    Thanks for reply.
    What do you mean by XI Party must map to a party in the R3 in the partner profile?
    For example, If my Party Name in Integration Directory is ABC01, I should create a partner profile of ABC01 in my R3? How if I have business service under the Party ABC001, what should I configure in my R3?
    Currently My Partner Profile in R3 is type 'B' - Bank.
    Thanks for helps.

  • How can I use Data Source Explorer to connect soap service with my work manager project?

    Hello,
           I am new in Agentry and I want to Consume soap service in work manager project.For that I add my service in data source explorer but I dont have any Idea that how can I go further in that to use this service in my project.

    Are you consuming OData service or SOAP service ?  Your heading says something but looking at screen it is OData service.
    I have not worked on OData service in Agentry but hopefully you can figure out rest of the steps:-
    Here are some high level steps you can follow  depending on what your trying to do.
    1. Open "Data Source Explorer" view->Eclipse, select "Window/Show View/Other->"Data Management/Data Source Explorer"
    2. On "Data Source Explorer" view, ->"OData Connections"->right click and select "New...
    3. Enter name of the connection profile.
    4. Enter Service URI of in OData Connection Details
    5. After "Test Connection", press "Finish" or click "Next" to view Summary.
    6. Right click "Yourproject" node under "OData Connection", select connection. You will see "Entities"
    7. Expand "ODataEntities", right click "Entityset", select "Agentry: Connector Studio\Object Wizard for OData".
    8. Select a module to add odata connection, click "Next"; and click "Next"; and click "Next"
    9. Check "Add", "Edit" and "Delete" on "Transaction Selection" screen.
    10. Create your own screenset and platform as required.
    11. Test the changes.
    Thanks
    Manju

  • How to build an OData Service with Gateway Service Builder (NO DDIC, BOR import)

    Hi Community,
    I hope to get an answer here to finish my project. I´m a newbie to the sap gateway service builder. Please provide me a helping hand.
    I have a problem I´m sure someone out there can help me.
    I need to create an sap ui app, which is monitoring our database behaviour (->transaction st06) is there someone who knows how to build a OData Channel with sap gateway service builder without importing a BOR- Object, or a DDIC?
    Or how to build an OData channel which exposes the database (monitoring) data from ST06?
    I would really appreciate if someone could help me.
    THANKS!
    JOE

    Hello Joe,
    If u do not want to import any Structure or BOR- Object, u can follow below steps :
    1. Create ur data model by adding the properties manually in SAP GW service builder with correct Edm    types.Doing this would be pain in my opinion ( sometimes we are forced to do this but no other option    doing this way )
       Create associations & navigation needed. 
    2. U can generate run-time objects.
    3. Go to appropriate classes and implement methods with ur Business Logic.
    4. Register ur service & consume.
    U can also import RFC to create data model and create mapping as per required by implementing correct method as well.
    once u do this generate objects and register service and consume it.
    Check this out for ur info :
    Detailed step by step procedure for Creating Gateway Service with all the CRUD Operations and testing them in Service Explorer Part1 
    Regards,
    Ashwin

  • Proxy Authentication Error in Web Service with SAAJ on Weblogic 9.2 MP3

    Hi,
    I have encountered a problem with proxy authentication in SAAJ web service (WS) calls on Weblogic 9.2 MP3.
    My WS client (which uses SAAJ's SOAP classes) should use a proxy that requires authentication to call the external web services.
    However, it does not perform the authentication and receives HTTP Error 407 - Unauthorized.
    The reason seems to be that Weblogic's Http Handler (weblogic.net.http.Handler) ignores the proxy authentication.
    I was able to work around it by setting sun's http handler explicitly in the WS endpoint URL. Sun's handler (sun.net.www.protocol.http.Handler) makes use of the Authenticator class I provided.
    1. Please see my code below and let me know if this is the only solution or if I'm doing something wrong. While testing on Tomcat I did not have to set the handler.
    2. I have seen that there are also System properties for http.proxyUser and http.proxyPasword, however if I use these and ommit setting the SimpleAuthenticator, it also fails (with either handler!). An explanation of that is welcome.
    Thanks in advance.
    Code:
    ===========================================================
    System.setProperty("http.proxySet", "true");
    System.setProperty("http.proxyHost", "localhost");
    System.setProperty("http.proxyPort", "808");
    //System.setProperty("http.proxyUser", "myuser");
    //System.setProperty("http.proxyPassword", "mypw");
    Authenticator.setDefault(new SimpleAuthenticator("myuser", "mypw"));
    String urlString = "http://someurl:8080/webservice..";
    URL endpoint1 = new URL(urlString);
    URL endpoint2 = new URL(null, urlString, new sun.net.www.protocol.http.Handler());
    SOAPConnectionFactory soapfactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapfactory.createConnection();
    connection.call(message, endpoint1); // Gives Exception with HTTP Error 407
    connection.call(message, endpoint2); // Works and uses the proxy
    For reference:
    ===========================================================
    public class SimpleAuthenticator extends Authenticator {
         private String username, password;
         public SimpleAuthenticator(String username, String password) {
              this.username = username;
              this.password = password;
         protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication(username, password.toCharArray());
    }

    Sorry for the 3 posts.
    Administrator, delete this thread please!!

  • Error configuring shared services with Oracle 11g database

    I've installed Hyperion EPM 11.1.1.3 and orale 11g successfully. My problem though is that when i tried to do the configuration,
    the error message states 'Unable to check Shared Services database existence: an error occured.'
    ---------My Environment:--------
    EPM Server: Windows Server 2003 SP1 32-bit
    RDBMS: Oracle Enterprise Edition 11g (running on same server 2003)
    Oracle Client: 11g (full client install)
    SID name :- orcl
    ------------Here are the components that I've installed--------
    - V17397-01(EPM Foundation Services p-1)
    - V17369-01(EPM Foundation Services p-2)
    - V17370-01(EPM Foundation Services p-3)
    - V17371-01(EPM Foundation Services p-4)
    - V17389-01(server)
    - V17388-01(Client)
    - V17390-01(Provider Service)
    - V17378-01(Financial Reporting)
    - V17380-01(Web Analysis)
    - V17398-01(EPM Architect)
    - V17402-01(Smart View for Office)
    all files are extracted in a single folder using winrar tool.
    I can't proceed with the shared services configuration because in just the first page of it, I'm encountering the error Unable to check Shared Services database existence: an error occured.'
    I believed the shared services is bundled with the foundation if I'm not mistaken, because I can't find any download related to it on edelivery site.
    I tried to configure only the Foundation components but the '*Comman setting*' & '*configure database*' are grayed out so I have no option but to figure out first this shared services configuration.
    below are the logs
    ---------------configtool.log--------------
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState$1, DEBUG, validate
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, connect test
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, driver set
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, server= hyperion
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, whiteSpace remove
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, begin test cycle
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, define driver
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, make connection
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState, DEBUG, set URL
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState$1, DEBUG, connection is NOT null
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.DBConnectionForm, DEBUG, DB type string = Oracle
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.cis.config.AbstractProductDBConfigurator, DEBUG, JDBC driver class is hyperion.jdbc.oracle.OracleDriver
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.cis.config.AbstractProductDBConfigurator, DEBUG, Connection URL: jdbc:hyperion:oracle://hyperion:1521;SID=orcl
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState$1, DEBUG, validate CREATE_NEW, no registry DB exists, create it
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.hit.registry.RegistryConnection, ERROR, SQL Exception [Hyperion][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges CAUSE null
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState$1, ERROR, com.hyperion.hit.registry.exceptions.RegistryException: Unable to create registry.
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Unable to check Shared Services database existence: an error occured.
    ------------configtool_err.log------------
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.hit.registry.RegistryConnection, ERROR, SQL Exception [Hyperion][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
    CAUSE null
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.config.wizard.impl.RegistryWizardState$1, ERROR, com.hyperion.hit.registry.exceptions.RegistryException: Unable to create registry.
    (Jul 04, 2010, 02:53:29 AM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Unable to check Shared Services database existence: an error occured.
    Hope to here from Some one.
    Any help would be appreciated. Thank you.

    Thanx John for your kind reply. i reffred your other posts and those are very helpfull for me.
    I don't have any previous ver. of Hyperion. and i created a new database 'Orcl' for configuring the shared services and given the user name as 'hss'. i also tried to delete my old database and and reg.properties file from Hyperion Dir u suggested in some other post. but still its not working.
    Today I have started again with fres installation of Windows Server 2003 oracle 11g EPM 11.1.3.
    Also I m Installing this on VMware. I hope this is not the issue as i already installed Microsoft Loopback Adapter.
    I will let you know the updates.
    but still looking forward for your Kind help.
    Edited by: Gaurav_Choudhari on Jul 5, 2010 12:37 AM

  • Error starting web service with netbeans and tomcat

    Hi i'm trying to test a web service connection with mysql i follow all the steps showed here:
    http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-five-minutes-48908.html
    the log :
    Using CATALINA_BASE:   "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base"
    Using CATALINA_HOME:   "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3"
    Using CATALINA_TMPDIR: "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\temp"
    Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_11"
    Using CLASSPATH:       "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\tomcat-juli.jar"
    17-Sep-2014 10:48:22.880 INFO [main] org.apache.catalina.core.AprLifecycleListener.init La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files\Java\jdk1.8.0_11\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\Windows\System32;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;D:\Users\investigacion01\AppData\Roaming\npm;D:\Kony\ImageMagick;D:\Kony\Ant\bin;C:\Program Files\apache-ant-1.9.4\bin;C:\Program Files\Java\jdk1.8.0_11\bin;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;.
    17-Sep-2014 10:48:23.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:23.086 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 523 ms
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.3
    17-Sep-2014 10:48:23.120 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    17-Sep-2014 10:48:23.153 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:23.180 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@2b6fe9b5]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4841)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4966)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 10 more
    Caused by: java.lang.IllegalArgumentException: The main resource set specified [D:\Users\investigacion01\Documents\HelloWorldWebService\build\web] is not valid
      at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:627)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 13 more
    17-Sep-2014 10:48:23.181 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error durante el despliegue del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    17-Sep-2014 10:48:23.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\manager.xml
    17-Sep-2014 10:48:23.462 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:23.871 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [347] milliseconds.
    17-Sep-2014 10:48:23.899 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:23.902 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:25.055 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.061 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\ROOT.xml
    17-Sep-2014 10:48:25.158 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:25.185 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:25.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2096 ms
    17-Sep-2014 10:48:27.370 INFO [http-nio-8084-exec-3] org.apache.catalina.startup.HostConfig.undeploy Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /prueba
    17-Sep-2014 10:48:27.411 INFO [http-nio-8084-exec-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:27.414 WARNING [http-nio-8084-exec-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:28.345 INFO [http-nio-8084-exec-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:28.374 INFO [http-nio-8084-exec-1] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prueba]] after start() had already been called. The second call will be ignored.

    This message comes up for me when i run a project that is different than what's indicated in the error message. In fact, the project has been deleted, yet, it still is referenced during the "run" step.

  • Error connecting to WS with Adobe Reader with Reader Extension server

    Hi all!
    I'm using a form designed with Designer with Reader Extension. This form
    connects to a ws in order
    With Acrobat and the Acrobat Reader under 7.0.5 it's all OK, but another
    user with Acrobat or Adobe Reader 7.0.8 received an error message when
    trying to connect to the WS.
    The error says that there was a problem reading the file and specified the
    folder url in which there is the web service.
    I remember that for some reasons, after 7.0.5 you've to certified the
    document, but I can't certify a PDF form created with Designer :(
    Anyone can help?
    Thanks,
    Alessio

    <[email protected]> ha scritto nel messaggio <br />news:[email protected]..<br />> Well, I just tried it to make sure, and I was able to call a web service <br />> fine from 7.0.8. Is it possible that someone at some point when Acrobat <br />> asks if you want to allow or block the operation chose block and clicked <br />> the check mark to make it remember that chose and automaticallly apply it? <br />> I notice that if I choose block it displays a generic error message saying <br />> it needs to be a certified form (which is wrong). Does it work from other <br />> machines?<br />><br /><br />Yes, maybe the users click on the block button. By Clicking on the Allow <br />button, all works.<br /><br />Alessio

  • Error connecting GSM Modem with system using java (error no is 20)

    hi!
    I'm new to jms, i want to send sms using GSM Modem.I used sony Ericsion mobile. I got one sample application , when i run it thows the following exceptions.
    Feb 27, 2008 4:31:27 PM org.jsmsengine.CSerialDriver open
    INFO: Connecting...
    Feb 27, 2008 4:31:28 PM org.jsmsengine.CSerialDriver close
    INFO: Disconnecting...
    Connection to mobile failed, error: -20
    i used the following code
    import org.jsmsengine.*;
    class SendMessage
    public static void main(String[] args)
    int status;
    // Create jSMSEngine service.
    CService srv = new CService("COM6",9600);
    System.out.println();
    System.out.println("SendMessage(): sample application.");
    System.out.println(" Using " + srv._name + " " + srv._version);
    System.out.println();
    try
    // Initialize service.
    srv.initialize();
    // Set the cache directory.
    srv.setCacheDir(".");
    // Set the phonebook.
    // srv.setPhoneBook("../misc/phonebook.xml");
    // Connect to GSM device.
    status = srv.connect();
    // Did we connect ok?
    if (status == CService.ERR_OK)
    // Set the operation mode to PDU - default is ASCII.
    srv.setOperationMode(CService.MODE_PDU);
    // Set the SMSC number (set to default).
    srv.setSmscNumber("");
    // Print out GSM device info...
    System.out.println("Mobile Device Information: ");
    System.out.println(" Manufacturer : " + srv.getDeviceInfo().getManufacturer());
    System.out.println(" Model : " + srv.getDeviceInfo().getModel());
    System.out.println(" Serial No : " + srv.getDeviceInfo().getSerialNo());
    System.out.println(" IMSI : " + srv.getDeviceInfo().getImsi());
    System.out.println(" S/W Version : " + srv.getDeviceInfo().getSwVersion());
    System.out.println(" Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
    System.out.println(" Signal Level : " + srv.getDeviceInfo().getSignalLevel() + "%");
    // Create a COutgoingMessage object and dispatch it.
    // *** Please update the phone number with one of your choice ***
    COutgoingMessage msg = new COutgoingMessage("+919830645175", "Ripon");
    // Character set is 7bit by default - lets make it UNICODE :)
    // We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    // this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    // Disconnect from GSM device.
    srv.disconnect();
    else System.out.println("Connection to mobile failed, error: " + status);
    catch (Exception e)
    e.printStackTrace();
    System.exit(0);
    In my jre path i added win32.dll to use comm.jar
    please help me

    Thanks so much; you just helped me fit together the last few pieces of this puzzle. I did a little more digging and found a [url http://support.webecs.com/KB/a375/how-do-i-configure-sql-server-express-to-allow-remote.aspx]knowledge base article that explains how to set a static TCP port. According to the article, SQL Server 2005 selects a random dynamic port on installation, and my experience bears out the fact that it does survive server reboots.
    TheAvalanche wrote:
    If you don't want that, make sure the SQL Server Browser service is running and connect to your SQL Server using the instance name, and not use a port in the JDBC-url.
    BTW: I am not sure if jtds supports usage of the browser service, the Microsoft SQL Server JDBC drivers since version 1.2 (I think) do.It would appear that jTDS doesn't support the browser service, at least not by default, because I tried using the instance name rather than the port to connect (along with just about every other possible combination) and it didn't work. In my opinion, using a static port makes a lot more sense anyway, since you don't have to rely on the browser service, and you'll always know what port to set in your firewall exceptions. (For anyone out there wondering about firewall exceptions, in addition to the static port for the server, an exception has to be created for the browser on UDP 1434 if you're going to use it, which most programs apparently do.)
    Once again, thanks for all the good information!
    Edited by: javadecaf on May 27, 2011 8:03 AM
    Insert link button on toolbar generated link syntax that doesn't work: text. What's up with that?

  • Problem connecting OData Service through SMP APP in Android App

    Hi,
    I'd like to develope an Android sample app with SMP and OData. Therefore I use the SMP Developer Version in the HANA Cloud and the Netweaver Service Gateway Demo System as OData Endpoint. I configured the app in the SMP as described in the openSAP Course "Introduction to Mobile Solution Development".
    I successfully managed to integrate the MAFLogon component from the SMP SDK 3.0. The registration in the app to the SMP works fine. Then I tried to download the service document as described in the SMP SDK 3.0 Help Documentation (http://help.sap.com/saphelp_smp303sdk/helpdata/en/7c/09250170061014bb05d2c9cd16418c/content.htm?frameset=/en/7c/09404b70061014b89ba1222a327094/frameset.htm&current_toc=/en/7c/01cda6700610149b10c2f2a86d335b/plain.htm&node_id=3583&show_children=true#jump3577).
    But when I'm trying to download the service document, I get a 403 response and in the SMP the log says "Application connection id is not provided". So I added the APPCID in Requestheaders. Then the download works and in the onsuccess method of the INetListener I'll get a 200 response. But in the SMP Logs I get a 401 response which says that I should supply the Authorization Headers. So I added them in the next try and I get a 500 response.
    So I don't know what to. Can anybody provide me some advice?
    Thanks in advance
    Philip

    Hi Philip,
    Can you download the app from this tutorial and try, SMP 3 - Android Native App Development
    The tutorial is based on the SMP 3 on premise version not on the SMP HANA cloud, but still it works. Only change you have to do is replacing the code clientConnection.setConnectionProfile(true, "66.175.100.29", "8080", null, null); with clientConnection.setConnectionProfile("https://smpxxxtrial.hanatrial.ondemand.com");
    And it is not using MAFLogon component. You can use it if needed.
    Thanks,
    Midhun VP

Maybe you are looking for