Hello list,
I'm a newbies of geoserver and of course I need help
I have installed geoserver 1.4.rc5 with jdk1.6
Everythign was working grate.
So I have tried with geoserver 1.5. beta 1.
I have added to jdk jai-1_1_3-lib-linux-i586-jdk.bin and
jai_imageio-1_1-lib-linux-i586-jdk.bin but
nothing to do.
After this also 1.4 crash on wms get capabilities request.
Both 1.4 and 1.5 give the same error:
"java.lang.SecurityException: sealing violation: package
com.sun.media.imageioimpl.plugins.jpeg is sealed"
Any idea?
Thanks in advance
Andrea
Andrea Cappugi ha scritto:
Hello list,
I'm a newbies of geoserver and of course I need help
I have installed geoserver 1.4.rc5 with jdk1.6
Everythign was working grate.
So I have tried with geoserver 1.5. beta 1.
I have added to jdk jai-1_1_3-lib-linux-i586-jdk.bin and
jai_imageio-1_1-lib-linux-i586-jdk.bin but
nothing to do.
After this also 1.4 crash on wms get capabilities request.
Both 1.4 and 1.5 give the same error:
"java.lang.SecurityException: sealing violation: package
com.sun.media.imageioimpl.plugins.jpeg is sealed"
Any idea?
Nope. Can you provide us a full stack trace? Just the exception
is not enough to tell what's going on.
Moreover, can you try and uninstall JAI native stuff from
your server, and see if it works? I believe we're shipping
geosever 1.5beta with the non-native JAI components, so
it should work, albeit slower.
Cheers
Andrea Aime
Hi Andrea,
thanks for your answer,
I have downloaded j2sdk1.4.2_13, installed jdk
jai-1_1_3-lib-linux-i586-jdk.bin and
jai_imageio-1_1-lib-linux-i586-jdk.bin and everything seems to work
fine. (geoserver 1.4 and 1.5).
In attach 2 files:
geoserver_jdk1.6.txt and geoserver_jdk1.6_JAI_IMGIO.txt.
The first is startup output with jdk.1.6 without JAI and JAI_IMAGE_IO
the second is startup output with jdk.1.6 with JAI and JAI_IMAGE_IO.
In both case the sturtup fail, but with differente exception.
If you need more info let me know.
Ciao
Andrea
2006/12/18, Andrea Aime <aaime@anonymised.com>:
Andrea Cappugi ha scritto:
> Hello list,
> I'm a newbies of geoserver and of course I need help
> I have installed geoserver 1.4.rc5 with jdk1.6
> Everythign was working grate.
> So I have tried with geoserver 1.5. beta 1.
> I have added to jdk jai-1_1_3-lib-linux-i586-jdk.bin and
> jai_imageio-1_1-lib-linux-i586-jdk.bin but
> nothing to do.
> After this also 1.4 crash on wms get capabilities request.
> Both 1.4 and 1.5 give the same error:
> "java.lang.SecurityException: sealing violation: package
> com.sun.media.imageioimpl.plugins.jpeg is sealed"
> Any idea?Nope. Can you provide us a full stack trace? Just the exception
is not enough to tell what's going on.Moreover, can you try and uninstall JAI native stuff from
your server, and see if it works? I believe we're shipping
geosever 1.5beta with the non-native JAI components, so
it should work, albeit slower.Cheers
Andrea Aime
geoserver_jdk1.6.txt (37.9 KB)
geoserver_jdk1.6_JAI_IMGIO.txt (41.2 KB)
Andrea Cappugi ha scritto:
Hi Andrea,
thanks for your answer,
I have downloaded j2sdk1.4.2_13, installed jdk
jai-1_1_3-lib-linux-i586-jdk.bin and
jai_imageio-1_1-lib-linux-i586-jdk.bin and everything seems to work
fine. (geoserver 1.4 and 1.5).
Ah, I see.
Ok, I know geoserver works with jdk 1.5 too, if you get 1.5.0_08 or later you'll get significant speed benefits above 1.4.2 afaik.
As far as JDK 1.6 is concerned, now that I think about I know we
are not able to build geotools neither (unit test failures)...
This is a pity in fact, since apparently vector drawing speed
in jdk 1.6 has significantly improved:
http://jroller.com/page/dgilbert?entry=is_java_se_1_6
Well, one more thing to do I guess.
I'm also wondering, which version of Jetty are you using, and how
do you start it? Wondering if security sandbox is playing tricks
on us with the sealed package exception.
Cheers
Andrea
Andrea Aime ha scritto:
Andrea Cappugi ha scritto:
Hi Andrea,
thanks for your answer,
I have downloaded j2sdk1.4.2_13, installed jdk
jai-1_1_3-lib-linux-i586-jdk.bin and
jai_imageio-1_1-lib-linux-i586-jdk.bin and everything seems to work
fine. (geoserver 1.4 and 1.5).
Oh, just tried jdk 1.6 + the same jai versions as you on Windows XP
with embedded Jetty, and works fine. Seems to be quite a tad faster
than with 1.4.2 too.
Cheers
Andrea
Ah, I see.
Ok, I know geoserver works with jdk 1.5 too, if you get 1.5.0_08 or
later
I have had the same problems with 1.5.0_08 and later
I'm also wondering, which version of Jetty are you using, and how
do you start it?
At the moment I use Jetty integrated with geoserver.
And I start the geoserver with $GEOSERVERHOME/bin/sturtup.sh
Another little notice, is that I have to use dos2unix command before
running sturtup.sh
Regs
Andrea
2006/12/18, Andrea Aime <aaime@anonymised.com>:
Andrea Cappugi ha scritto:
> Hi Andrea,
> thanks for your answer,
> I have downloaded j2sdk1.4.2_13, installed jdk
> jai-1_1_3-lib-linux-i586-jdk.bin and
> jai_imageio-1_1-lib-linux-i586-jdk.bin and everything seems to work
> fine. (geoserver 1.4 and 1.5).Ah, I see.
Ok, I know geoserver works with jdk 1.5 too, if you get 1.5.0_08 or
later you'll get significant speed benefits above 1.4.2 afaik.
As far as JDK 1.6 is concerned, now that I think about I know we
are not able to build geotools neither (unit test failures)...This is a pity in fact, since apparently vector drawing speed
in jdk 1.6 has significantly improved:
http://jroller.com/page/dgilbert?entry=is_java_se_1_6Well, one more thing to do I guess.
I'm also wondering, which version of Jetty are you using, and how
do you start it? Wondering if security sandbox is playing tricks
on us with the sealed package exception.Cheers
Andrea