on 2007 Aug 09 11:03 AM
Hi........All
my scenario is in sender system so many files are there in that control file and data files .control file have names of the data files first i have to pick the control files after that i have to pick the data files based on that control file for that purpose i written one FTP Client program for retrieving the files and wrote logic also it's working fine by stand lonly now i created one java proxy for that i developed one ejb module and that ejb module is called by one j2se application that is servlet and i created WAR file for servlet and JAR file for ejbmodule and i given this references to EAR file and i deployed that EAR file from NWDS it's deployed successfully
now i want call that servlet how can i call that servlet and how can i test that EAR file whether it's working fine or not. any one can provide that documentation on that i really appreciate you
warm regards
syamprasad.p
Request clarification before answering.
Check for the path in the WAR file, maybe you have to enter it.
You start your servlet be typing the URL : http:/<yourserver>:<yourport>/<Servletpath>
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Syam
If your error is HTTP 404, then
Error: 404 Not Found
Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
<b>Possible Tips:-</b> for HTTP_RESP_STATUS_CODE_NOT_OK 404
404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
Ravi.
hi........stefan
i given URL like this http://host:port/application/servletURL
i given servletURL in web.xml file. same i given in browser i think we have to put .class file of the servlet in web_inf folder is it right
and i given EJB reference in web.xml is it right way
warm regards
syamprasad.p
In the EAR file, there is a deployment descriptor application.xml
Here you add the path as "context-root"
An example from my jsp development:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>FlightDemoJSPApp</display-name>
<description>EAR description</description>
<module>
<web>
<web-uri>FlightDemoJSP.war</web-uri>
<context-root>flight</context-root>
</web>
</module>
<module>
<ejb>Proxy.jar</ejb>
</module>
</application>
The jsp is called: http://host:port/flight/flightcheck.jsp
flight comes from context-root, flightcheck.jsp is the servlet name in web.xml
Hope that helps
Stefan
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.