38 coaches online • Server time: 14:10
Forum Chat
Log in
Recent Forum Topics goto Post Secret League Americ...goto Post DOTP Season 4goto Post Skittles' Centu...
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
vonkhades



Joined: Mar 09, 2011

Post   Posted: Mar 09, 2011 - 22:29 Reply with quote Back to top

Hi, when clicking on the "play" link on Firefox (on macosx) Im asked to download a php file.

The same thing on the same machine but on Safari works and launches the webstart app.

Something similar happen to us (in my work), to fix you can try changing the propert content-type

$jnlpName = "bbowl.php.jnlp";
header("Content-Type: application/x-java-jnlp-file");
header("Content-Disposition: attachment;filename=" . $jnlpName);

OR simply put the jnlp protocol in the link (instead of the http) so something like

jnlp://fumbbl.com/bbowl.php (this worked with JSP, but not sure with PHP), hope it helps.

cheers.
vonkhades



Joined: Mar 09, 2011

Post   Posted: Mar 09, 2011 - 22:40 Reply with quote Back to top

On safari, the Java WebStart app launches and start downloading, but then when the .jar is fully downloaded the following exception is thrown (in java console)

JNLP
<<<<<<<<<<<<<<<<<<<<<<<<
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for JBBReplayer application -->
<jnlp
spec="1.0+"
codebase="http://fumbbl.com">
<information>
<title>JavaBBowl</title>
<vendor>fumbbl.com</vendor>
<homepage href="/"/>
<description>JavaBBowl Launcher</description>
<description kind="short">Launches JavaBBowl</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4" href="http://java.sun.com/products/autodl/j2se"/>
<j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="JBBLaunch.jar"/>
</resources>
<application-desc main-class="JBBLaunch">
<argument>-forcelogin</argument>
</application-desc>
</jnlp>
>>>>>>>>>>>>>>>>>>>>>>>>>

Exception
<<<<<<<<<<<<<<<<<<<<<<<<<
java.lang.NullPointerException
at java.io.Writer.write(Writer.java:140)
at JBBLaunch.main(JBBLaunch.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1904)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1842)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1604)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
>>>>>>>>>>>>>>>>>>>>>>>>>

Console
<<<<<<<<<<<<<<<<<<<<<<<<<
Java Web Start 1.6.0_22
Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/luis
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Could not launch from cache. Will try online mode. [Some of required resources are not cached.]
#### Java Web Start Error:
#### null

>>>>>>>>>>>>>>>>>>>>>>>>>

looks like the problem is on JBBLaunch.java:30

hope it helps something, I really wanted to try this on my Mac Sad
Gran



Joined: Jul 07, 2005

Post   Posted: Mar 09, 2011 - 22:52 Reply with quote Back to top

Well, the "play" link does work (in a way), but it wouldn't work for you since it launches the lrb4 client, and I assume that you have not installed it on your computer.

If you want to try the lrb6 client you need a team, either in the [R] division or the [B] division.

If you want to try the lrb4 client you need to download it from another site (sadly I don't know which one for Mac, but Google is your friend) and install it on your computer.

I'd advise you to start here: http://fumbbl.com/help:CRP

Oh, and welcome to FUMBBL! Smile

_________________
The trouble is that things *never* get better, they just stay the same, only more so.
-- (Terry Pratchett, Eric)

Today Is A Good Day For Someone Else To Die!
-- (Terry Pratchett, Feet of Clay)
vonkhades



Joined: Mar 09, 2011

Post   Posted: Mar 09, 2011 - 22:54 Reply with quote Back to top

I see! Im very sorry for any caused buzz for sure Ill try what you said! Thanks!!!!!!
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic