DownloadService.loadResource for external jars for 1.6.0-19+

First, be kind with my english, i'm french (nobody's perfect...)
I have a JNLP into which i declare a signed jar resource main.jar. This application retreive at execution a list of signed jar names (+a.jar, b.jar+...) that i dynamically load on my need through DownloadService.loadResource. My a.jar, b.jar are cached and it rules! But if i made a new main.jar, a.jar and b.jar, and deploy them on my server, here what's happend:
- main.jar is tested for modification date on server (thanks to "If-Modified-Since" HTTP header), cache date is before this date, so JWS update main.jar by downloading this new main.jar. This is the behaviour described into specs and it is perfect for me!
- but for others resources (a.jar, b.jar) i was excpected the same behaviour but JWS does not seems to check for modification date. So a.jar and b.jar are not updated.
So my first question: Is there a way to tell to DownloadService.loadResource to check for modification date? i could deal with jar version but this basic date checking was great for me...
Except this cache minor problem, external jar download works just fine except i get the warning security problem [Mixing Signed and Unsigned Code |http://java.sun.com/javase/6/docs/technotes/guides/jweb/mixed_code.html].
All my jars are signed with the same certificate, so i was a bit confused.
Anyway, i follow indications and put the Trusted-Only: true attribut into the manifest of main.jar.
But it leads to this exception:
java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://monserveur/a.jar
     at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
     at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
     at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at my.package.a$5.run(a.java:348)
     at java.lang.Thread.run(Unknown Source)I found some posts that deal with similar problems but it does not give me a working solution. The difference seems to be the fact that i load external jars (not defined into JNLP).
My JNLP is validated though JaNeLA.
I cannot set a.jar, b.jar as resources into jnlp because i retreive their location during execution...
My JNLP also declare:
<security>
        <all-permissions/>
</security>I think i'm a bit confused with the sandbox notion and the Trusted-Only: true attribut of the manifest. I also tried to add it to a.jar, b.jar and not main.jar but vainly. I also tried to set it on all jars but it does not work better.
Is there a way to load external jar without having the Mixing Signed and Unsigned Code warning popup? What do i not well understand?
Sorry to be so chatty...
Thanks in advanced for any answer.

So, I finally succed in finding a solution.
But this solution seems perhaps a barbarian way to solve my problem but it works.
The idea (as far as i understand) is that when you define "all-permission" into JNLP file, then these permission are granted for JNLP ClassLoader. When you load external jar through DownloadService.loadResource, then another classloader is used. It seems that this classloader does not inherit security policy from JNLP ClassLoader.
My solution is to define my own policy:
Policy.setPolicy(getAllPermissionPolicy());
    * @return a {@link Policy} with all permission granted
   private Policy getAllPermissionPolicy()
      Policy policy = new Policy() {
         private PermissionCollection m_permissionCollection;
         @Override
         public PermissionCollection getPermissions(CodeSource p_codesource)
            return getAllPermissionCollection();
         @Override
         public PermissionCollection getPermissions(ProtectionDomain p_domain)
            return getAllPermissionCollection();
          * @return an AllPermissionCollection
         private PermissionCollection getAllPermissionCollection()
            if (m_permissionCollection == null)
               m_permissionCollection = new AllPermission().newPermissionCollection();
               m_permissionCollection.add(new AllPermission());
            return m_permissionCollection;
      return policy;
   }For sure, you can decline this with permission you need. Here, all permission are allowed.
I'm not quite satisfied because it's seems to be a barbarian style solution. But for now, it fits my uses => no warning popup!
If anybody has a more proper way to deal with such an issue, i'll be glad to hear it!
Hope it helps.

Similar Messages

  • Including External JARs for Java Application in OC4J

    Hi Experts,
    Here is my requirement.
    I have developed my Java application using Tomcat Server & Eclipse. In my application I have used some External JARs & imported the classes in my JSP.
    Now that I'm using OC4J Server instead of Tomcat I'v no clue as to where I have copy these External JARs for my application to work.
    I have installed OBIEE-Client which includes OC4J server. The path where I have placed my application is as below
    *"C:\OracleBI\oc4j_bi\j2ee\home\default-web-app"*
    If I run my application the server does not import the classes in the JSP which we include using Import statement using JSP tags (*ex* - <%@ page import = "org.apache.commons.fileupload.*"%>).
    This is the location which I found, where I need to put my Java-J2EE application. This OC4J_BI comes with OBIEE.
    Kindly help me out on where to place these External JARs exact location in OC4J.
    Also let me know if I have to alter any configuration/xml file (if so pls specify the file name & its location).
    Thanks in advance,
    Venky

    You can either include the external libraries in the application, by placing them into WEB-INF/lib, or you can import them into the server as "shared libraries", normally you'd use the "enterprise manager" application to do this. Having loaded a shared library you then add it to the classpath when you're deploying the application.

  • External jar for jspdynpage

    what are the external jar to be added to the jspdynpage project?
    I have this error:
    The import com.sapportals.htmlb cannot be resolved
    The import com.sapportals.portal.htmlb cannot be resolved
    DynPage cannot be resolved (or is not a valid return type) for the method getPage
    JSPDynPage cannot be resolved or is not a valid superclass
    PageException cannot be resolved (or is not an exception type) for the method doProcessBeforeOutput
    The method setJspName(String) is undefined for the type Concorsi.ConcorsiDynPage
    Thanks!!!

    Hi
    The following jar files are for jspdynpage portal component,
    htmlb.jar
    com.sap.portal.htmlb_api.jar
    com.sap.portal.htmlb_bridge.jar
    servlet.jar
    You can find the jar files in the portal sever itself.
    Thanks,
    Ram

  • Permissions to external Jar for reading-writing on a file

    hi all,
    I explain my situation.
    I ' ve made an open source project similar to plpdf using jasper report libraries and others.
    My project, which works perfectly in a java jre, have some problems in Oracle Aurora jvm.
    I use the Reflection technique to load the classes from their libraries.
    For this i use this class :
    {color:#993300}<strong>import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    * @author g.veltro
    public class Utility {
    public final static ClassLoader sysloader = ClassLoader.getSystemClassLoader();
    public static Object createIstance (Class classe,Object [] parameters,Class [] parametersClasses) throws InstantiationException, IllegalAccessException, NoSuchMethodException, IllegalArgumentException, InvocationTargetException{
    Constructor cons = classe.getConstructor(parametersClasses);
    return cons.newInstance(parameters);
    public static Object executeMethod(Object obj,Class objClass,String methodName,Object [] parameters,Class [] parametersClasses) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException {
    Method method = objClass.getDeclaredMethod(methodName,parametersClasses);
    method.setAccessible(true);
    return method.invoke(obj, parameters);
    public static void addJarLibrary(String s) throws MalformedURLException, IOException{ <br /><br />addJarLibrary(new File(s)); <br /><br />}
    public static void addJarLibrary(File f) throws MalformedURLException, IOException{ <br /><br />addJarLibrary(f.toURI().toURL()); <br /><br />}
    public static void addJarLibrary(URL url) throws IOException{
    URLClassLoader urlsysloader = null;
    urlsysloader = (URLClassLoader) sysloader;
    try { <br /><br />executeMethod(urlsysloader,URLClassLoader.class,"addURL",new Object[]url,new Class[]{URL.class});
    } catch (Throwable t) { <br /><br />t.printStackTrace(); <br /><br />throw new IOException("Error, could not add "+url.getPath()+" to system classloader");<br /><br />}
    public static void addJarLibraries(String libDir) throws IOException {
    File directory = null;
    directory = new File(libDir);
    if(directory.isDirectory()){
    JarFilter filter = new JarFilter();
    File[] jarLibraries = directory.listFiles(filter);
    for(int i=0;i&lt;jarLibraries.length;i++){ <br /><br />addJarLibrary(jarLibraries</strong>{color}<em>{color:#993300}<strong>);
    } else { <br /><br />throw new IOException(libDir+" is not a Directory !"); <br /><br />}
    </strong>{color}
    I gave all the permissions as dba to allow java to access files, etc. etc
    {color:#993300}<strong>Begin
    dbms_java.grant_permission( 'NEOGEO', 'SYS:java.lang.RuntimePermission', 'accessDeclaredMembers', '' );
    dbms_java.grant_permission( 'NEOGEO', 'SYS:java.lang.reflect.ReflectPermission', 'suppressAccessChecks', '' );
    end;
    </strong>{color}
    Then when I try to call a class library that attempts to access a file residing in the file-system i recive an exception.
    This is an example of code that call a class and execute one methods.
    {color:#993300}<strong>public static Object compileJrxml(String path_file_jrxml) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException {
    Object jReport = null;
    Object jCompileManager = null;
    Class jcmClass = null;
    Object [] params = {path_file_jrxml};
    Class [] paramsClasses = {String.class};
    jcmClass = Class.forName("net.sf.jasperreports.engine.JasperCompileManager",true,org.Reflection.Utility.sysloader);
    jCompileManager = jcmClass.newInstance();
    // compilazione del report
    jReport = Utility.executeMethod(jCompileManager,jcmClass,"compileReport",params,paramsClasses);
    return jReport;
    </strong>{color}
    this is the exception :
    {color:#993300}<strong>java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at org.Reflection.Utility.executeMethod(Utility.java)
    at org.EngineReport.ReportControl.compileJrxml(ReportControl.java:44)
    at org.EngineReport.ReportOracle.getReportByte(ReportOracle.java:130)
    at org.EngineReport.ReportOracle.ReportAsBlob(ReportOracle.java:69)
    at org.EngineReport.ReportOracle.ReportAsBlob(ReportOracle.java:49)
    Caused by: java.security.AccessControlException: the Permission (java.io.FilePermission /home/neogeo/Java_Resources.jrxml read) has not been granted to ProtectionDomain (file:/home/neogeo/lib/jasperreports-3.0.0.jar &lt;no signer certificates&gt;)
    AppClassLoader: file:/home/neogeo/lib/xml-apis.jar file:/home/neogeo/lib/jpa.jar file:/home/neogeo/lib/jdt-compiler-3.1.1.jar file:/home/neogeo/lib/png-encoder-1.5.jar file:/home/neogeo/lib/ant-1.5.1.jar file:/home/neogeo/lib/jaxen-1.1.1.jar file:/home/neogeo/lib/mondrian-2.3.2.8944.jar file:/home/neogeo/lib/commons-javaflow-20060411.jar file:/home/neogeo/lib/batik-bridge.jar file:/home/neogeo/lib/antlr-2.7.5.jar file:/home/neogeo/lib/batik-parser.jar file:/home/neogeo/lib/hibernate3.jar file:/home/neogeo/lib/batik-ext.jar file:/home/neogeo/lib/commons-logging-1.0.2.jar file:/home/neogeo/lib/jasperreports-3.0.0.jar file:/home/neogeo/lib/batik-svggen.jar file:/home/neogeo/lib/batik-xml.jar file:/home/neogeo/lib/xml-apis-ext.jar file:/home/neogeo/lib/batik-dom.jar file:/home/neogeo/lib/jakarta-bcel-20050813.jar file:/home/neogeo/lib/servlet.jar file:/home/neogeo/lib/hsqldb-1.7.1.jar file:/home/neogeo/lib/batik-gvt.jar file:/home/neogeo/lib/batik-svg-dom.jar file:/home/neogeo/lib/jxl-2.6.jar file:/home/neogeo/lib/groovy-all-1.5.5.jar file:/home/neogeo/lib/xercesImpl.jar file:/home/neogeo/lib/batik-awt-util.jar file:/home/neogeo/lib/bsh-2.0b4.jar file:/home/neogeo/lib/commons-digester-1.7.jar file:/home/neogeo/lib/batik-css.jar file:/home/neogeo/lib/commons-logging-api-1.0.2.jar file:/home/neogeo/lib/jfreechart-1.0.0.jar file:/home/neogeo/lib/itext-1.3.1.jar file:/home/neogeo/lib/poi-3.0.1-FINAL-20070705.jar file:/home/neogeo/lib/batik-util.jar file:/home/neogeo/lib/commons-beanutils-1.7.jar file:/home/neogeo/lib/jcommon-1.0.0.jar file:/home/neogeo/lib/saaj-api-1.3.jar file:/home/neogeo/lib/batik-script.jar file:/home/neogeo/lib/xalan.jar file:/home/neogeo/lib/batik-anim.jar file:/home/neogeo/lib/commons-collections-2.1.jar
    &lt;no principals&gt;
    java.security.Permissions@1aebb385 (
    (java.io.FilePermission /home/neogeo/lib/jasperreports-3.0.0.jar read)
    (java.util.PropertyPermission user.language write)
    (java.util.PropertyPermission * read)
    (java.lang.RuntimePermission modifyThreadGroup)
    (java.lang.RuntimePermission createSecurityManager)
    (java.lang.RuntimePermission modifyThread)
    (java.lang.RuntimePermission preferences)
    (java.lang.RuntimePermission exitVM)
    (oracle.aurora.security.JServerPermission LoadClassInPackage.*)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java)
    at java.security.AccessController.checkPermission(AccessController.java)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java)
    at oracle.aurora.rdbms.SecurityManagerImpl.checkPermission(SecurityManagerImpl.java)
    at java.lang.SecurityManager.checkRead(SecurityManager.java)
    at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)
    ... 9 more
    </strong>{color}
    The problem i think is that i have to give the permission for input and output on files to an external jar-library .
    I don't know how i can resolve this problem ....
    Do you have any suggestions? </em>

    Hi,
    the problem with grant_permission is, that this can be done for a schema or a role - not for a ProtectionDomain as you need.
    Some on this forum claim that it is possible to control the SecurityManager by the java.policy file in OH/javavm/lib/security. You should try to put something like this in this file (create it if it doesn’t exist)
    grant codeBase "file:/<your codebase>" {
    permission java.security.<your privilege>;
    Unfortunately this doesn't worked for me in 11.1.0.6.0.
    What you could try if you don't find other solution is to extend or write your own (not recommended) SecurityManager.
    see http://download.oracle.com/docs/cd/B28359_01/java.111/b31225/chten.htm#BABJBJGE
    To simple see if your application runs without security you can try the NullSecurityManager.
    see http://java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/SecurityManager/help.html
    compile and load the class in your schema and activate it with
    System.setSecurityManager(new NullSecurityManager());
    This is for sure not a solution for a productive system.
    HTH
    Jaromir D.B. Nemec

  • How to set the classpath for external .jar files after importing?

    Hi techs,
    How to set the classpath in WSAD5.1.2 after importing the .jar file to the WEB-INF/lib folder.
    urgent

    I got it.
    after importing the jar file to the perspective,we need to right click on project name, go to proprties,
    goto java build path,
    there we need to include the external jar files.

  • Error in registering a provider for External Application for Web Clipping

    Getting Error: The provider URL specified may be wrong or the provider is not running. (WWC-43176)
    when trying to register a provider for an external application for Web Clipping

    Hi Vineet,
    The admins applied a patch to my version of the OracleAS 10g Version 9.0.4. and now I able to register a provider with the same URL but different Provider Name. I added My Yahoo Web Clipping from the Portlet Staging Area. That works fine but when I click on the check mail link in the Web Clipping Studio it gives me the following error. I have tried several times and I get the same error....
    An exception has occured : WCS-514 -- Get status code 403 to URL http://us.rd.yahoo.com/my/prop/mail/*http://mail.yahoo.com/ by method get
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from the browser) to go back to the Oracle Portal page to restart.

  • Need advice for external display for my retina Macbook Pro.

    I got my 15-inch retina Macbook Pro (Mid 2014) two months ago. It’s a fantastic machine but I am having some regrets concerning screen size. I want to be able to enjoy movies on my computer but 15-inch is just too small. So I am considering purchasing an external display for my Macbook Pro. I am thinking about a 25’’+ monitor (or TV) which can offer me closest experience to the retina one on my Macbook. I don’t want 4K monitors though, as most of the contents I consume are full HD 1080P. But I do care about PPI a lot (for browsing).
    What kind of display can help me obtain this similar experience I get on my Mac? Any recommendations? Thanks.

    I have the 15" MacBook Pro, Retina, Mid 2012 also, same exact model.  Kind of the same thing is happening with me.  I will intermitentyl get a flickering on the bottom 1/3 of the screen, all the way across.  It flickers/flashes on and off on the bottom half or third of the screen, when I am typing or when I am perfectly stil, doen't really matterl.  Only happens for a split second, but can do it multiple times, or sometimes not at all.  I can go tens of minutes without i hapenning, but I can also go tens of seconds with it happening multiple times.
    It never goes black or grey or "out" at all, just randomly flickers throughout the day.
    I do get burned-in images all the time, but they disappear within seconds.  But this flickering is definitely worrysome.  I did get the the Apple Care, so I am not too worried as Apple is usually good about this kind of thing, but I do have a similar problem to you and wanted to document this.  I didnt find many other people oiut there with this problem, so let me know what has gone on since your post on the New Year.  Any solution?  Did you call Apple?
    Thanks webrian.
    2012 Retina MacBook Pro
    15"
    500GB Flash Drive, 16GB memory
    2.6 Ghz Intel Core i7

  • Number range for external id for inbound delivery in SAP MM

    Hi All,
    I have an issue wherein user is not able to see the inbound delivery if external id is exceeding 10 digits..
    Example :- supplier has maintained  EXTid- 1237464123-1.  For this we cant see inbound delivery.
                      but in SAP when we enter 1237464123 we can see the inbound delivery.
    can anyone tell me how to resolve this issue... ? it is getting CRITICAL
    Thanks ,
    forum shah

    Hi,
    Thnx for the info.. but the issue here is that the IDOC is not created bcz GR  is done manually ie thru' VL32N.
    So i dont understand if the system allows the usage of special character for external id.
    When i tried to create the External id using special char in TEST system , i could create it. I dont know abt production...
    wht is the next step to be taken...
    Thanks,
    Forum Shah

  • What size for External HD for Time Machine?

    Hello. An Apple Support Tech suggested an external HD, twice the size of the internal for Time Machine backup. I presently have 1TB in the iMac and a 500GB Lacie--a long way from double! Do I need to rush out and get a 2TB one? Hope not due to the $$$!
    Comments would be appreciated. Cheers.

    A few additional points:
    You can use Time Machine to back up more than just your internal drive. If you have a FireWire drive that is also primary storage, you can set Time Machine to back up both the internal drive and external FireWire drive. So be sure to include data on any other drive that you may want to also back up, when determining the required size of the Time Machine drive
    You don't need to get a fast FireWire drive for use with Time Machine. A less expensive USB 2.0 drive works just fine. Capacity is more important than speed.
    You don't have to use the entire external drive for the Time Machine backup. If you get one that is larger than currently needed, you can partition it and use one partition for Time Machine. You don't even have to partition it. The volume used by Time Machine can also be used to store other data.
    You can exclude specific files and folders from being backed up. For example, if you use VMware Fusion or Parallels Desktop, you may want to exclude the virtual hard disk image files used by the virtual machines. Those files are huge and every time you run the virtual machine, those disk image files change, and therefore, Time Machine will save another copy. That will chew through your available Time Machine backup space really fast. Also, you may feel like there is no need to backup files in your Downloads folder (because you can always download those files again), so you can exclude it. So be sure to consider things you don't need to backup, when figuring out how large your Time Machine backup drive should be.

  • SAN certificate for external access for edge server and reverse proxy

    Hello
    I have a question related to the certificate planning for LYNC 2013 EDGE SERVER .
    For external access and mobile user's , Iwant to enable all the feature for external user's .
    im planning to purchase san certificate ,
    my first question do I need only one SAN for both my edge server and the reverse proxy ?
    my second question about the name's that shoud be added to the certificate ?
    sip.mydomain.com
    av.mydomain.com
    webconf.mydomain.com
    what else I should add ? I want to add the names for all feature access.
    Kind Regards
    MK

    Your Front End Pool should only contain front end servers, does it also contain your edge and back end? If so, this is a misconfiguration.
    If you're planning to implement high availability, you'll want a different internal web services FQDN name than your pool name (unless you load balance the entire pool with a hardware load balancer).
    You'll want your external web services FQDN to be different from your pool name if you want to use the mobile client on the internal network.  Once you've come up with a new and otherwise unused FQDN for this purpose, you'll want that as additional
    SAN on your cert.
    Since you're not using this for the internal certificate, you can also pull admin.mydomain.com and LYNC2013-FE.mydomain.com off of the cert as those are needed internally only. 
    Lyncdiscoverinternal you can leave on if you need your internal mobile clients to not throw certificate errors because they don't trust your internal certificate authority, but this name would then need to be pointed to a reverse proxy or something that
    can present the third party certificate.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Java Mapping - add external jar for runtime use

    Hi,
    I have implemented a java mapping which executes an XSLT transformation on the input XML. This way I can control (I hope) what XSLT processor is used, as I want to use the SAXON XSLT processor. The java mapping executes fine locally in NWDS.
    But when executed runtime I get the following error in default_trace and the message stops in Integration Engine:
    javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
    In my java mapping I have set the following:
    System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl");
    The TransformerFactoryImpl class is implemented in saxon9.jar.
    Where do I store the saxon9.jar on the server so that it will find it during execution?
    Any hints are most welcome!
    Br,
    Kenneth

    Hi Kenneth,
                          First of all java mapping procedure has the capacity to transform XML using SAX or DOM parser directly. I am not sure as to why you need "SAXON XSLT processor" for the purpose.
                           Now coming to your question  "Where do I store the saxon9.jar on the server so that it will find it during execution?"
    In NWDS import the jar file saxon9.jar within your package, where you have written the source code. This you can do using File->import ->(ZIP or jar file).    Before you import slect the package or folder where you want to import the jar file. Once jar file import is complete execute the code once, see if its running properly. Then choose file->export and select all *.java and *.class files in your package. Save this under one filename say package.jar.
    Finally import this jar file in PI server by usual methods.
    Hope this solves your problem
    regards
    Anupam

  • Need help with classpath configuration for external jar files

    We have coded our own JAAS login module, and it uses classes located in jar files, and these jar files were not created using SAP dev studio, e.g. they were provided by a third party vendor as a set of tools.
    So, how do we deploy these jar files so that our SAP JAAS login module can find them ? We found we can run consoleconfig.sh to change the classpath which SAP J2EE engine uses, but we wondered if there was a better way to do this. Of course, if the jar files were created by us, we can include them in the dev studio project and they would be deployed using SDM, and this would not require any changes to classpath using consoleconfig.sh
    Thankyou in advance for your help.

    I noticed nobody has sent any feedback on this yet, so I wondered if I have posted to the wrong forum ? Any thoughts on this ?
    Thanks,
    Tim

  • WAS Property for External JARS

    Hi All,
    We are using AIX as a platform for a Netweaver WAS 6.40. I have a EAR file that contains some 3rd party JARS. When I deploy the EAR on WAS and run the JSP that is calling one class inside the JAR, the JSP is not able to find that class.
    I have checked and deployed my EAR on another Netweaver WAS which is running on a windows platform. I have even checked my application on tomcat. In both the cases the problem is not there. My application runs fine.
    It is only on AIX and this particular WAS that it is throwing this error below
    No ClassDefFoundError
    This error is for one particular class inside a third party JAR.
    Imp : This application was running fine before, the only change that we did was clustering on the server. Thats all.
    Do I need to set some server variable for making the server accept 3rd party JARS. Am I missing some server parameter.
    Plz help
    /sab

    Hi
      When creating a system itself, you can set WAS and ITS properties in system properties. A transaction iView uses these properties to connect to the system. For host entry, it is sufficient to maintain entry for R3 host in server machine alone. Hope that will serve the purpose.
    Regards,
    Harini S
    Do reward for helpful answers

  • Highest resolution for external display for late 2012 retina?

    I have a 15" late 2012 MBP with retina display.  I'd like to get an external monitor but I'm not sure about the highest resolution for an external display this Mac will support.  It looks like the 4K displays with only work with later models.  So what are you using and how do you like it?
    Thanks
    Amy

    Yes, the 2012 MBP w/ Retina Display will support an external 4K display (using the Thunderbolt/mini display port)

  • How to set shortcuts for external keyboard for MacBook Pro?

    I attached a wired external keyboard (Apple aluminum) to my MacBook Pro. Several of the function keys are preprogrammed, and several are open. I want to program one of the open function keys to emulate the F11 key on the internal keyboard, the one that moves all open windows out of the way to show the desktop. The keyboard shortcuts tab in System Preferences only controls the internal keyboard.
    Does anyone know a way to do this?

    Bump. Searching for a solution to the same problem.

Maybe you are looking for

  • Getting values from TextArea(html)

    let's say I have two files. page1.jsp and page2.jsp. in page1.jsp I have a textarea with name="tArea", a button which will submit TextArea information to page2.jsp as parameters. on page2.jsp I will get that value that is being passed and I will prin

  • Execution of txkrun.pl errored out.

    Hi, While executing txkrun.pl in apps server it's giving below error. Please suggest how to overcome this error. Error Message: -bash-3.2$ $FND_TOP/bin/txkrun.pl -script=DeployForms-c4ws ### Creating the directory to store temporary logs: /euat/erp/u

  • Attachments within SAP

    Hi, I'm really after a bit of knowledge and understanding with regerads attaching documents within PA30 onto an employee's record. How is this done? What can be attached - Word docs etc??? Any help would be gratefully received Thanks Neil

  • Liveview and android 2.3

    I have recently been gifted a Liveview, and my intention was tomconnect it to my Nexus One, whic has been recently uptdated to android 2.3 gingerbread. Although it connects correctly with liveview, there have appeared a lot of problems that prevent m

  • Webapp:  does context properties work?

    I'm trying to get the WEBAPP to recognize URL rewriting for session management. The webapp currently does not recognize "WebLogicSession" parameter--it generates a new session. Server WL 51, sp8 Here's my web.xml. Will those settings work? What else