Jar files for TinyMCE editor
Hello friends,
I'm trying to integrate TinyMCE editor in our new 7.3 Portal WPC. As part of process, I downloaded the 'How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer_Code.zip' file and followed instructions. However, my NWDS project is missing following JAR files and I can't find them anywhere.
tc.km.frwk.jar
com.sap.nw.pcc.xmleditor.jar
I checked with my Basis team and they are clueless as well. Could you help me find these jar files? Appreciate your timely help.
Thanks,
Vishwas.
Hi
Open the .zip file you downloaded (How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer_Code.zip or sth like that) with your zip software.
- Chose the Folder: TinyMCEEditorComponent
- Here you find a file called .classpath
- Open this file with your texteditor and delete the following two lines towards the end with:
<classpathentry exported="true" kind="lib" path="//production2.....com.sap.nw.pcc.xmleditor.jar"/>
<classpathentry exported="true" kind="lib" path="//production2...../_kmfrwk/tc~km~frwk.jar"/>
- close the file and save your changes
- now you can import the .zip into your NWDS, make changes when needed and deploy it to your portal
BR
Christophe
Similar Messages
-
How to make .jar file for a multiple class program
I have a code for a chat room that contains two folders , one for Server and one for Client
What I need is to create a jar file for the server and a jar file for the clients
but here the first problem , I have a file that named (SocketMessengerConstants.class) that is located outside the two folders and is being read by the two projects .
I mean the server uses it while running and the client uses it too .
the second problem is : I don't know how to create a jar file at all !
please tell me how to do it in detail
Thank youChuckBing wrote:[Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
I tried to read this tutorials before I come here but I couldn't understand it
can you please tell me a specific steps to follow instead of the explaining .. because I understand the explanation but I can't apply it -
How to create a .jar file for the BPEL project
hi all,
how can i create a .jar file for my BPEL project, i am trying to deploy the project but getting an error :
"Error: [Error ORABPEL-10902]: compilation failed [Description]: in "C:\OraBPELPM\integration\jdev\jdev\mywork\Workspace_BPELDemo\BPEL_Report\BPEL_Report.bpel", XML parsing failed because "". [Potential fix]: n/a. "
and when doubel cliking on this error Jdev take me to the beginning of the ".bpel" file.
I 'm really stuck in here i am not able to deploy the process!
Thanks,
RanaRana:
If you haven't already, I would post this question in the BPEL forum. I would expect a much better turnaround there.
Johnny Lee -
Hi,
I have an applet application that i want to deploy on the Oracle cloud.
So i have created a jar file for the applet application and i am using this jar to call the applet on a jsp page.
But when i am delpoying my application on the java cloud, its giving me the below error:
2014-10-28 03:16:41 CDT: Starting action "Virus Scan"
2014-10-28 03:16:41 CDT: Virus Scan started
2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
2014-10-28 03:16:49 CDT: File Scanned: "Application7.ear".
2014-10-28 03:16:49 CDT: File Size: "106698122".
2014-10-28 03:16:49 CDT: File Status: "INFECTED".
2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
2014-10-28 03:16:49 CDT: Virus scan failed.
2014-10-28 03:16:49 CDT: "Virus Scan" complete: status FAILED
Can't we deploy any application having applet or swing component's onto the cloud?
Or do we need to request for any extra permissions for the same?
Thanks,
ManojI don't see applets mentioned in the supported features nor in the unsupported features so not sure if they are supported you would likely need to contact the operations team to confirm.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Include an in-memory jar file for JSR-199 compilation
I want to compile a source file in memory, which requires a jar file that is also represented in memory. I used the JavaSourceFromString class recommended in the documentation for the class JavaCompiler and in a demo I found online that shows how to compile sources represented as String in memory. To represent the jar file, I used a similar trick to JavaSourceFromString:
public class JarJavaFileObjectFromByteArray extends SimpleJavaFileObject {
* The contents of this jar file.
private final byte[] contents;
* Constructs a new JarJavaFileObjectFromByteArray given the name and binary
* contents of a jar file.
* @param name the name of this jar file
* @param contents the contents of this jar file
public JarJavaFileObjectFromByteArray(String name, byte[] contents) {
super(newURI(name), Kind.OTHER);
this.contents = contents;
... // code not shown ensures that the URI returned from newURI is of the form,
// for instance, bytes:///MathConstants.jar, if the name of the jar file is MathConstants.jar
@Override
public InputStream openInputStream() throws IOException {
return new ByteArrayInputStream(contents);
}However, I do not know how to alert the compiler that this jar file should be on the classpath. I tried this:
List<String> options = Arrays.asList(" -classpath bytes:///MathConstants.jar ");
CompilationTask task = compiler.getTask(null, fileManager, null, options, null, compilationUnits);but I get the following error when calling getTask:
java.lang.IllegalArgumentException: invalid flag: -classpath bytes:///MathConstants.jarI assume there is some way to tell the compiler, "look at the MathConstants.jar file that I am storing in memory when searching the classpath", but I do not know how to do this. I assumed that the options parameter for getTask represents command-line flags that would be passed to the compiler if this were happening on the command line (such as "-cp .", which also does not work), but perhaps this assumption is wrong.Hi Bruce,
I have a question regarding loading a jar file by the compiler to dynamically compile with a source file. I hope you can probably offer me an idea on what has been missing or wrong with the source codes I have written for my application.
I am using Eclipse compiler to dynamically compile a class. In the class, I want it to make a reference to a jar file for compilation dynamically.
Here is the source of a test class I wrote:
import javax.servlet.http.HttpServlet;
class MyServlet extends HttpServlet {
}The import statement refers to the class javax.servlet.http.HttpServlet from the jar file C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar placed in the file system.
In the method called compileClass (shown below), I used the path of the jar file to add to the option -classpath as you suggested.
private static CompileClassResult compileClass(Writer out, String className, String classSource) {
try {
JavaCompiler javac = new EclipseCompiler();
StandardJavaFileManager sjfm = javac.getStandardFileManager(null, null, null);
SpecialClassLoader scl = new SpecialClassLoader();
SpecialJavaFileManager fileManager = new SpecialJavaFileManager(sjfm, scl);
List<String> options = new ArrayList<String>();
options.addAll(Arrays.asList("-classpath", "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar"));
List<MemorySource> compilationUnits = Arrays.asList(new MemorySource(className, classSource));
DiagnosticListener<JavaFileObject> diagnosticListener = null;
Iterable<String> classes = null;
if (out == null) {
out = new PrintWriter(System.err);
JavaCompiler.CompilationTask compile = javac.getTask(out, fileManager, diagnosticListener, options, classes, compilationUnits);
boolean res = compile.call();
if (res) {
//Need to modify the api to return an array of two elements - one classes and other bytecodes for all classes in the same class file.
return CompileClassResult.newInstance(scl.findClasses(), scl.findByteCodes());
} catch (Exception e) {
e.printStackTrace();
return null;
}I also extended the class ForwardingJavaFileManager as you suggested and have it delegated to the StandardJavaFileManager sent to the compiler mentioned in the method compileClass above. The extended class (called SpecialJavaFileManager) is as follows:
public class SpecialJavaFileManager extends ForwardingJavaFileManager<StandardJavaFileManager> {
private SpecialClassLoader xcl;
public SpecialJavaFileManager(StandardJavaFileManager sjfm, SpecialClassLoader xcl) {
super(sjfm);
System.out.println("SpecialJavaFileManager");
this.xcl = xcl;
public JavaFileObject getJavaFileForOutput(Location location, String name, JavaFileObject.Kind kind, FileObject sibling) throws IOException {
System.out.println("getJavaFileForOutput");
MemoryByteCode mbc = new MemoryByteCode(name);
xcl.addClass(name, mbc);
return mbc;
public Iterable<JavaFileObject> list(JavaFileManager.Location loc, String pkg, Set kinds, boolean recurse) throws IOException {
System.out.println("list ");
List<JavaFileObject> result = new ArrayList<JavaFileObject>();
for (JavaFileObject f : super.list(loc, pkg, kinds, recurse)) {
System.out.println(f);
result.add(f);
return result;
}I run the application and the result shows that it didn't load the jar file into the memory as expected. From the output (below) I got, it doesn't seem to invoke the method list(...) in the class SpecialJavaFileManager.
SpecialJavaFileManager
1. ERROR in \MyServlet.java (at line 1)
import javax.servlet.http.*;
^^^^^^^^^^^^^
The import javax.servlet cannot be resolved
2. ERROR in \MyServlet.java (at line 3)
class MyServlet extends HttpServlet {
^^^^^^^^^^^
HttpServlet cannot be resolved to a typeWould you please let me know what has possibly be missing or wrong?
Thanks.
Jonathan
Edited by: jonathanlam on Aug 10, 2009 6:47 PM -
Hello,
I am not able to locate the Jar files for using BRM API's. I have tried searching the forum and did not find the name or location from where I can get them. If they are available on the server I could ask the basis team to give me a copy. Any help would be greatly appreciated.
Regards
PreetamHi Adam,
I have created a New EJB Project for my proxy development. This is the usual way I develop proxies for any given service interface created in ESR. Now i am not sure how to create a dependency with the BRMS facade. If i find the jars i can add it as an external library when compiling.
Can you explain a bit more about what you ment by "developing the java proxy in a development component", how did you accomplish this when creating a proxy for a service interface?
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/e2/3620cef55842cca4632664212f31b1/content.htm?frameset=%2Fen%2F81%2F097529e0e545e58bb2d7a34e4d0a2a%2Fframeset.htm -
JAR files for SQLJ and JDBC drivers: what is the best practice?
starting a migration from IAS 10 to WebLogic 11g.
Apparently the jar files for SQLJ are not on the classpath by default.
java.lang.NoClassDefFoundError: sqlj/runtime/ref/DefaultContextwhich is the better practice: putting the SQLJ runtime jar into the lib subdirectory of the domain directory, or using a shared library reference? (usage of SQLJ is pretty prevalent in our apps, though we may be getting away from it)
are the Oracle JDBC drivers on the classpath by default?
if not, then the same question: put them into the lib subdirectory of the domain directory, or use a shared library reference?I'm looking at the setDomainEnv, especially the big note at the top:
>
# WARNING: This file is created by the Configuration Wizard.
# Any changes to this script may be lost when adding extensions to this configuration.
>
and am getting squeamish about editing it...
http://www.bea-weblogic.com/how-do-i-disable-wls-automatically-adding-to-classpath.html looks like the default behaviour is for WebLogic to put $DOMAIN/lib;$WL_HOME/common/lib/ext;$WL_HOME/server/lib/ext on the classpath; there is also a reference to setting weblogic.ext.dirs= when starting weblogic (which means I set the WEBLOGIC_EXTENSION_DIRS environment variable).
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/libraries.html#wp1067450 also refers at the bottom to using the domain /lib subdirectory.
so am I correct that a good practice is to just put the jars I think I will globally need into $DOMAIN/lib, rather than putting them in $WL_HOME/common/lib/ext, $WL_HOME/server/lib/ext, or fiddling with the WEBLOGIC_EXTENSION_DIRS environment variable?
Edited by: user8652010 on Feb 10, 2011 1:08 PM -
How to use 3rd party jar files for xml transform
Hi all,
Am using OAS9.0.4 and I deployed my .ear successfully.
In my application am using 4 jar files for xml transformation. (xerces.jar, xalan.jar, xml-apis.jar,xercesImpl.jar)
OAS has its own xmlparserv2.jar file. Its using this jar file for transforming xml data and not even looking for above mentioned 4 jar files.
In opmn.xml, I provided these 4 jar files in to class path. Then also it didn't effect my output.
I also tried as put these 4 jar files into j2ee\home\applib directory, but o result.
Can anybody tell me where should I keep these 4 jar files in OAS and OAS should use these 4 jar files instead of its own xmlparserv2.jar for transforming data.
Thanks in Anticipation,
Regards,
RKAdd the Xbootclasspath variable in the java-options field. It will somewhat look like the following in your opmn.xml file
<process-type id="<OC4J Instance Name>" module-id="OC4J">
<module-data>
<category id="start-parameters">
<data id="java-options value="........... -Xbootclasspath^/a:<location of your jar files>" />
Ensure to use th ^/a (append) signature
Regards,
Chirag -
Jar files for Didgital Signing
Hi All,
I have a requirement where I need to Access to Keystore for Digital signing an XML payload. I am using the example in the SAP help link - Link: [Using Digital Signatures|http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm]
I have already imported the following jar files (aii_af_cci.jar,aii_af_cpa.jar,aii_af_mp.jar, aii_af_ms_api.jar, aii_af_ms_spi.jar, aii_af_svc.jar, aii_af_trace.jar, aii_security_lib.jar, aii_security_interface.jar, iaik_jce.jar, tc_sec_ssf.jar).
The code has the following import statements:
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
import com.sap.aii.af.service.auditlog.*;
import com.sap.aii.af.service.resource.SAPSecurityResources;
import com.sap.aii.security.lib.KeyStoreManager;
import com.sap.aii.security.lib.PermissionMode;
import com.sap.security.core.server.ssf.SsfProfileKeyStore;
import com.sap.security.api.ssf.ISsfProfile;
import java.io.UnsupportedEncodingException;
But even after the above imports I am still getting errors in resolving the following variables in the code.
KeystoreManager
keyStore
What are import statements or jar files I am missing? and where can i find those jar files for making the example work?
Thanks and Regards,
Arunava
Edited by: Arunava Das on Jun 6, 2008 7:05 PMHi All,
Im working on code which has
import com.sap.security.api.ssf.ISsfProfile
But i couldn't find the jar file for that. I think the the package is "com.sap.security.api.ssf".
Please help me out, where can i get that jar file...?
Warm Regards,
DNK Siddhardha. -
Where is the JMS jar file for CEP?
I cannot find in any jar finder the JMS jar file for CEP.
I mean the jar file which includes com.bea.wlevs.adapters.jms.api.InboundMessageConverter, com.bea.wlevs.adapters.jms.api.OutboundMessageConverter, etc.
Does anybody know the link?
Thanks!Thanks, but it is not there.
I only have the following:
com.bea.core.jsmpool_1.7.0.0.jar
javax.jms_1.1.1.jar
org.springframework.spring-jms_2.5.6.jar
And if I cannot find it there, where could it be?
Thanks! -
Jar file for com.bea.xbean.util.XsTypeConverter
I am using weblogic 10.3.5 I used clientgen to generate java classes for a webservice and a few classes are using the class XsTypeConverter.
I have imported weblogic.jar but it says package does not exist com.bea.xbean.util.XsTypeConverter.
Where can i find the jar file for this under weblogic?
Thanks,Thank you so much for the reply.I have included all the jars you suggested.I could not find wlfulclient.jar in my weblogic home but there was
wlclient.jar so I included that but face the same error.
I used weblogic 10.3.5 clientgen to geberate the java classes then why is it that the classes it uses cannot be found in the same version.
where jar will have the file com.bea.xbean.util.XsTypeConverter.
I have searched a lot on internet but not able to find anything.Please help -
Jar file for com.sapportals.wcm.service.propertyconfig
Hi all,
Where can i find the jar file for <b>com.sapportals.wcm.service.propertyconfig</b>.
<b></b>
If anyone can send that to my mail id(<b>[email protected]</b>) it would be very useful.
Points will be rewarded for helpful answers.
Regards
Rajeev.Hi Rajeev,
the files should be under /usr/sap/<SID>/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.km.cm.service.base
or you can find it in the par file com.sap.km.cm.service.base.par
Regards,
Pascal -
Jar file for starterwebapp||
hello ,
i am trying to run sample web application and could not get the jar file for
import oracle.ifs.common.IfsException;
import oracle.ifs.management.domain.HttpServletNodeUtilities;
import oracle.ifs.management.domain.Server;
from where i can get the required jars
regards
saleem khanrt.jar has it. Pretty much anything java.* is in rt.jar
Rob -
Can we make jar file for simple j2se application
Hi..Can we make a jar file for simple j2se application so that it can be executed on any system like .exe file...
Read the JAR files section in Sun's Java tutorial.
-
Importing jar files for Java mapping ?
Hi Guys,
I am developing a java mapping by using Eclipse. I want to know <b>where can i find the jar files of xi which i need to import into Eclipse to develop the Java Mapping</b>.
I need to use the external jar files for this Java Mapping and once i am done with the mapping, <b>How can import the external .jar files into XI</b>
any hep would be really appreciated
Thanks,
sriniSri,
check <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions's XI FAQ</a> for the location of .jar of mapping API.
<b>5. Where can I find aii_map_api.jar to create my Java mapping?</b>
After you have created your java mapping class, export your project to a .jar file and import this .jar into Imported Archives (under Mapping node) in Integration Repository.
Regards,
Henrique.
Maybe you are looking for
-
Database creation problem on Windows XP
Hello Readers I have installed ORACLE Database Engine on windows XP. I am facing problem in database creation. I have tryed wizard as well as mannual method. in wizard at 90% it gives an error "END-OF-FILE ON COMMUNICATION CHANNEL" although CD drive
-
HT1414 i m restoring my i phone but its showing error 3194. what to do? plz help
i trying to restore my i phone4 for factory settings. but its showing error3194 . what to do? how to trouble shoot
-
Moire effect (shimmering) in Ken Burns effect
My mum (mom to you north americans!) uses iMovie HD to create complex slideshows of photos taken with her Fuji digital still camera. She wants music, Ken Burns animation, nice transitions (variable, depending on the photo), captions and voice overs.
-
Accessing email in a local directory !!
I've been using the Mail app since i have my mac, but a few days ago it stopped working. When I start it, it automatically quits. I've checked that my permissions are correct and I've tried removing and creating a new prefrences file, and neither has
-
Experiencing an error when backing up my iphone 4 after loading the newest software
i just finished downloading the new software via itunes onto my iphone4. There is an error when adding back the backup to the phone. i dont have my apps and my photos, Where did they go?