WAD Java-Call Failed
Hi
I'm using WAD 7 and when I try to save a webtemplate I get this error:
<i><b>Java-Call Failed: Call XMLVALIDATION abandoned (1). Check BI Portal Conne
Java-Call Failed: Call VALIDATION abandoned (1). Check BI Portal Connecti</b></i>
The webtemplate is saved anyway, but always get this error message.
Can you tell me what should I do?
Thanks
Is your BEx Web setup properly? Run report RSPOR_SETUP and check that everything is succesful.
Similar Messages
-
SOAP: call failed: java.lang.NullPointerException
Hi,
We are geeting the error in RWB -->
SOAP: call failed: java.lang.NullPointerException
We checked the communication channel and interface and all are working fine.
Can anybody suggest?
Regards,
Akki..................Hi,
use this link to find the answer..
SOAP adapter
Regards,
Amitanshu -
Hi
I am getting the following error in PI for one of my sync interfaces.
SOAP: call failed: java.io.IOException: unable to create a socket
The interface works most of the time, but i get this error couple of times a day.
Regards,
XIerHav you able to resolve this issue? Please let me know what was cause of this "unable to create a socket"
Thanks,
Sagar -
Hi PI gurus,
Need some suggestions on one issue below -
Scenario - proxy (SAP) to SOAP (Web based system)
In the RWB Communication Channel Monitirong we are receiving the below error
" Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK"
the request from XI system is going to target system and printing the lables (as per the functionality) with no issues but the comminication channel is giving the above error and this is causing the repeated sending the same request to target sytem and the data is printing repeateadly. This issues is occuring in Quality environment.
Strangley the same Interface with the same connectivity details is working fine in Development environment. But not working in Quality environment. Checked the firewalls settings on both in XI and Target system side and confirmed that everything is fine.
Below are the Logs both from Quality and developement are as follows
Quality ( Failure Case)
17.03.2011 07:19:59 Success SOAP: request message entering the adapter with user J2EE_GUEST
17.03.2011 07:25:03 Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK
Development (Success ful)
17.03.2011 07:27:55 Success SOAP: request message entering the adapter with user J2EE_GUEST
17.03.2011 07:27:58 Success SOAP: completed the processing
When we checked with basis team on user id J2EE_GUEST, they confirmed that they are same in Development and Quality.
I repeat,, that the same target url and everthing is same in XI Configuration
Thanks in Advance. Points would be rewared for the best solution.
Thanks,
JitenderHI Jitender,
If your scenariois working in DEV and if it is not working in QAS.Could you please check if both the systems are at same patch levels..
Please refer below notes :1551161,817894,952402.
Cheers!!!
Naveen. -
XI AF API call failed. Module exception: Java Mapping
Hi Experts,
I have faced a typical error for one of my interface. The Scenario is SOAP to SOAP and we are performing SOAP Lookup before sending the data to Target web service. We are using one Java Mapping 'FileIns_lookupLoad.java --- com/fi/' and performing the SOAP Lookup from within the code. In the Lookup Communication channel we are using 'Axis' as message protocol and passing couple of values through Module Key parameters. We have same ESR and ID objects in Development, Quality and Production (as per Version ID and History).
Now the problem is Lookup is failing only in Development but Quality and Production is working fine. I have replaced Quality CC URL with the development WSDL URL, but that worked fine. That means Development Web Service is good. We are getting the below error in Dev:
<SAP:Stack>StreamTransformationException triggered by application mapping program com/fi/FileIns_lookupLoad; Look Up Failed</SAP:Stack>
Trace : *
<Trace level="1"
type="T"> Some Thing Wrong in LookUpError when calling an adapter by using the communication channel CC_IN_SOAP_GEInsuranceLoadLookup1 (Party: , Service: BusService_GE, Object ID: 4214805c52893ef9b0b3f0ef0902fe9e) XI AF API call failed. Module exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. Cause Exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. </Trace>
<Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
<Trace level="1" type="T">Java mapping com/fi/FileIns_lookupLoad has thrown a StreamTransformationException. Thrown: com.sap.aii.mapping.api.StreamTransformationException: Look Up Failed at com.fi.FileIns_lookupLoad.execute(FileIns_lookupLoad.java:282) at com.fi.FileIns_lookupLoad.transform(FileIns_lookupLoad.java:74) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep.................................................
................................................................................<Trace level="1" type="T">Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed Thrown: com.sap.aii.ib.core.mapping.execution.ApplicationException: Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:95) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep(SequenceMapping.java:40) at com.sap.aii.ib.server.mapping.execution.Mapping.execute
I have already checked with Basis and as per them JDK and Java versions are identical in Dev, QAS and Prod. It seems something is wrong with 'XI AF API' which we are calling from the channel. If we totally ignore Lookup process and send direct data, it is working fine. Target CC is also using Axis.
Sequence in CC: afreq ->xireq ->wssec2 ->xires ->afres
For any more information please let me know.
Thanks,
Nabendu.Hi Anupam,
The Java Mapping code is same in Dev , QAS and Prod. Also the versions of the JAR is same.
Please find the code below.
package com.fi;
import java.util.HashMap;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.AbstractTransformation;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.MappingTrace;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.DynamicConfiguration;
import com.sap.aii.mapping.api.DynamicConfigurationKey;
import com.sap.aii.mapping.api.TransformationInput;
import com.sap.aii.mapping.api.TransformationOutput;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.*;
import org.w3c.dom.views.AbstractView;
import org.xml.sax.SAXException;
import java.io.ByteArrayInputStream;
import com.sap.aii.mapping.lookup.*;
/*import com.sap.aii.utilxi.hmis.server.HmisEnvironment.Accessor;
//import com.sap.aii.utilxi.lock.api.LockServiceException;
//import com.pmintl.pppimes.RFCLookup.javamapping.*;
//import java.io.FileInputStream;
//import java.io.FileOutputStream;*/
import java.text.DateFormat;
import java.text.SimpleDateFormat;
//import java.text.ParseException;
import java.util.Date;
import java.io.*;
public class FileIns_lookupLoad extends AbstractTransformation{
private Map param = null;
private AbstractTrace trace = getTrace();
String senderService = null;
String inParamChannel = null;
String inParamBusService = null;
//3. Each JAVA Mapping using program 7.1 API must implement the method
// transform(TransformationInput in, TransformationOutput out)
// as oppose to execute Method in earlier version.
public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {
// TODO Auto-generated method stub
//4. An info message is added to trace. An instance of trace of object is obtained by calling
// the getTrace method of class AbstractTransformation
inParamChannel = arg0.getInputParameters().getString("COMM_CHANNEL");
inParamBusService = arg0.getInputParameters().getString("BUS_SERVICE");
getTrace().addInfo("Input Parameter: " + inParamChannel);
getTrace().addInfo("Input Parameter: " + inParamBusService);
this.execute(arg0.getInputPayload().getInputStream(),
arg1.getOutputPayload().getOutputStream());
//5. Input payload is obtained by using arg0.getInputPayload().getInputStream()
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
// TODO Auto-generated method stub
try
//Get The Trace
// trace = (AbstractTrace)param.get(StreamTransformationConstants.MAPPING_TRACE );
trace = getTrace();
getTrace().addInfo("Java Mapping Started");
DocumentBuilderFactory ifactory = DocumentBuilderFactory.newInstance();
DocumentBuilder ibuilder = ifactory.newDocumentBuilder();
Document IDoc = ibuilder.parse(in);
Document TDoc = ibuilder.newDocument();
String mrnVal = "";
trace.addInfo("Preparing Target Doc");
Element message = TDoc.createElementNS("urn:Medtronic.com:CATS_Patient_Transactions","n1:Mt_Insurance");
Node tRoot = TDoc.appendChild(message);
//trace.addInfo(tRoot.getNodeName());
Element sRoot = (Element)IDoc.getFirstChild();
//trace.addInfo(sRoot.getNodeName());
NodeList nl = sRoot.getChildNodes();
// trace.addInfo("Len"+nl.getLength());
//// for(int i=0;i<nl.getLength();i++)
// Node n1 = TDoc.importNode(nl.item(i), true);
// trace.addInfo("Adding Child Nodes");
// trace.addInfo(nl.item(i).getNodeName());
// tRoot.appendChild(n1);
NodeList lmrn = sRoot.getElementsByTagName("Mrn");
if(lmrn != null)
Node n1 = TDoc.importNode(lmrn.item(0), true);
Element e1 = (Element)lmrn.item(0);
//trace.addInfo(e1.getNodeName());
mrnVal = e1.getTextContent();
tRoot.appendChild(n1);
NodeList lfsc = sRoot.getElementsByTagName("Fsc");
if(lfsc != null)
for(int i=0;i<lfsc.getLength();i++){
Element n1=TDoc.createElement(lfsc.item(i).getNodeName());
tRoot.appendChild(n1);
Node fieldch = TDoc.createElement("Fields");
n1.appendChild(fieldch);
NodeList chl = lfsc.item(i).getChildNodes();
trace.addInfo("len11"+chl.getLength());
for(int j=0;j<chl.getLength();j++){
if(!chl.item(j).getNodeName().equals("FscNumber")&&!chl.item(j).getNodeName().equals("Priority")){
if(chl.item(j).hasChildNodes()){
trace.addInfo(chl.item(j).getNodeName());
Element fscfield = TDoc.createElement("FSCField");
fieldch.appendChild(fscfield);
NodeList FUQl = chl.item(j).getChildNodes();
for(int p =0;p<FUQl.getLength();p++){
//trace.addInfo(" i: "+i+" J: "+j+" P: "+p);
if(FUQl.item(p).getNodeName().equals("FUQNumber")){
//Node tFUQ = TDoc.createElement("FUQNumber");
//tFUQ.setTextContent(FUQl.item(p).getTextContent());
fscfield.setAttribute("FUQNumber", FUQl.item(p).getTextContent());
if(FUQl.item(p).getNodeName().equals("Value")){
Node tVal = TDoc.createElement("Value");
tVal.setTextContent(FUQl.item(p).getTextContent());
fscfield.appendChild(tVal);
//Node tName = TDoc.createElement("Field");
//tName.setTextContent(chl.item(j).getNodeName());
fscfield.setAttribute("Field", chl.item(j).getNodeName());
// Node fuqch = chl.item(j).getFirstChild();
// Node valch = fuqch.getNextSibling();
// if(fuqch!=null){
// Node tFUQ = TDoc.createElement("FUQNumber");
// tFUQ.setTextContent(fuqch.getTextContent());
// fscfield.appendChild(tFUQ);
// if(valch!=null){
// Node tVal = TDoc.createElement("Value");
// tVal.setTextContent(valch.getTextContent());
// fscfield.appendChild(tVal);
// Node tName = TDoc.createElement("Filed");
// tName.setTextContent(chl.item(j).getNodeName());
// fscfield.appendChild(tName);
else{
//Node numch =TDoc.importNode(chl.item(j), true);
//Element e1 =(Element)n1;
if(chl.item(j).getNodeName().equals("FscNumber")){
n1.setAttribute("Number", chl.item(j).getTextContent());
if(chl.item(j).getNodeName().equals("Priority")){
n1.setAttribute("Priority", chl.item(j).getTextContent());
//tRoot.appendChild(lfsc.item(0));
// Element e1 = (Element)lfsc.item(0);
// trace.addInfo(e1.getNodeName());
// mrnVal = e1.getNodeValue();
/////Start of Look Up Code////
//Preparing Input String
String lookUpRequest = "<LoadPatientFullInsuranceDetail><Mrn>"+mrnVal+"</Mrn></LoadPatientFullInsuranceDetail>";
trace.addInfo("Request");
trace.addInfo(lookUpRequest);
SystemAccessor acc;
Channel channel;
Payload lookupResult;
try
channel = LookupService.getChannel(inParamBusService, inParamChannel);
trace.addInfo("Got the channel");
acc = LookupService.getSystemAccessor(channel);
trace.addInfo("Got The Channel and Accessor");
InputStream ist = new ByteArrayInputStream(lookUpRequest.getBytes());
XmlPayload payload = LookupService.getXmlPayload(ist);
if(acc != null){
trace.addInfo("Got The Channel and Accessor");
trace.addInfo("Executing The Webservice");
lookupResult = acc.call(payload);
trace.addInfo("End of Executing The Webservice");
trace.addInfo(lookupResult.toString());
if(lookUpRequest!=null){
trace.addInfo("Responce is not null");
InputStream rist = lookupResult.getContent();
Document lresDoc = ibuilder.parse(rist);
Node n1 = lresDoc.getFirstChild();
trace.addInfo(n1.getNodeName());
if(n1.getNodeName().endsWith("LoadPatientFullInsuranceDetailResponse"))
Node ch1 = n1.getFirstChild();
trace.addInfo(ch1.getNodeName());
NodeList lookupnl = ch1.getChildNodes();
//trace.add
for(int i=0;i<lookupnl.getLength();i++)
Node n2 = TDoc.importNode(lookupnl.item(i), true);
trace.addInfo("Adding Child Nodes");
trace.addInfo(lookupnl.item(i).getNodeName());
tRoot.appendChild(n2);
else{
throw new StreamTransformationException("Error in Look Up"+n1.getTextContent());
//while(ch1.hasChildNodes() && !ch1.getNodeName().equals("FSCS")){
else{
trace.addWarning("Responce is null");
throw new LookupException();
catch(LookupException le)
trace.addWarning("Some Thing Wrong in LookUp"+le.getMessage());
throw new StreamTransformationException("Look Up Failed");
Transformer transformer = TransformerFactory.newInstance().newTransformer();
// StreamResult reqResult = new StreamResult(new StringWriter());
DOMSource source = new DOMSource(TDoc);
Result result = new StreamResult(out);
transformer.transform(source,result);
catch(StreamTransformationException ste)
throw new StreamTransformationException(ste.getMessage());
catch(Exception e){
trace.addInfo(e.getMessage());
finally{ -
SOAP: call failed: java.io.IOException
Hi gurus,
I was executing several stress-tests for an interface between to non-SAP systems over PI, that both use async SOAP adapter communication.
The requirement is to transfer up to 70mb files with single files. I executed the tests successfully with a 50MB message size and lower, and then I tried with a 70MB message, but the message failed and got this error in the adapter log:
SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
I believe this is coming from the adapter itself and not from the receiving system. I have checked the binary message data from the messaging system and it looks perfectly fine.
Any ideas why this is happening? Is there a limitation for message sizes with the SOAP adapter?
I also checked the messaging system configuration settings in the AS Java but could not find anythig related to the SOAP adapter.
Thanks in advance.
Regards,
S. Gökhan TOPÇHi Gokhan,
I believe this is coming from the adapter itself and not from the receiving system. I have checked the binary message data from the messaging system and it looks perfectly fine.
I believe this is a client-side error, as your request was not properly addressed and the SOAP service was not reached.
Any ideas why this is happening? Is there a limitation for message sizes with the SOAP adapter?
Well, SAP's message size limit is huge but a lot depends on your receiving server's capabilities and network connections. So, you might not be able to reach the SAP's tested message size. In my project, I am able to do a max of 55 megs through SOAP.
Hope this helps.
regards,
Neetesh -
SOAP: call failed: java.io.EOFException
Hi all,
I have build a proxy to soap scenario that generates errors during runtime. The scenario
consists of an ABAP program consuming a webservice through PI. The communication
channel shows the following errorlog:
- Message processing started
- request entering
- SOAP: call failed: java.io.EOFException: Connection closed by remote host.
- Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.
MessagingException: java.io.EOFException: Connection closed by remote host.
Does anyone know the cause of this error?
Thanks in advance.
Regards,
IvoHi Ravi,
although I was able to reach the URL through a webbrowser, this problem was indeed caused by unavailability of the webservice. I just tried the connection without making any changes in PI and everything is working fine now.
Case closed.
Regards,
Ivo -
Javascript to Java (Applet) method call fails in JRE1.4.1 & NN4.79
Win2k, Netscape 4.79, JRE 1.4.1. I'm trying to call an applet method from Javascript from the page which contains the applet. 'm using MAYSCRIPT tag. I'm getting the error "myApplet doesn'nt have any properties". (myApplet is the name of the applet). When I use the default JRE which is supported by NN4.79(Symantic JRE 1.1.5) it works well. Does JRE1.4.1 plugin doesn't support Javascript to Java calls? OR I'm doing something wrong.
DeepakI'm seeing the same issue. This is supposed to work. I converted the <APPLET> tags in the HTML to use <OBJECT> and <EMBED> tags using Sun's converter (see http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html). I try to reference the applet (using the document.embeds[0] object instead of the document.applets[0] object) and it seems the applet has not been loaded. I can't reference any of the methods in the applet. It appears the applet has not loaded. I do not see any evidence of the applet's init() method being called.
Have you had any luck getting this to work? -
Web services Connection_Operations.Logon call fails on Data Services 4.0
Hello,
We recently installed Data Services 4.0. We have a custom Java app which makes use of the web services interface. We had previously used Axis to generate the java class. With DS 4, it looks like the Logon method did change as it now requires the cms system and authentication. We manually updated the java classes to includes these, which has been our general approach in the past for newer releases. However DS 4 uses Axis2 and I'm not sure that this approach would work.
My problem is that the "Logon" call fails with very little details.
In viewing both the webadmin.log and WebService.log it only reports the following:
11/02/2011 18:42:17 [ SEVERE ] Logon failed. Error: null
I understand that I can control the logging detail . The Integrator Guide for DS 4.0, has the following instruction, yet there is no log4j.properties file on my system?
"To control the level of detail in the webadmin.log file, you must edit the log4j.properties file.
The properties file is located in:
LINK_DIR\ext\webserver\webapps\acta_web_admin\WEB-INF
To obtain a debug trace of events, change the log level from the default of INFO to DEBUG. For example,
log4j.rootLogger=DEBUG, A"
Any advise would be greatly appreciated
ThanksHello,
Unfortunately, stdout.log below doesn't show anything possibly due to some mis-configuaration of log4j.properties. In my previous post I requested info on which log4j.properties should be modified as the documentation in the DS 4.0 Integrator's guide mentions a none-existent path?
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
log4j:WARN Please initialize the log4j system properly.
com.businessobjects.webpath.rebean3ws.Activator
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
null -
"ORA-29532: Java call terminated by uncaught Java exception
Dear Oracle:
I am trying to establish an HTTPS connection from a Java stored
procedure that is wrapped in a PL/SQL procedure and loaded into a
Package. We are running on Oracle 8.1.7.
My Java code compiles and runs fine when run stand-alone outside
Oracle; I can establish the connection to a secure server and talk to
the server. However when I load this Java class (using the loadjava
utility) this class can no longer run and I get a the following
exception:
"ORA-29532: Java call terminated by uncaught Java exception:
javax.net.ssl.SSLException: SSL handshake failed:
X509CertChainIncompleteErr"
I have tried loading the JSSE from Sun and I still get the same error.
Searching in the Discussing Forums I found the following link (which
describes a procedure that logs into the UPS secure server site and
grabs some XML) http://osi.oracle.com/~mbpierma/SSL_Java_DB.html .
This code works ok if we try to connect to UPS server. However this
code doesn't work if we try to log in to a different server (such as
???). If I modify this code slightly and try to log to any other
sever server I get the same error as the one above. Investigation
lead us to understand that the certificate at the UPS web site is a
self-signed certificate -- not one generated by a major 'recognized'
authority such as Verisign or Thawte.
Further research pointed me to the following URL
http://www.znow.com/sales/oracle/network.816/a76932/appf_ora.htm#619367
This URL has the documentation for JAVA SSL for 8.1.6 which I figure
I could read and try to make it work in 8.1.7.
I looked at your Secure Hello World example, however the code is
missing the most critical parts of the whole example, it does not
specify where the certificate or any of the security settings come
from (see the attached JavaCertExample.txt file).
So, my questions are the following:
1) What should I do to avoid the error mentioned above?
2) Do you have a sample piece of code that describes how to make a
HTTPS connection using a Java stored procedure?
3) Can I make the HTTPS connection using a URL class and not using
sockets directly?
4) Do I need to load the JSEE provided by Sun?
5) Will the solution be different for Oracle 9i?
// SecureHelloClient.java
import java.net.*;
import java.io.*;
import java.util.*;
import javax.net.ssl.*;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import oracle.security.ssl.OracleSSLSocketFactory;
import oracle.security.ssl.OracleSSLProtocolVersion;
import oracle.security.ssl.OracleSSLSession;
public class SecureHelloClient
public static void main(String argv[])
String hostName = "localhost";
if(argv.length != 0)
String hostName = argv[0];
// Set the SSLSocketFactoryImpl class as follows:
java.util.Properties prop = System.getProperties();
prop.put("SSLSocketFactoryImplClass",
"oracle.security.ssl.OracleSSLSocketFactoryImpl");
try
// Get the default socket factory
OracleSSLSocketFactory sSocFactory
= (OracleSSLSocketFactory)SSLSocketFactory.getDefault();
sSocFactory.setSSLProtocolVersion(OracleSSLProtocolVersion.SSL_Version_3_0);
OracleSSLCredential sslCredObj = new OracleSSLCredential();
// Where did these values come from? caCert, userCert, trustedCert,
// Set the certificate chain and private key if the
// server requires client authentication
sslCredObj.addCertChain(caCert)
sslCredObj.addCertchain(userCert)
sslCredObj.setPrivateKey(userPvtKey, userPassword)
// Populate credential object
sslCredObj.addTrustedCert(trustedCert);
sSocFactory.setSSLCredentials(sslCredObj);
// Create the socket using factory
SSLSocket jsslSoc =
(SSLSocket)sSocFactory.createSocket(hostName, 8443);
String [] ciphers = jsslSoc.getSupportedCipherSuites() ;
// Select the ciphers you want and put them.
// Here we will put all availabel ciphers
jsslSoc.setEnabledCipherSuites(ciphers);
// We are creating socket in client mode
jsslSoc.setUseClientMode(true);
// Do SSL handshake
jsslSoc.startHandshake();
// Print negotiated cipher
System.out.println("Negotiated Cipher Suite: "
+jsslSoc.getSession().getCipherSuite());
System.out.println("");
X509Certificate[] peerCerts
= ((javax.net.ssl.SSLSocket)jsslSoc).getSession().getPeerCertificateChain();
if (peerCerts != null)
System.out.println("Printing server information:");
for(int i =0; i ? peerCerts.length; i++)
System.out.println("Peer Certificate ["+i+"] Information:");
System.out.println("- Subject: " + peerCerts.getSubjectDN().getName());
System.out.println("- Issuer: " + peerCerts[i].getIssuerDN().getName());
System.out.println("- Version: " + peerCerts[i].getVersion());
System.out.println("- Start Time: " + peerCerts[i].getNotBefore().toString());
System.out.println("- End Time: " + peerCerts[i].getNotAfter().toString());
System.out.println("- Signature Algorithm: " + peerCerts[i].getSigAlgName());
System.out.println("- Serial Number: " + peerCerts[i].getSerialNumber());
else
System.out.println("Failed to get peer certificates");
// Now do data exchange with client
OutputStream out = jsslSoc.getOutputStream();
InputStream in = jsslSoc.getInputStream();
String inputLine, outputLine;
byte [] msg = new byte[1024];
outputLine = "HELLO";
out.write(outputLine.getBytes());
int readLen = in.read(msg, 0, msg.length);
if(readLen > 0)
inputLine = new String(msg, 0, readLen);
System.out.println("");
System.out.println("Server Message:");
System.out.println(inputLine );
else
System.out.println("Can't read data from client");
// Close all sockets and streams
out.close();
in.close();
jsslSoc.close();
catch(SSLException e)
System.out.println("SSL exception caught:");
e.printStackTrace();
catch(IOException e)
System.out.println("IO exception caught:");
e.printStackTrace();
catch(Exception e)
System.out.println("Exception caught:");
e.printStackTrace();Hi,
I have the same problem.
Is some ORACLE guru that can help us ?
We need to communicate with some servlet
via POST method of https (SSL3)
and with using private certificate on the client site.
We need furthermore allow using of some proxy.
Client site is realized as set of stored procedures within ORACLE 8.1.7
In this time I am able to communicate with server without SSL and certificate
using package utl_tcp
(but with this solution without certificate is our customer not satisfied -:))
ORACLE help us please !
Pavel Pospisil
[email protected] -
SOAP Receiver adapter error. SOAP CALL Failed
Hi ,
I am implementing scenario R/3->RFC adapter->XI->SOAP REceiver adapter->Web Service (Synchronous). I am getting the error.
SOAP: call failed
SOAP: error occured: java.net.ConnectException: Connection timed out
Message log is as below.
Any clue ?
Thanks & Regards,
Mathew
2005-10-31 18:59:58
Success
output
1130810398454
The message was successfully received by the messaging system. Profile: XI URL: http://host:Port/MessagingSystem/receive/AFW/XI
2005-10-31 18:59:58
Success
output
1130810398458
Using connection AFW. Trying to put the message into the request queue.
2005-10-31 18:59:58
Success
output
1130810398458
Message successfully put into the queue.
2005-10-31 18:59:58
Success
output
1130810398459
The message was successfully retrieved from the request queue.
2005-10-31 18:59:58
Success
output
1130810398459
The message status set to DLNG.
2005-10-31 18:59:58
Success
output
1130810398460
Delivering to channel: CC_CALCULATOR
2005-10-31 18:59:58
Success
output
1130810398564
SOAP: request message entering the adapter
2005-10-31 19:03:07
Success
output
1130810587497
SOAP: call failed
2005-10-31 19:03:07
Error
output
1130810587497
SOAP: error occured: java.net.ConnectException: Connection timed out
2005-10-31 19:03:07
Error
output
1130810587498
Exception caught by adapter framework: Connection timed outHi Mathew,
Check if the webservice is availble??? Based on the error below, it looks like the message is timing out at the Adapter Engine level waiting for the connection to make the webservice call...
Prasad -
I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = (null)
correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
destination = ""
extendedData = (null)
faultCode = "Client.Error.MessageSend"
faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
faultString = "Send failed"
headers = (Object)#2
messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
rootCause = (mx.messaging.events::ChannelFaultEvent)#3
bubbles = false
cancelable = false
channel = (mx.messaging.channels::AMFChannel)#4
authenticated = false
channelSets = (Array)#5
connected = false
connectTimeout = -1
enableSmallMessages = true
endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
failoverURIs = (Array)#6
id = (null)
mpiEnabled = false
netConnection = (flash.net::NetConnection)#7
client = (mx.messaging.channels::AMFChannel)#4
connected = false
maxPeerConnections = 8
objectEncoding = 3
proxyType = "none"
uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
piggybackingEnabled = false
polling = false
pollingEnabled = true
pollingInterval = 3000
protocol = "http"
reconnecting = false
recordMessageSizes = false
recordMessageTimes = false
requestTimeout = -1
uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
useSmallMessages = false
channelId = (null)
connected = false
currentTarget = (mx.messaging.channels::AMFChannel)#4
eventPhase = 2
faultCode = "Channel.Connect.Failed"
faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
faultString = "error"
reconnecting = false
rejected = false
rootCause = (Object)#8
code = "NetConnection.Call.Failed"
description = "HTTP: Status 500"
details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
level = "error"
target = (mx.messaging.channels::AMFChannel)#4
type = "channelFault"
timestamp = 0
timeToLive = 0halodev:
I made a CF/Flex site based on the Flexstore sample app,
using a database instead of XML as the data source; in case you
want to see it:
http://www.timos.com/dg/flex/DilemmaGames.html
At first I had troubles similar to what you describe;
initially, part of the problem was that my hosting company had not
yet upgraded to CF 7.02. One other thing I had to correct: when you
upload to your server, upload the entire ‘bin’ (or
whatever your output folder is) minus the debug SWF.
If it would help with other issues, contact me and I will be
glad to make my project code available to you. Good luck.
Carlos
[email protected] -
SP15 in Java engine failed, "Login Failure: all modules ignored"
Hi
During the installation of sp15 (with JSPM) failed, the sdm log shows:
ERROR: Cannot connect to Host: [hostname] with user name: [J2EE_ADMIN]
My instance was down so I started but now there is an error, when I try to log on to User management it give me the error: "Login Failure: all modules ignored".
I checked the logs for the server and found the following:
#1.5^H#0000000000000067000000250000596D00045A79FA4B224F#1225379843613#com.sap.engine.services.security.resource.ResourceHandl
eImpl#sap.com/com.sap.security.core.admin#com.sap.engine.services.security.resource.ResourceHandleImpl#J2EE_GUEST#0##n/a##da7
065c0a69511ddb438000000000000#SAPEngine_Application_Thread[impl:3]_15##0#0#Error#1#/System/Security/Audit/J2EE#Java###ACCESS.
ERROR: Authorization check for caller assignment to J2EE resource [ : : : ].#4#SAP-J2EE-Engine#session-pool#ge
t_session_pool#ALL#
#1.5^H#0000000000000067000000260000596D00045A79FA4B32AC#1225379843613#com.sap.engine.services.security.authentication.loginco
ntext#sap.com/com.sap.security.core.admin#com.sap.engine.services.security.authentication.logincontext#J2EE_GUEST#0##n/a##da7
065c0a69511ddb438000000000000#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Java###Caller not authorized.
[EXCEPTION]
#1#com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.
at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:627)
at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:513)
at com.sap.engine.services.security.resource.ResourceContextImpl.checkPermission(ResourceContextImpl.java:45)
at com.sap.engine.services.security.restriction.Restrictions.checkPermission(Restrictions.java:119)
at com.sap.engine.services.security.server.AuthenticationContextImpl.getSessionPool(AuthenticationContextImpl.java:39
5)
at com.sap.engine.services.security.server.AuthenticationContextImpl.getLoginContextFactory(AuthenticationContextImpl
.java:740)
at com.sap.engine.services.security.server.AuthenticationContextImpl.getLoginContext(AuthenticationContextImpl.java:2
54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.system.SystemLoginModule.initialize(SystemLoginModule.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:662)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:146)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.forceLoggedInUser(SAPJ2EEAuthenticator.java:231)
at com.sap.security.core.admin.ServletAccessToLogic.getActiveUser(ServletAccessToLogic.java:141)
at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:438)
at com.sap.security.core.admin.UserAdminServlet.doPost(UserAdminServlet.java:26)
at com.sap.security.core.admin.UserAdminServlet.doGet(UserAdminServlet.java:19)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessio
nMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
I found the SAP Note 971249 but Iu2019m not sure it applies and even I can log on into Visual administrator.
Log for the Visual Administrator
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[/usr/sap/SID/DVEBMGS00/j2ee/admin/log/./traces/visual_administration.trc]/>
<!PATTERN[visual_administration.trc]/>
<!FORMATTER[com.sap.tc.logging.ListFormatter]/>
<!ENCODING[UTF8]/>
<!FILESET[0, 5, 10000000]/>
<!PREVIOUSFILE[visual_administration.4.trc]/>
<!NEXTFILE[visual_administration.1.trc]/>
<!LOGHEADER[END]/>
#1.5^H#C000AC11873E00000000000100CEC78D00045A541BE7A040#1225217198758#com.sap.engine.services.adminadapter.gui.tasks.LoginTas
k##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server/VisualA
dministrationTool#Java###Error while trying to login to host: null
[EXCEPTION]
#1#java.lang.NullPointerException
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.
java:72)
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextH
elperImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessio
nMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Thank you very much for your help.
Best Regardshi
we had the same issue some time back when we upgraded to SP15, we opened a OSS message and SAP had to come and fix the issue.
It was some inconsistencies in -Config DB settings and they made quite a few changes in security/configurations/ticket(config tool)
also
one Java parameter was wrong(config tool - server config) :
-Djava.security.policy=/java.policy it should be -
> Djava.security.policy=./java.policy (The DOT was missing)
thank you
Jonu Joy -
COMException: 800706be: The remote procedure call failed
Hi all,
access microsoft com using java thread.some time time it works some time it gives error as given :
com.develop.jawin.COMException: 800706be: The remote procedure call failed.
at com.develop.jawin.marshal.GenericStub.dispatchInvoke0(Native
Method)
at com.develop.jawin.marshal.GenericStub.dispatchInvoke
(GenericStub.java:83)
at com.develop.jawin.DispatchPtr.invokeN(DispatchPtr.java:169)
at com.develop.jawin.DispatchPtr.invokeN(DispatchPtr.java:153)
at com.develop.jawin.DispatchPtr.invoke(DispatchPtr.java:135)
...For minor problems reboot
For major problem reinstall
Good luck -
Hi,
I'm trying to call a Java Class method from BPEL and the Java Class is packaged into a JAR and copied the same into SCA-INF/lib folder of the SOA composite application.
My Java Class is:
package uk.co.utilities;
public class Utils {
public Utils() {
public String sayHello(String Value) throws Exception{
String result = "";
try{
result = "Hello !!!" + Value;
}catch(Exception e){
e.printStackTrace();
return result;
The BPEL snippet code for the Java Call out is:
<bpelx:exec import="uk.co.utilities"/>
<bpelx:exec name="javaInvoke" version="1.5" language="java">
<![CDATA[Utils testUtils = new Utils();
String testResult = testUtils.sayHello("User");
setVariableData("TempResult",testResult);]]>
</bpelx:exec>
I have tried to build the project,but getting the following error:
Error(21,36): Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "bpelJavaMethod" of composite "default/prjJAVAMethod!1.0"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
It seems that the BPEL couldn't find the JAR method,but i have copied the JAR into SCA-INF/lib folder and added it to the " libraries and classpath " of the project.
Please do help me.
Thanks,
Sri.Hi Sri,
Can you check this out, will be helpful for you to find out where is the issue.
http://yatanveersingh.blogspot.com/2011/08/how-to-call-java-method-inside-bpel.html
-Yatan
Maybe you are looking for
-
I can't get icloud to work on my computer not sure how to create an icloud account
Hi there, can anyone help me with this? I have been trying all day to get icloud to work on my computer. I have successfully downloaded it on to my laptop. I am having trouble creating an iCloud ACCOUNT as it won't let me sign in with my Apple ID
-
Java.lang.ClassCastException on SelectionListener of ADF table
HI , I am getting the following error when using the default SelectionListener in a af:table (#{bindings.address.collectionModel.makeCurrent}) javax.el.ELException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.List ADF_
-
Syncing music to other computer.
My laptop crashed to my dismay. I have some music on my mother's computer that I'd like to put on my iPod, but if I sync those songs, it wipes my previous songs. How do I add the music on my iPod to my mother's computer so that I may add it to iTunes
-
I shoot with a Canon 30D and I have shot RAW to this point. My question is, is it possible to have a preset of processing options for lightroom that would render my RAW file to look like it was a JPEG. From this point I could continue to process is a
-
I figured out how to change the language of my Mac in System Preferences. However, I want to use the default language as Latin, which I can't seem to get to work. I checked it in the "Edit List" popup thing so it appears in the list on the left. I re