Is it possible to deploy Web Services to Tomcat?

Good day,
Can anybody tell me or it is possible to deploy Web Services to Tomcat 5.5.x ? It is possble for ADF, so I was wondering or it is possble for Web Services.
I tried to deploy it with the following libraries:
J2EE (excluding the servlet.jar using the filter, while this package is already present in Tomcat)
Oracle SOAP
Struts Runtime
JSP Runtime
and manually added as library:
wsserver.jar
wsdl.jar
WebServicesHtmlXmlWizard.jar
The situation at this moment is that after deployment, and execution by the a http browser the http request screens shows up as expected (I have been used Embedded stubs), but after sending I get a:
28-Sep-2005 11:03:36 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet MyWebService1 threw exception
java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
     at oracle.j2ee.ws.StatelessJavaRpcWebService.getGenerator(StatelessJavaRpcWebService.java:28)
     at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:461)
     at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:414)
     at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:532)
     at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:631)
     at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Unknown Source)
Any sugestions? Or is there a different behaviour between Oracle en Tomcat version caused by modifications from the apache source.
I should appreciate it to get some more details about this issue.

JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.

Similar Messages

  • Deploy Web Service on Tomcat

    Good day.
    I have some troubles with deploying web service on Tomcat 6.
    I've created simple WebService with name GetDateService and want to deploy it into Tomcat 6.0
    My Steps
    1. From my local machine in browser i try "http://tomcathost:8080"
    i see start page and that means that ports open and TOMCAT run (after i log into manager - it works)
    2. In JDeveloper in "Web-INF\WSDL" i change GetDateService.wsdl -> replace adress from
    http://localhost:8888/JaveWebService2-GetDateExWS-context-root/GetDateServiceSoapHttpPort
    to
    http://TOMCAT:8080/JaveWebService2-GetDateExWS-context-root/GetDateServiceSoapHttpPort
    3. Rebuild WebService and check changes in "Application Source" -> GetDateService -> WSDL
    4. I can't understand why the WAR file name is WEBServices.war (not GetDateService.WAR)
    5. Put WAR file into \\TOMCAT\webAPP and see that TOMCAT auto deploy it
    6. In Tomcat manager i see new application without "DisplayName" with running status "False"
    7. When i try to Start it in Manager i see "FAIL - Application at context path /WebServices could not be started"
    WHAT wrong? What should i do to start webService?
    Thanks
    Edited by: August_ on Jul 10, 2009 6:58 AM

    Can you have a look at the following post from Gerard and see if this works for you: [Deploying JAX-WS RI to Tom Cat|http://kingsfleet.blogspot.com/2009/01/deploying-jax-ws-ri-to-tom-cat.html]
    -Vishal

  • Deploy JDeveloper 10g Web Services to Tomcat

    We are currently running our web services in Tomcat (using Apache Axis). Is it/will it be possible to deploy web services to Tomcat from JDeveloper 10g?
    Thanks,
    Jasmin

    JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.

  • Deploy Web Service on Forms OC4J

    Dear All,
    Is it possible to deploy web service created in Jdeveloper 10.1.3.5.0 (uses plsql package) on OC4J which is part of Oracle Forms 10g (10.1.2)?
    I have read notes about deploying on OAS but cannot find any document which answers my question.
    Please help.
    Sincerely,
    Givi

    Actually, it sounds like your deployment worked fine ... the message:
    "Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
    is the message that comes up in Oracle9iAS 9.0.2 at a Web service endpoint. Add a ?WSDL to the URL and you should get the WSDL for the Web service. Add a ?proxy_source to the URL and you should be able to download a client to the Web service.
    Check out this tutorial at step 24 (http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html) and you will see how the endpoint URL generates a more satisfying Web service home page in Oracle9iAS 9.0.3 versus the cryptic, but valid message in 9.0.2.
    As for your deployment, the use of admin.jar for deployment only works on stand-alone OC4J's versus real full installations of Oracle9iAS - this is why the Enterprise Manager interface you used worked but the admin.jar did not. There is also a command line interface for Oracle9iAS called DCM which you can read about at:
    http://download-west.oracle.com/docs/cd/A97329_03/core.902/a92171/dcm.htm#620714
    that gives similar functionality. The reason that admin.jar does not work is that DCM and OEM solve a bigger problem in that they also support deployment to and configuration of a clustered environment so have that extra functionality built in.
    Hope this answers your questions and gets you going.
    Mike.

  • Deploying web service ear file

    Hi,
    I've developed a simple web service using NetWeaver Developer studio 2.0.5 and created an .ear file for deployment to SAP WAS 6.2.  While trying to load ear file from the deploy tool it throws an error - "Unable to load ear file".  Has anyone seen this error before?  Any problems with the NetWeaver and SAP WAS versions? Any suggestions on how to deploy a web service on SAP J2EE 6.2?

    Hi Dipesh,
    well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
    Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
    Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
    Hope that helps!

  • DDBeanCreateException when deploying web service EAR

    Hi All,
    I would very much appreciate any help on the following problem.
    I used WorkSpace 1.1 to develop my app and tested in on WLS 10.0 within it. In WorkSpace the server runs on port 7021 and it has ALSB as well on the same port.
    I created EARs and tryed deploying them to another WLS 10.0 that was used by ALSB, outside of Work Space. All module deployed fine.
    Then I created a standalone WLS 10.0 server and tried deploying my modules on it. The server by default is on port 7001. Deployment failed with this error:
    javax.enterprise.deploy.model.exceptions.DDBeanCreateException: [J2EE Deployment SPI:260142]The descriptor at 'META-INF/annotation-manifest.xml' in module 'XXX.war' is not recognized, and could not be parsed.
    I found this article in Chris Hogue's blog (http://dev2dev.bea.com/blog/hogue/archive/2006/09/changing_annota.html_)
    He recommends adding weblogic J2EE weblogic-controls-1.0 library to the EAR. I already have weblogic-controls-10.0 library attached. The only thing that jumps at me is the difference in ports. I manually changed references in annotation.xml from port 7021 to port 7001, but it did not help.
    Thoughts?? Thanks in advance!
    Edited by svitlana.dukhovna at 05/09/2008 3:05 PM

    Hi Dipesh,
    well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
    Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
    Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
    Hope that helps!

  • Is it possible to test Web Service operation from Browser

    Hi,
    I'm new with Web Logic and Web Service.
    Weblogic version: 10.3.5
    SOAP Web Service with RPC/Literal message format
    Created a Web Service and deployed that onto Web Logic.
    Also managed to get the WSDL page. However, when i tried to invoke one of the method from a web browser, it gives me a 404 Error. Not found.
    WSDL URL
    http://localhost:7778/self_service-self_service-context-root/self_servicePort?WSDL
    Method:
    <WL5G3N0:operation name="trivialProc">
    <WL5G3N3:operation soapAction="http://package/Self_service.wsdl/trivialProc"/>
    <WL5G3N0:input>
    <WL5G3N3:body use="literal" parts="String_1 Integer_2 String_3" namespace="http://package/Self_service.wsdl"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N3:body use="literal" namespace="http://package/Self_service.wsdl"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    Is it possible to test Web Service method through browser?
    I used Web Service on OC4J previously, and I was able to test the method directly from a web browser.
    Thanks
    Regards,
    Andi

    you can test web service using testclient option in weblogic
    for more information please check below link
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/TestAWebService.html
    http://docs.oracle.com/cd/E13224_01/wlw/docs100/guide/webservices/WSTutorial/tutWebSvcStep4.html
    Regards,
    Sunil P

  • Can I deploy web service on APEX server

    I have APEX 3.1.2 on 11g database.
    I need to pull data from other oracle 9i databases into APEX application. I have created web service on my pl/sql package to pull data from 9i databases and deployed service on my local oc4j instance (within jdeveloper). My APEX app pull data from multiple oracle 9i database. Now I need to move my web service to my dev/test environment.
    Can I deploy web service on APEX server? or do I need to deploy on another web server?
    I know I can easily pull the data from other oracle 9i databases using DB link. I want to explore Web services option to just to see is it possible to pull data from multiple sources into APEX app using web service running from APEX server?.
    Any help on this will be appreciated.
    RK Shah
    Edited by: RK Shah on Apr 7, 2009 7:27 PM

    I am in the same situation. Consuming a web service is easy with APEX. But publishing one needs a web server that is more complex than the one that comes with APEX for free.
    I am exploring the possibility of building the web service in Jdeveloper as you have. Then I will make a WAR file that I will publish to an apache tomcat J2EE server that another department runs. I believe it will work since all the components required should be in the WAR file.
    I am new at this. I will let you know how it works out.
    The other possibility is to upgrade the appserver to the full Oracle Fusion server (maybe). This may be expensive and be too much for just a simple web service. But then the publish to application server from jdeveloper is super easy.

  • To launch Oracle BPM deployed Web Services [In BPM Enterprise]

    Hi all,
    I have expose my Process Instance into Web Services in Studio.
    It is working well. In Studio, I start the Engine (Run -> Start Engine),
    Then, I Start the Web Services (Run -> Launch deployed Web Services webapps).
    It would show me my local webservice links.
    http://localhost:9000/albpmServices/<ProjectName>/ws
    But, I unable to launch this Web Service Webapps, when i deploy the project into Oracle BPM Enterprise with Weblogic Server.
    May know what is the link for BPM Enterprise?
    Regards,
    Chris

    My URL is:-
    http://localhost:9000/albpmServices/TestProject/ws/TestProcessServiceListener?wsdl=true
    and it does not seem to open the WSDL when I start the enterprise server engine..
    I have the process exposed as a web-service with two methods..
    One for Process Creation and another for Notification Wait Activity...
    I have also checked the box to start PAPI WS Services on my standalone server
    Is there some other config that I need to make inside my standalone server to get this WSDL?
    I understand that standalone works on Tomcat...

  • Is it possible to call web service from ABAP SAP 4.6 c..If yes how

    Hi Friends,
    Is it possible to call web service from ABAP-SAP 4.6 c..If yes Could you please let me know how.
    Thanks in Advance.
    Murali Krishna K
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:09 PM
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:11 PM

    Olivier CHRETIEN wrote:>
    > Hi Terry,
    >
    > So these function modules must use the SAPHTTPA RFC destination which uses the exe saphttp.exe ?
    >
    > How much abap code lines do you have for a web service call ?
    > Do you have to code the call specifically for each different web service ?
    > Are you able to use the WSDL ?
    >
    > Nice job if you have coded your own private SOAP runtime !
    >
    > But I don't think this is an easy solution for everybody...
    >
    > Regards,
    >
    > Olivier
    Yes, SAPHTTPA (runs on application server) and/or SAPHTTP (runs on front-end pc), one of which, is required for HTTP communication.  So far, nothing too elaborate as far as SOAP goes, but the logic is simplistic.  Here's some sample code:
      DEST = 'SAPHTTPA'.
      TRANSLATE HOST TO LOWER CASE.
      MYURL = 'wssrvTest/Service.asmx/GetByOrderItem'.
      CONCATENATE HOST MYURL INTO MYURL.
      REQUEST_HEADERS-DATA = 
                  'Content-type: application/x-www-form-urlencoded'.
      APPEND REQUEST_HEADERS.
      CLEAR REQUEST_HEADERS.
    *........Convert Order Number to External Format........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ORDER
           IMPORTING
                OUTPUT = ORDER.
    *........Convert Item Number to External Format.........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ITEM
           IMPORTING
                OUTPUT = ITEM.
    *........Convert Material Number to External Format.....................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = MATERIAL
           IMPORTING
                OUTPUT = MATERIAL.
      CONCATENATE 'sOrder=' ORDER
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sItem=' ITEM
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sMaterial=' MATERIAL
                  INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CALL FUNCTION 'HTTP_POST'
           EXPORTING
                ABSOLUTE_URI          = MYURL
                RFC_DESTINATION       = DEST
                BLANKSTOCRLF          = 'X'
           TABLES
                RESPONSE_ENTITY_BODY  = RESPONSE_BODY
                REQUEST_ENTITY_BODY   = REQUEST_BODY
                RESPONSE_HEADERS      = RESPONSE_HEADERS
                REQUEST_HEADERS       = REQUEST_HEADERS
           EXCEPTIONS
                CONNECT_FAILED        = 1
                TIMEOUT               = 2
                INTERNAL_ERROR        = 3
                TCPIP_ERROR           = 4
                DATA_ERROR            = 5
                SYSTEM_FAILURE        = 6
                COMMUNICATION_FAILURE = 7
                OTHERS                = 8.
      CHECK SY-SUBRC = 0.  "more appropriate msg goes here
      LOOP AT RESPONSE_BODY.
        IF RESPONSE_BODY+0(7) <> '<string' AND
           RESPONSE_BODY+0(8) <> '</string' AND
           RESPONSE_BODY+0(5) <> '<?xml'.
          SPLIT RESPONSE_BODY-DATA AT '=' INTO FIELD_NAME FIELD_VALUE.
          TRANSLATE FIELD_NAME TO UPPER CASE.
          CASE FIELD_NAME.
            WHEN 'HEIGHT'.
              HEIGHT = FIELD_VALUE.
            WHEN 'WIDTH'.
              WIDTH = FIELD_VALUE.
            WHEN 'LENGTH'.
              LENGTH = FIELD_VALUE.
            WHEN 'WEIGHT'.
              WEIGHT = FIELD_VALUE.
            WHEN 'QTY'.
              QTY = FIELD_VALUE.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    Hope this helps...
    Terry
    Edited by: Terry West on Feb 4, 2008 3:08 PM

  • Is it possible to create WEB SERVICE in SAP 4.7

    Hi guys,
    is it possible to create WEB SERVICE in SAP 4.7 ?
    i want to make a FM as web service enabled.
    plz advice.
    Regards
    pabi

    Hi,
    The definitive (and in my experience only) documentation on this is at;
    http://help.sap.com/saphelp_47x200/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/frameset.htm
    This same information is available combinded as a single pdf, but I can't find this.
    Regards,
    Nick

  • How to deploy web service in EP

    Hi Gurus!!!
    I am trying to connect GRC to EP. GRC system is trying to reach EP via a web service but it is giving connection failed. But it is not giving any error.
    I have a feeling that web service is not published. Somehow I published web service in EP in VA tool. But still issue is not resolved. Can any one guide me with steps to deploy web service in EP so that external systems can reach EP via web service.
    Thanks in advance,
    Sandeep

    Sandeep check if your web service requires any authentication...
    then you would need to set the same in Visual administrator...........
    refer below article....
    it is not the exact scenario as of yours....but still you might get some hint............
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?QuickLink=index&overridelayout=true

  • Is it possible to call web services in adobe connect application?

    I have facing one security issue  in adobe connect
    Error Description is "Security error accessing url
    Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://xxxxxx/WebService.asmx?wsdl)"
    Is it possible to call web services in adobe connect application?
    Thanks and regards
    Selvan

    OK, so it's a plain Flex security issue, not related to the Connect application, probably due to crossdomain misconfiguration.
    Please read http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html and http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
    You may want to ask for help in the proper Flex forum. Also, download Tour de Flex and look at the example under "Flex Data Access3 -> "WebService".
    Try also to look at this thread http://forums.adobe.com/thread/223999

  • Can Jdeveloper 10.1.3 deploy web service on OC4J 10.1.2?

    Hi all,
    Can I use jdeveloper 10.1.3 develop, and deploy web service on OC4J 10.1.2? My jdk version is 1.4.2. Thanks in advance.

    We don't have a direct connection from JDev 10.1.3 to OC4J 10.1.2 - we do have a connection to OAS 10.1.2.
    If you want to deploy to a stand alone OC4J 10.1.2 then just create the WAR file in JDeveloper - and then use the OC4J admin interface to deploy the WAR.

  • Can IREP can be utlized to "DEPLOY" web services in 11.5.10

    Hi
    IREP is a wonderful repository of all service endpoints or say compilation of all integrations for Ebiz suite.
    From R12 onwards it even helps deploy web services.
    But I can't seem to understand how in R11.5.10 could IREP help to deploy a web service. If the idea is to access IREP from Jdeveloper within a BPEL or ESB project then that is a separate thing and is recommended.
    In 11.5.10 it appears otherwise IREP just provides a generic WSDL that is not specific to a particular Application instance since irep in 11.5.10 doesn't ship with the install.
    How can one deploy a web service in 11.5.10 from IREP?

    Hi
    You have to read XML gateway documentation to get an idea for this. R11.5.10 gives you a generic WSDL for you to supply to your web service subscribers. I was able to enqueue a message successfully through BPEL by utilizing the WSDL supplied by R11.5.10 instead of using an AQ or Oracle Adapter.
    The functionality of IREP is much more exploited in R12 compared to 11.5.10 and my personal beleif is that from R12 onwards it is of much use. Look at R12 IREP documentation. You will need to log in as sysadmin or with integration repository admin priveledge to deploy the web service but you can see it through other users as long as the resp is assigned to you and you can deploy XML Gateway and Service Beans based web services from with in R12.
    Good Luck

Maybe you are looking for

  • Values carried over from SDCR to SDMJ

    Hi All, does anyone know where we can control which values are carried over from a change request (SDCR) to a normal correction (SDMJ)? I know how where the partner functions are carried over but want to know where things like external reference numb

  • Checkbox problem in JSF Page

    Hi Experts, I am using Jdeveloper 11.1.2.1.0.I have one tab in my page.In that page i have table dropped on it which is a combination of 3 views.When i check the checkbox some fields should be automatically filled up by the data present in the databa

  • XMII and RS-232 communication

    As most of us are aware xMII does not support RS-232 communication. Recently some customers have come up with requirements of interfacing weigh scales to SAP. Most of these weigh scales have only the RS-232 interfacing option. (I am not sure if these

  • Arrowheads keep expanding on opening file in CS6?

    I am working on flow diagrams with lines and arrowheads.  When I reopen the file all of the arrow heads have expanded so that I have 3 points for the arrowheads. Does anybody no how to stop this from happening? Thanks

  • How can i save my pictures in icloud?

    i have 6000 pictures and i have no more memory can i save them in icloud?