"access denied" error from Java Web Start

I can successfully download the jar file, but always have error message "access denied" when the java application tries to open a local file in C:\temp\poc1.xml.
I can successfully execute the java application from DOS,but failed when using Java Web Start. The error message is as follows:
Java Web Start Console, started Wed Nov 28 16:30:31 PST 2001Java 2 Runtime Environment: Version
1.3.1 by Sun Microsystems Inc.java.security.AccessControlException: access denied
(java.io.FilePermission C:\temp\poc1.xml read)     at
org.apache.xerces.framework.XMLParser.parse(Unknown Source)     at
org.apache.xerces.framework.XMLParser.parse(Unknown Source)     at
com.hotlocker.client.HLSessionParser.parse(Unknown Source)     at
com.hotlocker.client.UploadDownloadClient.uploadFiles(Unknown Source)     at
com.hotlocker.client.UploadDownload.main(Unknown Source)     at
java.lang.reflect.Method.invoke(Native Method)     at
com.sun.javaws.Launcher.executeApplication(Unknown Source)     at
com.sun.javaws.Launcher.executeMainClass(Unknown Source)     at
com.sun.javaws.Launcher.continueLaunch(Unknown Source)     at
com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)     at
com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)     at
com.sun.javaws.Launcher.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)

Hi,
you can't get a file like in a "normal" app
because a JWS-app runs in the restricted
sandbox environment by default.
So you either sign your app with a digital certificate
or you use a special FileOpenService (JNLP-API).
You could also put the file into the app-jar and
load it by a classloader.
Regards,
Mathias

Similar Messages

  • Accessing libraries from java web start

    hi guys,
    I am new to forums and sorry if this question has been posed before. I am trying to access jogl.dll and jogl_cg.dll through java web start. These libraries are getting downloaded on the client machine as a jar file. I am using the following commands to access these files
    System.loadLibrary("jogl");
    System.loadLibrary("jogl_cg");
    Its giving me the follwing error
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\java\tools\jogl_cg.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at testlib.Main.main(Main.java:35)
    Java Result: 1
    I am getting unsatisfied link error as its searching for another library which jogl_cg.dll depends upon. Can anybody suggest me what other library do i need to attach and the way i am accessing the libraries using system.loadlibrary is correct or not
    I would appreciate your help in this regard.
    Thanks in advance,
    ravi ananthuni.

    Actually you're correct. There was a resource missing.
    The error was in the way I was packaging mail.jar. This archive has resources located in the META-INF subfolder inside the jar file. I'm running on Windows 2000, and I was expanding the mail.jar file, and then recreating and signing the archive using the Netscape utility signtool with the -Z option:
    signtool -k <mycert> -d <keystore_path> -Z mail.jar <expanded JAR directory>.
    When creating the JAR file, the META-INF folder is deleted and replaced with the META-INF entries for the JAR you've just created. The other resources packaged in the META-INF are overwritten, and so the signed mail.jar did not work properly -- hence the NoSuchProvider exception.
    For reference the solution is to sign the directory without creating the jar file:
    signtool -k <mycert> -d <keystore_path> <expanded JAR directory>
    and then create the jar file from the signed directory using another archiving utility. I used the command line interface for Winzip 8.0.
    cd <expanded JAR directory>
    wzzip -rp ..\mail.jar *
    http://developer.netscape.com/docs/manuals/cms/41/adm_gide/app_sign.htm#1012833
    Thanks!
    -- Eric.
    Hi,
    you suppose that the .jar files are not signed
    correctly,
    but what should have gone wrong?
    You can check that each .jar is correctly signed with
    the jarsigner tool:
    jarsigner -verify -verbose foo.jar
    If all your jars are reported to be signed, the only
    other error I can imagine regarding signing is the
    "all .jars referenced by one .jnlp must be signed
    by the same key" rule. (Read Section 5.4 of the
    jnlp 1.0.1 spec).
    javax.mail.NoSuchProviderException: No provider for
    Address type: rfc822
    files to be listed as resources, Java Web Startfails
    to launch my application (unsigned application
    requesting unrestricted access to system).I would have expected the latter error, if you
    have a signing problem.
    That first error looks like something different,
    perhaps the app is looking for a resource that
    defines rfc822 behaviour.
    Regards,
    Marc

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • How can I open help file (HTML or .chm) from Java Web Start (new to JAVA)

    Hi All,
    Im trying to open the help file of my application.
    When trying to access the help file from the GUI (pressing F1 for launching the help file), I'm geting the an error, something like:
    "Can't show help URL: jar:file:C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart\RMjar-name!/com/resources/helpFiles/MyHelpFile.html"
    It seems that the file which is packed in a jar, was downloaded to the Java Web Start cache directory:
    C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart
    The code which is activated when launching the help file is:
    try
                ResourceBundle resourceBundle = DoubleResourceBundle.getBundle("Resource", "ResourceImpl");
                RuntimeUtil.launchFile(new File(resourceBundle.getString("help.file")));
            } catch (IOException e)
                // TODO Auto-generated catch block
                e.printStackTrace();
            }where the property "help.file" is in some property file in the resource bundle named "Resource", and looks like this :
    help.file="com/trax/docs/help/global/MyHelpFile.html"
    The function "RuntimeUtil.launchFile" knows how to launch any file in its default application, and indeed it does launches the html, when giving it an absolute path to the file on my PC, as "C:\Helpfiles\MyHelpFile.html" as such:
    RuntimeUtil.launchFile("C:\Helpfiles\MyHelpFile.html");My question is :
    The application is going to be deployed on a Customer PC. How can I access the html file from the code, with a relative path and not its absolute path on the customer pc, which I can't know?
    I found these restrictions regarding web start:
    (copied from "http://rachel.sourceforge.net/"):
    *Rule 1: Java Archives only. No loose files.* All your resources have to be packaged in Java Archives (jar) if you want to have
    them delivered to the user's machine and kept up-to-date automatically by Java Web Start.
    *Rule 2: No file paths.* You can't use absolute or relative file paths to locate your
    jars holding your resources (e.g. <code>jar:file:///c:/java/jws/.cache/resources.jar</code>).
    Absolute file paths won't work because you never know where Java Web Start
    will put your jar on the user's machine. Relative file paths won't work because Java Web Start
    mangles the names of your jars (e.g. <code>venus.jar</code> becomes <code>RMvenus.jar</code>)
    and every JNLP client implementation has the right to mangle your names
    in a different way and you, therefore, can't predict the name with
    which your jar will be rechristend and end up on the user's machine in
    the application cache.Seems complex or impossible, to perform a simple task like opening a file.
    Please advise (I'm new to Java and Web Start).
    BTW, I'm working with IntelliJ IDEA 5.0.
    Thanks,
    Zedik.
    {font:Tahoma}{size:26pt}
    {size}{font}

    the follwing method i have used to open html file ...
    so to access html file i am shipping resources folder with jar file ..
    private void openHtmlPages(String pageName) {
         String cmd[] = new String[2];
         String browser = null;
         File file = null;
         if(System.getProperty("os.name").indexOf("Linux")>-1) {
              file = new File("/usr/bin/mozilla");
              if(!file.exists() ) {
              }else     {
                   browser = "mozilla";
         }else {
              browser = "<path of iexplore>";
         cmd[0] = browser;
         File files = new File("");
         String metaData = "/resources/Help/Files/"+pageName+".html"; // folder inside jar file
         java.net.URL url = this.getClass().getResource(metaData);
         String fileName = url.getFile();
         fileName = fileName.replaceAll("file:/","");
         fileName = fileName.replaceAll("%2520"," ");
         fileName = fileName.replaceAll("%20"," ");
         fileName = fileName.replaceAll("jarfilename.jar!"," ").trim();
         cmd[1] = fileName;     
         try{
              Process p = Runtime.getRuntime().exec(cmd);
         }catch(java.io.IOException io){
                   //Ignore
    can anyone give me the solution..???
    Regards
    Ganesan S

  • Timerjob Access denied error while opening web object

    Hi Team,
    I have created a timer job to get list information on the site. Everything is fine in the development(Stand alone server) . Got access denied error while running same timer job in QA server(one app and one WFE).
    Note: This timer job is globally deployed.
    Code snippet : 
    SPSite site1 = webApp.Sites[0];
    SPWeb web = site1.RootWeb;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(site1.ID))
    using (SPWeb currWeb = site.OpenWeb(web.ID))                  // Got access denied error here.
    Additional information:
    Sharepoint timer service account : Domain\SP_Farm
    Site app pool account : Domain\SP_App.
    Both accounts have site collection administrative access on the site. Do i need to check access permissions on DB level also  this error ?
    Waiting for urgent reply..

    Hi,
    1. Please check the link below:
    Fixing Access Denied Errors With SharePoint 2010 Timer Jobs
    http://www.sharepointsecurity.com/sharepoint/sharepoint-security/fixing-access-denied-errors-with-sharepoint-2010-timer-jobs/
    2. Try to set RemoteAdministratorAccessDenied  to false using PowerShell
    Access denied when deploying a timer Job or activating a feature from SharePoint 2010 content web application
    https://support.microsoft.com/kb/2564009?wa=wsignin1.0
    3. Check your ULS log for detail error message.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Access denied Error while calling Web Service form Infopath Form 2010.

    Hi Dear All,
    I have been facing an error while calling an GetUserProfileByName() web service method from InfoPath 2010 from.
    i have FBA(Forms Base Authentication )configured . After Infopath form published to site collection when i select an user from people picker control i want to get Email Id of Selected user for that i am calling getUserProfileByName() Web Method, but 
    i am getting Access denied error code 500.
    Any Help would be more than welcome.
    Thanks.

    Hi,
    Greetings. Please check 
    Check the IE settings. Click Internet Options> Security>Custom level. Make sure that the ‘Access data source across domains’ is enabled. Make sure that you have permission to the web service and to the content which the web service tries to modify.
    For more information, please refer to this site:
    "Access is denied." error in Infopath 2007 form + ASMX: http://us.generation-nt.com/answer/access-denied-error-infopath-2007-form-plus-asmx-help-65808252.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Access denied error for Java application on 2630

    Hello!
    I have bought a 2630 recently. Now I have installed a small Java application that tries to store some data in the phones memory. However, each time the application tries to do so, I get a "java.lang.SecurityException Access denied" message and the application states that it could no save its data. I have set the security settings for that particular application so that the phone should ask before each access to the file system. In fact, before I get the error message, the phone asks whether the application may write data to the file system. But still answering that question with "yes" I get the Access denied error message. Now I am puzzled. By the way, the application uses JSR-75 which the 2630 should support.
    Anybody any ideas?
    Regards,
    Volker

    RESOLVED!
    I was able to create file from java application on Nokia 2630. Here is how:
    1. root C:/ is mapped to folder "Downloads"
    2. The folders does not show with their names
    3. there are 2 folders in C:/ predefgallery and predefjava
    4. in predefgallery there are several predefined folders e.g. predefrecordings is one of them
    5. I am able to create file inside predefrecordings, creating file in upper folders is denied
    6. user created folders aro NOT shown at all
    7. I had to manualy confirm reading of data many times and writing data once.
    I hope this can help to other Nokia users since I did not find this anywhere.
    Luke

  • Looking up EJB from Java Web start

    I have a java client application that looks-up an EJB deployed in WebLogic Server 10.3 on windows xp. the application works fine when invoked from command line. But when I try to run the same application via Java Web Start, I get following error while doing EJB lookup:
    java.lang.AssertionError: java.lang.ClassNotFoundException: com.pks.dummy.SL1
    at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.pks.dummy.client.TestClientDummy.doTest(Unknown Source)
    at com.pks.dummy.client.TestClientDummy.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.pks.dummy.SL1
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)
    at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
    ... 36 more
    #### Java Web Start Error:
    #### null
    com.pks.dummy.SL1 is Remote interface for the Session Bean. and is packaged in same jar with client jar. Also, I am able to instantiate the com.pks.dummy.SL1 using class.forName in main() method of client code in both command line as well as Web start environment.
    Any help is appreciated. Thanks.
    Edited by: javaDev on Dec 19, 2008 11:58 AM
    Edited by: javaDev on Dec 19, 2008 12:18 PM

    I got the solution for ClassNotFound issue. To avoid this error, one need to package EJB stubs on client side. Packaging just the EJB interfaces doesn't help.
    EJB stubs can be generated using weblogic.appc utility. For more information about this utility please refer
    WebLogic Server Command Reference : Link: [http://edocs.bea.com/wls/docs103/pdf/admin_ref.pdf]

  • Refresh an open web page on closing an applet launch from Java Web Start

    Hi
    I launch an aplication via Java Web Start from a link in a web page. I am looking to a solution to refresh my web page when I close my applet.
    Thanks in advance to give me the solution or only to let me know if it's possible or not.

    everything's possible. but this is not trivial. there is no direct connection between the html page that launched the app and the app. You can create an indirect connection by having the app notify a server process when it closes and having the page periodically polling the server for the app's status.

  • Access local disk via Java Web Start??

    HI all ,
    I had saw the JWS document.
    It indicate we can't access local disk via JWS in that Security.
    If I need to access local disk by command, does anyone have better suggestion.
    And can I run *.bat via Java Web Start?
    Thanks very much for your help.
    Morris

    I do the both thing but still don't access to Local disk.
    I just write a simple test class within extend another that create a file (and of course sign it)but still can't create a file Local disk. this MAKE ME MAD and LOOSE MY JOB .
    here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Pensionsrechner -->
    <jnlp
    spec="1.0+"
    codebase="file:///d:/"
    href="test.jnlp">
    <information>
    <title>Me</title>
    <vendor>myself</vendor>
    <homepage href="http://www.me.com"/>
    <description> test test test</description>
    <description kind="short">Test creatin of log file on client </description>
    </information>
    <offline-allowed/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4"/>
    <jar href="test2.jar"/>
    </resources>
    <application-desc main-class="secMan.Test"/>
    </jnlp>

  • An error on Java Web Start 1.4.2 Developer Guide

    I tried to deploy my application using Java Web Start. I used the script in the section "Creating the Web Page That Launches the Application" of the Java Web Start 1.4.2 Developer Guide (http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/contents.html). Nevertheless, it does not detect my JWS 1.4.2 installation. After I search thru the registry on my Windows 2000, I found that the COM object ID is not correct. The orginal VBScript to detect the installation of JWS 1.4.2:
    If Not(IsObject(CreateObject("JavaWebStart.isInstalled.3"))) Then
    javaws142Installed = 0
    Else
    javaws142Installed = 1
    End If
    should be:
    If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.4.2.0"))) Then
    javaws142Installed = 0
    Else
    javaws142Installed = 1
    End If
    Could JWS tech support or documentation team change this error on the website soon so other developers will not run into the same problem again?
    Thanks,
    A.A.

    Please submit a bug.
    I believe this is the only way to guarantee Sun will track this.

  • [SOLVED] Weird new access denied error from Samba

    This just started when I did a system upgrade last week (from samba 3.4.3-something to 3.5.2-something).
    The hardware: Server is arch, of course; workstation 2 feet away is Windows XP connected by ethernet to a cheap Gateway brand switch.
    The filesystem: a folder called /pub with owner set to my primary (non-root) login and group set to the household group, perms 775 so both owner and group have full rw perms.  Also /tmp, owned by root:root with perms 777.  /pub has a symbolic link to /tmp so you can use /pub/tmp as a fully writeable junk area on the network.
    The shares: /pub is given smb.conf parameters public=yes, writable=yes, create mask=0775
    The login: My XP box has a login that makes it a member of the family group
    Up until the upgrade, this all worked fine.  The XP could attach the public share (drive P:) and go to P:\tmp when I wanted to save a temp file, knowing that it would be erased when I reboot the server.
    Now, the public share still works great in that I can go to drive P: and all the subdirectories within and read/write to my heart's content... EXCEPT the symbolic link to /tmp.  When I try CD P:\tmp
    I get
    Access is denied.
    The same thing happens on my Windows 7 VM (running on the linux box), so it's not XP.  Other than the upgrade from 3.4 to 3.5, nothing else in the above environment has changed.
    Yes, I know there are numerous workarounds.  I could create an actual /pub/tmp folder and include that in the reboot purge... but it's the principle of the thing.  I shouldn't HAVE to do that.
    Any thoughts on what's broken and how to fix it, or do I need to take this to the Samba folks?  I always try here first in case it's an arch-specific problem...
    Last edited by WyoPBS (2010-04-29 20:12:38)

    Thanks!  That wasn't the answer, but it prompted me to do some more hunting.  Turns out the latest upgrade fixes a security hole: Enabling UNIX extensions automatically disables wide links.  Since I did not define UNIX extensions, it defaults to yes, so even explicitly adding wide links = yes to smb.conf did not fix the problem.
    http://www.linuxquestions.org/questions … ks-801633/
    Looks like I can have one or the other, but not both.  So I have to decide which is more important to me.  Or create the folder /pub/tmp and symlink /tmp to it rather than the other way around.

  • Jmxri running under javaw but not from java web start

    Hi all
    I've got following problem.
    I've got application that uses special jar that requires jmxri.jar This jar is black box for me. It provides some interface to get data from server.
    When I run my application using jmxri.jar and mentioned black box (jar) from command line with javaw, it is working fine.
    javaw -Xmx256m -classpath application.jar;jmxri.jar;(blackbox.jar); CClient
    In case I use jnlp, everything is same, I've got following error meassage.
    cia4all:name=Cia4allFactory.... Exception ........................................
    javax.management.InstanceNotFoundException: cia4all:name=Cia4allFactory
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
         at de.siemens.cc.b2b.cia4all.client.Cia4allClientFactory.createLdap(Unknown Source)     
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Cia4allClientFactory - is class in mentioned black box jar
    The jnlp looks like
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="file:/D:\" href="my.jnlp">
       <security>
          <all-permissions/>
       </security>
       <resources>
          <j2se version="1.4+" max-heap-size="256m"/>
          <jar href="application.jar" main="true" download="eager"/>
          <jar href="blackbox.jar" download="eager"/>
          <jar href="jmxri.jar" download="eager"/>
       </resources>
       <application-desc main-class="CClient">
       </application-desc>
    </jnlp>Any idea what must be configured in jnlp or missing ?
    Edited by: svist001 on Aug 28, 2008 12:56 AM

    The default remote apps webpage will be shown with these demos. In order to remove them for all-users, You need to change the default remote apps url, not in the user configuration file, but in a system config file.
    unfortunately, because of bug 4933851, you can not just put a deployment.properties file in the javaws directory (untill update release 1.4.2_05, where this is fixed). Instead you have to put it in what they call ${deployment.system.home} which on unix is /etc/.java/.deployment, but on windows is ${windows dir}\Application Data\Sun\Java\Deployment
    /Dietz

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

  • HT5651 When I execute Java Web Start, I get an error "Java Web Start cannot be opened because of an error " I am running OSX 10.6.8 and Java Update 13. Anyone know why ?

    Error :

    I still have the problem. This is the error:
    Process:         Java Web Start [2760]
    Path:            /Users/Admin/UTILITIES/Java/Java Web Start.app/Contents/MacOS/Java Web Start
    Identifier:      com.apple.JavaWebStart
    Version:         12.2.0 (12.2.0)
    Build Info:      JavaApplicationSupport-1450000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [127]
    Date/Time:       2013-02-21 17:49:43.369 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          2712 sec
    Crashes Since Last Report:           3
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      383BDFCF-9AA2-4B81-828C-6AD5615B5474
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  4
    Dyld Error Message:
      Symbol not found: _JVMGetLatestJVMInfo
      Referenced from: /Users/Admin/UTILITIES/Java/Java Web Start.app/Contents/MacOS/Java Web Start
      Expected in: /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM

Maybe you are looking for

  • For BSID- Accounting Document Number corresponding PO Number is required

    Hi Gurus,              I have got a requirement to develop a report similiar to 'FBL5N' . I am getting the details of open and cleared items of a customer from BSID and BSAD tables respectively. My requirement is also to fetch the corresponding PO nu

  • WET54G v3.1 problems

    We are using WET54G's as clients in a community WiFi distribution system. From the ADSL connection there is a 4 km point to point link up to a relay before working another 2 to 4 km across a valley. The point to point and access point are Cisco Airon

  • Afp issue accessing NAS

    I have a Thecus NAS and have a few folders setup on the NAS that have read/write privileges for "everyone." I connect to these folders via afp://servername/share and have had no problems until today. Now, the folders in one of the shares shows a red

  • Credit Management: FI-AR

    Hi, FSCM Credit Management has been activated and is working fine on the Sales and Distribution side. But we can't get the FI-AR side working, for example, when posting a customer invoice through FB70. The necessary BAdI's are activated from what we

  • I can't open any website other than google with my iphone 5, please help.

    I have a problem toopen website once i connect to one of my wifi in the office. I just can open Google website but i can't open other website, why? i can use the connection for other apps. like Line and Whatsapp.