Throw Error in Module Adapter EJB
Hi experts,
In order to make some validations when getting file in File Adapter, was developed a EJB Module Adapter. When the validation failed, it must to be generate a throw error with a text that appears in Runtime workbench.
throw new ModuleException("Error al crear objeto Archivo para procesar el legacy: "+legacy);
But, it doens't happen. In Runtime workbench I just can see a Exception null .
Follow Below the Java Code of Module EJB:
package clasesSox;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.sap.aii.af.mp.module.ModuleException;
@author martin.j.rodriguez
public class Archivo extends XMLParser {
private Log log = LogFactory.getLog(Archivo.class);
private Config config;
private String nombre, tipoSistema, pais;
private Date fecha;
//private boolean procesado;
//private org.xml.sax.XMLReader xr;
private double totimp, importeParcial;
private String buscaTOTIMP, regImporte, buscaTOTLIN;
private String [] tags;
private InputStream inputStream;
private int totlin, regCuenta;
public Archivo(InputStream is, String legacy) throws ModuleException {
super();
Map properties = getConfig().getConfig(legacy);
if (properties == null) {
if (log.isErrorEnabled()){
log.error("Error al crear objeto Archivo para procesar el legacy: "legacy" - No se encontro la configuración.");
throw new ModuleException("Error al crear objeto Archivo para procesar el legacy: "+legacy);
this.buscaTOTIMP = (String)properties.get(Config.CAMPO_IMPORTE_TOTAL);
this.regImporte = (String)properties.get(Config.CAMPO_IMPORTE);
this.buscaTOTLIN = (String)properties.get(Config.CAMPO_LINEAS_TOTAL);
String tagstosearch = (String)properties.get(Config.CAMPO_LINEAS_CONTAR);
StringTokenizer st = new StringTokenizer(tagstosearch, ",");
tags = new String[st.countTokens()];
int i=0;
while(st.hasMoreTokens()){
String token = st.nextToken();
tags[i++] = token.trim();
setInputStream(is);
public List validaArchivo() throws ParserConfigurationException, SAXException, IOException {
regCuenta = 0;
importeParcial = 0;
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
SAXParser saxParser = factory.newSAXParser();
saxParser.parse(inputStream, handler);
String s = "";
roundValues();
String stotimp = new BigDecimal(totimp).setScale(2, BigDecimal.ROUND_HALF_UP).toString();
String simporteParcial = new BigDecimal(importeParcial).setScale(2, BigDecimal.ROUND_HALF_UP).toString();
if (log.isDebugEnabled()){
log.debug("Resultados: TOTIMP: "stotimp" - CONTEO: "+simporteParcial);
log.debug("Resultados: TOTLIN: "totlin" - CONTEO: "+regCuenta);
List results = new ArrayList();
if (totimp != importeParcial) {
s = "Error al contar el total del importe, deberia ser: "stotimp" y el calculado es: "+simporteParcial;
if (log.isDebugEnabled()){
log.debug(s);
results.add(s);
if (totlin != regCuenta) {
s = "Error al contar el total del lineas, deberia ser: "totlin" y el calculado es: "+regCuenta;
if (log.isDebugEnabled()){
log.debug(s);
results.add(s);
return results;
private void roundValues() {
totimp = roundValue(totimp);
importeParcial = roundValue(importeParcial);
redondea un numero a 2 decimales
private double roundValue(double d) {
BigDecimal bd = new BigDecimal(d);
bd = bd.setScale(2, BigDecimal.ROUND_HALF_UP);
return bd.doubleValue();
public void startElement(String namespaceURI, String lName, String qName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException {
String etiqueta = getTagName(qName, lName);
//niveles.add(etiqueta);
// Cuenta registros
for (int i = 0;i< tags.length; i++){
if (etiqueta.equals(tags+)){
regCuenta++;
break;
public void endElement(String namespaceURI, String lName, String qName) throws org.xml.sax.SAXException {
String etiqueta = getTagName(qName, lName);
//niveles.remove(niveles.size() - 1);
// set valor totlin
if (buscaTOTLIN.equals(etiqueta)){
totlin = parseInt(valor);
// set valor totimp
if (buscaTOTIMP.equals(etiqueta)){
totimp = parseDouble(valor);
// suma importe parcial
if (regImporte.equals(etiqueta)){
importeParcial += parseDouble(valor);
public InputStream getInputStream() {
return inputStream;
public void setInputStream(InputStream texto) {
this.inputStream = texto;
public String getNombre() {
return nombre;
public void setNombre(String nombre) {
this.nombre = nombre;
public String getTipoSistema() {
return tipoSistema;
public void setTipoSistema(String tipoSistema) {
this.tipoSistema = tipoSistema;
public String getPais() {
return pais;
public void setPais(String pais) {
this.pais = pais;
public java.util.Date getFecha() {
return fecha;
public void setFecha(java.util.Date fecha) {
this.fecha = fecha;
public static void main(String args[]) {
String fileName = "FI_MAS_SAP_RENBAN_####_AAAAMMDD_HHMMSS.TXT";
java.util.StringTokenizer st = new java.util.StringTokenizer(fileName, "_");
for (int i = 0; i < 5; i++)
st.nextToken();
String anioMes = st.nextToken();
if (anioMes != null)
if (anioMes.length() > 5) {
System.out.println(anioMes);
System.out.println(anioMes.substring(0, 4) + " " + anioMes.substring(4, 6));
private double parseDouble(String number){
if (number == null || number.trim().length()==0 || number.trim().equals("/"))
return 0;
// remuevo los 0 a la izquierda que afectan al parseint
number = number.trim().replaceAll("^0+","");
number = number.replaceAll(",",".");
double result = 0;
try {
result = Double.parseDouble(number);
catch (NumberFormatException nfe){
System.err.println("Error parseando numero "+number);
return result;
private int parseInt(String number){
if (number == null || number.trim().length()==0 || number.trim().equals("/"))
return 0;
// remuevo los 0 a la izquierda que afectan al parseint
number = number.trim().replaceAll("^0+","");
number = number.replaceAll(",",".");
int result = 0;
try {
result = Integer.parseInt(number);
catch (NumberFormatException nfe){
System.err.println("Error parseando numero "+number);
return result;
Carga la configuracion
@return
protected Config getConfig(){
if (config == null){
ConfigParser cp = new ConfigParser();
config = cp.readConfig();
return config;
Could anyone help me about this problem ?
Thanks in advance.+
Hi,
do u think, u will get the error text in the RWB ? I don't think so, it will provide the output in the RWB.
The output of the Adapter module is nothing but XI -XML message. So this will not come
check it out for the how to work on Adapter Modules-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
Hope this helps,
Regards,
Moorthy
Similar Messages
-
Runtime Error Custom Module Adapter 7.31
Hi experts.
We've developed a custom module adapter to be used in HTTP_AAE sender adapter. The deployement is successfull, the module is started but we are facing this error at runtime:
Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN, null
¿Any idea what can be happening?
We are working with version 7.31 SP 10 Java only stack installation.
Thanks a lot.
Kind regards.
Christian.Hi Amit.
Thank u so much but your response.
Regarding your quesion, yes I have done it.
Regards.
Christian. -
How to throw error in Module pool
Hi Experts,
I have one probelum in Module pool Programm and i need you solution,
i have 10 input fields in module pool, and the first field is land1,
when i will give input in land1 as "US" so it should throw error "not allowed"
and all the field should be enable. should not be disable
please help me out.
thanks
VikashHi Vikas,
try this,
if LAND1 EQ 'US'.
MESSAGE 'No Data can be found!' TYPE 'S' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
endif.
Regards,
Venkat. -
Is it possible to send error message from Adapter Module to CCMS?
Hi
Is it possible to send error message from Adapter Module to CCMS...?I have written on adatper module from there i have to send error message to CCMS or SXMB_MONI. Is it possible if yes please send me the related documents
Best Regards
Ravi Shankar BHi
I have written following User Defined Exeption in my Module program
class DuplicateFileException extends ModuleException{
DuplicateFileException(String message){
super(message);
I am throwing my Exception like this
try{
throw new DuplicateFileException("Duplicate File");
}catch(DuplicateFileException e){
throw e;
But i am not getting this exception in SXMB_MONI. In adpater monitoring i am getting the following exceptions
<b>
2007-05-16 15:51:30 GMT+05:30: Retry interval started. Length: 5.000 s
- 2007-05-16 15:51:30 GMT+05:30: Error: java.lang.NullPointerException
- 2007-05-16 15:51:30 GMT+05:30: An unknown error occured.
- 2007-05-16 15:51:30 GMT+05:30: Processing started
- 2007-05-16 15:51:25 GMT+05:30: Error: java.lang.NullPointerException</b>
can any one give me the idea how to send error from module program to SXMB_MONI
Thanks & Regards
Ravi Shankar B -
REPORT ZPSMARTFORM1.
tables: zptable1.
types: begin of ty_zptable1,
f1 type zf1,
f2 type zf2,
f3 type zf3,
end of ty_zptable1.
data: itab type table of ty_zptable1 with header line.
data: wa type ty_zptable1.
select f1 f2 f3 from zptable1 into table itab.
CALL FUNCTION '/1BCDWB/SF00000005'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB = .
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
this is my driver program.In my form interface there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
Edited by: Julius Bussche on Nov 14, 2008 10:09 AMREPORT ZPSMARTFORM1.
tables: zptable1.
types: begin of ty_zptable1,
f1 type zf1,
f2 type zf2,
f3 type zf3,
end of ty_zptable1.
data: itab type table of ty_zptable1 with header line.
data: wa type ty_zptable1.
select f1 f2 f3 from zptable1 into table itab.
CALL FUNCTION '/1BCDWB/SF00000005'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB = .
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Plz for this driver program. Give me the exact solution.I am passing the information like itab like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution -
See Burger Error in BICMODULE-module:Adapter call failed. Reason: null
Hello All,
Scenario IDOC to File using Seeburger BIC problems in in my receiver adapter when converting from XML to EDI.
Error is:
"Message processing failed. Cause: Error in BICMODULE-module:Adapter call failed. Reason: null"
The Seeburger modules used in my receiver adapter:
1 localejbs/CallBicXIRaBean Local Enterprise Bean BIC_MT
2 localejbs/CallBicXIRaBean Local Enterprise Bean BIC
3 localejbs/Seeburger/FileStore Local Enterprise Bean ARCHIVE_EDI
4 CallSapAdapter Local Enterprise Bean 0
with following module configurations
BIC destDelimiter @http://seeburger.com/xi/bic/destDelimiter
BIC destSourceMsg source
BIC destTargetMsg MainDocument
BIC dynamicConfiguration true
BIC newLine true
BIC useAttribIfSet true
BIC_MT PartnerLookup on
BIC_MT destSourceMsg MainDocument
BIC_MT destTargetMsg MainDocument1
BIC_MT mappingName XML_Generic_ANSI_X12_to_DB_MT_OUT
BIC_MT saveSourceMsg source
Can some one tell me why there is an Error and what additional module configurations it requires .
Thank you,Hi,
If possible go to mapping in BIC designer Tool and execute the same by passing your payload there...
if you encounter any errors then there might be a problem with mapping developed...or can be payload..
Also check the parameter used for destSourceMsg source ...is that the source message which contains the payload ?
HTH
Rajesh -
Error-Receiver File Adapter using Variable substitution when file is empty
XI Experts,
We are on PI 7.0, SP14.
We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
Parameter in the communication channel for Handling empty message is "Ignore".
Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
We are following getting error in the Adapter engine.
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
Thanks
MPYou can implement this by writing the module to throw an exception or whatever method you want to execute.
If you don't want to receive an error message then module is suitable for you.
Gaurav Jain -
Error connecting to JServer/EJB
Hi all,
I've successfully deployed a BC4J Application Module as EJB Session Bean into Oracle8i 8.1.6. The test on this Application Module works fine.
The client code that calls the EJB is:
package ricercalista.client;
import java.util.Hashtable;
import javax.naming.*;
import oracle.jbo.*;
import ricercalista.client.ejb.LoginModuleEJBClient;
import oracle.jbo.client.remote.ejb.*;
import oracle.jbo.common.remote.*;
import oracle.jbo.common.remote.ejb.*;
import ricercalista.common.ejb.*;
import ricercalista.common.*;
public class LoginClient {
final String AMDefName = "ricercalista.LoginModule";
final String username = "omero";
final String password = "omero";
final String dbUrl = "jdbc:oracle:thin:omero/omero@localhost:1521:OMERO";
public LoginClient() {
try {
Hashtable env = new Hashtable(10);
env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_ORACLE8I);
env.put(JboContext.SECURITY_PRINCIPAL, username);
env.put(JboContext.SECURITY_CREDENTIALS, password);
env.put(JboContext.HOST_NAME, "bacco08.csr.unibo.it");
env.put(JboContext.CONNECTION_PORT, "2481");
env.put(JboContext.ORACLE_SID, "OMERO");
env.put(JboContext.APPLICATION_PATH, "test/omero/ejb");
Context ic = new InitialContext(env);
LoginModuleHome home = (LoginModuleHome) ic.lookup(AMDefName);
LoginModuleEJBClient myejb = (LoginModuleEJBClient) home.create();
myejb.getTransaction().connect(dbUrl, username, password);
myejb.setUser("turronic", "chris");
System.out.println((String) myejb.getCognome());
System.out.println((String) myejb.getNome());
ricercalista.UserProfile up = myejb.getUserProfile();
for (int i = 0; i < up.size(); i++) {
System.out.println("dominio = " + up.getCodeDomain(i) + " grado = " + up.getInterestDegree(i));
myejb.getTransaction().disconnect();
myejb.remove();
catch (java.rmi.RemoteException re) {
System.out.println("Remote exception in creating " + AMDefName);
re.printStackTrace();
catch (javax.ejb.CreateException ce) {
System.out.println("Unable to create ejb " + AMDefName);
ce.printStackTrace();
catch (NamingException ne) {
System.out.println("Unable to find application " + AMDefName);
ne.printStackTrace();
catch (oracle.jbo.ApplicationModuleCreateException e) {
System.out.println("Unable to create application module " + AMDefName);
e.printStackTrace();
public static void main(String[] args) {
new LoginClient();
When I run this client, an error occurs on the statement:
LoginModuleHome home = (LoginModuleHome) ic.lookup(AMDefName);
The error is:
System Error: javax.naming.NamingException: Unknown reasons. Root exception is java.lang.ClassNotFoundException: ricercalista.common.ejb.LoginModuleHomeHelper
System Error: void oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome.initRemoteHome() (AuroraApplicationModuleHome.java:167)
System Error: void oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome.<init>(oracle.jbo.JboContext, java.lang.String) (AuroraApplicationModuleHome.java:75)
System Error: oracle.jbo.common.JboHome oracle.jbo.client.remote.corba.aurora.AuroraInitialContext.createJboHome(java.lang.String) (AuroraInitialContext.java:47)
System Error: java.lang.Object oracle.jbo.common.JboInitialContext.lookup(java.lang.String) (JboInitialContext.java:72)
System Error: java.lang.Object javax.naming.InitialContext.lookup(java.lang.String) (InitialContext.java:349)
System Error: void ricercalista.client.LoginClient.<init>() (LoginClient.java:51)
System Error: void ricercalista.client.LoginClient.main(java.lang.String[]) (LoginClient.java:89)
Have you ever got this error? Is the client code right?
Thanks a lot!java.lang.ClassNotFoundException:ricercalista.common.ejb.LoginModuleHomeHelper
It's saying Call Not Found and I'm guessing that ricercalista.common.ejb.LoginModuleHomeHelper
is your class? Did your classes(jar file) get to the server in the right place? to be found? Is the Classpath set?
I'm not a EJB programmer though. -
When I save my query in PLD it throws error
When i write a query and click Save button it throws error as "Define Numbering Series in Administration module" Can anybody help
Regards
Cool IceHello,
Did by any chance you used CopyExpress to transfer information to that database?
If so, that's the problem, and as far as I know there is no way to solve it...
Best Regards,
Vítor Vieira -
Hi ,
I am getting below error in SOAP reciever channel.
Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION - com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection SOAP_http://sap.com/xi/XI/System is currently not started. at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:996) at sun.reflect.GeneratedMethodAccessor501_10002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy2662_10002.process(Unknown Source) at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:275) at sun.reflect.GeneratedMethodAccessor326_10002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy114_10002.process(Unknown Source) at com.sap.aii.adapter.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:175) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:470) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:163) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:82) at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:74) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:425) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376) at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71) at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309) at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222) 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:152) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)Hi,
Can you please elaborate more on your problem.
Regards,
Raghu. -
Hi, I'm running the following setup:
Mac OS X 10.8.4
Virtual Box 4.2.16 r86992
Oracle Developer Days (don't know the version, just downloaded it)
SQL Developer 3.2.20.09
Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
$ ping 192.168.56.101
PING 192.168.56.101 (192.168.56.101): 56 data bytes
64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
^C
--- 192.168.56.101 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
$ telnet 192.168.56.101 1521
Trying 192.168.56.101...
Connected to 192.168.56.101.
Escape character is '^]'.
asdf
asdf
Connection closed by foreign host.
When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760dHi Ali,
This may be of varoius reasons..
Is the database that you are connecting on the same PC?
You have specified Hostname: localhost.
If not please replace it with the IP of that server.
Else please check whether the database listener is started or not. if not please start the listener.
Check the SID by tnsping command.
Hope this will help you..
Thanks
Ashok -
FI SUBSTITUTION throwing error
Hi,
I copied RGGBS000 into ZBGGBS000 and added two exits U102 and U103 to it after that we did all the steps required like going to GCX2 then OB28 .......steps that are required to have custom include for substitution.
now when we are transporting the customizing request which has these customizing changes it shows following error during transport
User exit UFP00 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP01 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP02 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP04 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP05 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP06 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP13 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP02 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP02 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP02 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP02 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP30 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP31 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
User exit UFP32 not declared in form pool RGGBS000
Postprocessing necessary when upgrade has been completed
The sequence of transports are correct.
Whan i am worried is how come these series of user exit are throwing error they are neither present in RGGBS000 or my version ZGGBS000. Can any one let me know how/where these exit UFP00 are called and declared.Have you added all your exits to the GET_EXIT_TITLES subroutine at the top of the program? See below.
* FORM GET_EXIT_TITLES *
* returns name and title of all available standard-exits *
* every exit in this formpool has to be added to this form. *
* You have to specify a parameter type in order to enable the *
* code generation program to determine correctly how to *
* generate the user exit call, i.e. how many and what kind of *
* parameter(s) are used in the user exit. *
* The following parameter types exist: *
* TYPE Description Usage *
* C_EXIT_PARAM_NONE Use no parameter Subst. and Valid. *
* except B_RESULT *
* C_EXIT_PARAM_FIELD Use one field as param. Only Substitution *
* C_EXIT_PARAM_CLASS Use a type as parameter Subst. and Valid *
* --> EXIT_TAB table with exit-name and exit-titles *
* structure: NAME(5), PARAM(1), TITEL(60)
FORM get_exit_titles TABLES etab.
DATA: BEGIN OF exits OCCURS 50,
name(5) TYPE c,
param LIKE c_exit_param_none,
title(60) TYPE c,
END OF exits.
exits-name = 'U100'.
exits-param = c_exit_param_none.
exits-title = text-100. "Cost center from CSKS
APPEND exits.
exits-name = 'U101'.
exits-param = c_exit_param_field.
exits-title = text-101. "Cost center from CSKS
APPEND exits.
* begin of insertion "wms092357
exits-name = 'U200'.
exits-param = c_exit_param_field.
exits-title = text-200. "Cons. transaction type
APPEND exits. "from xref1/2
* end of insertion "wms092357
* PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINES *
* IF THE ACCOUNTING MODULE IS INSTALLED IN YOUR SYSTEM: *
* EXITS-NAME = 'U102'.
* EXITS-PARAM = C_EXIT_PARAM_CLASS.
* EXITS-TITLE = TEXT-102. "Sum is used for the reference.
* APPEND EXITS.
** EXIT EXAMPLES FROM PUBLIC SECTOR INDUSTRY SOLUTION
** PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINE
** TO ENABLE PUBLIC SECTOR EXAMPLE SUBSTITUTION EXITS
INCLUDE rggbs_ps_titles.
REFRESH etab.
LOOP AT exits.
etab = exits.
APPEND etab.
ENDLOOP.
ENDFORM. "GET_EXIT_TITLES -
Error converting j2EE-Specific ejb xml to object representation
I am trying to webservice using Sun one. I got four entity beans and two sessions. I exposed the business of the session beans as webservice function.
I tested the individual sesion beans they are working fine.
When I created a webservice, and when I am trying to deploy the web service the follwing error occured.
I tried to run the verrfier tool, but is not loading the file...it s getting stucked up.
Here,
BSApp -- J2ee application in which webservice is included
BSManagerContrl --- is one of the two session bean which i created
Book -- is the entity bean
I also checked the module of the session bean to verify whether i included the Book enity bean or not. Other wise I would i successfully tested the session bean.
Thank you
[b][b]Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- Failed to load
deployment descriptot for BSApp
Cause: Error converting j2EE-Specific ejb xml to object representation
BSManagerContrl_EJBModule.jar
app_BSApp BSManagerContrl_EJBModule
Referencing error: This bundle has no bean of name [Book]
<ejb><ejb-name>Book</ejb-name><jndi-name>ejb/Book</jndi-name><pass-by-refernece>false</pass-by-reference><cmp><mapping-properties>Hi parsuram,
Its not coming up anymore. All i did was re-map the table under Sun AS Mappings under properties for the EJBModule. Its really strange. Thanks a lot for your concern. I really appreciate it. -
Error starting "app name": Error loading module "appname" Verify error
I've downloaded 3 application on my device 9800.
at last i've download one app from Blackberry App World.
When i open that application, Its throws error.
"Error starting "app name": Error loading module "appname" Verify error."
I'm unble to open it. I've deleted and re install the app. Nothing has been help. I've tried to download others app. Its downloaded. But not open. the same problem has thrown.
What is the problem. how to open it. Now, if i download new apps, its throws the same error, " *"Error starting "app name": Error loading module "appname" Verify error.""*
Pls give a solution.Hi sgm_friends
Have you tried a Battery Pull Restart ? As you are constantly getting that error and unable to open any Apps that you download then to rule out any Software issue please reload your device Software ,but do a complete Backup of your device before that :
KB11320 : How to perform a clean reload of the BlackBerry Device software using BlackBerry desktop software for windows.
I hope it will help.
Prince
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it. -
Using FM DD_POPUP_TO_CONFIRM_CANCEL giving error in module pool program
HI,
I am using FM DD_POPUP_TO_CONFIRM_CANCEL in my module pool program.
But when the cursor comes to the FM it is throwing error like
*CALL SCREEN (not modal) in modal dialog box not allowed.*
i am using the below code.
CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
EXPORTING
textline1 = 'UFN Preprint record created!'
textline2 = 'Proceed to Add more States ?'
title = 'Confirmation'
start_column = 25
start_row = 15
defaultpos = 'C'
IMPORTING
answer = lv_answer.
Regards
JaiHi,
Please try to use FM: 'POPUP_TO_CONFIRM'.
Cheers,
Maybe you are looking for
-
Links to FM Cross References do not work in Generated PDFs
Windows XP Professional SP2, FrameMaker 7.0p576, Acrobat Professional 8.1.2. I have multiple volumes that are intended to ship together. So, for argument's sake, I have Book_1.fm, Book_2.fm, Book_3.fm. Within Book_2.fm, I create cross-references to B
-
Dear all Can I have a Delivery Date wise report for Purchase Order. (T.Code) and what the paramenters that I have to input. Manoj
-
TS2734 Is it possible to find an IPAd without find my Iphone activated?
Is it possible to find an IPAd without find my Iphone activated?
-
I Need Tables related to Workflow
1. When we create a workflow template, where its stored? 2. What's the table name where the container value stored? 3. Where the log stored while in runtime? 4. Where the Whole workflow stored. Hope i will get reply from u.
-
Hello All, I want to create an OLAP variable for a master data infoSource to do selections for a specific infoObject. I am in the data selection tab but forgot how to start. Please advise. Thank you and kind regards, Keith