Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 170673

Summary: net-libs/xulrunner java support doesnt work for embedding
Product: Gentoo Linux Reporter: Greg Bowyer <gbowyer>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED NEEDINFO    
Severity: minor CC: gpp666_999, java
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg Bowyer 2007-03-12 22:59:14 UTC
Hi all, I am a developer that is using the xulrunner environment in a strange way in an embeded manor. Basically the java process embeds the xulrunner (and controls the main application event pump).

The application startup for my test applications works fine for my own built / downloaded xulrunner builds, however using the gentoo globally installed xulrunner this does not work (it yeilds an XPCOMException code 0x80520009). This *could* be an issue with the fact that I am not a full blown xulapplication (since the browser is under control of java)

Also noticed is the lack of javaxpcom.jar file from the /usr/lib/xulrunner dir that makes me think the build is incomplete (as well as some missing files from sdk/* in the same place)

Reproducible: Always

Steps to Reproduce:
1. Rig up a small xulrunner app in java
2. Run ....
3. Wait for XPCOMException

Actual Results:  
Xulapplication window starts successfully

Expected Results:  
XPCOMException

Workaround for me is to currently use the offical / my own builds
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-03-13 15:13:55 UTC
I guess you have enabled the java USE-flag, right?
Comment 2 Gergan Penkov 2007-03-18 13:12:13 UTC
all gentoo jars are installed in /usr/share/ on purpose, so it is not in /usr/lib/xulrunner.
But as you are getting XPCOMException I think you have included the jar in your java search path or are you using another jar?
If you are using the gentoo jar, could you post the stack trace - it is possible that the jar could not find and load the the so-objects needed, if this is the case it should be made to know, where to search for them.
Comment 3 Dennis Schridde 2009-02-04 22:54:06 UTC
Stumbled upon this bug via Google via accident. Maybe it should be closed/needinfo, since it is so old?
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2009-02-05 04:43:43 UTC
Maybe due to bug #256712 but not sure.
Comment 5 Jory A. Pratt gentoo-dev 2009-11-04 00:23:59 UTC
If you find this to be an issue in the 1.9 slot please feel free to reopen.