#jogamp @ irc.freenode.net - 20140127 05:05:41 (UTC)


20140127 05:05:41 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140126050541.html
20140127 05:05:41 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140127050541.html
20140127 05:24:11 * bgroenks (~chatzilla@anon) has joined #jogamp
20140127 05:27:02 * bgroenks (~chatzilla@anon) Quit (Client Quit)
20140127 07:20:18 * [Mike] (~Mike]@anon) Quit ()
20140127 07:42:35 * monsieur_max (~maxime@anon) has joined #jogamp
20140127 09:07:56 * odinsbane (~msmith@anon) has joined #jogamp
20140127 09:08:27 <odinsbane> Hmm, oddly enough java3d broke for me recently and I don't know what changed.
20140127 09:11:47 <odinsbane> I'm on mac os x, and I was using 1.6.0 and associated jogl. Now it has regressed to the previous error I used to get. java.lang.NoClassDefFoundError apple/awt/ComponentModel
20140127 09:22:40 <odinsbane> When I query my device here are the outputs. One of the query methods also causes the class not found error.
20140127 09:22:43 <odinsbane> http://pastie.org/8671323
20140127 09:32:18 <odinsbane> Great I found it, 'somebody' had installed another version of java3d.
20140127 11:52:29 * odinsbane (~msmith@anon) Quit (Ping timeout: 240 seconds)
20140127 14:07:52 <monsieur_max> ah, "somebody", everyone already had troubles with him, the bastard
20140127 14:22:45 * gouessej (546051e4@anon) has joined #jogamp
20140127 14:24:48 <gouessej> Hi
20140127 14:25:29 <gouessej> I've just found something very annoying for those who use JogAmp with Java Webstart
20140127 14:26:17 <gouessej> Oracle Java shows a confusing warning when it detects our JARs containing native libraries
20140127 14:28:19 <xranby> gouessej: new issues with java 7 update 51 ?
20140127 14:29:24 <gouessej> yes
20140127 14:29:39 <gouessej> it complains about the missing permissions
20140127 14:29:43 <gouessej> in the manifest
20140127 14:29:55 <gouessej> even though I set the attribute
20140127 14:30:48 <gouessej> in my case, I use a fat JAR containing both the classes and the native libraries
20140127 14:33:59 <gouessej> Java claims that the manifest doesn't contain the permissions manifest attribute
20140127 14:34:21 <gouessej> I'm going to test with no fat JAR
20140127 14:34:52 <xranby> hmm.. according to oracle you should read this doc http://www.java.com/en/download/help/java_blocked.xml
20140127 14:34:58 <xranby> i dont know if it help
20140127 14:36:00 <gouessej> "Missing required Permissions manifest attribute in main jar"
20140127 14:36:05 <gouessej> lol
20140127 14:36:17 <gouessej> it displays this message for other reasons
20140127 14:46:26 <sgothel> ah :)
20140127 14:47:08 <sgothel> w/ 7u51 you need to add Permissions in manifest - yay :)
20140127 14:47:16 <sgothel> so our demos use 'sandbox'
20140127 14:47:45 <sgothel> if you say: 'all permissions' .. well, you need to add the jnlp security tag as well :)
20140127 14:48:07 <sgothel> in short: "a world of pain" .. and ofc ,. all this is incompatible w/ < 7u51
20140127 14:48:32 <sgothel> @Xerxes: Qun prepares the slides .. I will fill in 'her questions' .. will send the slides to you tomorrow
20140127 14:50:16 <sgothel> @Julien: Fix for Bug 945 is confirmed by you ?
20140127 14:52:20 <gouessej> yes
20140127 14:52:28 <gouessej> sorry
20140127 14:53:09 <gouessej> It doesn't work even though I use the security tag and if I set the permissions attribute manifest to all-permissions
20140127 14:53:17 <gouessej> I still get a warning
20140127 14:53:30 <gouessej> it claims that the application will be blocked in the next release
20140127 14:53:33 <sgothel> sure you have a blank line at the end ?
20140127 14:54:02 <sgothel> sure it is before all other 'Name' entries .. like 'Sealed' ?
20140127 14:54:15 <sgothel> I had a few .. look at our Manifest template history :)
20140127 14:54:19 <sgothel> quite a ride
20140127 14:54:41 <sgothel> Trusted-Library: true
20140127 14:54:41 <sgothel> Permissions: all-permissions
20140127 14:54:41 <sgothel> Application-Library-Allowable-Codebase: *
20140127 14:54:41 <sgothel> @JAR_CODEBASE_TAG@
20140127 14:54:48 <sgothel> + an empty line
20140127 14:55:17 <sgothel> Trusted-Library: true
20140127 14:55:17 <sgothel> Permissions: all-permissions
20140127 14:55:17 <sgothel> Application-Library-Allowable-Codebase: *
20140127 14:55:17 <sgothel> @JAR_CODEBASE_TAG@
20140127 14:55:17 <sgothel> Name: jogamp/common/
20140127 14:55:17 <sgothel> Sealed: true
20140127 14:55:21 <sgothel> or this ..
20140127 14:55:30 <gouessej> I'm going to check those things...
20140127 14:55:33 <gouessej> one by one
20140127 14:55:33 <sgothel> looks at the produced MANIFEST file ..
20140127 14:55:52 <sgothel> i.e. before I sorted those things .. gluegen-rt gave warnings as well
20140127 14:57:15 <gouessej> The blank line at the ned is present
20140127 14:57:18 <gouessej> "end"
20140127 14:57:47 <gouessej> Ok
20140127 14:57:51 <gouessej> I know the problem
20140127 14:58:08 <gouessej> You cannot mix classes and native libraries inside the same JAR
20140127 14:58:25 <gouessej> I have to check that once more
20140127 14:58:29 <sgothel> you can .. if you use GlueGen's native lib loading ..
20140127 14:59:00 <sgothel> (not jnlp referenced one)
20140127 14:59:02 <gouessej> It works but I get the warning only when I use a fat JAR containing both JogAmp classes and its native libraries
20140127 14:59:21 <gouessej> If I don't use a fat JAR, it works and I get no warning
20140127 14:59:23 <sgothel> you use jnlp ?
20140127 14:59:51 <sgothel> whats the deployment scheme here .. ? applet or jnlp ?
20140127 15:00:00 <sgothel> (or jnlp-applet)
20140127 15:00:10 <gouessej> Applet + JNLP
20140127 15:00:26 <sgothel> then don't reference you big-fat jar in jnlp
20140127 15:00:32 <xranby> (15:49:18) sgothel: @Xerxes: Qun prepares the slides .. I will fill in 'her questions' .. will send the slides to you tomorrow <--- *bows* thank you both
20140127 15:01:05 <xranby> we had a good grand opening this weekend: images: http://www.gongiversum.com/invigning/invigt/
20140127 15:01:14 <gouessej> I'm forced to reference it as it contains the main method too
20140127 15:01:30 <gouessej> it contains most of the application
20140127 15:01:31 <sgothel> yeah .. but not for the native stuff ..
20140127 15:01:40 <sgothel> i.e. you can be totally silent .. here
20140127 15:01:46 <gouessej> yes
20140127 15:01:46 <sgothel> btw .. just use NApplet :)
20140127 15:02:00 <sgothel> you don't need this jnlp/applet anymore, it's slower
20140127 15:02:15 <sgothel> @Xerxes: Great - I knew it was around .. - HAPPY BIRTHDAY
20140127 15:02:22 <gouessej> It's just nice to know that there is a limitation when using the "fat JAR" approach
20140127 15:02:42 <gouessej> Happy Birthday Xerxes :)
20140127 15:02:45 <sgothel> I dunno .. not our limitation .. so use NApplet - done
20140127 15:03:00 <gouessej> It comes from Oracle for sure
20140127 15:03:02 <sgothel> (it's his wifes birthday .. )
20140127 15:03:02 <xranby> Happy Gongiversum Birthday! :D
20140127 15:03:09 <sgothel> or that :)
20140127 15:03:40 <gouessej> Should we document that even though it's not "our" fault?
20140127 15:04:02 <sgothel> pls re-test without using fat-jar for natives in your jnlp ..
20140127 15:04:25 <sgothel> btw - a wiki section for fat-jar etc would also be nice :) where you can mention it
20140127 15:04:33 <sgothel> i.e. the whole dialog we had ..
20140127 15:04:39 <gouessej> Ok I'm retesting...
20140127 15:04:51 <gouessej> and then I'm going to edit our wiki
20140127 15:05:04 <sgothel> <resources os="SunOS" arch="x86">
20140127 15:05:04 <sgothel> <nativelib href = "jar/gluegen-rt-natives-solaris-i586.jar" />
20140127 15:05:04 <sgothel> </resources>
20140127 15:05:04 <sgothel> ^^ without these things :)
20140127 15:05:40 <sgothel> (sure .. here put in your fat jar)
20140127 15:06:12 <sgothel> guess I go back hacking .. to avoid a 100% vaporware event :)
20140127 15:08:30 <gouessej> It means that the fat JAR approach can't be used to reduce the number of JARs when OCSP requests take too much time for example
20140127 15:10:22 <gouessej> Tonight I'll have to clean my JOGL repository before working on NEWT Input API
20140127 15:10:39 <gouessej> I will need some help with GIT
20140127 15:11:20 <sgothel> It means that the fat JAR approach can't be used to reduce the number of JARs when OCSP requests take too much time for example <- NApplet
20140127 15:12:22 <sgothel> we may think about *jogamp-all* w/ jogamp-natives-* :)
20140127 15:12:42 <sgothel> loading our natives via NApplet IMHO doesn't do an OCSP :)
20140127 15:15:36 <gouessej> I'll have to merge the native libraries into a single JAR anyway
20140127 15:22:07 * gouessej (546051e4@anon) Quit (Quit: Page closed)
20140127 15:46:27 * gouessej (546051e4@anon) has joined #jogamp
20140127 15:47:17 <gouessej> Sorry, my problem has nothing to do with JogAmp. The wrong warning appears each time I run the application with or without JogAmp when the cache has just been emptied
20140127 15:47:19 <gouessej> :s
20140127 15:47:33 <gouessej> I'm going to test with Java 1.7 update 60 EA
20140127 15:48:04 * gouessej (546051e4@anon) Quit (Client Quit)
20140127 16:56:55 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140127 17:27:23 * [Mike] (~Mike]@anon) has joined #jogamp
20140127 19:01:55 * monsieur_max (~maxime@anon) has joined #jogamp
20140127 21:34:59 * void256 (~void@anon) has joined #jogamp
20140127 22:18:23 * monsieur_max (~maxime@anon) has left #jogamp
20140127 22:33:03 * bgroenks (~chatzilla@anon) has joined #jogamp
20140128 00:05:02 * void256 (~void@anon) Quit (Ping timeout: 264 seconds)
20140128 00:07:40 * bgroenks (~chatzilla@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131206145537])
20140128 04:12:35 * [Mike] (~Mike]@anon) Quit ()
20140128 05:05:41 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140128050541.html