File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts2 classloader problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts2 classloader problem.
 
Similar Threads
Exception in Struts2
problem with starting Struts2
Error with Struts2
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
Hibernate connection problem with struts2