Error in obtaining token using TokenManager thru a stand-alone java appln
I am trying to use the IS Java APIs to connect to the directory server and insert a user in the directory from a stand alone java appln.
I get an SSOException while trying to obtain a Token object from the TokenManager (TokenManager.createSSOToken() method ).
Following is the dump of the error:
Exception Message: LDAP authentication failed.
com.iplanet.sso.SSOException: LDAP authentication failed.
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProv
iderImpl.java:94)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:2
57)
at SampleUserOperations.main(SampleUserOperations.java:51)
However, the principal and password supplied in the code are correct. Following is the code that generates this error.
public static void main(String[] args)
int count = 0;
SSOTokenManager Manager = null;
SSOToken Token = null;
AMStoreConnection AMConn = null;
try
//create a token
Manager = SSOTokenManager.getInstance();
System.out.println("Got a token mgr");
Token = Manager.createSSOToken(new AuthPrincipal("uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot"), "abcdefg123");
System.out.println("Got a token");
AMConn = new AMStoreConnection(Token);
System.out.println("Got a conn");
catch (com.iplanet.sso.SSOException e)
count++;
System.out.println("COUNT = " + count + " : " + e);
The credentials provided in the code are correct. What could be the cause of the error?
TIA,
siddharth.
Tthis class is undocumented and this is the reason why you will not find any documentation. This is not the correct way for a client to authenticate to the is in v6. You need to use the JAAS API. I do not believe that the AuthPrincipal sample works in 6.
The package for the class is com/sun/identity/authentication/internal/
rdgs
Steve
Similar Messages
-
Using Lightroom 5 as stand alone to convert RAW, then save to CS2?
I am a professional photographer, and I am perfectly happy with my CS2 version of Photoshop, as I can get it to do everything I need, without spending another $600 on the newest version.
Unfortunately the new camera I purchased needs either CS6, or Lightroom 4-5 to process the RAW files. Can I simply purchase Lightroom and use it as a stand alone product, then save the file as a tiff to further work on it in my CS2?Yes, you can do that. You can designate Photoshop CS2 as your external editor. When you choose to edit in Photoshop you will receive a warning that camera raw is out of date, and you can choose to render a copy with Lightroom adjustments. You can configure Lightroom so that the copy will either be a PSD or TIF image. I think most people prefer TIF. Then you can instruct Lightroom not to show that option anymore. From that point forward any time you choose to edit in Photoshop Lightroom will create the TIF image and pass it on. When you save the changes in Photoshop those changes will be reflected in the TIF image that is in the Lightroom catalog.
-
How to use dbxml as a stand alone server?
Dear All
Is there any way to launch dbxml as a stand alone server?
What I want to do is the following.
I am using PHP and creating a web site on which users can search information stored in dbxml.
So far each time client (browser) come to the page,
php code opens the database and containers as
$env = new Db4Env();
$env->open(path, DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN);
I wonder if I can run the dbxml as like daemon, so that I do not need to open the database each time,
and only thing I need to do is to connect to the server.
Thank you for any advise or comments in advance.
oyasainot only should you do this, but you have to do it to make sure that your database does not get corrupted in a multi request/multi threaded environment. However, there are weird requirements when working with recovering databases and corruption, especially in a dynamic language. We are using python and then coded a front end server with the Twisted framework with a lot of success (single threaded access to manage corruption). Then, all of our web apps talk to the twisted server in the same way as you would a mysql server. It is python, but if you are interested in working with it I can try to get this code out to you personally (I've been wanting to open source the code for a while now) - or if you want to do the same in php I can get you the big concepts which make it different than a traditional mysql or http server.
Email me at eleddy at janushealth dot com if you are interested - it could be a long discussion :)
hth,
eleddy -
Error 1935 while trying to use installer to install stand alone app with VISA
I am trying to create my first installer for LV 8 and it is pretty different from LV 7. I am creating an installer to bundle my Vi and the Run time engine in one package. In my program I use VISA read/write so I also selected NI-VISA Config. Support version 3.4.1. When I try to install the application on a computer that does not have LV or the runtime engine I get error 1935 saying that it cannot install the VISA config. Then when I try to run my program LV doesn't try to take over the COM port because VISA is not installed. Any one have any ideas? Thanks
Hi,
Here is a link that describes a possible solution to what you are seeing. I would also install the latest version of NI-VISA, linked here. Please let me know if you are still running into problems after trying these suggestions. Have a great day!
Regards,
Missy S.
Calibration Engineer
National Instruments -
Unable to connect to ECC system through stand alone JAVA program using JCO.
Hi All,
I want to connect to ECC system through standalone JAVA program using jco.while executing my java program it is saying that connection refused.
I am getting the error as shown below.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CMALLC : rc=20 > Co
nnect from SAP gateway to RFC server failed
Connect_PM GWHOST=192.168.10.99, GWSERV=sapgw01, SYSNR=01
LOCATION SAP-Gateway on host igm501 / sapgw01
ERROR partner '192.168.10.99:sapgw01' not reached
TIME Mon Sep 1 15:00:37 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2821
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 2
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:11
25)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at JConnector_frmDesk.<init>(JConnector_frmDesk.java:91)
at JConnector_frmDesk.main(JConnector_frmDesk.java:141)
I have already configured SAPDP01,SAPGW01 in my services file in windows\system32\drivers\etc\services.
What else i need to do to connect to ECC system through my JAVA program.Please help me in this regard.
Regards,
Ramana.Hi !
Check this to verify that you are correctly using JCO:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
Try to give in ashost="/H/saprouter/H/sap".
Regards,
Matias. -
FCP Export Using... vs. stand-alone Compressor
Hi
I have a 90 minute HD sequence in FCS2, which I'm now building test DVDs from. Not having used Compressor, I'm wondering which of the following workflows people recommend:
- In Final Cut, Export Using Compressor, set up preset, and submit; or
- In Final Cut, Export Quicktime, then in Compressor, import .mov and process
In theory, are they doing the same thing? The "Using Compressor" export brings up a "Compressor Processing" window with frame numbers ascending pretty slowly, the progress bar is just a big barber-shop pole (it doesn't fill left to right), and there's no "expected finish time", so I don't know if it's really saving me any time. At least the Quicktime export gave me a nice progress bar and only took an hour or so.
MacPro 2x2.66GHz, 4GB RAM, by the way.
Sequence is ProRes HD (High) 1920 x 1080i.
Any points of view welcome ... thanks!
MattSilal is correct - Export Using Compressor, especially with unrendered timelines, produces the best quality that Compressor has to offer when going .m2v because it forces Compressor to render directly into the MPEG-2 stream. Of course, this usually takes 3-5x as long as an encode of a reference movie.
Before we had Color, many of us did color correction in FCP and that's really when it helped to use this process (export using Compressor, unrendered). Now that we have Color (and Color renders footage for us), this workflow is less appealing.
Since you've got a Mac Pro, when exporting directly to Compressor, you can't use virtual clustering, so not only are you using a slower process, but you can't even make use of all your processors.
In your case, since you're working in 1080 ProRes422 HQ, export a reference movie, crank up Frame Controls' Resize to Better, and make use of virtual clustering. -
Help!. Problem with using XmlBeans 1.0 Stand-alone Library
Hi All,
I read that XmlBeans requires JDK1.4.1. Is there any way to use this successfully
within other AppServers ( not Bea 8.1) which are not at JDK1.4.1 Level yet??.
What I mean is, I am very much interested in using XmlBeans but unfortunately
the AppServer that is in Production ( WAS4.0) is at level jdk1.3.1.
Am I dead in the water? or is there any hope?
Thanks,
Sudha"Sudha" <[email protected]> wrote:
>
the AppServer that is in Production ( WAS4.0) is at level jdk1.3.1.Today you do need JDK 1.4.x.
Am I dead in the water? or is there any hope?Although there should be few things in XMLBeans that intrinsically depend on JDK
1.4, a port to JDK 1.3 has not yet been done. If (when) we do a JDK 1.3 port,
we'll do it in the open-source project and I'd encourage you to watch for it,
try it, and contribute to it. But right now there's been no 1.3 work yet - you
need JDK 1.4. -
Good day, I hope a simple question. old guy and Mac Newbee here and loving it.
I have an existing wireless network that I am happy with, I would like to add the Tc to my airbook via wifi. with out using it as a router.
This will let me use the super drive and have a place to put stuff.
Can this work?
I tried to get it going but because i did not have the tc plugged into the cable modem i could not get connected.
Thanks BillDuane, how do I configure TC to just connect to my existing wifi network, and then use it as an external hard drive?
I don't wish to use TC as a router, and I have bought it to work only for its wireless backup feature.
I also don't want to connect my ethernet internet connection to the TC, primarily because I don't want to remove it from my existing router which took me a while to setup and I am too scared to disturb in any way.
Than you! -
Running stand alone java class using Maven
Hi I want to run my main class using Maven.Can anyone help?
SDET wrote:
Hi I want to run my main class using Maven.Can anyone help?I'm pretty sure the Maven documentation can be of great help. If not, the Maven-users mailing list is your resource of choice for Maven related questions. -
BPM 10.3 Studio how to use PAPI from stand alone java client
Would you help me ...., the search for the relevant information in this forum or documentation has not helped!
I'm running the BPM process via studio and trying to call it from the standalone java program.(According documentation
I need ... fuegopapi-client.jar and directory.xml )
Well, of course I could find somewhere directory.xml but it is not the right one .. What are the values(related to directory Service) which are needed to run this
java code agains the process started from the studio... ? So what I should do...? to setup and configure in BPM10.3 Studio to be able to run this code agains the
BPM process ...?
thanks a lot
Tomas
..otherwise the java code look like this ...
public static void main(String[] args) {
/////////////////// API Initialization ///////////////////
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
configuration.setProperty(ProcessService.WORKING_FOLDER, "c:\tmp");
try {
ProcessService processService = ProcessService.create(configuration);
/////////////////// Establish a session ///////////////////
ProcessServiceSession session = processService.createSession("test", "test", "localhost");
/////////////////// Operate with PAPI ///////////////////
for (String processId : session.processesGetIds()) {
System.out.println("\n Process: " + processId);
for (InstanceInfo instance : session.processGetInstances(processId)) {
System.out.println(" -> " + instance.getId());
/////////////////// Close the session ///////////////////
session.close();
/////////////////// Release API Resources ///////////////////
processService.close();
} catch (CommunicationException e) {
System.out.println("Could not connect to Directory Service");
e.printStackTrace();
} catch (OperationException e) {
System.out.println("Could not perform the requested operation");
e.printStackTrace();
}Would you help me ...., the search for the relevant information in this forum or documentation has not helped!
I'm running the BPM process via studio and trying to call it from the standalone java program.(According documentation
I need ... fuegopapi-client.jar and directory.xml )
Well, of course I could find somewhere directory.xml but it is not the right one .. What are the values(related to directory Service) which are needed to run this
java code agains the process started from the studio... ? So what I should do...? to setup and configure in BPM10.3 Studio to be able to run this code agains the
BPM process ...?
thanks a lot
Tomas
..otherwise the java code look like this ...
public static void main(String[] args) {
/////////////////// API Initialization ///////////////////
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
configuration.setProperty(ProcessService.WORKING_FOLDER, "c:\tmp");
try {
ProcessService processService = ProcessService.create(configuration);
/////////////////// Establish a session ///////////////////
ProcessServiceSession session = processService.createSession("test", "test", "localhost");
/////////////////// Operate with PAPI ///////////////////
for (String processId : session.processesGetIds()) {
System.out.println("\n Process: " + processId);
for (InstanceInfo instance : session.processGetInstances(processId)) {
System.out.println(" -> " + instance.getId());
/////////////////// Close the session ///////////////////
session.close();
/////////////////// Release API Resources ///////////////////
processService.close();
} catch (CommunicationException e) {
System.out.println("Could not connect to Directory Service");
e.printStackTrace();
} catch (OperationException e) {
System.out.println("Could not perform the requested operation");
e.printStackTrace();
} -
T's possible to use the jsp to develop stand-alone application?????
Hello everybody, I would like to know your considerations about this topics: It's possible to use jsp to develop stand-alone application that will be not run on the server but on the local machine?There are some negative aspects on make this? Thank you for your reply
i don't think you could ever protect the jsp code and it wouldn't do you much good to bother anyway, since anyone with a browser can just "View Source" and see all the HTML on the page anyway.
the only thing you would want to protect is your java source. you don't have to distribute the .java files with your application, just the .class's. you could try and obfuscate the .class files, but a determined person will always be able to reverse it back to a .java program and read it. it would take a bit of work and knowhow though, so figure out how smart the consumer is going to be and if they will be able to figure out how to reverse .class files back to .java -
How to use Preloader with stand-alone application in Eclipse? Thank you.
My IDE is eclipse and my project is a stand-alone application(pure CS architecture with OSGI framework).
How to use Preloader thus the preloader would be started before my main Application and hid later?
I found some code in http://docs.oracle.com/javafx/2/deployment/preloaders.htm#BABGGDJG
but I still don't know how to deploy the Preloader with my startup Application in OSGI framework.
I give some code of my startup application below:
public class MyPrjMain extends Application
private static Stage primaryStage;
public void start(final Stage stage)
throws BusinessException
primaryStage = stage;
init(primaryStage);
primaryStage.show();
}Thanks very much, everybody.
Edited by: Slash Wang on 2013-2-27 下午5:36Your question has already been answered on StackOverflow:
http://stackoverflow.com/questions/15126210/how-to-use-javafx-preloader-with-stand-alone-application-in-eclipse/15148611 -
IM Installation - FATAL ERROR: Cannot obtain Application SSO token
Hi Guys,
I am having a problem trying to install IM, I got the following error,
Registering services with Access Manager...exist exception - AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
Check AMConfig.properties for the following properties
com.sun.identity.agents.app.username
com.iplanet.am.service.password
I got the IM + DA+ AM 7.1 + AS 9.1 U2 installed in the same server with the DS 6.3 installed remotly. I installed the following components for the AM
*[X] 1. Access Manager Core Services
*[X] 2. Access Manager Administration Console
*[X] 3. Common Domain Services for Federation Management
*[X] 4. Access Manager SDK
yes, the Application server is up and running before I start the installation of IM and the access manager is working fine, do you know why I am getting this error?
p.s. i tried to set those variable in the following file (/etc/opt/SUNWam/config/AMConfig.properties) but i got the same error
com.sun.identity.agents.app.username=amadmin
com.iplanet.am.service.password=encrypted password
thanks a lot guysI give up finding the problem....i will re-install AM, these are the questions that the installer will ask, are my values ok ?
*[X] 1. Access Manager Core Services
*[X] 2. Access Manager Administration Console
*[X] 3. Common Domain Services for Federation Management
*[X] 4. Access Manager SDK
Specify Common Server Settings
Enter Host Name [convergence] {"<" goes back, "!" exits}
Enter DNS Domain Name [domain.com] {"<" goes back, "!" exits}
Enter IP Address [192.168.2.82] {"<" goes back, "!" exits}
Enter Server admin User ID [admin] {"<" goes back, "!" exits}
Enter Admin User's Password (Password cannot be less than 8 characters) []
{"<" goes back, "!" exits}
Confirm Admin User's Password [] {"<" goes back, "!" exits}
Enter System User [root] {"<" goes back, "!" exits}
Enter System Group [root] {"<" goes back, "!" exits}
Access Manager: Specify Configuration Information
Install type (Realm/Legacy) Mode [Legacy] {"<" goes back, "!" exits}:
Administrator User ID: amAdmin
Administrator Password [] {"<" goes back, "!" exits}:
Retype Password [] {"<" goes back, "!" exits}:
LDAP User ID: amldapuser
LDAP Password [] {"<" goes back, "!" exits}:
Retype Password [] {"<" goes back, "!" exits}:
Password Encryption Key [gdtrt576ythjgut7erehejr8] {"<" goes back,
"!" exits}:
Access Manager: Choose Deployment Container
1. Sun Java(TM) System Application Server
2. Sun Java(TM) System Web Server
Select the container to deploy the component and hit enter key [1] {"<" goes
back, "!" exits} 1
Access Manager: Specify Sun Java System Application Server
Installation Directory [opt/SUNWappserver/appserver] {"<" goes back, "!"
exits}: /opt/SUNWappserver
Instance Directory [var/opt/SUNWappserver/domains/domain1] {"<" goes back,
"!" exits}: /opt/SUNWappserver/domains/domain1
Access Manager Runtime Instance [server] {"<" goes back, "!" exits}:
Access Manager Instance Port [8080] {"<" goes back, "!" exits}: 80
Document Root [var/opt/SUNWappserver/domains/domain1/docroot] {"<" goes
back, "!" exits}: /opt/SUNWappserver/domains/domain1/docroot
Administrator User ID [admin] {"<" goes back, "!" exits}:
Administrator Password [] {"<" goes back, "!" exits}:
Master Password [] {"<" goes back, "!" exits}:
Administrator Port [4849] {"<" goes back, "!" exits}: 4848
Secure Server Instance Port [No] {"<" goes back, "!" exits}:
Secure Administration Server Port [Yes] {"<" goes back, "!" exits}:
Access Manager: Specify Web Container for Running Access Manager Services
Host Name [convergence.domain.com] {"<" goes back, "!" exits}:
Services Deployment URI [amserver] {"<" goes back, "!" exits}:
Common Domain Deployment URI [amcommon] {"<" goes back, "!" exits}:
Cookie Domain(Assure it is not a top level domain) [.domain.com] {"<" goes
back, "!" exits}:
Password Deployment URI [ampassword] {"<" goes back, "!" exits}:
1. HTTP
2. HTTPS
Console Protocol [1] {"<" goes back, "!" exits}:
Access Manager: Choose Access Manager Console
Administration Console [Yes] {"<" goes back, "!" exits}:
Console Deployment URI [amconsole] {"<" goes back, "!" exits}:
Access Manager: Specify Directory Server Information
Directory Server Host [] {"<" goes back, "!" exits}: mail.domain.com
Directory Server Port [389] {"<" goes back, "!" exits}:
Directory Root Suffix [dc=domain,dc=com] {"<" goes back, "!" exits}:
Directory Manager DN [cn=Directory Manager] {"<" goes back, "!" exits}:
Directory Manager Password [] {"<" goes back, "!" exits}:
Access Manager: Specify Directory Server Data
Is Directory Server provisioned with user data [No] {"<" goes back, "!"
exits}?
Ready to Install -
Error while obtaining JCO connection when creating JCO connection
Hey,
im having a problem when creating a JCO connection in the Web Dynpro Content Administrator. Creating the Modeldata (Application Data Data type) JCO Worked but when creating the JCO for the RFC Metadata (Dictionary Meta data) there is a problem:
In step 3.2 Msg server connection I cannot specify a system name and logon group, only the message server can be selected with the dropdown box.
After pushing the finish button i get the following stacktrace:
Failed to create new JCO client connection WD_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150) at
com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:356) at
com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at
com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at
com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at
com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at
com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at
com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649) at
com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59) at
com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248) at
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154) at
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116) at
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at
com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at
com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at
com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.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:95) at
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160) Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for WD_RFC_METADATA_DEST at
com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:664) at
com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:508) at
com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248) at
com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:222) at
com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:101) at
com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:148) ... 30 more Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:558) ... 35 more
We are running WebAS 640 SP 14 on Unix.
Greetings,
Hannes
Message was edited by: Hannes DeflooHi
Please configure your SLD. Your SLD holds the system definition. Define a SAP WebAS abap system and then try to create a Metadata connection using WebDynpro content administrator. Now you will be able to see the msg server defined in the dropdown. Also ensure that you have the message server entry in your services file.
Refer these links for SLD
http://help.sap.com/saphelp_nw04/helpdata/en/c9/dc37520bdf4b48bb8f6d4329f073d5/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/24/8fa93e08503614e10000000a114084/content.htm
Hope that helps.
regards
Ravi -
Error while invoking Create Applicant api thru apps adapter
Hi All,
We are trying to invoke Create Applicant API(hr_applicant_api.create_applicant) thru apps adapter but we are getting below error message - (we are using ebs 12.1.1 and soa 11.1.1.3)
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PFCCreateIRCApplicantEbizAPI' failed due to: Stored procedure invocation error. Error while trying to prepare and execute the APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE.HR_APPLICANT_API$CREATE_APPLI API. An error occurred while preparing and executing the APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE.HR_APPLICANT_API$CREATE_APPLI API. Cause: java.sql.SQLException: ORA-20001: PER_????_PER_INV_COR_LANG ORA-06512: at "APPS.HR_APPLICANT_API", line 867 ORA-06512: at "APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE", line 136 ORA-06512: at line 1 ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>ORA-20001: PER_????_PER_INV_COR_LANG ORA-06512: at "APPS.HR_APPLICANT_API", line 867 ORA-06512: at "APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE", line 136 ORA-06512: at line 1
below is the input to api -
<db:P_DATE_RECEIVED>
2011-10-10T00:00:00.000+05:30
</db:P_DATE_RECEIVED>
<db:P_BUSINESS_GROUP_ID>
1994
</db:P_BUSINESS_GROUP_ID>
<db:P_LAST_NAME>
Alam
</db:P_LAST_NAME>
<db:P_PERSON_TYPE_ID>
6252
</db:P_PERSON_TYPE_ID>
<db:P_PER_COMMENTS/>
<db:P_DATE_OF_BIRTH>
1981-01-01T00:00:00.000+05:30
</db:P_DATE_OF_BIRTH>
<db:P_EMAIL_ADDRESS>
[email protected]
</db:P_EMAIL_ADDRESS>
<db:P_EXPENSE_CHECK_SEND_TO_ADDRES>
</db:P_EXPENSE_CHECK_SEND_TO_ADDRES>
<db:P_FIRST_NAME>
Irfan
</db:P_FIRST_NAME>
<db:P_MARITAL_STATUS>
S
</db:P_MARITAL_STATUS>
<db:P_MIDDLE_NAMES/>
<db:P_NATIONAL_IDENTIFIER>
</db:P_NATIONAL_IDENTIFIER>
<db:P_PREVIOUS_LAST_NAME>
</db:P_PREVIOUS_LAST_NAME>
<db:P_SEX>
M
</db:P_SEX>
<db:P_TITLE>
Mr
</db:P_TITLE>
<db:P_WORK_TELEPHONE/>
<db:P_PER_INFORMATION_CATEGORY>
AE
</db:P_PER_INFORMATION_CATEGORY>
<db:P_PER_INFORMATION18>
205
</db:P_PER_INFORMATION18>
<db:P_BACKGROUND_CHECK_STATUS>
</db:P_BACKGROUND_CHECK_STATUS>
<db:P_BACKGROUND_DATE_CHECK/>
<db:P_CORRESPONDENCE_LANGUAGE>
English
</db:P_CORRESPONDENCE_LANGUAGE>
<db:P_HOLD_APPLICANT_DATE_UNTIL/>
<db:P_MAILSTOP>
</db:P_MAILSTOP>
<db:P_OFFICE_NUMBER/>
<db:P_RESUME_EXISTS>
Y
</db:P_RESUME_EXISTS>
<db:P_RESUME_LAST_UPDATED>
0011-09-28T00:00:00.000+05:30
</db:P_RESUME_LAST_UPDATED>
<db:P_STUDENT_STATUS/>
<db:P_WORK_SCHEDULE>
</db:P_WORK_SCHEDULE>
<db:P_TOWN_OF_BIRTH/>
<db:P_REGION_OF_BIRTH>
</db:P_REGION_OF_BIRTH>
<db:P_COUNTRY_OF_BIRTH/>
Thanks in Advance,
Rakesh.> 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
> 2009-05-29 12:17:55 Error 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.
This is a generic error message which does not have any information about the error which has occurred.
Do you see any error messages in the SOAP client?
Regards
Stefan
Maybe you are looking for
-
Break points are not triggering in RFC from portal application
Helllo, I am running Biller Direct application from portal, which is triggering a standard SAP RFC FM back end, am trying to debug my execution from portal, for this i put the External Break point, Session break-poiint at the beginning of this SAP RF
-
Hi ALL, I have a problem in transaction CV02N. Actually i am an ABAPER, but i need some help of PP Guys. The requirement is as follows:- The client says that they have uploaded a '.PS' file into the transaction cv02n.Here in the first sc
-
Jpeg photos look fuzzy - do you know why?
Hi, I've imported several jpeg photos into FCE and put them in my timeline. When my playhead is over the picture, the image looks perfect in the canvas window, but when I hit play, the picture in the canvas window gets fuzzy regardless of whether the
-
I have bought Adobe Photoshop Elements 10 and Photoshop Premiere Elements 10.
My husband installed it on the laptop pc. And I wanted to install it on the mac. I am getting error messages. How many computers can I install this product to?
-
Posting this to the Exchange forum because I'm hoping there's a server-side solution. SOME emails received from an external sender (gmail.com address, not sure the mail client) are causing Outlook 2010 to hang when trying to open the email. Outlook