Change http response code
how can i change http response code?
pls
i used
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);but when i capture the packets from ethereal i'm getting
0000 00 14 38 c2 4f c7 00 90 7f 05 e7 50 08 00 45 00 ..8.O......P..E.
0010 02 40 0a 70 40 00 e7 06 37 fc c0 c3 cc d8 c0 a8 [email protected]@...7.......
0020 01 07 00 50 f3 d6 72 7c 82 f2 e1 3d 48 a0 50 10 ...P..r|...=H.P.
0030 06 8e 9d 89 00 00 48 54 54 50 2f 31 2e 31 20 32 ......HTTP/1.1 2
0040 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 75 65 00 OK..Date: Tue
0050 2c 20 32 31 20 4e 6f 76 20 32 30 30 36 20 30 37 , 21 Nov 2006 07
0060 3a 32 33 3a 30 38 20 47 4d 54 0d 0a 53 65 72 76 :23:08 GMT..Servand also the error which i wrote is not comming in the body part.
whats seen is
0160 59 50 45 20 68 74 6d 6c 20 50 55 42 4c 49 43 20 YPE html PUBLIC
0170 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 54 "-//W3C//DTD XHT
0180 4d 4c 20 31 2e 30 20 54 72 61 6e 73 69 74 69 6f ML 1.0 Transitio
0190 6e 61 6c 2f 2f 45 4e 22 20 22 68 74 74 70 3a 2f nal//EN" "http:/
01a0 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 54 52 2f 78 /www.w3.org/TR/x
01b0 68 74 6d 6c 31 2f 44 54 44 2f 78 68 74 6d 6c 31 html1/DTD/xhtml1
01c0 2d 74 72 61 6e 73 69 74 69 6f 6e 61 6c 2e 64 74 -transitional.dt
01d0 64 22 3e 0a 3c 68 74 6d 6c 3e 0a 20 20 20 20 0a d">.<html>. .
01e0 3c 68 65 61 64 3e 0a 09 09 3c 74 69 74 6c 65 3e <head>...<title>
01f0 48 54 4d 4c 20 50 61 67 65 3c 2f 74 69 74 6c 65 HTML Page</title
0200 3e 0a 3c 2f 68 65 61 64 3e 0a 0a 3c 62 6f 64 79 >.</head>..<body
0210 20 62 67 63 6f 6c 6f 72 3d 22 23 46 46 46 46 46 bgcolor="#FFFFF
0220 46 22 3e 0a 54 68 69 73 20 69 73 20 74 65 73 74 F">.This is test
0230 2e 68 74 6d 6c 20 70 61 67 65 0a 3c 2f 62 6f 64 .html page.</bod
0240 79 3e 0a 20 20 20 20 0a 3c 2f 68 74 6d 6c y>. .</htmlsomething like this...i'ven't copied fully...
Similar Messages
-
Received HTTP response code 500..
Hi All
Whenever i try a scenario with file adapter as the sender, i get the following error in the runtime workbench (message monitoring).
"Transmitting the message to endpoint http://USSAPVM7:8000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500.."
Can anyone let me know as to what could be the cause of the problem. Please remember the response code is 500 and not 503.
regards
SameerHi Sudhir/Siva
My pipeline url has the following entry,
http://<hostname>:8000/sap/xi/engine/entry?action=execute
so u recommend that i should change it to,
http://<hostname>:8000/sap/xi/engine/entry?action=entry
(or)
http://<hostname>:8000/sap/xi/engine/entry?type=entry
(or)
http://<hostname>:8000/sap/xi/engine?type=entry
which one of the above three should i change to. But whenever i try other scenarios such as idoc to file, it works fine. So by changing the pipeline url, will there be any problem while executing the the other scenarios.
cheers
Sameer
Message was edited by: Sammy -
HTTP Response code 500 : Delivery Exception
Hello ,
i have following scenario WS(Client) <--> RFC. I am getting the following error :
Response code 500: File couldnot be posted.
Here are RWB data entries :
2006-03-13 09:45:52 Success SOAP: request message leaving the adapter (call)
2006-03-13 09:45:52 Success Application attempting to send an XI message synchronously using connection AFW.
2006-03-13 09:45:52 Success Trying to put the message into the call queue.
2006-03-13 09:45:52 Success Message successfully put into the queue.
2006-03-13 09:45:52 Success The message was successfully retrieved from the call queue.
2006-03-13 09:45:52 Success The message status set to DLNG.
2006-03-13 09:46:11 Error Returning synchronous error notification to calling application: Received HTTP response code 500..
2006-03-13 09:46:11 Error Transmitting the message using connection http://<XiServer>:8000/sap/xi/engine?type=entry failed, due to: Received HTTP response code 500..
//i changed here server name for internal reasons//
2006-03-13 09:46:11 Error The message status set to FAIL.
2006-03-13 09:46:11 Error Returning to application. Exception: Received HTTP response code 500.
2006-03-13 09:46:11 Error SOAP: call failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500.
I did all the things i could do , tested soap service working fine, changed settings in sxmb_adm as well
Please suggest,
Varathanks sam,
Well i have the following error message in soap envelope:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>failed to call the adapter engine</faultstring>
<detail>
<s:SystemError
xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>DeliveryException</code>
<text><![CDATA[
Please suggest : -
HTTP response code 500 : Error during Sender Agreement Determination
I am trying a simple file to file scenario and messages are not being received in Integration Server.
Through communication channel monitoring, i have received the below error message.
Error Transmitting the message to
endpoint http://<hostname>:50000/sap/xi/engine?type=entry using
connection File_http://sap.com/xi/XI/System failed, due
to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
Received HTTP response code 500 : Error during Sender
Agreement Determination.
Can you please help
Regards
HarishHi Harish,
http://<hostname>:50000/sap/xi/engine?type=entry
it should be http://<hostname>:8000/sap/xi/engine?type=entry not 50000 as port It should be your HTTP port...please .make the changes !!
In SXMB_ADM transaction under Integration engine configuration please change the settings to http://<hostname>:8000/sap/xi/engine?type=entry
make sure with your basis team that ur http port is 8000 or 8001 ..as per that make the necessary changes..
Regards, -
hi all...
i'm working on file-to-file scenario....
the file is being picked but it is not being created in the destination directory.....
i tried checking with an xml document....its the same case with that as well....
when i checked in message monitoring..it says..
"Transmitting the message to endpoint http://sai:8000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500.."
and it says "No Messages Available for Selection" in Tcode SXMB_MONI.....
I tried updating the cache contents also...but its of no use....
Anyone please provide a solution for this problem....
Thnx in advance..
HariHi Hari,
check this Pipeline URL
http://<hostname>:<port>/sap/xi/engine?type=entry
and it not type=execute.
change this value in your SLD> Business system> <IntegrationServer> --> Pipeline URL
Hope this helps,
Regards,
Moorthy -
HTTP response code: 500 Internal Server Error
Hi,
I am working on OpenScript 8.5.
1) When i play back the script i got the following error message in result view.
oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500 Internal Server Error
* see the Result View :*
+15:41:09,973 INFO [1] Step: [4] Safexpress PROPEL+
+15:41:10,066 ERROR [1] Error in section Run+
oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500 Internal Server Error
+ at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
+ at script.run(script.java:45)+
+ at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
+ at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
+ at java.lang.Thread.run(Thread.java:619)+
+15:41:10,066 ERROR [1] Error in section Run+
oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500 Internal Server Error
+ at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
+ at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
+ at script.run(script.java:45)+
+ at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
+ at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
+ at java.lang.Thread.run(Thread.java:619)+
+15:41:10,082 ERROR [1] HTTP response code: 500 Internal Server Error+
2) And how to record the JS(Javascript files) in OpenScript.
How i can solve this problem.Can any one help me in this issue.Ramesh
The 500 error I guess is due to a miss correlation, sending wrong data to the server making it crash.
You can record JavaScript files by editing the proxy filter:
View -> OpenScript Preferences -> Record -> HTTP module (or Sieble) -> Change to URL Filters tab; you can add edit remove filters from there.
Regards
Alex -
I have this code for a long time and it always works:
URL url = new URL("http://www.infoamistades.net/load.do");
URLConnection urlConnection = null;
urlConnection = url.openConnection();
urlConnection.setRequestProperty("Content-Type","text/html; charset=utf-8");
urlConnection.setRequestProperty("Accept-Charset","utf-8");
BufferedReader bin = new BufferedReader(new InputStreamReader(urlConnection.getInputStream(),"utf-8"));
but....suddenly I always have the java.io.IOException: Server returned HTTP response code: 500 (?!?!?)
using this URL works properly
URL url = new URL("http://www.infoamistades.net/");
but now it doesn't works with URL url = new URL("http://www.infoamistades.net/load.do");
and putting thia addrees to the browser it works, of course..
no changes at the server, not firewalls.. (?!?!)
thanks,Hi,
Actually I am also having exactly same problem that you mentioned, I am new to the world of servlets. I could not get what you mean by "put variable in the request" Please tell me exactly what to do to solve this problem.
Someone please help......... -
IOException :server returned http response code:505 for url url
hi,
my program creates IOException server returned http response code:505 for url <some url>
I close the i/p stream.I dont know ,where is the problem.plz let me know.Thanks in advance.
Here is the code:
public class CallApplicationURL
private static final String className = "[CallApplicationURL] ";
private MailAlert ma = new MailAlert();
public String callURL(String purl, RequestObject ro, Debug log)
URL url = null;
String URLResponse = "No response from Provider";
ProxySetter ps = new ProxySetter();
try
ps.setProxy(ro, log);
url = new URL (purl);
catch (Exception e)
URLResponse = className+"Exception while URL assignment \n"+purl+"\n, Exception is "+e;
return (URLResponse);
try
HttpURLConnection h = (HttpURLConnection) url.openConnection();
h.connect();
BufferedReader br = new BufferedReader( new InputStreamReader( h.getInputStream() ) );
URLResponse = br.readLine();
br.close();
catch (Exception e)
URLResponse = className+"Exception while calling URL "+purl+", Exception is "+e;
return (URLResponse);
return (URLResponse);
}http response 505: http://libraries.ucsd.edu/about/tools/http-response-codes.html
This would indicate nothing is wrong with your applet but with your http server (not supporting http 1.1??)
A full trace might help:
To turn the full trace on (windows) you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
if you cannot start the java console check here:
C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
add or change the following line:
javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
When you catch the exception you should print the stacktrace: (e.printStackTrace()). -
Java.io.IOException: Server returned HTTP response code: 500
Hi,
I am connecting to a servlet from an applet to send and receive data using the following code.
try
URL servletURL = new URL("http://www.progressivecoding.com/servlet/gatesqlang");
URLConnection servletConnection = null;
URLConnection servletConnection = servletURL.openConnection();
servletConnection.setDoOutput(true);
servletConnection.setUseCaches(false);
PrintStream out = new PrintStream(servletConnection.getOutputStream());
out.println("hhd8836gh828dhhskjdhn38847gosf747");
out.close();
InputStream in = servletConnection.getInputStream();
StringBuffer response = new StringBuffer();
int chr;
while ((chr=in.read())!=-1)
response.append((char) chr);
in.close();
return response.toString();
catch (IOException e)
e.printStackTrace();
tfTxtFile.setText(e.toString());
return "An error occurred: " + e.toString();
Everything was working well and fine. All of a sudden without any change of code. It began to return this error to applet
An error occurred: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.progressivecoding.com/servlet/gatesqlang
But I am able to access the same URL from a browser.
Someone please tell me what could be the problemhi, that error got solved, the SessID i was receiving in that code had some leading or trailing white spaces. so SessID = SessID.trim() did the job.
But i have a question. This program workd fine when i compile and run from my local system. But when i port this on to the oracle server (JAVA_TOP) and access this from a JSP, then the program performs very un-reliably.
The first data transfer works fine, i get the SessID, when i pass that SessID along with the DTSSessionID to the server, the server says that i doesn't recognise my SessID, and throws a client.Authentication Error.
So there goes the parsing out of the window for the data in the second iteration. -
Help needed to resolve Received HTTP response code 401 : Unauthorized
2011-04-08 11:37:48 Error Transmitting the message to endpoint http:---/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized
while i was executing file to file scenario. the error occoured.
Edited by: subbuk76 on Apr 8, 2011 8:12 AMAs the error indicates, the username/PWD you are using in file adapter to write the file (FTP) at target location is incorrect and hence the error. Please check and let us know.
3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Also, for HTTP errors in future do refer this blog:
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
It will help you -
Received HTTP response code 401 : Unauthorized
Hi Experts!
I know there are lots of posts regarding Received HTTP response code 401 : Unauthorized, and I read a lot of them.
Unfortunately I got not the solution to my problem.
I have following scenario: async; oneway; xml via DataPower (SOAP) to SAP PI to Service Consumer
When sending a message it is led over the DataPower to the PI, but it is not processed through.
It enters the MP and it is successfully put into the queue. You can see the details below.
15.02.2012 15:12:34.611 Information MP: entering1
15.02.2012 15:12:34.614 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
15.02.2012 15:12:34.616 Information SOAP: request message entering the adapter with user PI**
15.02.2012 15:12:34.620 Information SOAP: request message leaving the adapter (send)
15.02.2012 15:12:34.620 Information The application tries to send an XI message asynchronously using connection SOAP_http://sap.com/xi/XI/System.
15.02.2012 15:12:34.624 Information Trying to put the message into the send queue.
15.02.2012 15:12:34.676 Information SOAP: call completed
15.02.2012 15:12:34.676 Information SOAP: completed the processing
15.02.2012 15:12:34.676 Information Message successfully put into the queue.
15.02.2012 15:12:34.676 Information The application sent the message asynchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.
15.02.2012 15:12:34.678 Information MP: leaving
15.02.2012 15:12:34.682 Information The message was successfully retrieved from the send queue.
15.02.2012 15:12:34.700 Information The message status was set to DLNG.
15.02.2012 15:12:34.922 Error Transmitting the message to endpoint https://<sid>.XXX:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized.
15.02.2012 15:12:34.940 Information The message status was set to WAIT.
15.02.2012 15:12:34.941 Information The asynchronous message was successfully scheduled to be delivered at Wed Feb 15 15:17:34 CET 2012.
I can't say, why I get the 401-response.
From PI Message Monitoring: Monitor Messages I get following informations:
Message-ID MSG-ID
Richtung OUTBOUND
Message-Headers content-length=14391
http=POST
content-type=multipart/related; boundary=SAP_MSG-ID_END; type="text/xml"; start="<soap-MSG-ID[at]sap.com>"
Message-Typ Send
Verbindungsname SOAP_http://sap.com/xi/XI/System
Credential SAPPasswordCredential(PIAFUSER):password=********:sapclient=009:saplang=en:sapsysid=<SID>
Fehlerkategorie XI_J2EE_ADAPTER_XI_HANDLER
Fehlercode SEND_CONSUMER_ERROR
Statusdetails Messaging: allgemeiner Fehler
Quality-of-Service EO
Empfängerkomponente
Referenz-ID
Senderkomponente SENDER_COMP
Sequenz-ID
Serialisierungskontext
Status systemError
Einplanungszeit 2012-02-15 13:49:38.579
Start Time Wed Feb 15 13:34:37 CET 2012
Transport HTTPS
Gültig bis
Protokoll XI
Persistenz bis 2012-02-16 13:34:37.373
Endzeitpunkt Wed Feb 15 13:49:39 CET 2012
Anwendungskomponente
Softwarekomponente
Service-Definition
Wurde bearbeitet false
Any clues?
Many thanks in advance
HolgerHi Ravi,
it's the Java stack's port.
Hi Venkata,
1. Check whether service user maintained in the SM59 destination is with Roles of std. user PIAPPLUSER, PIISUSER
The Problem is, that the message is not processed in the PI. I don't see them at SXMB_MONI.
Today I see them on the RWB at the message-monitoring, but only because they are set after the 3rd try to send them to NDLV.
I can see the messages, after they are triggered, in the comm-channel-monitoring by selecting the appropriate channel.
2. Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
Checked the PIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
3.May be wrong password for user PIISUSER.
There was a pwd-change in january, but the passwords are all correctly replaced.
Thank you for your help!
Holger -
Getting HTTP response code: 404 Not Found while playback
Hi Folks,
Am creating a loadtest script on Oracle Empirica application by using web protocol with only 6 steps. While play back am getting the following error
Error Code:INVALID_HTTP_RESPONSE_CODE
Error Detail:
oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 404 Not Found
at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:66)
at oracle.oats.scripting.modules.http.api.internal.ResponseCodeValidator.validate(ResponseCodeValidator.java:21)
at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.validate(AbstractHTTPService.java:993)
at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.navigate(AbstractHTTPService.java:595)
at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:504)
at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:494)
at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.navigate(InternalHTTPService.java:1930)
at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.navigate(InternalHTTPService.java:1867)
at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:1975)
at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:1966)
at oracle.oats.scripting.modules.http.api.HTTPService.get(HTTPService.java:2426)
at script.run(script.java:153)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
at java.lang.Thread.run(Thread.java:619)
please help me to fix this issue.
Thanks,
Jay.I have checked this link: /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
The SLD and the Integrationserver pipeline URL the Port was 50100 and the HTTP port in the RFC Dest. is 8001.
Witch port must entered in the URL, 50100 or 8001?
If the port must be 8001, how could i change the URL in the SLD? Must the business System Integrationserver be deleted and new entered witch the right URL?
Thank you for all answers.
regards
Jochen Schütze -
HTTP response Code 404: Not Found
Hallo,
I want to get a Email from the account to my SAP-System.
The Email is downloaded in the XI-System and then directly the following error is shown.
"Fehler beim Übertragen zum Endpunkt /sap/xi/engine?type=entry über die Verbindung AFW. Grund: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found".
What could i do?
Thank you.
Jochen SchützeI have checked this link: /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
The SLD and the Integrationserver pipeline URL the Port was 50100 and the HTTP port in the RFC Dest. is 8001.
Witch port must entered in the URL, 50100 or 8001?
If the port must be 8001, how could i change the URL in the SLD? Must the business System Integrationserver be deleted and new entered witch the right URL?
Thank you for all answers.
regards
Jochen Schütze -
Deploying simple HTML page to WLS 10.3.6 fails with HTTP response code: 502
- I created a simple HTML page and want to test deployment to WLS 10.3.6 on Linux. I created WAR file and when using JDev 11.1.1.4.0 to deploy to WebLogic Server, it fails to deploy. Full errors/messages are:
[04:40:56 PM] ---- Deployment started. ----
[04:40:56 PM] Target platform is (Weblogic 10.3).
[04:40:59 PM] Retrieving existing application information
[04:40:59 PM] Running dependency analysis...
[04:40:59 PM] Building...
[04:40:59 PM] Deploying profile...
[04:40:59 PM] Wrote Web Application Module to C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war
[04:41:01 PM] Deploying Application...
[04:41:01 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\NGOLDR~1.LAT\LOCALS~1\Temp\SimpleHTML.war' for the application 'SimpleHTML' could not be loaded to the server 'http://dupe:7031/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 502 for URL: http://dupe:7031/bea_wls_deployment_internal/DeploymentService
[04:41:01 PM] See server logs or server console for more details.
[04:41:01 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war' to 't3://dupe:7031'
[04:41:01 PM] #### Deployment incomplete. ####
[04:41:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
- The Application Server connection is accessible within JDev. 'dupe' is my server name and it's running RH 5.4
- Any help or suggestions appreciated, although I've already asked Mr. Google without success.
Thanks in advance,
NevilleHTTP response code 502 means temporarily overloaded.
I would say that we have to check the deployment error on the weblogic server logs located at <Domain_Home>\servers\dupe\logs\dupe.log
Check for any errors like OutOfMemory etc OR any deployment failures.
If possible, try accessing the console at http://dupe:7031/console
Check if you are able to successfully deploy your application using the console.
From the error it looks like the "dupe" server might not be healthy. So, the log file would really help here to get clues into the root cause.
Arun -
Hi,
We are facing the following error while trying to access the given Windows Azure Pack Public tenant API to query the virtual machines list along with network adaper details -
java.io.IOException: Server returned HTTP response code: 500 for URL: https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10000&$skip=0
The response is proper when we access the following URL -
https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines
Only on adding the $expand=VirtualNetworkAdapters, url parameter we are getting the above error.
Where can we check for the error logs on the Azure Pack server ? We checked for the logs using Windows Event Viewer but did not find any for the public tenant API.
What should be the cause for such an error and how can we fix this to get the proper data?
Thanks in advance.Yes, we tried this, $top=10&$skip=0 works for the following url
https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$top=10&$skip=0
It is only when we add $expand=VirtualNetworkAdapters,
the server returns the mentioned error response -
URL for which the server returns the 500 error -
https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10&$skip=0
Can
you point to the error logs for Windows Azure Pack and SPF ?
Maybe you are looking for
-
Incrementing a variable in memory
I have an older application that is querying a list, pulling out an AD from the list, then incrementing the database by +1 with every pull. The site has grown very popular and now the traffic is creating a ton of deadlocks. I tried using CFLOCK but t
-
Restore to new host from tape, can't find autobackups
Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following: rman target / RMAN> set dbid 1600196320; executing command: SET DBID RMAN> startup nomount; startup faile
-
How to call ABAP programs from Excel
Hello everyone, Currently I'm investigating the integration of Excel and ABAP program. I find it's easy to call Excel from ABAP program, but does anyone of you know how I can first open and do some actions in an Excel sheet first, and then, for examp
-
Accessing tcp_t data structure
I need to access tcp_t datastructure which is implemented in Solaris 10, how could it can be programmed in c to access tcp_t data structure.
-
Changing JList non-editable Font color of the selected items
Hi All, I want to change the font color of non-editable JList's selected items which is not clearly visible to user. And I need to change the font color only the selected item in this scenerio. Could you please clarify me? <img src="file:///C:/DOCUME