Getting A com.bea.control.ServiceControlException When Calling External WS
Here is a little background.
Running WLI 8.1.5
Created a jcx/control from an external WSDL
Using the control to call the external WS.
However, in WLI my JPD just freezes/hangs for a few mins and returns the following exception.
Exception : java.lang.ClassCastException: com.bea.control.ServiceControlException
There is no record of my JPD hitting the external WS (checked logs on that side).
Any ideas on what could be causing this?
rluc.
Hello,
which version of WLP ?
Please check certificates expiration date in the consumer and producer domains :
security realms/myrealm/Providers/ >SAMLIdentityAsserter >Management >ap_00001 > Certificates/wsrpconsumerrsa
check the expiration date (Valid To)
Summary of Security Realms >myrealm >Providers > Credential Mapping /SAMLCredentialMapper/Management/Certificates/wsrpconsumerrsa
check the expiration date (Valid To)
Emmanuel
Similar Messages
-
Hi All,
I want know jar name of this ( com.bea.control.annotations ) package.
Thanks,
Vass Leethanks.
java -version java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411ifx-20040810 (141SR3) (JIT enabled: jitc)
i cant find rt.jar under our 1.4 folder /usr/java14. but there's a rt.jar under our /usr./java131/jre/lib/rt.jar.
I'm not sure how to tell what command server was sending. it errors at "open" command on multiple ftp servers. the whloe message produced is like this:
Glub Tech Secure FTP v2.5.9
Copyright (c) 1999-2006 Glub Tech, Inc.
java.lang.NullPointerException
at com.glub.secureftp.bean.d.run(Unknown Source)
Licensed for non-commercial use.
ftp> open ftpserver1
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/x509/CertAndKeyGen
at com.glub.secureftp.bean.SSLFTP.a(Unknown Source)
at com.glub.secureftp.bean.SSLFTP.<init>(Unknown Source)
at com.glub.secureftp.bean.SSLFTP.<init>(Unknown Source)
at com.glub.secureftp.client.cli.t.case(Unknown Source)
at com.glub.secureftp.client.framework.CommandPlayer.a(Unknown Source)
at com.glub.secureftp.client.framework.g.a(Unknown Source)
at com.glub.secureftp.client.framework.g.if(Unknown Source)
at com.glub.secureftp.client.cli.ak.a(Unknown Source)
at com.glub.secureftp.client.cli.ak.if(Unknown Source)
at com.glub.secureftp.client.cli.SecureFTP.<init>(Unknown Source)
at com.glub.secureftp.client.cli.SecureFTP.main(Unknown Source)
thanks
dj -
'Control parameters' when call the smartform function module
Hi all,
I want to know what we have to export as value to control papameter while calling the fm of smartform.
Plz also let me know the various parameters in CONVERT_OTF.
Thanks in advance.WA_CONTROL_PARAMETERS-GETOTF = 'X'.
the above is needed if you want OTF data, to convert it to PDF
WA_CONTROL_PARAMETERS-LANGU = 'E'.
Language of smartform
WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
*default o/p device
WA_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
if you dont want the pop up screen , that asks you for printing make the value as 'X' .
other wise make it as space or clear it.
WA_CONTROL_PARAMETERS-PREVIEW = SPACE.
if u want the print preview , make it as 'X' , otherwise SPACE
Below code shows how you can convert the OTF data to PDF data.
calling the smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_SMARTFORM'
IMPORTING
FM_NAME = WF_FUNCMODULENAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION WF_FUNCMODULENAME
EXPORTING
CONTROL_PARAMETERS = WA_CONTROL_PARAMETERS "Control Params
OUTPUT_OPTIONS = WA_OUTPUT_OPT "Output Options
WF_CARRID = WF_CARRID
WF_CONNID = WF_CONNID
WF_FLDATE = WF_FLDATE
IMPORTING
DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = WA_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = WA_JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
ARCHIVE_INDEX = WA_ARC_IDX
IMPORTING
BIN_FILESIZE = WF_NUMBYTES
TABLES
OTF = WA_JOB_OUTPUT_INFO-OTFDATA[]
DOCTAB_ARCHIVE = TB_DOCTAB_ARCHIVE[]
LINES = TB_LINES[]
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3. -
Error when calling external DLL function.
When calling a function in Oracle, the error happens
ORA-28575: '... error RPC connection to external procedures'
code:
create or replace library LibFunctions as 'c:\MyDLL.dll';
grant all PRIVILEGES on LibFunctions to public;
create or replace
FUNCTION Max(num1 in number, num2 in number) RETURN number IS
EXTERNAL LIBRARY LibFunctions
NAME "Max"
LANGUAGE C;
grant all PRIVILEGES on Max to public;
obs. Dll was created in Pascal.
What can this error?
tks,
Mauricio
Edited by: user13794390 on 19/01/2011 06:29It's been a while since I used extproc. Anyway, it listener.ora make sure extproc is added. I'll assume you are on Unix:
(SID_DESC =
(SID_NAME = PLSExtProc)
(ENVS = "EXTPROC_DLLS=ANY,LD_LIBRARY_PATH=proper-directory-list")
(ORACLE_HOME = path-to-oracle-home)
(PROGRAM = extproc)
) SY. -
Getting 415 Unsupported Media Type error when calling a windows web service
I have a BPEL process that invokes a windows web service. This process is working currently on the production system. When trying to run the process in a new test clustered environment, I'm getting the error below (bolded).
We're using 10.1.3.3 Oracle Application Server and BPEL. Please advise on what config files might need to be tweaked to fix this.
InvokeWindowsLoggingWebService(faulted)
[2010/04/16 17:26:35] Faulted while invoking operation "WriteLog" on provider "WindowsLoggingWebService". less
-<messages>
-<input>
-<InvokeWindowsLoggingWebService_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
-<WriteLog xmlns="http://tempuri.org/">
<FileAbsolutePath>
R:\CV & RM\upload_from_test.log
</FileAbsolutePath>
<Content>
||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
</Content>
<NewLineDelimiter>
|
</NewLineDelimiter>
</WriteLog>
</part>
</InvokeWindowsLoggingWebService_InputVariable>
</input>
-<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
</summary>
</part>
</remoteFault>
</fault>
</messages>
[2010/04/16 17:26:35] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
</summary>
</part>
</remoteFault>I generated a proxy service in jdev and used the same parms as was done on OAS...
<WriteLog xmlns="http://tempuri.org/">
<FileAbsolutePath>
R:\CV & RM\upload_from_test.log
</FileAbsolutePath>
<Content>
||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
</Content>
<NewLineDelimiter>
|
</NewLineDelimiter>
</WriteLog>
and was able to call the service fine and it returned successful. Just seems to be an issue on the server when I execute it from there. -
How to get exit code from C code when calling java method via JNI?
Hi, All
in my project, i need to call a java method from C code using JNI, yet I do
not know how to
retrieve the exit code of java program. the java code is like below
public static void main(....)
if(error){
System.exit(-77);// the exit code is -77
and the JNI c code may like below
/* Invoke main method. */
(*env)->CallStaticVoidMethod(env, mainClass, mainID, mainArgs);
//here I want to retrieve the exit code from java to check if there is an
error
any suggestions? thanksHi Liang Zhang,
In your C code add:
void (JNICALL y_exit)(jint code) {
and when you are initialazing JVM options add:
JavaVMOption options[...];
options[...].optionString = "exit";
options[...].extraInfo = y_exit;
See http://java.sun.com/j2se/1.3/docs/guide/jni/jni-12.html
Best regards, Maksim Rashchynski. -
Getting "Page Cannot be displayed" error when calling a procedure
Hi all,
I have a page having a table with more than 2000 rows. On click on save I need to call a pl/sql procedure and then a concurrent program and then based upon the result of CP I need to update the records from the back end.
All this is done on the click of save button. Now my issue is the concurrent program takes a long time to get completed and I get "Page cannot be displayed error" on my page. Is there any way by which on click of save button I can redirect user to some other page saying the CP has been submitted and at the same time my CP and Pl/SQl procedure will be called. Here I have only one constraint that after competitions of my CP I need to update my table as well. So I need to handle that part as well.
Regards,
Arvind Goelhi
would u please share ,how r u calling concurrent program ???
thanx
Pratap -
Get "Invalid root in registry key" when call RegWrite function on Wow6432Node
My environment is Windows 2008 R2. I have the local administrator permission and the UAC is turned off.
There is a 32bit application installed on the server and I need to update its registry key value "AuditTime" under this node
HKLM\Software\Wow6432Node\Myapplication
I simply run this just two line vbscript
Set Wshell = CreateObject("Wscript.Shell")
Wshell.RegWrite "HKLM\Software\Wow6432Node\Myapplication\AuditTime",Now(),"REG_SZ"
But I got error as following:
Invalid root in registry key "HKLM\Software\Wow6432Node\Myapplication\AuditTime"
Then I updated the script to perform a little test. The script is like this
Set Wshell = CreateObject("Wscript.Shell")
Wshell.RegWrite "HKLM\Software\Myapplication2\AuditTime",Now(),"REG_SZ"
Wshell.RegWrite "HKLM\Software\Wow6432Node\Myapplication\AuditTime",Now(),"REG_SZ"
The first RegWrite is successfully run and I got the value written as expected however the second RegWrite failed again with the same error.
So it is clear nothing to do with permission since I have full access. I can create the values under both hive in Regedit.exe.
A little further testing shows the Invalid root error just showing when I tried to update valued under HKLM\Software\Wow6432Node hive.
Any suggestion?On Windows Server 2008R2 the VBScript works with NO errors and creates the key as expected.
PS C:\scripts> .\regtest.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\scripts> dir HKLM:\Software\Wow6432Node\Myapplication*
Hive: HKEY_LOCAL_MACHINE\Software\Wow6432Node
SKC VC Name Property
0 1 Myapplication32 {AuditTime}
0 1 Myapplication6432 {AuditTime}
PS C:\scripts> dir HKLM:\Software\My*
Hive: HKEY_LOCAL_MACHINE\Software
SKC VC Name Property
0 1 Myapplication32 {AuditTime}
0 1 Myapplication6432 {AuditTime}
PS C:\scripts> [environment]::Is64BitProcess
False
The vbscript used for both keys is as follows:
Set Wshell = CreateObject("Wscript.Shell")
Wshell.RegWrite "HKLM\Software\Wow6432Node\Myapplication32\AuditTime",Now(),"REG_SZ"
Run from either system it creates a shared key under WoW6432Node on both systems. When created from the 32 bit system the key also shows up under HKLM:\Software. It does not show on the 64 bit system under HKLM:\Software. Youust explicitly
crate the keys under that key. 64 bit process look at both. 32 bit processes only see HKLM:\Software which is why we create the shared keys under WoW6432. The 32 bit systems will work as they always have but 64 bit process MUST look under
WoW6332Node if it wants to see a 32 bit process registry settings. We can als sync the keys if needed.
You do not need to create two sets of keys for one process. The system can do this for you.
¯\_(ツ)_/¯ -
Problem when calling external program
Hi,
I have a strange problem and no more idea how to solve it.
What I do:
In Java I call an external Fortran-exe with Runtime.getRuntime().exec(...) This Fortran program creates 4 files.
What I get:
One of the 4 files is incomplete, the first few lines are missing.
What makes me wonder:
When I take the exec-statement to the commandline and let it run there, everything is fine and the files contain all the info I need. All the 4 files are correct then.
What I also tried:
I tried to copy the (incomplete) file within Fortran. That means when I call the Fortran program I get 2 identical files then but with different filenames. Doing so on the commandline everything is fine again. But again, the same commandline String called in the exec in my Java program it is getting worse: The formerly incomplete file is empty now with 0 bytes.
Even if I wait for the process to finish does not help.
I do not understand it any more and would really like to know what happens there, why, and what can I do to avoid it or to get my complete output files. What does Runtime.getRuntime().exec(myString) do different than when I take the myString on the commandline?
Any hints welcome.
TIAHi,
unfortunately this does not help. I have already about 15 Fortran programs running this way which work accurately. So a possible problem with output stream does not look reasonable to me in this case. -
Extproc crashes when calling external routine
Can anyone point me to documentation on the causes of extproc.exe crashing when trying to invoke an external procedure? The standard documentation set isn't too helpful for debugging such a problem.
I have been able to call one external procedure. With two others, I always get an extproc crash with (I believe) an access violation.
The routines I am trying to call are 3rd-party, so I do not have the ability to view their source, though I do have the list of parameters and the sizes and types.
What I am hoping to find somewhere is a list of the kinds of things that cause extproc to crash so I can see if any of them are likely culprits in my situation.
Thanks,
Bruce MerkleHave you tried calling into the dll that CVI calls directly from TestStand? I am curious to know if this also crashes.
I am also curious to know if there are any path references in the dll that is called by the CVI program. If so are they relative, or absolute paths?
I ask because one of the possibilities is that relative paths are being used to specify a path from the location of the code that is called, and they are not working because the current working directory is being specified by TestStand, and the paths are not relative to the working directory given by TestStand.
Jensen
National Instruments
Applications Engineer -
Contents in the parameters have been shifted when calling external rfc
Dears,
when i use ' call <FM name> destination <destination name> '
the contents of paramters are shifted when reaching .net RFC server .
and when i transport my program to QAS server, it is ok... all the seting of program and destination are the same . .net server use SAP connector to communicate with SAP
any one encounter such problem ? what maybe the reason ?
BR.Do not worry. It is probably a permission you should ignore, but you should check that the permission appears in this site > http://support.apple.com/kb/TS1448?viewlocale=en_US&locale=en_US
-
Problem met when call external exe in jar.
hi all,
in my java project, i call an external exe . i met a problem that sometimes the exe is not fully finished. How could i confirm that the exe is finished before i start to use the output of this exe.
i use following code to call the external exe:
Runtime.getRuntime().exec(command).Hi Avm,
thanks very much.
The simplest answer is that
getRuntime().exec(command).waitFor() will help you.
But besides of sync there are number of other
potential problems with Runtime.exec
Good examples and description there is here:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-
traps.html -
Configurations to be done when calling external web service
Hi,
Do we need to do any configurations in SAP when we want to call any external web service from sap.
I have created a proxy based on URL (WSDL) and I have searched this consumer proxy in soamanager transaction.
I found the result and when I click on Apply Selection it is giving some errors in the soamanager screen at the top.
The error is " Error : Internal error" . When I click this error link no error text is available.
How to check the errors displayed in soamanager.
Can anyone explain on how to resolve this issue. Once these errors are rectified then only I can create a logical port.You have problems with authorizations when you try to create logical port.
-
Close portal (session) when calling external url
Hi there,
does anyone know if its possible and if yes, how to automatically close a portal session when (or after) calling an external url from within the portal.
Cheers
Walteri think you can write a script for this using EPCF.
Shankar -
Http error 400 - bad request when calling external webservice
I have a problem connecting OSB to webservices exposed by Lotus Domino Server.
When I test the services with XMLSpy, it works fine. I started a project in OSB, and imported WSDL files from the server url. So far it worked. I built the corresponding Business services. When I tried to test these business services, i got error 400 from the domino server.
Does anyone have an idea to fix this problem?
My response document:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>org.xml.sax.SAXParseException: Korai fájlvége.</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>HTTP/1.1 400 Bad Request
Server: Lotus-Domino
Date: Sat, 09 May 2009 19:57:19 GMT
Connection: close
Pragma: no-cache
Cache-Control: no-cache
Expires: Sat, 09 May 2009 19:57:19 GMT
Content-Type: text/html
Content-Length: 161
<HTML><HEAD><TITLE>Unable to Process Request</TITLE></HEAD><BODY><P>Http Status Code: 400</P><P>Reason: Unknown or unsupported protocol version</P></BODY></HTML>Yes, the problem should be in the request, but in the test console the request document looked fine.
I tried the following:
I tested the service with XMLSpy. I took the soap envelope generated, and pasted it into the business service test console. Then the payload should be the same in both cases, but it does not work.
Maybe you are looking for
-
I am running on an iMac OS X 10.6.3 using Firefox 3.6.3 as my default browser and I use Postbox 1.1.5 as my email client. Anytime I click on a link within an email message two instances of Firefox open, one with my home page and one with the site the
-
How to use my earpods with my 2012 macbook pro
I can not get the inline microphone to work on my earpods with my 2012 macbook pro. It will not reconize it. Help please!
-
Reminders crash in Mountain Lion 10.8.1
Reminders crashed every time I tried to start it. Read Console log from Genius Bar recommendation. 8/29/12 3:15:47.790 PM Reminders[282]: WARNING: moveItemAtPath:/Users/rreyes/Library/Calendars/Calendar Cache toPath:/Users/rreyes/Library/Calendars/C
-
I'm developing a cash card app which will need to store transactions on the card. Basically it may make several cash transactions with terminals that are not connected to the internet (and thus can't sync) and once in a while the user will interface
-
Hi Gurus, I want to enable a functionality to release the PR after changing the existing one(Which is already released). Please let me know the configs to be done for enabling this.Thanks for your help in advance. with regards, Saakithyan