Ep5.0 ? what jar file is the com.sap.security.api package in ?
Hi ,
Can i know , in Ep5.0 , what jar file has com.sap.security.api ? Please reply soon...
Thank you ,
avinash
so , is there a procedure for me to use the Ep5.0 API and retrieve details from the data sources (for usermapping) ?
Please reply me soon....
thank you,
avinash
Similar Messages
-
after PI-Upgrade to NW-PI-731-SP07, executing the PI-configuration wizard:
step 126 of 162
Assign SLD Data Supplier user to Group SAP_SLD_DATA_SUPPLIER (local SLD)
Error:
Group found, but unique name "SAP_SLD_DATA_SUPPLIER" is not unique!
Execute Java Service
Library: sap.com/tc~lm~ctc~util~core_ear
Class: com.sap.ctc.util.core.services.UserFacade
Method: void com.sap.ctc.util.core.services.UserFacade.addUserToGroup(java.lang.String, java.lang.String)
Arguments (2)
userName : SLD_DS_EXE
groupName : SAP_SLD_DATA_SUPPLIER
InvokeService- Result: ERROR
Refresh Env. Messages: false
Duration: 1.936 sec
Library Info
Default Trace
Exception Class: com.sap.security.api.DuplicateKeyException
Exception Message: Group found, but unique name "SAP_SLD_DATA_SUPPLIER" is not unique!
com.sap.security.api.DuplicateKeyException: Group found, but unique name "SAP_SLD_DATA_SUPPLIER" is not unique!
at com.sap.ctc.util.infra.rfc.BaseConfig.dispatchException(BaseConfig.java:230)
at com.sap.ctc.util.core.services.impl.ume.java.GroupJavaImpl.verify(GroupJavaImpl.java:121)
at com.sap.ctc.util.core.services.impl.ume.DualGroupImpl.verify(DualGroupImpl.java:118)
at com.sap.ctc.util.core.services.content.ume.UserService.addToGroup(UserService.java:725)
at com.sap.ctc.util.core.services.UserFacade.addUserToGroup(UserFacade.java:288)
what to do?
============
o.k.
https://service.sap.com/sap/support/notes/1016283
first run the UME consistency check => found some inconsistency => did repair UME
then run again UME consistency check => found no more inconsistency !!
the again - try to run the PI-Upgrade-Wizard => but again error on executing .....see this sap-notes:
http://service.sap.com/sap/support/notes/1617234
http://service.sap.com/sap/support/notes/1661135
http://service.sap.com/sap/support/notes/1678815
http://service.sap.com/sap/support/notes/1626747 -
Can't find jar file which contains com.sap.portal.directory - Constants
Hi,
I am not able to find a jar-file which contains the Constants class of com.sap.portal.directory.
Does anybody know where to find it?
Thank you in advance.
Kind regards, Patrick.Hi,
Refer this link
Using JAR Class Finder
in the server u can find the jar files required for the application....
C:usrsapJ2EJC00j2eeclusterserver0appssap.comirjservlet_jspirj
ootWEB-INFportal
Regards,
Senthil K. -
How to get com.sap.security.api.iuser
Hi,
I have the following problem in WD:
I have the ume id of a user. (let it be "userUmeId")
I need to get the IUser instance.
I tried the following:
IWDClientUser user = WDClientUser.getClientUser("userUmeId");
IUser iUser = user.getSAPUser();
I am getting the current user instead of getting the IUser of "userImeId:.
Could it be that WDClientUser.getClientUser() should get another string? (I know it returns the current user in case it fails to find a matching user for the given string).
How then do I get the desired IUser?
Regards,
Oren.Hi Buddy,
just try this
IWDClientUser user= null;
user = WDClientUser.getCurrentUser();
String name= user.getSAPUser().getUid();
this method is depricated but works..
still you can try
user.getSAPUser().getUniqueID(); -
What jar file contains javax.naming service?
Hi,
Back so soon.
Does anyone know what jar file contains the javax.naming services used for JNDI?
Thanks,
EveretteHi..
There's a good utility called jarscan.. I use it a lot, especially since wls 10 where lots of stuff's been moved around.. -
How to call a jar file for the dynamic menu
hi ,
I am using JDEV 11.1.2.2.0 version.
My problem is this,
when dynamic tree populate using java bean class(data come from the table)
how can we call a jar files(seperate projects jars) to each link of the tree.
plz help...
-Harsh-Hi,
projects are a design time functionality. So what is the use case? I it is a Java object stored in the JAR file then you would configure this JAR file in the ViewController project library section (project properties)
Frank -
Where do I put the .jar file for the database connection?
I am trying to connect to an Oracle 11g database. I see under the coldfusion settings summary that the java version is 1.7.0_55. So I downloaded the ojdbc7.jar file from Abode.com. Now the question is where do I put it so that coldfusion can access it?
Of course I need to set up the database connection (which I still don't have the connection string for), but I still need to know where to put the ojdbc.jar file.
Thanks.jasonwryan wrote:What does the man page say?
The program has builtin defaults and temperature thresholds but users
can specify their own settings in configuration files
/etc/default/i8kmon and ~/.i8kmon. The daemon defines 4 states with
different fan speeds ({0 0}, {1 0}, {1 1}, {2 2}) and for each state
are defined the temperature thresholds which cause the switching to a
higher or lower state. Furthermore each state can have different
thresholds for operation on ac power or battery. For example the fol‐
lowing configuration:
I've put the following file in /etc/default/i8kmon:
# Run as daemon, override with --daemon option
set config(daemon) 0
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 1
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0) {{-1 0} -1 50 -1 50
set config(1) {{-1 1} 50 70 50 70}
set config(3) {{-1 2} 70 128 70 128}
But it doesn't seem to do anything. I'm running a Dell Inspiron 3521 with no dedicated GPU, so it only has one fan. I was somehow able to get i8kmon to work in Ubuntu by putting this config in /etc/i8kmon, but can't get it to work in Arch. Putting it in /etc/i8kmon and /etc/default/i8kmon doesn't do anything. -
How do I add a jar file into the build path of the compiler?
Hey,
I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
I think I don't add it right...
ArrayList<String> options=new ArrayList<String>();
options.add("-d");
options.add(targetDirectory);
options.add("-classpath");
for(String str:includeDirectory)
options.add(str);
if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
....and I've tried this way:
public void setTargetDirectory(String targetDirectory) {
this.targetDirectory = "-d " + targetDirectory;
private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
ArrayList<String> options = new ArrayList<String>();
options.add(targetDirectory);
String classPath="-cp ";// tried this also with "-classpath"
for (String str : includeDirectory)
classPath+=str+":";
options.add(classPath);
if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
// throw new Exception("Compilation Error");
}Thanks in advance,
Adam.
Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
Edited by: Adam-Z. on Feb 24, 2010 5:42 AMThank you for your reply,
Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
j2MeDataChunkGenerator_Plugin\(lots of class files)
META-INF\manifest.mf
and thats it.
, your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
{code}
System.err.println(" Error details: " + diagnostic.getMessage(null));
{code}
Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
the last file on the classpath list.
Q: Have you proven this? that i did post, in this long line of text.
Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
Thanks,
Adam. -
How to open a .JAR file on the Z30
Hi,
Would anyine know how to open a .JAR file on the Z30?
I get a message saying "Unable to open" when I click on the .jar file i want to open in my blackberry & install.
Cheers
MarioJAR files are for older java phones, they dont work on BB10
maybe you should look into using SNAP to get some apps yoru looking for
http://supportforums.blackberry.com/t5/Downloaded-Applications-for/You-Upgraded-to-OS-10-2-1-and-wan...
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
BESAdmin's, please make a signature with your BES environment info.
SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
Want to thank me? Buy my KnottyRope App here
BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V -
JDev 10.1.3.4
BIPub 10.1.3.4 Build 129 desktop
I have a series of reports with graphs which work by calling the xdo engine from a JDev designed web app. Worked fine with the previous version 562.
I just upgraded the desktop tool and rebuilt an old graph. The tables work, but the graphs/charts do not. I assume it is a jar / lib compatibility issue.
What jar files do I need to include in the project? What precedence do they need?
Also, what is the difference between setting a library reference and putting the jar files in the Web INF directory?
Thanks.
SteveJust wanted to add to this ... I loaded BIPub Server 10.1.3.4 where I extracted the xdocore.jar from to put in my project. The report previews fine in there, both graphs and tables. Also works in Word.
When I use the following code (which worked fine in previous version) the pdf opens with the table and an empty chart.
Any ideas??
Steve
public String getPDF(java.sql.Connection jdbcConnection, String sqlOrDataXMLpath,
Hashtable parameters,String templateXMLpath,OutputStream streamOut,
String flgType)
// create PDF and save in output path
// flgType SQL or DD for sql or datadef
// return error string if error
try //convert rtf template to xsl
// First store the xsl in a byte array input stream
ByteArrayOutputStream xslOut = new ByteArrayOutputStream();
RTFProcessor rtfProcessor = new RTFProcessor(templateXMLpath);
rtfProcessor.setOutput(xslOut);
rtfProcessor.process();
byte[] b = xslOut.toByteArray();
bais_xsl = new ByteArrayInputStream(b);
// Next store the data in a byte array input stream
ByteArrayOutputStream dataOut = new ByteArrayOutputStream();
DataProcessor dataProcessor = new DataProcessor();
dataProcessor.setConnection(jdbcConnection);
if (flgType.equals("SQL"))
{ dataProcessor.setSql(sqlOrDataXMLpath); }
else
{ dataProcessor.setDataTemplate(sqlOrDataXMLpath); }
dataProcessor.setParameters(parameters);
dataProcessor.setOutput("c:\\\\temp\\\\Test.xml");
dataProcessor.processData(); //data is now in a file for debug
if (flgType.equals("SQL"))
{ dataProcessor.setSql(sqlOrDataXMLpath); }
else
{ dataProcessor.setDataTemplate(sqlOrDataXMLpath); }
dataProcessor.setParameters(parameters);
dataProcessor.setOutput(dataOut);
dataProcessor.processData(); //data is now in dataOut stream
b = dataOut.toByteArray();
bais_data = new ByteArrayInputStream(b);
// now do document merge
FOProcessor processor = new FOProcessor();
processor.setData(bais_data);
processor.setTemplate(bais_xsl);
processor.setOutput(streamOut);
processor.setOutputFormat(FOProcessor.FORMAT_PDF);
processor.generate();
catch (IOException e)
System.out.println("IOException:getPDF " + e.getMessage());
catch (XDOException e)
System.out.println("XDOException:getPDF: " + e.getMessage()) ;
catch (SQLException e)
System.out.println("SQLException:getPDF: " + e.getMessage()) ;
return("Success");
Edited by: user6357416 on Oct 24, 2008 11:55 AM -
Which jar file has the class TaskFlowBindingAttributes?
Hi,
I'm using JDeveloper version - 11.1.1.6
I want to know which jar file consists the TaskFlowBindingAttributes class?
I looked into following location - JDEV_HOME\oracle_common\modules\oracle.adf.controller_11.1.1\ and didn't find this class in jar files located here. (adf-controller.jar, adf-controller-api.jar and adf-controller-rt-common.jar)
Any inputs would be helpful.
Thanks
RaviHi,
I found it in ADF 11g R2 documentation - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm#insertedID10
I guess this is 11g R2 feature.
I have a requirement to display the multiple regions dynamically. This feature suits my requirement perfectly, but unfortunately it is not available in 11g R1.
Can we achieve the similar functionality in 11g R1 through other means?
Thanks
Ravi -
Can a unsigned jar file access the tmpdir (java.io.tmpdir)?
Hello, according to the JNLP tutor, a signed jar file can access the local file system, but a unsigned one can not. My question is, can a unsigned jar file access the temp directory (the system property java.io.tmpdir)? I think the temp directory should be accessible even though it is part of the local file system.
Thanks,
LyLino - unsigned application has no read/write access to the temp dir, but you can use the jnlp api to read and write files with the users permssion.
see: http://java.sun.com/javase/6/docs/jre/api/javaws/jnlp/index.html for FileOpenService, FileSaveService, and ExtendedService.
/Andy -
How to access the database jar file using the derby 10.2.1.6 database ?
Hi,
How to access the database jar file using the derby 10.2.1.6 database ?
I have used like below. And i am getting the following the error:
"org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.apache.derby.jdbc.EmbeddedDriver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)"
My context.xml file looks like this:
<Context crossContext="true">
<Resource name="jdbc/derby" auth="Container"
type="javax.sql.DataSource" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:jar(\CalypsoDemo\database.jar)samples"
username="xxx" password="xxx" maxActive="20" maxIdle="10"
maxWait="-1"/>
</Context>
What could be the reason.?
Any suggestions will be appriciated.
Thanks in Advance,
Gana.ya, I have restarted. Can you please tell me whether the path which i am giving is right or not in the context file?
Thanks,
Gana. -
Deploying external jar files to the server
Hi,
How can I deploy the external jar files belonging to a simple webdynpro project(no DC) so that it is also available durng the runtime.
I have no direct access to the WAS server and I am looking for means to deploy directly from NWDS.
Regards,
Meesumhi meesum,
There is no direct things to do that. All u need to do is keep the jar files into the lib folder of webdynpro project and also add it from the build-path/classpath by right clicking the project.
1. Go to navigation perspective
2. get into the project\lib folder of the your project. copy the jar files into it
4. right click on the project
5. click on properties
6. click on java build path
7. go to libraries tab
8. click on Add Jars button
9. select the jar in you r project
10. click ok
11. recompile
12. deploy
Hope you got what you want...
Thanks & Regards,
Raghavendra Pothula -
Including jars file to the classpath using javac
Hi
I'd like to compile a file including a jar file to the classpath.
In wich way is it possible?Click on the appropriate operating system for the item "Setting the Classpath"
at http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html
Maybe you are looking for
-
5508 WLC on 7.4MR2- Clients getting Disconnected using CWA
We are experiencing an issue with clients getting disconnected/time out from a wlan doing CWA. The clients are iphones. A debug client shows the error(Unknown Policy Timeout). This particular WLAN is used for provisioning with ISE. ISE shows the us
-
Change a int into a char or unhash a string hash
i need to know how to do one of the things in my title thanks :)
-
Firewire 400 to 800 to Thunderbolt
I have a new Macbook pro with only thunderbolt ports. Is there a 400 to thunderbolt cable? Or do I have to use the 400 to 800 and then the 800 to thunderbolt cable?
-
I've found a workaround and now his bookmarks are back in order by date added, but they are reversed, i.e., the last bookmark is at the top. For those wanting the workaround (as I see this question was never properly answered) I opened "Show all Book
-
CS5 16-bit printing problem... seriously, still?!?
I just finally broke down and upgraded to CS5 and Snow Leopard after hearing about the no color management utility released last year. I kinda figured the 16-bit printing problems would have been fixed in CS5 as well, but at least for me they haven'