Error in proxy servlet implementation
Hi all,
I have implemented a simple proxy servlet. My requirement is whenever a call is made to the servlet , the servlet must make a http call to the particular site, make a request for the content and then display the same in the browser.
At present i am able to fetch the html content, but i am facing problem in retrieving the sources such as .js,.css files and also the alignment of the site is totally wrong.
The code that i use in the servlet is as follows:
HttpResponse resp = makeCall(request, "www.google.co.in");
InputStream inReader = resp.getEntity().getContent();
InputStreamReader stmReader = new InputStreamReader(inReader);
BufferedReader reader = new BufferedReader(stmReader);
StringBuilder szResultBuilder = new StringBuilder(1000);
if (reader != null) {
String line = reader.readLine();
while (line != null) {
szResultBuilder.append(line);
line = reader.readLine();
ServletOutputStream out = response.getOutputStream();
out.write(szResultBuilder.toString().getBytes());
out.flush();
out.close();
public static HttpResponse makeCall(HttpServletRequest request, String szURL) throws Exception {
HttpResponse response = null;
if(request.getMethod().equals("POST")) {
HttpPost post = new HttpPost(szURL);
response = httpClient.execute(post);
} else if(request.getMethod().equals("GET")){
HttpGet get = new HttpGet(szURL);
response = httpClient.execute(get);
return response;
Kindly help me in retrieving the entire content of the site and in displaying it. How can i retrieve the entire content for all the sites the user requests.
Regards,
A.Rajesh
rajesh.a wrote:
Hi all,
I have implemented a simple proxy servlet. My requirement is whenever a call is made to the servlet , the servlet must make a http call to the particular site, make a request for the content and then display the same in the browser.
At present i am able to fetch the html content, but i am facing problem in retrieving the sources such as .js,.css files and also the alignment of the site is totally wrong. You will have to understand how html works. On first request, the entire html as text is sent to the browser. When the browser begins interpreting the html and comes across a js or css tag, it makes a new request to the browser for these resources (unless it is already cached on the browser).
The request for this js resource would point back to the server which served the html unless of course the resource url is absolute.
Knowing that, you see the problem now? Your js (and css and images) would all point back to the server that runs your proxy servlet. However the resources reside on the remote server from where you plucked the html. You have 3 options IMO
1. Rewrite the original urls in the proxy servlet to point to the proxy servlet which would then proxy these resources back from the remote server back to the browser.
2. Have absolute urls for all resource urls and expose the remote server to the web.
3. Take a look at Clipper technology (google for Web Clipper).
Best,
ram.
Similar Messages
-
Hi All,
I am facing the following problem in production server when even the file got processed successfully .
Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists
Can you please suggest how it can be handled?
Regards,
SarasYou need to debug your proxy program and check all the insert statemrnts. Looks like there is an exception being thrown in the proxy (may be after the completion logic to push the data in to db) which is not being caught.
Proxies are object oriented and it is a good practice to implement Exception Handling mechanism.
VJ -
Error when loading servlet using JDOM
hi,
I'm new in the servlet developpement and I would like to have your helps.
I use JDOM to access to XML files. I use Eclipse WTP, and Tomcat like servlet container.
When I try to load the simple servlet file, I get an exception which shows me that there is java.lang.NoClassDefFoundError: org/jdom/JDOMException.
I think there are problems in the configuration, but I don't know why. Any help would be welcome.
This is my code
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.jdom.xpath.XPath;
import org.jdom.*;
* Servlet implementation class for Servlet: test1
public class test1 extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
String xparams_input_file="xparamsdata.xml";; //Fichier d'entr�e XML
Document xparams_document;
Element xparams_Element;
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#HttpServlet()
public test1() {
super();
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
doPost(request,response);
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
System.out.println("TestOK");
/* (non-Javadoc)
* @see javax.servlet.GenericServlet#init()
public void Lire_XParams_XML(){
SAXBuilder saxBuilder = new SAXBuilder();
try{
xparams_document = saxBuilder.build(xparams_input_file);
xparams_Element = xparams_document.getRootElement();
catch (JDOMException e)
{ // indicates a well-formedness or other error
//e.printStackTrace();
System.out.println(xparams_input_file + " is not a well formed XML document.");
System.out.println(e.getMessage());
catch (IOException e)
{ // indicates an IO problem
System.out.println(xparams_input_file + " could not be parsed");
System.out.println(e.getMessage());
public void init() throws ServletException {
// TODO Auto-generated method stub
super.init();
System.out.println("TestOK init");
And the errors
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error instantiating servlet class test1
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Unknown Source)
root cause
java.lang.NoClassDefFoundError: org/jdom/JDOMException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
java.lang.Class.getConstructor0(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17Have u set the classpath for jdom.jar. If u have jdom.jar file in ur machine , set the classpath to that. otherwise download one from the net .
http://www.jdom.org/dist/binary/
put it in ur build path. -
Hi
I am enable to connect to SAP using SAP Connector.in VS2003.it is through an error
Error in Proxy-Generator
To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
Inner error was:
INFO: using logging implementation "AII Logging"
com.sap.aii.upload.api.LoginException: Invalid user/password combination
at com.sap.aii.upload.sap.SAPConnection.connect(SAPConnection.java:113)
at com.sap.aii.upload.sap.SAPConnection.<init>(SAPConnection.java:59)
at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:63)
at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:178)
Exception in thread "main"
How do i fix the problem?
ThanxI had the same trouble with that version of Connector why don't you try to work with 2.0.1 i were allowed to connect to our SAP environment.
-
Getting TooManyHopsException with a simplest Proxy Servlet
I am deploying a simple (dumb!!) stateless proxy to route INVITE message between 2 UAs. I am using WLSS 3.0 on WinXP.
INVITE Message actually reaches the Servlet, because I have placed some console debug messages which I am able to see on WLS console. But I am getting multiple INVITEs (which I am not sure why)
Within doInvite, I am simply invoking request.getProxy().proxyTo(request.getRequestURI) but getting followig error
<Error> <ServletContext-/SIPProxy> <000000> <[WLSS
.Engine:330052]Failed to dispatch Sip message to servlet SIPRouteProxyServlet
javax.servlet.sip.TooManyHopsException
I have double-checked sip.xml for mapping and everything's properly mapped...
Wondering what could be the issue :(
Have anyone experienced such scenario with such a simplest possible proxy servlet?
Not sure if default Proxy Behavior of WLSS could cause this issue, but logs show that the servlet does get invoked (because I have debug messages strewn in my servlet and I am able to see them on console as well as logs)
rgds
muthuI have collected the ethereal logs as .pcap file. Not sure how to attach it though .. :(
Are there any tools for pcap to text conversion?
But in essence, the flow is
UA1 --> Proxy - INVITE
UA1 <-- Proxy - 100 Ringing
UA1 <-- Proxy - 483 Too Many Hops
UA1 --> Proxy - Ack
Headers do not seem to have anything abnormal.
UA2 is being run on the same system where Proxy is running (just for testing).
Following is the code snippet used for doInvite()
if (req.isInitial())
req.createResponse(SipServletResponse.SC_TRYING).send();
Proxy pxy = req.getProxy();
pxy.setSupervised(true);
pxy.setRecordRoute(true);
pxy.setStateful(true);
pxy.proxyTo(req.getRequestURI());
return;
else{
super.doInvite(req);
return;
I have tried various options of Proxy object "settings". But the situation was the same.
I am using X-Ten Sip Phones as UAs and have configured the devices properly (tested with another ready-made proxy tool and phones happily establish call from within LAN
rgds
muthu -
Hello:
I am trying to create a proxy and receive this error message in VS.Net. Has anyone else encountered this?
Thanks in advance.
Error in Proxy-Generator
To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
Inner error was:
INFO: using logging implementation "AII Logging"
Exception caught in method createFunction for DD_GET_UCLEN Reason: null
com.sap.aii.upload.api.NotFoundException: Object <rfc><ZMODIFY_SALES_ORDER> not found
at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:111)
at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:82)
at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:196)
Exception in thread "main"
OKHitesh:
I don't think thats the case. I do have JVM installed. I can successfully create a proxy for some (for ex: ABAP4_COMMIT_WORK).
The actual error is in the details "com.sap.aii.upload.api.NotFoundException: Object <rfc><ZMODIFY_SALES_ORDER> not found". But the function module is there, created using SE37.
Thanks
Naresh -
I'm creating a servlet filter that filters the content of resources that are proxied
by the Weblogic Proxy servlet (weblogic.servlet.proxy.HttpProxyServlet)
The filtering of the content is working but getting the filtering of incoming
and outgoing headers is a problem.
I get ClasscastExceptions if I try to implement my own request wrapper in WL 7
SP2 (incoming headers). And filtering headers in the response wrapper (outgoing
headers) causes a IndexOutOfBoundsException. This is caused by a call to response.setHeader
in the wrapper.
Has someone managed to get header filtering to work?
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
at java.io.DataInputStream.read(DataInputStream.java:108)
at weblogic.servlet.proxy.GenericProxyServlet.sendResponse(GenericProxyServlet.java:595)
This looks like a bug in the ProxyServlet. I would report this to support.
Sam
Sven Andersson wrote:
> I'm creating a servlet filter that filters the content of resources that are proxied
> by the Weblogic Proxy servlet (weblogic.servlet.proxy.HttpProxyServlet)
>
> The filtering of the content is working but getting the filtering of incoming
> and outgoing headers is a problem.
>
> I get ClasscastExceptions if I try to implement my own request wrapper in WL 7
> SP2 (incoming headers). And filtering headers in the response wrapper (outgoing
> headers) causes a IndexOutOfBoundsException. This is caused by a call to response.setHeader
> in the wrapper.
>
> Has someone managed to get header filtering to work?
>
> java.lang.IndexOutOfBoundsException
> at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
> at java.io.DataInputStream.read(DataInputStream.java:108)
> at weblogic.servlet.proxy.GenericProxyServlet.sendResponse(GenericProxyServlet.java:595)
-
How does a proxy servlet work and how to set up
I'm a newbie to Weblogic, using 8.1SP3. I came across documentation about a Proxy Servlet that allow weblogic to proxy requests to another web server. This is the scenerio I'm trying to set up. I want to create a weblogic module that proxies to yahoo.com. The communications between weblogic and yahoo may not be SSL, but from weblogic back to my client is SSL. I created a yahoo directory under user-projects\domains\mydomain. I created a WEB-INF\web.xml with the following based on the documentation:
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet
</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value>http://www.yahoo.com:80</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
</web-app>
I deploy the yahoo directory from the admin console and when I go to https://localhost:7002/
I would expect to see the www.yahoo.com page. Am I missing something. Is this not what the proxy servlet is for, is the above possible? Any help and suggestions appreciated.
--SamHey Anders, it's working....
Believe it or not, all I did after adding the weblogic.xml was restart the bea server; even though I had redeployed the module.
So, thank you very much for your patience and suggestions.
--Sam -
Error in executing servlet JSPRunner: java.lang.NullPointerException
I have some problems with my jsp files.
I am using iAS6sp4 and iWS 6 on W2K.
I created a EJB jar file and an empty WAR file (No JSP, Servlet, just web.xml & ias-web.xml) and pack them into a ear file for deployment. It was successful.
Then I copy some jsp files to <iasinstall>/ias6/ias/APPS/<app name>/<war name>
and restart the ias and iws server.
When I try the URL: "http://myserver/NASApp/<app name>/myjsp.jsp", I got this error message from kjs.
JSPRunner: init
Exception: SERVLET-execution_failed: Error in executing servlet JSPRunner: java.lang.NullPointerException
My jsp didn't include any java code, just pure htm code. I want to give it a test. But even though I tried with a proper jsp i still got this message. pls advise.
AlanHi,
I got this working. Here are the steps that I followed and the output...
Steps
1. Deployed the helloworld application
2. Invoked the application to see if it works fine
3. Copied the myjsp.jsp to the C:\iPlanet\ias6\ias\APPS\helloworld\helloworld directory
4. Shutdown the iAS and iWS and started again
5. Invoked the .jsp file by typing http://sundts2.india.sun.com:81/NASApp/helloworld/myjsp.jsp in the browser.
Output of KJS
[16/Mar/2002 14:46:06:5] info: ENGINE-ready: ready: 10819
**********Registered ebnls interceptor ...!
[16/Mar/2002 14:46:22:4] info: --------------------------------------
[16/Mar/2002 14:46:22:4] info: JSPRunner: init
[16/Mar/2002 14:46:22:4] info: --------------------------------------
[16/Mar/2002 14:46:26:4] info: --------------------------------------
[16/Mar/2002 14:46:26:4] info: jsp.APPS.helloworld.myjsp: init
[16/Mar/2002 14:46:26:4] info: --------------------------------------
The myjsp.jsp coding is...
<HTML>
<BODY>
<H1>This is a .jsp file for testing</H1>
</BODY>
</HTML>
I believe the problem in your case must be that the .jsp file has been placed in a directory where iAS is not able to recognise. I'm sure this will help. Please feel free to raise questions on this.
Regards
Ganesh .R
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support -
I am trying to call sharepoint online from powershell. Below is the code. I get
Exception calling "ExecuteQuery" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
$loadInfo1 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
$loadInfo2 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$webUrl = "ZZZZ"
$username = "XXX"
$password = "YYYY"
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($webUrl)
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
$web = $ctx.Web
$lists = $web.Lists
$ctx.Load($lists)
$ctx.ExecuteQuery()
$lists| select -Property Title
Raj-ShptHi,
About how to access SharePoint online site using PowerShell, the blog below would be helpful:
http://social.technet.microsoft.com/wiki/contents/articles/29518.csom-sharepoint-powershell-reference-and-example-codes.aspx
Another two demos for your reference:
http://www.hartsteve.com/2013/06/sharepoint-online-powershell/
http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in-PowerShell-scripts-with-Office365.html
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Error authenticating proxy while running agent job
I am trying to schedule a SSIS2014 package via SQL Server Agent job. Both SSIS and SSMS are running on my local machine in the same domain. I am running SSMS with the same user
Domain\Admin which is the creator of the SSIS package. SSMS 32-Bit and SSIS 32-Bit are running on Windows 7 64-Bit machine. I can run the package within SSIS without problems.
When I use a proxy account to run the job step, the following message occurs:
Unable to start execution of step 1 (reason: Error authenticating proxy `Domain\Admin`, system error: Logon failure: unknown user name or bad password.). The step failed.
The proxy account uses the credentials identity Domain\Admin. Since the password fields for credential properties in SSMS cannot be left blank, I typed any password although my corresponding windows account has no password. So as mentioned above
it's the same user account that created the SSIS package since Domain\Admin is stated in the CreatorName property of the SSIS package.
With this proxy, I tried to run SSIS jobs using the package ProtectionLevel's
EncryptSensitiveWithUserKey and EncryptSensitiveWithPassword. Running the package manually within SSDT without problems, but from SSMS agent job the same error message appears. I tried the package sources "File System" and, after
importing the package to MSDB, "SQL Server" and "SSIS Package Store". But exactly the same error message appears with each method.
Task manager shows that SSMS is running in administrator mode. Using Windows Component Services I added DCOM permissions for
Domain\Admin to start and activate "Microsoft SQL Server Integration Services 12.0" from local. But the same error message appears. So in my opinion it's a problem with SSMS user account permissions (???) but unfortunately I don't know
what exactly to do here. I tried the following:
In the system database MSDB (full path: Databases / System Databases / MSDB / Security / Logins) I assigned all available role memberships (Including db_ssisoperator, db_ssisltduser, db_ssisadmin) to
Domain\Admin.
In server security (full path: Security / Logins) I assigned all available server roles. In the tab User Mapping, I assigned the MSDB database.
Still the same error message appears when I try to run the job. Does anybody have some ideas what I can try?If you use the Agent then set the package protection to "Rely on server".
Then Domain/Admin is probably not an actual proxy but the account the Agent is running under, in this or even any case follow http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/ to create the
proper proxy for the packages.
Arthur My Blog -
Error message from servlet to jsp
Hi again,
I have servlet and check error on this servlet then i would like
to send error message to jsp page.Every error message will send to
same JSP page.So JSP must receive message from Servlet.Can i do this?
Please give me details and some sourcecode.I will appreciate for your helps.you could do something like this..
request.setAttribute("error", stringErrormessage);
Then in the jsp just do
<%= request.getAttribute("error") %>
That will print an errormessage.
Basically, by setting anything on the request and then redirecting to that page you cn display it...
//Johan -
Content Server Error: 407 Proxy Authorization Required
Hi Experts,
I am new to Content Server and have recently installed Content Server 6.40 with MaxDB 7.8 database on a Windows 2008 server.
The installation completed successfully and IIS server was configured as per guide. The Content server is running when checked through URL on server.
Next, we created a new repository with following details, but are facing "HTTP error: 407 Proxy Authorization Required" while testing the connection.
Settings in OAC0
Content Rep. A1
Document Area: ArchiveLink
Storage type: HTTP Content Server
Version no.: 0046
HTTP server: <IP of Windows server where CS is intalled>
Port Number 1090
HTTP Script ContentServer/ContentServer
Transfer drctry C:\temp
HTTP Port 1090 is open from SAP system(HP-UX) to Content Server(windows) and there is no firewall between the 2 servers, but we still see the error in OAC0 and CSADMIN. I also tried setting the security parameter to 0 in contentserver.ini file, but that didn't help either.
The content server was installed using administrator user.
Would appreciate your inputs on what am I missing?
Thanks.
Regards,
VarunHi Varun,
Please change Document Area: ArchiveLink .
Remove Archive link and change it to Document Management system ( DMS)
Check the results and post the output.
Regards,
Deepak Kori -
Error: Invalid element 'servlet' in content of 'web-app'
Hi,
I m working on a project that includes JSPs, whenever I wanna add JSP to my project it shows following compilation error:
Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'
I have thoroughly checked the web.xml. It is perfectly alright. It is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>myServlet</servlet-name>
<servlet-class>com.project.MainServlet</servlet-class>
<init-param>
Long postings are being truncated to ~1 kB at this time.The Complete web.xml is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>montana</servlet-name>
<servlet-class>com.masstech.montana.boundary.uii.MainServlet</servlet-class>
<init-param>
<param-name>db</param-name>
<param-value>MontanaDS</param-value>
</init-param>
<init-param>
<param-name>user</param-name>
<param-value>MS</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>MS</param-value>
</init-param>
</servlet>
<servlet>
<servlet-n[i]Long postings are being truncated to ~1 kB at this time. -
Error in Proxy
SSL_ERROR_CONNECTION_LOST
Performing the connection test by clicking the "Test Connection" in transaction SM59, I am getting ICM_HTTP_SSL_ERROR.Hi,
Check the following threads:
ICM_HTTP_SSL_ERROR for plain HTTPS with RFC Destination type G
ICM_HTTP_SSL_ERROR
SSL_ERROR_CONNECTION_LOST
Error 'Create failed : Argument not found' in SM59
Thnx
Chirag
Maybe you are looking for
-
Firefox will open and then "freeze" (Says Firefox not responding). Have to attempt to close from lower bar and then get message from Windows - options 1. close window now 2. windows will search for the reason When I click on either option I have to w
-
Can we use EXISTS in where condition
hi all, can we use EXISTS (instead of IN) in where condition of a query which is not part of a subquery ? for e.g: update gpf_vou_sm set up_amt=0 where src_cd exists ('1101','1201'); the query works fine with the IN operator in place of EXISTS. anybo
-
Re: No display, MSI Z97 PC Mate (New Build)
from the lower screen shot it looks like the drive is empty! how have you formatted the disk and what format did you chose? is it in a USB 2.0 slot?
-
Which table MIGO use for schedule planning?
Hello, I have one schedule planning which contains 50 items. When I go to MIGO, I choose the schedule planning, but I just see 32 items. I guess some materials are processed before. I need to get this 32 items into an internal table but I can not fin
-
Adobe Version 9: Memory Leak Issue causing the application to crash .
We are facing an issue with Adobe Acrobat Reader Version 9. The application is getting crashed with an unhandled system exception (Access violation reading location 0x1003a24e). Our application is a .NET Windows based application, where we are using