Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374027 - dev-util/netbeans-7.0.1: missing library files for JAX-WS ?
Summary: dev-util/netbeans-7.0.1: missing library files for JAX-WS ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 237562
  Show dependency tree
 
Reported: 2011-07-04 10:50 UTC by Tolga Dalman
Modified: 2011-11-28 17:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Console output from netbeans (compile.txt,19.98 KB, text/plain)
2011-07-04 10:51 UTC, Tolga Dalman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tolga Dalman 2011-07-04 10:50:36 UTC
Hi,

I just noticed, that I cannot compile a Java web service client application when compiling with Netbeans 7.0. It worked before, and I am not sure, whether the cause is a plugin update out of netbeans, or the upgrade from 6.9.1 to 7.0.

The cause is not my code, but from generated JAX-WS files (see attachment). 
After some Google research, I found out that I need to add JAX-WS 2.2 library to 
my project. Having added the library, I get errors in the netbeans console:

warning: [path] bad path element "/usr/share/netbeans-nb-7.0/java/modules/ext/jaxws22/jax-qname.jar": no such file or directory
warning: [path] bad path element "/usr/share/netbeans-nb-7.0/java/modules/ext/jaxws22/activation.jar": no such file or directory
warning: [path] bad path element "/usr/share/netbeans-nb-7.0/java/modules/ext/jaxws22/servlet.jar": no such file or directory
warning: [path] bad path element "/usr/share/netbeans-nb-7.0/java/modules/ext/jaxws22/jsr173_api.jar": no such file or directory

(see attachment for a more complete error message).

emerge -pv netbeans

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-util/netbeans-7.0  USE="-doc" LINGUAS="-af -ar -ca -cs -de -el -es -fr -gl -hi_IN -id -it -ja -ko -lt -nl -pl -pt_BR -pt_PT -ro -ru -sq -sr -sv -tl -tr -vi -zh_CN -zh_TW" NETBEANS_MODULES="apisupport enterprise java profiler websvccommon -cnd -dlight -ergonomics -groovy -javacard -mobility -php" 0 kB



Thanks for your help in advance.
Comment 1 Tolga Dalman 2011-07-04 10:51:20 UTC
Created attachment 279033 [details]
Console output from netbeans
Comment 2 Miroslav Šulc gentoo-dev 2011-07-04 13:09:55 UTC
i just downloaded upstream zip with netbeans installation and here it what it contains in that dir:

crook nb # ls -l netbeans/java/modules/ext/jaxws22/
total 3480
drwxr-xr-x 2 root root    4096 29. kvě 19.17 api
-rw-r--r-- 1 root root  291817 29. kvě 19.17 FastInfoset.jar
-rw-r--r-- 1 root root   21839 29. kvě 19.17 gmbal-api-only.jar
-rw-r--r-- 1 root root   82265 29. kvě 19.17 http.jar
-rw-r--r-- 1 root root 1482168 29. kvě 19.17 jaxws-rt.jar
-rw-r--r-- 1 root root  519211 29. kvě 19.17 jaxws-tools.jar
-rw-r--r-- 1 root root   41188 29. kvě 19.17 management-api.jar
-rw-r--r-- 1 root root   38772 29. kvě 19.17 mimepull.jar
-rw-r--r-- 1 root root  156212 29. kvě 19.17 policy.jar
-rw-r--r-- 1 root root  288529 29. kvě 19.17 saaj-impl.jar
-rw-r--r-- 1 root root   11001 29. kvě 19.17 stax-ex.jar
-rw-r--r-- 1 root root   59731 29. kvě 19.17 streambuffer.jar
-rw-r--r-- 1 root root  505825 29. kvě 19.17 woodstox.jar

there are no files mentioned in your output in the upstream distribution, so the problem must be elsewhere. maybe netbeans 6.9.1 had those files there, but 7.0 does not.
Comment 3 Tolga Dalman 2011-07-04 13:27:22 UTC
I'm reopening the bug, since the problem is gone with a vanilla installation from netbeans.org. Thus, the problem lies in the packaging of Gentoo, and not from any update from netbeans-6.9.1 to netbeans-7.0 or plugin updates. Again, the problem is also not my application as it works with the vanilla version of netbeans.
Comment 4 Miroslav Šulc gentoo-dev 2011-08-17 09:18:28 UTC
does the problem still persist with netbeans 7.0.1?
Comment 5 Tolga Dalman 2011-08-17 09:22:41 UTC
(In reply to comment #4)
> does the problem still persist with netbeans 7.0.1?

Yes.
Comment 6 Miroslav Šulc gentoo-dev 2011-08-17 10:07:57 UTC
could you please provide me with steps how to reproduce the issue? i do not code java ee apps. anyway, i installed glassfish 3.1 and generate that sample calculator app that is provided with netbeans (7.0.1) but it compiles fine, so i guess there is something more needed to invoke the issue.