Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » IllegalArgumentException:name in jetty(IllegalArgumentException:name in jetty)
IllegalArgumentException:name in jetty [message #994450] Thu, 27 December 2012 10:44
Abhishek Lodha is currently offline Abhishek LodhaFriend
Messages: 1
Registered: December 2012
Junior Member
I am facing the following exception when I am trying to access a war file deployed over http adapter. We are using jetty 6_1_8 for that.

Here are the exception

java.lang.IllegalArgumentException: name
    at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:458)
    at sun.misc.URLClassPath.findResource(URLClassPath.java:145)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
    at java.lang.ClassLoader.getResource(ClassLoader.java:978)

I have seen in other thread that the solution is set extractWar to true but in my case I have set the webAppContext.setExtractWAR(true);

I did not set in some xml file but directly in the java code. Even then I am facing the same issue.

When I dont use custom webdefault.xml it works fine.

Please help!
Previous Topic:Class not found error
Next Topic:Equinox doesn't start
Goto Forum:
  


Current Time: Sat Nov 29 06:38:19 GMT 2014

Powered by FUDForum. Page generated in 0.23342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software