Web Start Application fails after upgrade to JRE 1.6.0_u33

I have a production application that uses java web start for deployment. All has gone well, but we are experiencing problems when testing upgrading to the latest JRE update 1.6.0_u33.
The application is composed of several jar files, all of which are signed with a code signing certificate. However, after updating the JRE, I receive the error :
#### Java Web Start Error:
#### Unsigned application requesting unrestricted access to system
Unsigned resource: the first jar file in my jnlp
This is a pretty odd error, since the jar is definitely signed. I can find it in the webstart cache and run jarsigner -verify against it and it verifies successfully.
If I remove the application and reinstall it, everything works fine, but this is a pretty unacceptable solution for thousands of users, many of which are not very technical.
Does anyone have any solutions or has anyone encountered the same problem? It is currently a showstopper for us to taking this new JRE update which contains some critical security updates we would like to have implemented.
Thanks in advance for any help.

Hi
I have seen this post a little bit late, but... We have also encountered such issue.
There is another workaround than ask people to empty the java web start cache.
In order to force the end user's computer to download again you application entirely, we have signed again ALL the jar files and uploaded them to our server.
That works well but... if somebody download the "new" files and upgrades java to 1.6_0_33 afterwards... same issue will appear again.
Please observe that the traffic in this forum has started to decrease strongly. That's not amazing when you see that you cannot count on this product.
Java web start has never worked correctly and that for a long time. This one suffers of numerous bugs and regressions. We should rather call it Java Nightmare Neverstart
It's a shame.
Sun has been acquired by Oracle but that does not seem change anything.
Java RIP
Claude

Similar Messages

  • 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.

  • Web clip widget fails after upgrade to 10.5.2

    I installed 10.5.2 last night and after the restart the web clip widget has refused to work. I work through the process in safari highlight the box and click apply but it does not appear in my dock. Anyone got any solutions to this problem I found it a very handy function

    Hi tried that one this morning about the style sheet. So far I have
    Reset safari and the cache
    Run disk utilities
    Deleted the preferences list for the widget
    moved them all out and then re installed them
    restart numerous times.
    Its a bummer this one, thanks though

  • Offline Web Start app fails to launch with Java 7 Update 25

    So it seems that another issue with Java 7 update 25 and Web Start applications is that a signed application will not launch when offline.
    It fails when attempting to check the revocation status of the signing certificate.
    Anyone have any ideas to get around this exception aside from uninstalling update 25?
    Thanks!
    com.sun.deploy.security.RevocationChecker$StatusUnknownException: java.net.UnknownHostException: ocsp.usertrust.com
                   at com.sun.deploy.security.RevocationChecker.checkOCSP(Unknown Source)
                   at com.sun.deploy.security.RevocationChecker.check(Unknown Source)
                   at com.sun.deploy.security.TrustDecider.checkRevocationStatus(Unknown Source)
                   at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source)
                   at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
                   at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
                   at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
                   at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
                   at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
                   at com.sun.javaws.Launcher.prepareResources(Unknown Source)
                   at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
                   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
                   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
                   at com.sun.javaws.Launcher.launch(Unknown Source)
                   at com.sun.javaws.Main.launchApp(Unknown Source)
                   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
                   at com.sun.javaws.Main.access$000(Unknown Source)
                   at com.sun.javaws.Main$1.run(Unknown Source)
                   at java.lang.Thread.run(Unknown Source)
                   Suppressed: com.sun.deploy.security.RevocationChecker$StatusUnknownException
                                  at com.sun.deploy.security.RevocationChecker.checkCRLs(Unknown Source)
                                  ... 18 more
    Caused by: java.net.UnknownHostException: ocsp.usertrust.com
                   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
                   at java.net.PlainSocketImpl.connect(Unknown Source)
                   at java.net.SocksSocketImpl.connect(Unknown Source)
                   at java.net.Socket.connect(Unknown Source)
                   at sun.net.NetworkClient.doConnect(Unknown Source)
                   at sun.net.www.http.HttpClient.openServer(Unknown Source)
                   at sun.net.www.http.HttpClient.openServer(Unknown Source)
                   at sun.net.www.http.HttpClient.<init>(Unknown Source)
                   at sun.net.www.http.HttpClient.New(Unknown Source)
                   at sun.net.www.http.HttpClient.New(Unknown Source)
                   at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
                   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
                   at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
                   at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
                   at sun.security.provider.certpath.OCSP.check(Unknown Source)
                   at sun.security.provider.certpath.OCSP.check(Unknown Source)
                   at sun.security.provider.certpath.OCSP.check(Unknown Source)
                   ... 19 more

    Disregard. I found that the user had changed the java security settings to "Very High" in addition to upgrading to update 25.

  • 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.

  • 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.

  • 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

  • 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.

  • Unit test fails after upgrading to Kodo 4.0.0 from 4.0.0-EA4

    I have a group of 6 unit tests failing after upgrading to the new Kodo
    4.0.0 (with BEA) from Kodo-4.0.0-EA4 (with Solarmetric). I'm getting
    exceptions like the one at the bottom of this email. It seems to be an
    interaction with the PostgreSQL driver, though I can't be sure. I
    haven't changed my JDO configuration or the related classes in months
    since I've been focusing on using the objects that have already been
    defined. The .jdo, .jdoquery, and .java code are below the exception,
    just in case there's something wrong in there. Does anyone have advice
    as to how I might debug this?
    Thanks,
    Mark
    Testsuite: edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest
    Tests run: 15, Failures: 0, Errors: 6, Time elapsed: 23.308 sec
    Testcase:
    testGetAllUsersWithFirstName(edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest):
    Caused an ERROR
    The column index is out of range: 2, number of columns: 1.
    <2|false|4.0.0> kodo.jdo.DataStoreException: The column index is out of
    range: 2, number of columns: 1.
    at
    kodo.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4092)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:82)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:66)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:46)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:176)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.handleCheckedException(QueryImpl.java:2460)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:32)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    at
    edu.ucsc.whisper.core.manager.DefaultUserManager.getAllUsersWithFirstName(DefaultUserManager.java:252)
    NestedThrowablesStackTrace:
    org.postgresql.util.PSQLException: The column index is out of range: 2,
    number of columns: 1.
    at
    org.postgresql.core.v3.SimpleParameterList.bind(SimpleParameterList.java:57)
    at
    org.postgresql.core.v3.SimpleParameterList.setLiteralParameter(SimpleParameterList.java:101)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.bindLiteral(AbstractJdbc2Statement.java:2085)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.setInt(AbstractJdbc2Statement.java:1133)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.setInt(PoolConnection.java:440)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setInt(LoggingConnectionDecorator.java:1
    257)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at kodo.jdbc.sql.DBDictionary.setInt(DBDictionary.java:980)
    at kodo.jdbc.sql.DBDictionary.setUnknown(DBDictionary.java:1299)
    at kodo.jdbc.sql.SQLBuffer.setParameters(SQLBuffer.java:638)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:539)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:512)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:332)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:301)
    at kodo.jdbc.sql.Union$UnionSelect.execute(Union.java:642)
    at kodo.jdbc.sql.Union.execute(Union.java:326)
    at kodo.jdbc.sql.Union.execute(Union.java:313)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:98)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:2405)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    --- DefaultUser.java -------------------------------------------------
    public class DefaultUser
    implements User
    /** The account username. */
    private String username;
    /** The account password. */
    private String password;
    /** A flag indicating whether or not the account is enabled. */
    private boolean enabled;
    /** The authorities granted to this account. */
    private Set<Authority> authorities;
    /** Information about the user, including their name and text that
    describes them. */
    private UserInfo userInfo;
    /** The set of organizations where this user works. */
    private Set<Organization> organizations;
    --- DefaultUser.jdo --------------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <sequence name="user_id_seq"
    factory-class="native(Sequence=user_id_seq)"/>
    <class name="DefaultUser" detachable="true"
    table="whisper_user" identity-type="datastore">
    <datastore-identity sequence="user_id_seq" column="userId"/>
    <field name="username">
    <column name="username" length="80" jdbc-type="VARCHAR" />
    </field>
    <field name="password">
    <column name="password" length="40" jdbc-type="CHAR" />
    </field>
    <field name="enabled">
    <column name="enabled" />
    </field>
    <field name="userInfo" persistence-modifier="persistent"
    default-fetch-group="true" dependent="true">
    <extension vendor-name="jpox"
    key="implementation-classes"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    <extension vendor-name="kodo"
    key="type"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    </field>
    <field name="authorities" persistence-modifier="persistent"
    table="user_authorities"
    default-fetch-group="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultAuthority" />
    <join column="userId" delete-action="cascade"/>
    <element column="authorityId" delete-action="cascade"/>
    </field>
    <field name="organizations" persistence-modifier="persistent"
    table="user_organizations" mapped-by="user"
    default-fetch-group="true" dependent="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultOrganization"
    dependent-element="true"/>
    <join column="userId"/>
    <!--<element column="organizationId"/>-->
    </field>
    </class>
    </package>
    </jdo>
    --- DefaultUser.jdoquery ---------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <class name="DefaultUser">
    <query name="UserByUsername"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT UNIQUE FROM edu.ucsc.whisper.core.DefaultUser
    WHERE username==searchName
    PARAMETERS java.lang.String searchName
    ]]></query>
    <query name="DisabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==false
    ]]></query>
    <query name="EnabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==true
    ]]></query>
    <query name="CountUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT count( this ) FROM edu.ucsc.whisper.core.DefaultUser
    ]]></query>
    </class>
    </package>
    </jdo>

    I'm sorry, I have no idea. I suggest sending a test case that
    reproduces the problem to support.

  • 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.

  • 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.

  • Singleton web start application 1.4 ?

    is there a way to configure a web start application to be singleton in the JNLP1.4 ?

    You can do this in 1.5. For ealier version you will need to do it yourself by using JNI to switch to the singleton. Or you can open a ServerSocket and open a port and if that port is in use tell the user that they need to switch to the already running application.

  • Missing application icons after upgrade to 2.0

    Missing application icons after upgrading to 2.0. Tetris, Clock and Voice recording icons are missing. Looks like the applications are still installed but they are not showing up with all the other icons.
    There is absolutely nothing in the help about restoring icons.
    Any ideas as to how I can get these missing icons to display again?
    Thanks.

    Great! Where was it?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • 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.

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

Maybe you are looking for

  • My Safari won't open and Can't find Genieo Files so that may not be the problem

    Safari 8.0.2 update installed today. I got a

  • IMac no longer connects to wifi (3 other Macs + iPod Touch DO).

    My iMac 23" (3.06 GHz Intel Core 2 Duo, 4GB 1067 MHz, Airport card: Airport Extreme 0x14E4, 0x8E, fw version Broadcom BCM43xx 1.0, OS10.5.8) no longer connects to wifi. The connection has been dropping regularly over the past month or so and since th

  • Photoshop CS5 crashes with type

    If I open a PSD with type, the file opens but Photoshop hangs. If the PSD contains no type (eg type rasterised), Photoshop works fine. My OS is Windows Vista. Hans.

  • Ranges select

    Hi I have table of ranges in my function module , that difine like : sign(1)   TYPE c  option(2) TYPE c low       TYPE PERNR_D high      TYPE PERNR_D I use " IN" cluse in my select from  pa0003. data : Range_Emp_Wa    type zrange_emp,           Pernr

  • Software access

    Dear sap guru's,             This is suresh, i just got trained on sap sd & bw. but i don't have any access to the software, i mean public ip of the software, i have the sap gui installed on my computer, and dsl running pretty good. i am unemployed i