*
The moose likes Struts and the fly likes Struts2 classloader problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 classloader problem." Watch "Struts2 classloader problem." New topic
Author

Struts2 classloader problem.

Fabrizio Di Fonzo
Greenhorn

Joined: May 17, 2010
Posts: 1
Hi all,
I'm working with struts2, jboss 5, spring and datanucleus. Everything was working good, but after I decided to use jca and deployed the datanucleus-jca.rar, I started getting the following error:

2010-05-17 16:04:18,168 ERROR [com.opensymphony.xwork2.util.classloader.ReloadingClassLoader] (main) Exception while trying to build the ResourceStore for URL [file://3j011-ebbsl5-g9bd7p0a-1-g9bd89fr-2c/]

java.lang.IllegalArgumentException: URI has an authority component

at java.io.File.<init>(File.java:368)

at com.opensymphony.xwork2.util.classloader.ReloadingClassLoader.<init>(ReloadingClassLoader.java:50)

…..
…...

It looks like struts2 has some problem with the classloader. Has someone got any ideas?
Any suggestion would be really appreciated.
Please, let me know if you need some more info.

Thanks a lot,
Fabrizio
 
wood burning stoves
 
subject: Struts2 classloader problem.