Hello, I'm running a webapp on JBoss 4.0.5GA. It runs fine most of the time.
However -- and this happens almost every day -- there comes a moment when JBoss
seems to go "out to lunch". Once this happens, the following is all I ever see
when trying to use my webapp:
java.rmi.NoSuchObjectExcept
I thought I should mention that I found the solution to this problem. I need
an extra add_extdir(PATH) and sys.path.append(PATH) to my Jython script, so
that it could dynamically load new classes from the .jar files in WEB-INF/lib.
John
View the original post :
http://www.jboss.com/index.html
Please, does anyone have any idea? I have tried many different things now, and
*nothing* changes the classpath as seen by Jython. I'm testing by printing it
out when the script first runs, and I haven't found a single way to change this
list beforehand. Do others use Jython to run webapps?
J
I did try adding "package.jar" to the Class-Path in manifest.mf, but the module
still comes up missing.
John
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057159#4057159
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Hello, I'm building an .EAR file (using IDEA) that contains several .jar files
in it. One of these .jar files contains classes that I need to be visible to
Jython running inside a webapp (which is also packaged within the .war). To
summarize:
FOO.EAR:
BAR.JAR
BAZ.WAR:
myclass.
I have an older BES codebase which I'm trying to port to JBoss. Since that
codebase targets EJB CMP 1.x -- and has no concept of local interfaces, etc. --
the best approach so far seems to be to get JBoss to deploy those 1.x beans as
they are.
However, BES allows for finder queries like this: