Plugin wont work on newer version of intelli-j

Hey guys.i developed this plugin that connects to a database. and it works on idea 4.0. but when i ran it on a 4.5, the window still shows, but the program wont work. the execute query always returns an error.
what could be the cause?

3 comments
Comment actions Permalink

There were some Open API changes from 4.0 to 4.5. Try doing a clean compile of your plugin code against the 4.5 openapi.jar file.

It might also help if you tell us what the error is. It's hard to help without knowing the exact problem.

Rick

0
Comment actions Permalink

thats just it. i cant see the problem. my program uses ejbs to connect to a server and get data. normally, when i click the execute button, i get data into my table. but in 4.5 nothing happens. there isnt any error at all in the idea.log. there could be an internal error within the ejb clients that idea doesnt log or something, but my remote debugging doesnt work either. i did the bin2 method, in which i cloned the bin directory, and edited the lax file, but i still couldnt connect to the shared memory transport.
is there any other way to see the system outs?

0
Comment actions Permalink

hello! anyway i was able to hack the lax so i could send the system.outs somewhere. anyway the error i saw was that it couldnt find the class org.jnp.interfaces.NamingContextFactory. the thing is that it is included in the jar jbossall-client.jar which i placed along with my program.jar in /plugins/proj/lib
it is the exact same structure as the one in my 4.0 intellij. except this one cant seem to find the class. what could be the problem?

0

Please sign in to leave a comment.