Problem with remote debuging web start application

Hi,
There is the J2EE application with desktop client (it uses JNLP). In production everything is all right, but when i'm debugging it using eclipse, application always throws SecurityException (class "oracle.retail.sim.closed.item.StockItem"'s signer information does not match signer information of other classes in the same package). This occurs only when class loader is trying to load this class). Somebody have any sugestion? Where is the problem?
Thanks in advance
Best regards
Neogen
Edited by: neogen.pl on Oct 7, 2009 5:40 AM

Hi,
  May be you can put an external breakpoint in the method "_get_attribute_rtti"(of class CL_WDR_CONTEXT_NODE_INFO).
From that you can find out which attribute is causing the dump , and try to solve the issue . May be some data dictionary object is not transported to production.(Assuming that you have permission to put breakpoints in production system..:))
Aditya.

Similar Messages

  • Unable to launch web start application

    Hi Please can any one help me.
    I have a problem in launching the web start application.
    As i am the beginner i need help from you people.
    I have created three class files as below.
    Aeon_PManager.java
    SimpleSerial.java
    SimpleSerialNative.java.
    We have to create a SimpleSerialNative.dll in the same folder where we are saving all the class files.
    The jnlp file that i have written is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Aeon HHBM Manager Application -->
    <jnlp spec="1.0+" codebase="http://zycomm:8080" href="Aeon.jnlp">
    <information>
    <title>Aeon HHBM Manager</title>
    <vendor>ME</vendor>
    <description>Aeon HHBM Manager</description>
    </information>
    <offline_allowed/>
    <resources>
    <j2se version="1.4+"/>
    <jar eager="true" href="SimpleSerialNative.jar" main="true"/>
    <jar href="lib/Aeon_PManger.jar"/>
    <jar href="lib/simpleSerialNative.jar"/>
    <jar href="lib/simpleSerialNatived.jar"/>
    <jar href="lib/simpleSerial.jar"/>
    </resources>
    <application-desc main-class="Aeon_PManager.Main" />
    <component-desc/>
    </jnlp>
    I am using Tomact6.0 server.
    I am saving the jnlp file and jar files in the path below
    tomcat6.0/webapps/root
    Is it wrong to do so. If it is then what should i do to launch the application.
    Is it necessary for me to create jar files for all classes seperately.
    should i create jar file for simpleSerialNative.dll also.
    These are the error messages that I am getting:
    In general tab:
    An error occured while launching/running the application
    Title:Aeon HHBM Manger
    Vendor:Me
    Category:DownloadError
    Unable to load resource http://zycomm:8080/Aeon_PManager.jar
    Exception tab:
    jnlp exception[category download error: exception: java io.ioexception:http response 404 launchdesc:null]
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
    at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
    at com.sun.javaws.Launcher.downloadResources(Unkown Source)
    at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
    at com.sun.javaws.Launcher.Run(Unkown Source)
    at java.lang.Thread.run(Unkown Source)
    Wrapped Exception Tab
    java io.IOexception:HTTP response 404
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unkown Source)
    at com.sun.javaws.cache.DownloadProtocol.getDownload(Unkown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unkown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unkown Source)
    at com.sun.javaws.Launcher.downloadResources(Unkown Source)
    at com.sun.javaws.Launcher.handleApplicationDescUunkown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unkown Source)
    at com.sun.javaws.Launcher.Run(Unkown Source)
    at java.lang.Thread.run(Unkown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    1) I totally agree with Andrew
    2) You have 3 classes and 5 jars, how's that?
    3) Either you don't respect naming conventions and have uppercase packages or you don't know the difference between a jar and a package. Are you really a Java programmer?
    4) You jnlp names out lib/Aeon_PManger.jar while your stack trace claims not to find http://zycomm:8080/Aeon_PManager.jar (the lib path is missing and Manager is not missing any 'a'). How badly did you mess pasting?
    5) You're asking if you should package simpleSerialNative.dll without giving out any detail, do you suppose we have a universal knowledge of all existing APIs? Anyway you already got an answer to this in your other post.
    6) You're a lucky man, 'cause I really love dukes, so I'll tell you what you should do (and I expect to give out 10 dukes on both posts): have a single jar within everything in it and execute it as stand alone app. Command: *java -jar YourJar.jar* (if you declare main class in manifest), or *java -cp YourJar.jar YourClassFullName*. Once you get it working you'll be ready for JWS deploy issues. If you can't get even there, take this advice: give up java (and maybe the all programming staff)!
    Bye.

  • Rmi remote reference lookup very slow in web start application

    I have a little problem with the RMI communication in a web start test application.
    It is a very simple program in which the client calls a remote object that returns a String.
    Everything seems to be working fine when i'm running/debugging the client app in eclipse, but when i package my client project into a jar file and run it as a web start application (i'm providing the jnlp on a local webserver) the remote reference lookup takes about 15 seconds.
    basically, what my client does is this:
    Registry registry = LocateRegistry.getRegistry(address);
    ServerTransaction st= (ServerTransaction) registry.lookup(name);
    String result = st.test();
    The server code looks like this:
    String name = "ServerTransaction";
    ServerTransaction engine = new DefaultServerTransaction();
    ServerTransaction stub = (ServerTransaction) UnicastRemoteObject.exportObject(engine, 0);
    Registry registry = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
    registry.rebind(name, stub);
    The server runs as a normal stand alone java application on my local machine as well.
    And here the content of the jnlp file for the client application:
    <resources>
         <jar href="WSTest.jar"/>
         <jar href="WSTestServer.jar"/>
         <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
         <property name="serverAddress" value="127.0.0.1" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="test.WSTest"/>
    As i said, the whole thing works when run as a normal java application as well as with web start, with the difference that the remote reference lookup takes about 15 seconds with web start.
    Can anyone tell me how i could go about this?

    Meanwhile, i tried the same thing at home on my xp machine (i use vista at work), and even though my test at home basically does the same thing (invoking a simple remote method that just returns "hello world") it worked pretty fast, contary to the 15 second hang on vista.
    So i can't really say where the problem is...
    I also found these two rmi properties
    sun.rmi.transport.connectionTimeout (1.1.6 and later)
    The value of this property represents the period (in milliseconds) for which socket connections may reside in an "unused" state, before the Java RMI runtime will allow those connections to be freed (closed). The default value is 15000 milliseconds (15 seconds).
    and
    sun.rmi.transport.proxy.connectTimeout (1.1 and later)
    The value of this property represents the maximum length of time (in milliseconds) that the Java RMI runtime will wait for a connection attempt (createSocket) to complete, before attempting to contact the server using HTTP. This property is only used when the http.proxyHost property is set and the value of java.rmi.server.disableHttp is false. The default value is 15000 milliseconds (15 seconds).
    Hoping it would help (totally clueless) i tried to set these as system properties via System.setProperty(...) to a lower value (if that even works this was - please correct me if i am totally wrong here) but it didn't help.

  • Java Web Start application doesn't run in Tomcat

    I successfully did a Java Web Start example for me to learn then I tried another one where I encountered an error:
    This is what Tomcat 6.0.18 says. The deploy is successful but when I try to run the web start application
    with this htmlcode
    <A href="http://localhost:8080/ConvertorValutar/app/launch.jnlp">I get this error witch leads me to think that it can't find the jar correct ?
    type Status report
    message /convertorvalutar/
    description The requested resource (/convertorvalutar/) is not available.Appendix:
    This is how I am doing the JAR
    jar cfvm convertorvalutar.jar myManifest2.mf Java*.class IRata*.class The myManifest2.mf is
    Main-class: JavaWebStart_Convertor witch is the main class
    This way I am doing the WAR:
    del *.war /F /Q
    jar cfv convertorvalutar.war app/* WEb-INF/*This is the correct directory structure
    &#9474;   faWar.bat
    &#9474;   convertorvalutar.war
    &#9474;
    &#9500;&#9472;&#9472;&#9472;app
    &#9474;       ConvertorValutar.jar
    &#9474;       launch.jnlp
    &#9474;
    &#9492;&#9472;&#9472;&#9472;WEB-INF
        &#9474;   web.xml
        &#9474;
        &#9492;&#9472;&#9472;&#9472;lib
                jnlp-servlet.jarThis is the web.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>
    </web-app>This is the jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://localhost:8080/convertorvalutar/app">
    <information>
         <title>Convertor Valutar</title>
         <vendor>remus.dragos</vendor>
         <description>Simple Java Web Start Example</description>
    </information>
    <resources>
         <j2se version="1.5+"/>
         <jar href="ConvertorValutar.jar"/>
    </resources>
    <application-desc main-class="JavaWebStart_Convertor"/>
    </jnlp>Where is the problem?
    Edited by: remus.dragos on Dec 9, 2008 7:14 PM

    I did checked the names again and I found that the makeJar.bat had an "issue".
    It missed the del *.jar and I had 2 uppercase letters like ConvertorValutar, instead of convertorvalutar.jar.
    After that I rebuild the war and deployed and it works :)
    Thanks.

  • Java Web Start application failing on my user account

    Hi All,
    I've been tearing my hair out over this for a while and haven't been able to get anywhere wiht it. I've finally cracked and decided to post a plea for help in here.
    Basically, I have a web start application that will not start under my user profile but will under a new account I created. If I try and start it from the terminal with javaws I get "Bus Error" and that's all. Double clicking it gives me a crash dialoge box and the details can be seen here:
    http://pastebin.com/m77b1111f
    As I said before, running it in the other account works fine as does "sudo javaws /path/to/app.jnlp" but I really don't want to have to do that every single time.
    I've deleted the JavaCache folder as well as any ~/Library/Preferences/java.plist all without any joy. Also, I'd like to add that there are a number of other Web Start apps that run without any problems.
    Any ideas?

    Thing is, if there was corruption of something that was system wide, it wouldn't work under a different profile, right?
    Unpredictable as to how lomg it would work on a new account.
    Is this usually the case for a safe boot?
    Yes, it runs fsck_hfs -fy on the whole drive, dumps several caches & so on, the next boot will also take longer than usual as it rebuilds caches & so on.

  • Java web start application runs too slow...

    Hello,
    I am new to Java Web Start. I have created a java web start application and when i enable web start from local Execution, then it works perfectly well. But when i upload it on server and then download the application, then it is too too slow...i mean it takes minutes to get the output on clicking some button....my jnlp file is as under:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp codebase="http://(web server code base)" href="launch.jnlp" spec="1.0+">
    <information>
    <title>ERD</title>
    <vendor>Deepika Gohil</vendor>
    <homepage href="http://appframework.dev.java.net"/>
    <description>A simple java desktop application based on Swing Application Framework</description>
    <description kind="short">ER Deign Tools</description>
    </information>
    <update check="always"/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="ERD_1_2.jar" main="true"/>
    <jar href="lib/appframework-1.0.3.jar"/>
    <jar href="lib/swing-worker-1.1.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/jaxb1-impl.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    <jar href="lib/ant-contrib-1.0b3.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/FastInfoset.jar"/>
    <jar href="lib/gmbal-api-only.jar"/>
    <jar href="lib/http.jar"/>
    <jar href="lib/jaxws-rt.jar"/>
    <jar href="lib/jaxws-tools.jar"/>
    <jar href="lib/management-api.jar"/>
    <jar href="lib/mimepull.jar"/>
    <jar href="lib/policy.jar"/>
    <jar href="lib/saaj-impl.jar"/>
    <jar href="lib/stax-ex.jar"/>
    <jar href="lib/streambuffer.jar"/>
    <jar href="lib/woodstox.jar"/>
    <jar href="lib/jaxws-api.jar"/>
    <jar href="lib/jsr181-api.jar"/>
    <jar href="lib/jsr250-api.jar"/>
    <jar href="lib/saaj-api.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    </resources>
    <application-desc main-class="erd.screen1">
    </application-desc>
    </jnlp>
    I dont understand the reason. Could you please help me out.
    Thank you,
    Deepika Gohil.

    Check your web server's access logs to see how many requests web start is sending for each jar. After you've loaded the application the first time, for each subsequent launch, if you've got everything configured right, you should only see requests for the JNLP file and maybe some gifs because web start should load everything else out of the cache (if you're using the version-based download protocol). Or if you're using the basic download protocol, then you might see requests for each jar file, but even in this case, if your web server is prepared to evaluate the last-updated attribute for each jar request and for jars that have not changed, respond with no actual payload and a header value of Not-Modified, then that should run almost as fast.
    You might also want to consider changing the "check" attribute of the "update" element from "always" to "background" for a couple of reasons. It should allow your app to start sooner (but this means that you might have to launch once or twice after an update is applied to the web server before the update shows up on the workstation). Also, my impression is that "always" is broken and prevents web start from ever checking to see if your jnlp file has been updated if you launch your app from a web start shortcut - launching from a browser is less likely to have this problem, depending on how often your browser is configured to check for updated resources.

  • Can't paste text in a Web-started application

    I am facing a problem with a limited (but growing) number of users: they are
    unable to paste a block of text into a text field. Apparently the problem
    occurs in Windows 7 only that seems to isolate the Web-start application into
    a sandbox. What is strange is that the application is signed and requires
    full access to resources. Since I am not a windows 7 user I can't reproduce
    the problem, also with other Windows 7 users things work fine, what's curious.
    I can't determine if the program would also be trapped in other I/O operation
    cause registration (for which paste is needed) is first step and user can't
    proceed any more.
    Did anybody else have incur in the same problem. Do anybody know what user
    shall do to unlock the paste operation?
    I am sure there is some solution otherwise any RIA application deployed with
    Java Web Start would be excluded by all future (Windows 7) market, but I don't
    know what to tell my user to proceed.
    Thanks very much to whoever can help.

    Andrew,
    I think I spotted the problem, but unhappily got no confirmation from user (despite my kind request to perform a new test with modified code). The issue is probably not related Windows 7 but to the kind of mail program is used to "cut" the text. Some mail program encode it as plain text, others as rich text and still others (like Firebird I use) as html. I perceived this using your code and I was surprised (I was expecting text/plain). This explains why only certain users report the problem.
    What is strange is that Java, under JNLP is unable to convert text/xxxx to text/plain when pasting in a text component, as it does if desktop-started. I am already sure it is text/xxxx because in a previous situation I asked user to perform a paste into a notepad and it worked fine, it doesn't paste only into a JText component. Probably when Java is not webstart-launched it uses native conversion and when web-started it considers MIME type. If not plain text returns an empty string.
    I basically used your code, but considered only first MIME type and, if not text, I reject paste and ask user to go though a plain text editor. In my case it does not make sense trying to manage HTML or RTF: that would be an overkill.
    Let's wait and see next case, anyway the inability to paste text/xxxx into text components this is a considerable limitation of web-started programs.
    The good news I discovered during tests is that (apart new logo), deployment has really improved, at least timestamp is correctly handled. Until few months ago I had to start the application 2-3 times to have jnlp perceived that some jar were updated.

  • Latest Java 7 update 25 prevents JMF from working in Web Start application

    Has anyone else had a problem getting the JMF to work in a Web Start application since updating to Java 7 update 25?
    I can successfully run our application on my local machine via Eclipse and the webcam image loads. When I run my application from Web Start it does not load any image and errors out with the following error:
    java.lang.NullPointerException
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.JComponent.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at com.sun.media.renderer.video.AWTRenderer.doProcess(AWTRenderer.java:236)
        at com.sun.media.renderer.video.BasicVideoRenderer.process(BasicVideoRenderer.java:118)
        at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:727)
        at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
        at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
        at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
        at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    Any help would be appreciated
    Thanks,
    Mike

    Hi - I have exactly the same issue. Referring to Java 1.7_25 release note, i have also included permissions/codebase attributes in jmf jar manifest file but it did not help. With the permissions attributes i dont see the warning missing permissions, but it not solve the actual problem. JMF throws following NPE exception in my case
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.NullPointerException
        at sun.awt.image.FetcherInfo.getFetcherInfo(Unknown Source)
        at sun.awt.image.ImageFetcher.add(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.InputStreamImageSource.addConsumer(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.prepare(Unknown Source)
        at sun.awt.SunToolkit.prepareImage(Unknown Source)
        at java.awt.Component.prepareImage(Unknown Source)
        at java.awt.ImageMediaEntry.startLoad(Unknown Source)
        at java.awt.MediaEntry.getStatus(Unknown Source)
        at java.awt.ImageMediaEntry.getStatus(Unknown Source
    Please let me know if you have any solution for the above problem. Appreciated your help.
    Thanks
    Sri

  • Problems with Remote App on iOS 4?

    I have a new iPhone 4 and tried to use the Remote App in Connection with Apple TV. While I'am able to pair the remote app with Apple TV, I cannot use it properly. It works for a while, then it get's disconnected with a message that maybe a Firewall might be activated in the Router.
    I have no problems with Remote App connected to my iTunes Library. I also tried it with a iPod Touch which is still on iOS 3.1.3, no problems to connect to the Apple TV from there as well.
    Are there any known problems with iOS 4 and Apple TV?

    Chenks wrote:
    maybe for you, but isn't for me.
    i have the remote app on my iphone4 and it's connected to 2 appletv's.
    i don't experience any dropping of connection etc.
    May I ask what wifi hardware you use? It might be an wifi issue, but one which is only related with the "Bonjour" protocol which seems to be used for the Remote App. I found this thread which is older (iOS 3) but describing exactly the same problems:
    http://discussions.apple.com/thread.jspa?threadID=2048555&start=0&tstart=0
    bear in mind that the iphone4 is now "n" wifi compatible (2.4Ghz), so could it be that the "n" part of your network is poor and thus why you only see the problem on the iphone4 ?
    At least it is not poor when using it from other devices or moving a lot of data in other Apps. It is all Apple Hardware (nothing older than 2 years), and maybe that's the problem. I never had network hardware which made so much trouble, as Apples Airport series. I wouldn't wonder if it is an incompatibility between a new wifi chip in the iPhone 4 and a older Revision of an Airport device. But I don't know how to check - is there a system.log on the iPhone which I can access somehow?

  • How can I enable java applet plug-in and Web Start applications via terminal?

    Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse.  I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java.  But I want to write a script which will do this periodically for a couple hundred Mac users where I work. 
    My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command?  Is this possible?  Is there a plist file that can be modified, etc.?
    Bob Reed

    It is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used.  We don't want users to have to keep re-enabling it.  So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation.   With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login.  So the preference is always enabled.
    For your reference, the script content is:
    #!/bin/sh
    # DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
    if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
    elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
    fi
    # Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    The launch agent plist content is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Disabled</key>
              <false/>
              <key>Label</key>
              <string>org.XXXXX.enableJavaPlugin</string>
              <key>ProgramArguments</key>
              <array>
                        <string>sh</string>
                        <string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
              </array>
              <key>RunAtLoad</key>
              <true/>
              <key>StartOnMount</key>
              <true/>
    </dict>
    </plist>
    I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
    Bob
    Message was edited by: Robert Reed2

  • Looking for a good Javascript to let me know if the "Enable applet plug-in and Web Start Applications is enabled" is disabled or enabled within Java Preferences?

    If this code could work on Snow Leopard as well, that would be awesome. I have a code to tell if Java is enable or disabled on any web browser, but it does not detect if the Java Preferences "Enable applet plug-in and Web Start Applications is enabled" is enabled or disabled. Just looking for a specific code to tell if this option is disabled or enabled.
    Thank you

    Launch Applications/Utilities/Java Preferences.app by double-clicking.
    EDIT; But I think you are confusing this with JavaScript which has nothing to do with it.

  • Problem with attachment in web service

    I'm writing a WebService under WebLogic 9.2 . My WebService API needs to recive and return an attachment. I'm tring to use a javax.activation.DataHandler object for the attachment, but for some reason in the WSDL file that being created, the DataHandler isn't being recognize and the "http://www.bea.com/servers/wls90/wsee/attachment" namespace is being associated with it (I'm using "jwsc" in the build.xml).
    Does anyone encounter with problem ? and does the DataHandler is the right object to use for attachment (i want to avoid using base-64 String)?

    duplicate problem with a secured web service

  • Problem with pdf display downloaded from application server

    Hi all,
    I have a problem with displaying pdf downloaded from application server (saved in BINARY MODE).
    I am getting the pdf output of adobe form in FPFORMOUTPUT-PDF as rawstring back to my program and then converting that rawstring into binary form using the function module SCMS_BINARY_TO_STRING.
    Now, when I export the data to presentation server directly using cl_gui_frontend_services=>gui_download, the pdf is downloaded properly.
    However, when I save the data to application server file by looping at the internal table obtained from SCMS_XSTRING_TO_BINARY and using TRANSFER, and subsequently downloading the file in "unconverted format" from AL11 to my desktop, I am getting a "blank" pdf file (with the same number of pages as the one downloaded using gui_download).
    I have tried different encodings during download but in those cases i get corrupted pdf message. only the default option of INTIAL value seems to work.
    I am forced to believe that there is a problem in my code which saves the data to app server but I cant find any solution that is logical. Any solution to this would be greatly appreciated.
    Regards,
    Sasi
    Edited by: Sasi Upadrasta on Sep 29, 2010 7:55 PM

    used a program to read the file from appl server and then downloading it to desktop.

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • Planning problems with russian language during refresh application

    Hello all ))
    I have problems with Planning during refresh my Application with Essbase.
    I intsalled Essbase on RHEL4 and set ESSLANG=Russian_Russia.ISO-8859-5@Default also I set locale on ru_RU.iso88595
    Ater that I installed Planning on Solaris 9 which uses Oracle RDBMS with NLS_CHARACTERSET=AL32UTF8 and set locale on server to ru_RU.iso88595
    Now I can create dementions, members on russion language in Essbase without problems also I can create dementions,members,etc on russian language in Planning. But if I create demention or member in Planning on Russian languge and ) try refresh my Application with Essbase I give follow error
    "=====(HspCubeCreation.java)sQueryString:?Application=Test1
    com.hyperion.planning.olap.EssbaseException: (1060010)
    at com.hyperion.planning.olap.HspEssbaseOutlineAPI.EssAddMemberEx(Native Method)
    at com.hyperion.planning.olap.HspCubeRefreshTask.addChildren(Unknown Source)
    at com.hyperion.planning.olap.HspCubeRefreshTask.addMembers(Unknown Source)
    at com.hyperion.planning.olap.HspCubeRefreshTask.addDimensionsAndMembers(Unknown Source)
    at com.hyperion.planning.olap.HspCubeRefreshTask.buildOutlines(Unknown Source)
    at com.hyperion.planning.olap.HspCubeRefreshTask.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)"
    Why it's happened?
    Please anybody help me

    since march 5 we are on planning 9.3.1.1 and also having problems with refreshing:
    com.hyperion.planning.HspCubeRefreshInProgressException: Cannot complete your request because the database is being refreshed.
         at com.hyperion.planning.HspJSImpl.lockApp(I)V(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.lockApp()V(Unknown Source)
         at HspSecurityFilter.Handle(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
         at HspSecurityFilter.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3150)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    com.hyperion.planning.HspCubeRefreshInProgressException: Cannot complete your request because the database is being refreshed.
         at com.hyperion.planning.olap.HspCubeRefreshTask.run()V(Unknown Source)
         at java.lang.Thread.run()V(Unknown Source)
    anyone a idea?

Maybe you are looking for