470,647 Members | 1,155 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

IllegalAccessError since db2 9 and java 1.5

Hi

since we upgraded to db2 v9 and java 1.5 we get an illegal access error
if we call a method of another stored procedure class, located in
another .jar file, from one stored procedure (by call I mean calling
the java-method directly from java). With db2 v8.2 and java 1.4 this
worked fine.

Now I'd like to know if there is a switch we could turn on, to prevent
that exception being raised or if there is another way of calling one
java stored procedure from another, without using the call statement
(we don't want to have to go another extra roundtrip through the
database; also you can use different interfaces for ther internally
used method and the externally available sp).

Any information/comments would be appreciated.

Regards,
Janick

Oct 9 '06 #1
1 1509
Stupid me! We had protected modifier before the methods; and althought
they were in the same package, java 1.5 seems to be more restrictive if
they are in different .jar files!

Sorry for spaming the newsgroup ;)

Regards,
Janick

Oct 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Michael | last post: by
reply views Thread by Ranko Simic | last post: by
reply views Thread by Ravi Tallury | last post: by
1 post views Thread by ptaz | last post: by
reply views Thread by Markus Wollny | last post: by
oll3i
reply views Thread by oll3i | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.