Re: Java with mozilla-firefox

2005-10-02 Thread Keith Richardson

Running firefox from the shell gives me this:
$ firefox
INTERNAL ERROR on Browser End: Exec of java_vm failed: 2

System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

It doesn't drop a .core file though.

Is this information enough?

Friendly,
Rico.


Applets worked for me after installing java 1.4.2 via the ports tree, 
mozilla-firefox through the packages tree and changing my settings in 
login.conf. 

Going off your error message above, I would guess you are missing a file 
in your java/firefox installation or the permissions are wrong.


Here is my file count:

$ find /usr/local/jdk* | wc -l
   2719
$ find /usr/local/mozilla-firefox/ | wc -l
632

You can find to look for files missing world-read permission.  See the 
man pages for more details.


If all else fails, follow up on Josh's advice on using gdb

Good luck,
Keith Richardson



Re: Java with mozilla-firefox

2005-10-02 Thread Rico

Hi pirge and thanks!

pirge wrote:

set ulimit before running firefox:
$ ulimit -d 262144
$ firefox


Works!



Re: Java with mozilla-firefox

2005-09-30 Thread steven mestdagh
On Fri, Sep 30, 2005 at 03:53:48PM +0200, Rico wrote:
 Hi
 
 I am trying to get java working on mozilla-firefox on obsd37.
 
 I have installed the jdk1.4 from ports and the installation went well. I 
 have created the symbolic link from libjavaplugin_oji.so to 
 /home/user/.mozilla/plugins
 
 Doing about:plugins in the browser java shows up as installed.
 
 When I try to look at a page with java, firefox crashes.
 
 Is there anything I am missing perhaps.

yes, your resource limits are probably not high enough. change them with
'ulimit -d' or something similar.  my java_vm here is using about 200M
of memory, which is higher than the default limit in 3.7.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: Java with mozilla-firefox

2005-09-30 Thread Paulo Manoel Mafra
Try using this:
/etc/login.conf
default:\
:datasize-max=512M:\
:datasize-cur=384M:\
:stacksize-cur=8M:\
...


On Fri, Sep 30, 2005 at 03:53:48PM +0200, Rico wrote:
* Hi
* 
* I am trying to get java working on mozilla-firefox on obsd37.
* 
* I have installed the jdk1.4 from ports and the installation went well. I 
* have created the symbolic link from libjavaplugin_oji.so to 
* /home/user/.mozilla/plugins
* 
* Doing about:plugins in the browser java shows up as installed.
* 
* When I try to look at a page with java, firefox crashes.
* 
* Is there anything I am missing perhaps.
* 
* Cheers.
* Rico.

-- 


Paulo Manoel Mafra
LCMI - Laboratorio de Controle e Micro Informatica
Departamento de Automagco e Sistemas - UFSC



Re: Java with mozilla-firefox

2005-09-30 Thread Rico

Hi

Paulo Manoel Mafra wrote:

Try using this:
/etc/login.conf
default:\
:datasize-max=512M:\
:datasize-cur=384M:\
:stacksize-cur=8M:\


I tried that but it didn't change anything, firefox is still crashing.

Cheers,
Rico.



Re: Java with mozilla-firefox

2005-09-30 Thread Rico

Hi

steven mestdagh wrote:

yes, your resource limits are probably not high enough. change them with
'ulimit -d' or something similar.  my java_vm here is using about 200M
of memory, which is higher than the default limit in 3.7.


It is actually set to unlimited.

Cheers,
Rico.



Re: Java with mozilla-firefox

2005-09-30 Thread Josh Grosse
On Fri, Sep 30, 2005 at 10:37:43PM +0200, Rico wrote:
 ...I tried that but it didn't change anything, firefox is still crashing.

I don't recall you mentioning whether ff dropped a .core file when it 
crashed.  You might consider running firefox from a shell, and if it
won't drop a .core file into your working directory, running ff from within
gdb.



Re: Java with mozilla-firefox

2005-09-30 Thread Rico

Hi Josh

Josh Grosse wrote:
I don't recall you mentioning whether ff dropped a .core file when it 
crashed.  You might consider running firefox from a shell, and if it

won't drop a .core file into your working directory, running ff from within
gdb.


Running firefox from the shell gives me this:
$ firefox
INTERNAL ERROR on Browser End: Exec of java_vm failed: 2

System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

It doesn't drop a .core file though.

Is this information enough?

Friendly,
Rico.