The char '0x0' in 'return code: 500
Hi All,
I am trying to expose a EJB as webservice using AXIS 1.2 Final. When deployed my ear/ejb on WSAD - WAS 5.0 and trying to consume the web service using AXIS 1.2 generated stubs I am getting below error on the server side.
Exception in thread "main" java.lang.IllegalArgumentException: The char '0x0' in 'return code: 500
Error 500: The char '0x0' in 'java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No at com.amla.as.card.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke(_EJSRemoteStatelessCS_146c46e9_Tie.java:340)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:532)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2450)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
minor code: 0 completed: No' is not a valid XML character.
' is not a valid XML character.
at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:110)
at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:117)
at org.apache.axis.utils.DOM2Writer.normalize(DOM2Writer.java:344)
at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:246)
at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:208)
at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:77)
at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:60)
at org.apache.axis.utils.DOM2Writer.nodeToString(DOM2Writer.java:49)
at org.apache.axis.utils.XMLUtils.privateElementToString(XMLUtils.java:396)
at org.apache.axis.utils.XMLUtils.ElementToString(XMLUtils.java:405)
at org.apache.axis.utils.XMLUtils.getInnerXMLString(XMLUtils.java:505)
at org.apache.axis.AxisFault.dumpToString(AxisFault.java:384)
at org.apache.axis.AxisFault.printStackTrace(AxisFault.java:785)
at java.rmi.RemoteException.printStackTrace(RemoteException.java:101)
at card.Client.query(Client.java:149)
at card.Client.main(Client.java:177) When I monitor the request soap message using AXIS handlers, the soap message seems to be valid and well-formed. Can anyone please suggest under what cases we get this error:
Thanks & Regards,
Kr.
Hi All,
I am trying to expose a EJB as webservice using AXIS 1.2 Final. When deployed my ear/ejb on WSAD - WAS 5.0 and trying to consume the web service using AXIS 1.2 generated stubs I am getting below error on the server side.
Exception in thread "main" java.lang.IllegalArgumentException: The char '0x0' in 'return code: 500
Error 500: The char '0x0' in 'java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No at com.amla.as.card.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke(_EJSRemoteStatelessCS_146c46e9_Tie.java:340)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:532)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2450)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
minor code: 0 completed: No' is not a valid XML character.
' is not a valid XML character.
at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:110)
at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:117)
at org.apache.axis.utils.DOM2Writer.normalize(DOM2Writer.java:344)
at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:246)
at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:208)
at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:77)
at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:60)
at org.apache.axis.utils.DOM2Writer.nodeToString(DOM2Writer.java:49)
at org.apache.axis.utils.XMLUtils.privateElementToString(XMLUtils.java:396)
at org.apache.axis.utils.XMLUtils.ElementToString(XMLUtils.java:405)
at org.apache.axis.utils.XMLUtils.getInnerXMLString(XMLUtils.java:505)
at org.apache.axis.AxisFault.dumpToString(AxisFault.java:384)
at org.apache.axis.AxisFault.printStackTrace(AxisFault.java:785)
at java.rmi.RemoteException.printStackTrace(RemoteException.java:101)
at card.Client.query(Client.java:149)
at card.Client.main(Client.java:177) When I monitor the request soap message using AXIS handlers, the soap message seems to be valid and well-formed. Can anyone please suggest under what cases we get this error:
Thanks & Regards,
Kr.
Similar Messages
-
Received return code 500 ( Error during conversion of XI message )
Hello Experts,
I am configuring the WSRM for SD in SAP. I have only configured services CreditWorthinessQuery_Out and CreditWorthinessQuery_In on soamanager to carry out credit checks.
while i am creating sales order i am getting below error.
Received return code 500 ( Error during conversion of XI message )
In debug i checked the string of error it showed me below string :
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">#<SOAP:Hea
der>#</SOAP:Header>#<SOAP:Body>#<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.o
rg/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during c
onversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30
</faultactor><detail><SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.co
m/xi/XI/Message/30"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSE
R">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SA
P:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMess
age namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000;
expected value is 003##</SAP:Stack></SAP:Error></detail></SOAP:Fault>#</SOAP:Bo
dy>#</SOAP:Envelope>#
Does anyone have any idea about this? I am not integrating with PI/XI system.Hi
Can you check this out?
Transaction SXMB_ADM Integration Engine Configuration
For an application system you have to maintain the role of the business system as an application system. Set the corresponding Integration Server as an HTTP destination (for example, dest://INTEGRATION_SERVER). Create the destination in transaction SM59 and set the type to HTTP Connections to R/3 System. Test the connection by using the Connection Test button; you should get HTTP 500 u2013 Empty HTTP Request received, because no u201Ereal‟ XML document is sent during this test.
A HTTP return code 500 (Internal Server Error) is OK.
Regards
Pothana -
Server returned code (500) with message Internal Server Error and content
Hi cracks,
I am trying to run the web service
InternalRequestSRMUpdateRequestConfirmation_In
an get following error :
Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>.
any idea?
rgds
Vincentyes,
you got crash aka shortdump in your system.
- webserver: didn't crash, because it issued an error 500, so it works
- remains either the soap runtime, which usually doesn't dump but throw errors and the application itself.
I'd look into the tracefiles (ST11) or tie the debugger to the service in question (SICF) and try to find out hat happens/d.
anton -
The import was stopped - return code 0013
Dea all,
I have a problem. I'm updating SPAM from level 7.00/0029 to level 7.00/0037.
The following details help you to analyze the problem:
The import was stopped, since an error occurred during the phase
IMPORT_PROPER, which the Support Package Manager is unable to resolve
without your input.
After you have corrected the cause of the error, continue with the
import by choosing Support Package -> Import queue from the initial
screen of the Support Package Manager.
The following details help you to analyze the problem:
- Error in phase: IMPORT_PROPER
- Reason for error: TP_STEP_FAILURE
- Return code: 0013
- Error message: OCS Package SAPKD70037, tp step "I", return code
0013
Please help me.
thanks a lot.Yes I tried but it does not work.
Main import
Transport request : SAPKD70037
System : GT6
tp path : tp
Version and release: 372.04.78 700
R3trans version 6.14 (release 700 - 10.02.10 - 13:32:00).
unicode enabled version
===============================================
date&time : 26.02.2010 - 17:42:19
control file: /usr/sap/trans/tmp/SAPKKD70037.GT6
> #pid 7512 on ensv15wz (gt6adm)
> import
> buffersync=yes
> file='/usr/sap/trans/data/RD70037.SAP'
> continuation='/usr/sap/trans/data/RD70037_#.SAP'
> client cascade yes
> watchparallelprocesses yes
>
> excluding 'R3TRDDDD','R3TRDOMA','R3TRDTEL','R3TRENQU','R3TRMACO','R3TRMCID','R3TRMCOB','R3TRSHLP','R3TRSQLT','R3TRTABL','R3TRTTYP
R3trans was called as follows: R3trans -w /usr/sap/trans/tmp/SAPID70037.GT6 /usr/sap/trans/tmp/SAPKKD70037.GT6
Connected to DBMS = ORACLE dbs_ora_tnsname = 'GT6' SYSTEM = 'GT6'.
0 0
trace at level 1 opened for a given file pointer
================== STEP 1 =====================
date&time : 26.02.2010 - 17:42:19
function : IMPORT
data file : /usr/sap/trans/data/RD70037.SAP
Continuation : /usr/sap/trans/data/RD70037_#.SAP
buffersync : YES
clients : cascade
repeatimport : NO
repeatclimport : NO
c.s.i. : NO
watchparallelprocesses: YES
autorepeat : -1 (automatic)
l.s.m. : VECTOR
charsetadapt : YES
def. charset : WEUROPEAN
commit : 100000
table cache : dynamic
EXCLUDING : 'R3TRVIEW','R3TRUENO','R3TRTTYP','R3TRTABL','R3TRSQLT','R3TRSHLP','R3TRMCOB','R3TRMCID','R3TRMACO','R3TRENQU','R
clients which are protected against client cascade: 066
client cascade to: 000, 001, 010, 065, 100, 200, 300, 900, 910
Character set on this machine : 2 byte unicode little endian.
Character set on the data file: 2 byte unicode big endian.
Data file is compressed with algorithm 'L'.
Export was executed on 17.11.2009 at 16:48:17 by k7badm
700
with R3trans version: 20.04.09 - 13:27:00
Source System = Solaris on SPARCV9 CPU on DBMS = DB6 DB2DBDFT = 'K7B' SYSTEM = 'K7B'.
language vector during export: DE
language vector during export: DE (ISO-DEEN)
lsm during export: VECTOR
trfunction = D (patch transport)
switching to selective language import
language 'F' is installed, but no entries for this language were exported ('DE')
language 'I' is installed, but no entries for this language were exported ('DE')
language 'S' is installed, but no entries for this language were exported ('DE')
the following languages will be imported: DEFIS
Used Commandfile SAPKD70037 (SAPUSER/623)
Target client in E070C updated ( )
0 entries for E070 imported (SAPKD70037).
0 entries for E071 imported (SAPKD70037 *).
Start import R3TRCLASCL_OCS_ENVIRONMENT ...
1 entry for TADIR updated (R3TRCLASCL_OCS_ENVIRONMENT ).
STOP R3trans received signal 11 from operating system.
Main import
End date and time : 20100226174219
Ended with return code: ===> 13 <=== -
I'm trying to send SOAP message to MS Provider
(to Analysis Services) but having response code 500.
What am i doing wrong?
Here's the sources:
SOAPConnectionFactory scFactory = SOAPConnectionFactory.newInstance();
SOAPConnection con = scFactory.createConnection();
MessageFactory factory = MessageFactory.newInstance();
SOAPMessage message = factory.createMessage();
SOAPPart soapPart = message.getSOAPPart();
SOAPEnvelope envelope = soapPart.getEnvelope();
SOAPHeader header = envelope.getHeader();
SOAPBody body = envelope.getBody();
header.detachNode();
envelope.addNamespaceDeclaration( "xsi", "http://www.w3.org/2001/XMLSchema-instance" );
envelope.addNamespaceDeclaration( "xsd", "http://www.w3.org/2001/XMLSchema" );
Name actionName = envelope.createName("Execute", "", "urn:schemas-microsoft-com:xml-analysis");
SOAPBodyElement action = body.addBodyElement( actionName );
action.setEncodingStyle( "http://schemas.xmlsoap.org/soap/encoding/" );
Name commandName = envelope.createName( "Command" );
SOAPElement command = action.addChildElement( commandName );
Name statementName = envelope.createName( "Statement" );
SOAPElement statement = command.addChildElement( statementName );
statement.addTextNode( "SELECT {[Measures].members * [1997].children} ON COLUMNS, {[Store].[usa].children * [Position].[All Position].children} DIMENSION PROPERTIES [Store].[Store SQFT] ON ROWS FROM [Hr]" );
Name propName = envelope.createName( "Properties" );
SOAPElement prop = action.addChildElement( propName );
Name propListName = envelope.createName( "PropertyList" );
SOAPElement propList = prop.addChildElement( propListName );
Name dataSourceInfoName = envelope.createName( "DataSourceInfo" );
SOAPElement dataSourceInfo = propList.addChildElement( dataSourceInfoName );
dataSourceInfo.addTextNode( "Provider=MSOLAP;Data Source=local;" );
Name catalogName = envelope.createName( "Catalog" );
SOAPElement catalog = propList.addChildElement( catalogName );
catalog.addTextNode( "Foodmart 2000" );
Name formatName = envelope.createName( "Format" );
SOAPElement format = propList.addChildElement( formatName );
format.addTextNode( "Multidimensional" );
Name axisFormatName = envelope.createName( "AxisFormat" );
SOAPElement axisFormat = propList.addChildElement( axisFormatName );
axisFormat.addTextNode( "ClusterFormat" );
Name contentName = envelope.createName( "Content" );
SOAPElement content = propList.addChildElement( contentName );
content.addTextNode( "Data" );
message.writeTo( System.out );
URLEndpoint endpoint = new URLEndpoint( "http://epmw012/xmla/msxisapi.dll");
SOAPMessage response = con.call( message, endpoint);
response.writeTo( System.out );
As far as I know this forms a valid XML for analysis.I am too working on the JSP SOAP and XMLA Technology. can u send me the details or links where i can find the details.
Thanks in advance
Sundar M S -
Server returned response code 500 for the url
I have an applet which connects to a servlet.I have just upgraded from Java 1.5_06 to Java 1.6_027.
I have a login.html which opens up when i hit the url http://localhost:80/test/testlogin.html.
The IIS 7 opens this page and then when I provide login credentials it should connect to the testServlet but I get
an IOException at the line
ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
saying 'Server returned code 500 for the url http://localhost:80/test/testServlet.class
I am using the following lines of code
conn = servletURL.openConnection();
conn.setDoOutput(true);
conn.setUseCaches(false);
conn.setRequestProperty("Content-Type", "application/octet-stream");
ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
This code use to work fine with Java 1.5 but it doesnt work after the upgrade.
I am not sure if it is a Java problem or IIS or Weblogic.
Please help
Thanks,885522 wrote:
I have an applet which connects to a servlet.I have just upgraded from Java 1.5_06 to Java 1.6_027.
I have a login.html which opens up when i hit the url http://localhost:80/test/testlogin.html.
The IIS 7 opens this page and then when I provide login credentials it should connect to the testServlet but I get
an IOException at the line
ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
saying 'Server returned code 500 for the url http://localhost:80/test/testServlet.class
I am using the following lines of code
conn = servletURL.openConnection();
conn.setDoOutput(true);
conn.setUseCaches(false);
conn.setRequestProperty("Content-Type", "application/octet-stream");
ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
This code use to work fine with Java 1.5 but it doesnt work after the upgrade.
I am not sure if it is a Java problem or IIS or Weblogic.
Please help
Thanks,Well, HTTP 500 is Server Exception, look at the server logs and find out why it threw a 500. -
Hi All,
while Running Client Proxies from se80 im getting Following error. i already checked all the Services All are active only. can any one suggest me:
SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server Error")
Exception of class CX_AI_SYSTEM_FAULT
RFC Trace:
**** Trace file opened at 20140630 124650 IST, by disp+work
**** Versions SAP-REL 721,0,201 RFC-VER U 3 1460390 MT-SL
XRFC> Begin of user trace
XRFC>
XRFC>
<
XRFC> TRACE SOAP RUNTIME - header
<
XRFC>
<
XRFC>
XRFC> SESSION_ID : 0002425553A5ECFC63B114C4E1000000C0A80141
XRFC> TS_CALL
: 20140630071647.5930180
<
XRFC> SY_UNAME : SAPADMIN
<
XRFC> HOSTNAME : SOLAR-DEV
<
XRFC> SY_SID
: DEV
<
XRFC> SY_MANDT : 001
<
XRFC> SYS_NR
: 01
<
XRFC> APPLSERVER : SOLAR-DEV_DEV_01
<
XRFC> ISPRESCHED : X
<
XRFC> PARENT_ID : ROOT_CALL_ID
<
XRFC> REQ_SIZE : 1821
<
XRFC> RESP_SIZE : 75
<
XRFC> DURATION : 2246
<
XRFC> NETHDRTIME : 2246
<
XRFC> CALL_STATE : 2
<
XRFC> ERRORTYPE : SYSFAIL
<
XRFC> ERRORAREA : COREMSG
<
XRFC> CTXDP_TYPE : SOAP_RUNTIME
<
XRFC> SYNC_ASYNC : S
<
XRFC> LOCATION : C
<
XRFC> DIRECTION : O
<
XRFC> REQ_ID
: 52EDA553B163C414E1000000C0A80141
<
XRFC> RESP_ID
: 00000000000000000000000000000000
<
XRFC> MSG_STATE : 114
<
XRFC> IF_NAME_I : YSCO_SAPORDERS_SOAP
<
XRFC> IF_NS_E
<
XRFC> IF_NAME_E :
<
XRFC> ISSHORTCUT :
<
XRFC> TRC_PATT : WSTEST
<
XRFC> TRC_KEY
: 50EDA553B163C414E1000000C0A80141
<
XRFC> TRC_SSID : DEV_01
<
XRFC> TRC_USER : SAPADMIN
<
XRFC> TRC_TS
: 20140630071647
<
XRFC> TRC_COUNT : 98
<
XRFC> TRC_EXT
<
XRFC> COMPLETE : OK
<
XRFC> CALLEDPROG : YSCO_SAPORDERS_SOAP
<
XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:client
<
XRFC> CONF_ID
<
XRFC> BIND_ID
<
XRFC> OP_NAME
: InsertPPOrders_Development
<
XRFC> COMM_PATRN : Method:InsertPPOrders_Development
<
XRFC> OP_NS
: http://microsoft.com/webservices/
<
XRFC> REMADDRESS :
<
XRFC> LP_NAME
: YSLP1
<
XRFC> DT_OBJ
: YSCO_SAPORDERS_SOAP
<
XRFC> MEMCONSUMP : 198
<
XRFC> BONAME
<
XRFC> PROCCOMP :
<
XRFC> DEPLOYUNIT :
<
XRFC> <
XRFC>
<
XRFC> TRACE SOAP RUNTIME - trace records
<
XRFC>
<
XRFC> <
XRFC> E SOAP_RUNTIME 20140630071649.8380110 : CL_SOAP_RUNTIME_CLIENT
<
XRFC> ->EXECUTE_PROCESSING Exception handling in SOAP runtime
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_APPLICATION 20140630071649.8382410 : CL_SOAP_APPLICATION
<
XRFC> _CLIENT ->IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING Exception
<
XRFC> handling in SOAP runtime
<
XRFC>
<
XRFC>
<
XRFC> E HTTP_TRANSPORT_BINDING 20140630071649.8368980 : CL_SOAP_HTTP
<
XRFC> _TPBND_ROOT ->HANDLE_STATUS_CODE Received return code 500 (
<
XRFC> Internal Server Error )
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_RUNTIME 20140630071649.8379970 : CL_SOAP_RUNTIME_CLIENT
<
XRFC> ->EXECUTE_PROCESSING A SOAP Runtime Core Exception occurred in
<
XRFC> method get_http_headers of class CL_SOAP_HTTP_TPBND_ROOT at
<
XRFC> position id 3 with internal error id 1026 and error text SRT:
<
XRFC> HTTP-Code 500: ("Internal Server Error") (fault location is 1 ).
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_APPLICATION 20140630071649.8382290 : CL_SOAP_APPLICATION
<
XRFC> _CLIENT ->IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING A SOAP Runtime <
XRFC> Core Exception occurred in method get_http_headers of class
<
XRFC> CL_SOAP_HTTP_TPBND_ROOT at position id 3 with internal error id
<
XRFC> 1026 and error text SRT: HTTP-Code 500: ("Internal Server Error") <
XRFC> (fault location is 1 ).
<
XRFC>
<
Find The Attachment for error:Hi Brahmaji,
i also faced with the above problem, activete the srt services in SICF Transaction.
Regards,
Kumar.
Edited by: kmikkili on Nov 18, 2009 11:39 PM -
Dear All,
I am using Tomcat 4 and J2SE 1.4.2 and winXp. I am try to write a simple server/client program using servlet to connect them.
I am using URLConnection in client side to connect server. However, when i try to get the input/output stream from URLCOnnection object, Error Occur
java.IO.Exception: server response return code: 500 for URL http://localhost:8080/examples/servlet/CPServlet
I dunno why it happens, Can you tell the reason or simply tell me the solution.
Below is my code
// Client
import java.net.URL;
import java.net.URLConnection;
import java.io.*;
public class Customer
ObjectInputStream oin = null;
ObjectOutputStream oout = null;
URLConnection conn = null;
public Customer()
try
URL url = new URL("http://localhost:8080/examples/servlet/CPServlet");
conn = url.openConnection();
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setUseCaches(false);
conn.setRequestProperty("Content-type","application/x-java-serialized-object");
conn.connect();
oin = new ObjectInputStream(conn.getInputStream());
//oout = new ObjectOutputStream(conn.getOutputStream());
System.out.println("Connected");
catch (Exception e)
e.printStackTrace();
System.exit(1);
public static void main(String[] args)
Customer cust = new Customer();
try
//Message msg = cust.receiveContent();
//System.out.println("Received " + msg.getInt());
catch (Exception e)
e.printStackTrace();
System.exit(1);
public Message receiveContent()
Message msg = (Message)MyUtil.getObjectThrSocket(oin);
System.out.println("Successfully receive content from Server");
return msg;
// Server
import java.io.*;
import javax.servlet.http.*;
import javax.servlet.*;
public class CPServlet extends HttpServlet {
// field
ObjectOutputStream oout = null;
ObjectInputStream oin = null;
public void doGet (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
System.out.println(request.getMethod());
response.setContentType("application/x-java-serialized-object");
oout = new ObjectOutputStream(response.getOutputStream());
oin = new ObjectInputStream(request.getInputStream());
ThanksI'm new to Servlet development, but I'll try to help.
The error code 500 usually means the servlet is confused, so you will want to focus server side. And in your case, you have created an output stream on your response object before you have created an input stream on your request object. I don't think that is correct. I think the order of those two processes needs to be reversed. Read the request headers first, then construct the response. -
DB connect failed return code 000256 --- disp_work ended
Hi Friends,
I have installed ides ECC 6 on oracle 10g on windows 2003 server.Now I am unable to start SAP console. While starting the disp+work getting ended. I found form the log that the DB connect failed return code 000256 in dev_disp.
snapshot is given below for the reference. Please advice with the resolution.Appreciate for an early response.
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Mon May 18 17:14:23 2009
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' ...
B Library 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' loaded
B Version of 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' is "700.08", patchlevel (0.46)
B New connection 0 created
M sysno 04
M sid ECC
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 52
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 3096
M
M kernel runs with dp version 210000(ext=109000) (@(#) DPLIB-INT-VERSION-210000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3096) [dpxxdisp.c 1293]
I MtxInit: 30000 0 0
M
M Mon May 18 17:14:24 2009
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 18304 (1408)
M DpShMCreate: sizeof(tm_adm) 3954072 (19672)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1452)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06510040, size: 4613144)
M DpShMCreate: allocated sys_adm at 06510040
M DpShMCreate: allocated wp_adm at 06511E28
M DpShMCreate: allocated tm_adm_list at 065165A8
M DpShMCreate: allocated tm_adm at 065165D8
M DpShMCreate: allocated wp_ca_adm at 068DBB70
M DpShMCreate: allocated appc_ca_adm at 068E1930
M DpShMCreate: allocated comm_adm at 068E3870
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06964730
M DpShMCreate: allocated gw_adm at 06964770
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 069647A0
M DpShMCreate: allocated wall_adm at 069647A8
X EmInit: MmSetImplementation( 2 ).
X MM diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host ecc6
M
M Mon May 18 17:14:26 2009
M calling db_connect ...
C Prepending D:\usr\sap\ECC\DVEBMGS04\exe to Path.
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@C11 on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06B2C998 0597F194 0597EA1C
C Attaching to DB Server C11 (con_hdl=0,svchp=0597E968,svrhp=06B41714)
C Starting user session (con_hdl=0,svchp=0597E968,srvhp=06B41714,usrhp=06B8CD88)
C Now '/@C11' is connected (con_hdl 0, nls_hdl 0).
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=0597E968,usrhp=06B8CD88)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@C11 on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06B2C998 0597F194 0597EA1C
C Starting user session (con_hdl=0,svchp=0597E968,srvhp=06B41714,usrhp=06B8CD88)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 28000
[dboci.c 4345]
C Detaching from DB Server (con_hdl=0,svchp=0597E968,srvhp=06B41714)
C *** ERROR => CONNECT failed with sql error '28000'
[dbsloci.c 10704]
B ***LOG BY2=> sql error 28000 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-28000: the account is locked [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 28000 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> ORA-28000: the account is locked [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1403]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10019]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server ecc6_ECC_04 on host ecc6 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Mon May 18 17:14:26 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10204
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3096) [dpnttool.c 327]
Regard's
Shashi> C *** ERROR => CONNECT failed with sql error '28000'
> [dbsloci.c 10704]
> B ***LOG BY2=> sql error 28000 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
> B ***LOG BY0=> ORA-28000: the account is locked [dbsh#2 @ 1204] [dbsh 1204 ]
> B ***LOG BY2=> sql error 28000 performing CON [dblink#3 @ 431] [dblink 0431 ]
> B ***LOG BY0=> ORA-28000: the account is locked [dblink#3 @ 431] [dblink 0431 ]
> M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1403]
Read Note 951167 ORA-28000: the account is locked
Markus -
Is there a way to direct requests based on HTTP return-code checking?
I'd like to implement a policy based on return-code. The algorithm is as below,
If HTTP return-code == 500 to 600
serverfarm1
else
serverfarm2
We have a CSM V3.2. Can someone tell me if this is doable? If yes, would you please tell me how.
Appreciation, Q.XieThe solution I suggested is still what I recommend.
What you have to do is split your serverfarm in multiples instances. One for HTTP and another one for the rest of your applications. Or you could do one for each application.
The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.
The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.
ie:
serverfarm WEB
real 10.10.10.10
ins
real 20.20.20.20
ins
probe http
serverm ALL
real 10.10.10.10
ins
real 20.20.20.20
ins
no probe
vserver web
vip 1.1.1.1 tcp 80
serverfarm WEB backup WEB_B
vserver all
vip 1.1.1.1 any
serverfarm ALL
Hope this helps.
Gilles.
Thanks for rating this answer. -
HTTP server code 500 reason Internal Server Error
HI,
I am getting following error in Call Adapter
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Message canceled
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>Internal Server Error</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have a Business system that is sending the material master data to a different Business System via XI. The message is received by XI correctly. XI correctly performs the transformation and identifies the message interface and selects correct receiver for the message. XI communicates with the receiving business system via the appropriate communication channel.
The message "fails" in the receiving system with the following error:
HTTP server code 500 reason Internal Server Exception explanation Error parsing of SOAP header.
The channel is using HTTP Adapter type, and i cross checked the communication channel details like Addressing type, target host, service number, path, user name, user password.......each and every detail is correct.
Please help me out to find the solution to the problem.
Points will be gladly awarded.
Edited by: Ashish Soni on Sep 24, 2008 9:02 PMtry sending the same XML message picking from moni and check whether you are getting same error or not?
if you get same error then check at web server for logs there you can find exact error. -
Outbound RFC to file: Received HTTP response code 500
hello:
i am doing outbound rfc from ecc to other system using PI and I get the below error in the PI.
I am on PI 7.0 and looked at the RFC destiantions in ECC and all look good.
The registered program in TCP/IP RFC destination was tested and looks fine .
I checked the SMICM in PI running at port 8000 and it looks file and also i checked the SXMB_ADM Interation configuration in PI which looks good too .
Even the PI integration engine is restarted . i am sure its in PI and I am hoping its related to user in PI -adapter frame work user XIAFUSER?
can you please let me know how to fix the below issue ..
"Transmitting the message to endpoint http://HGSGXI50:8000/sap/xi/engine?type=entry using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error"
thanks,HI
for the error com.sap.aii.af.ra.ms.api.RecoverableException Received HTTP response code 500 Internal Server Error"
HTTP 500 can be any problem at receiver side. Are you sure, that the payload fits to the receiver requirements
Please refer this thread answered by Stefan Grube
Plain HTTP adapter error
check the similar thread HTTP server code 500 reason Internal Server Error -
Received HTTP response code 500 : Error during conversion of XI message
hi
Facing the error , "Received HTTP response code 500 : Error during conversion of XI message"
This is the fist time i am configuring the sender soap ( Axis Framework in the SOAP Adapter) (Quality of service Best effort) communication channel and i am getting the above error did any body face this error.
01.09.2011 12:02:32 Information The message status was set to DLNG.
01.09.2011 12:02:32 Error SOAPFault received from Integration Server. ErrorCode/Category: XIServer/ATTRIBUTE_INITIAL; Params: Manifest cid:6D90482BF678436D75928FC8B9930519; AdditionalText: null; ApplicationFaultMessage: null; ErrorStack: Attribute Manifest cid:6D90482BF678436D75928FC8B9930519 is initial
01.09.2011 12:02:32 Error Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Error during conversion of XI message.
regards
sandeep
Edited by: pendyalas on Sep 1, 2011 12:20 PMI found a link with respect to similar error , sap note 1522630 has been used to resolve this error.
i will try and see if it works.
AXIS Sender Adapter Failure after upgrade to PI 7.11 SP06
regards
sandeep -
Values of return code when using dba_audit_session
Is there anywhere I can look up the possible values for return code when using dba_audit_session?
I am generating a report over the data and have so far only been able to provide the returncode and whether the username exists (ie username or "other" error)
Thanks
(using 9i)So far I have fathomed out:
Return code: 0 everything OK
Return code: 1017 wrong username or password
Return code: 28000 locked account
Return code: 28001 expired account -
Hi everybody what is the main purpose of return code.
Data dictionary structures
-BAPIRETURN
-BAPIRETURN1
-BAPIRET1
-BAPRET2.
THANKS IN ADVANCE.Each BAPI has a return parameter that is either an export parameter or an export table.
A BAPI should be able to record and classify all possible errors that may occur.
You have to create a parameter named Return for every BAPI. This parameter returns exception messages or success messages to the calling program.
BAPIs themselves must not trigger any messages (such as MESSAGE xnnn) in the coding. In particular they must not generate terminations or display dialog boxes. Instead, all messages must be intercepted internally and reported back to the calling program in the Return parameter. Otherwise the BAPI will not be processed correctly and control may not be given back to the calling program.
The export parameter Return can be implemented as follows:
As a structure, whereby it must be defined in the function module as an export parameter, as well as in the method in the BOR.
As a table, whereby it must be defined in the function module as a table parameter, as well as in the method in the BOR as an export parameter.
Before filling the Return parameter you should either initialize the structure with CLEAR or the table with REFRESH and CLEAR.
If the return parameter is not set or is set to an initial value this means that no error has occurred.
The Return parameter may be based on the following reference structures:
BAPIRET2
You must use this reference structure when developing new BAPIS.
BAPIRET1, BAPIRETURN
These reference structures are still partly used in old BAPIs.
Both structures must be filled in the logon language.
Have a look at return parameters in below link.
http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/frameset.htm
Best Regards,
Vibha
*Please mark all the helpful answers
Maybe you are looking for
-
Need help getting my podcast to itunes.
Ok, I have my podcast on my .mac website and if users click subscribe it will download it to their itunes. The problem I'm having is everytime I try to add it to itunes music store it says "Error parsing feed: Invalid XML" now I'm new to all this and
-
Name and counry blank in F.42 and F.23
Hi, When I add to the layout of F.42 and F.23 Name1 and Country I would expect to see Customer's/Vendor's name and country. However it is blank. Is it possible to add name and country of customer/vendor to these report? Thank you in advance, Jan
-
If Your Screen Sharing Stops Working, Read This
SCENARIO: I have a network of Macs. On my main machine (a Mac Pro), I have set up bookmarks in Safari that link to the Screen Sharing URLs for other Macs on my network (Mac minis, MacBook Air). For example: vnc://192.168.1.51 vnc://192.168.1.52 So I
-
Mac Os Installation not progressing
Hello everyone, Hoped you could help. I own the Blue and White Powermac G3 and I'm installing 10.3 or Panther. I put the first disc in and it goes through its stuff but when its done it goes to a blue screen, and the loading "wheel" is at the bottom
-
Help with login, problems
I restarted my computer, and now it goes to a black screen that says freebsd and asks me to enter my login and password, which I enter. It then goes to a terminal like command. I just want it to go back to normal. Any help? Thanks.