Bugs item #1475954, was opened at 2006-04-25 15:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1475954&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: akira (akira835)
Assigned to: Nobody/Anonymous (nobody)
Summary: cannot deploy war including wicket-extension.jar to WebLogic
Initial Comment:
When deploying a web application which has
wicket-extension.jar in its WEB-INF/lib, the following
exception occurs:
java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:335)
at
wicket.markup.html.PackageResource.get(PackageResource.java:349)
at
wicket.markup.html.PackageResource.bind(PackageResource.java:224)
at
wicket.markup.html.PackageResource.bind(PackageResource.java:199)
at
wicket.extensions.ajax.markup.html.form.upload.UploadProgressBar$ComponentInitializer.init(UploadProgressBar.java:83)
at
wicket.extensions.Initializer.init(Initializer.java:41)
at
wicket.Application.initialize(Application.java:778)
at
wicket.Application.initializeComponents(Application.java:801)
at
wicket.Application.initializeComponents(Application.java:638)
at
wicket.protocol.http.WicketServlet.init(WicketServlet.java:298)
at
javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
<snip>
This happens on WebLogic, not on Tomcat.
As per my investigation, the root cause is at line 322
of PackageResource.java.
322: URLConnection connection = resource.openConnection();
323: if (connection instanceof JarURLConnection)
In the case of WebLogic, resource.openConnection()
sometimes returns ZipURLConnection which is a WebLogic
dependent class representing a connection to a zipped
file. Because of that, the condition of line 323 won't
meet. And then the exception will be thrown at line 349
since the url is in the form of
'zip:C:/wls91/user_projects/domains/......', and it's
not applicable here.
349: basedir = new File(new URI(absolutePath));
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1475954&group_id=119783
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop