You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Frank Cornelis (JIRA)" <ji...@apache.org> on 2006/04/07 18:03:23 UTC
[jira] Created: (AXIS2-553) AAR upload does not work in SVN
AAR upload does not work in SVN
-------------------------------
Key: AXIS2-553
URL: http://issues.apache.org/jira/browse/AXIS2-553
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Versions: 0.96
Reporter: Frank Cornelis
There seems to be a probem in the upload.jsp page of the Axis2 runtime WAR
[exec] An error occurred at line: 32 in the jsp file: /upload.jsp
[exec] Generated servlet error:
[exec] The constructor File(URL) is undefined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS2-553) AAR upload does not work in SVN
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-553?page=all ]
Deepal Jayasinghe resolved AXIS2-553:
-------------------------------------
Resolution: Fixed
fixed
l.n : 37
File repoDir = new File(configctx.getAxisConfiguration().getRepository().getFile());
> AAR upload does not work in SVN
> -------------------------------
>
> Key: AXIS2-553
> URL: http://issues.apache.org/jira/browse/AXIS2-553
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Versions: 0.96
> Reporter: Frank Cornelis
>
> There seems to be a probem in the upload.jsp page of the Axis2 runtime WAR
> [exec] An error occurred at line: 32 in the jsp file: /upload.jsp
> [exec] Generated servlet error:
> [exec] The constructor File(URL) is undefined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-553) AAR upload does not work in SVN
Posted by "Frank Cornelis (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-553?page=comments#action_12373719 ]
Frank Cornelis commented on AXIS2-553:
--------------------------------------
'.getFile()' fixes the issue apparently.
Index: modules/webapp/upload.jsp
===================================================================
--- modules/webapp/upload.jsp (revision 392494)
+++ modules/webapp/upload.jsp (working copy)
@@ -34,7 +34,7 @@
ServletContext context = this.getServletConfig().getServletContext();
ConfigurationContext configctx =
(ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
- File repoDir = new File(configctx.getAxisConfiguration().getRepository());
+ File repoDir = new File(configctx.getAxisConfiguration().getRepository().getFile());
File serviceDir = new File(repoDir, "services");
if (!serviceDir.exists()) {
> AAR upload does not work in SVN
> -------------------------------
>
> Key: AXIS2-553
> URL: http://issues.apache.org/jira/browse/AXIS2-553
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Versions: 0.96
> Reporter: Frank Cornelis
>
> There seems to be a probem in the upload.jsp page of the Axis2 runtime WAR
> [exec] An error occurred at line: 32 in the jsp file: /upload.jsp
> [exec] Generated servlet error:
> [exec] The constructor File(URL) is undefined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-553) AAR upload does not work in SVN
Posted by "Frank Cornelis (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-553?page=comments#action_12373717 ]
Frank Cornelis commented on AXIS2-553:
--------------------------------------
The error is caused by the following line in upload.jsp:
File repoDir = new File(configctx.getAxisConfiguration().getRepository());
> AAR upload does not work in SVN
> -------------------------------
>
> Key: AXIS2-553
> URL: http://issues.apache.org/jira/browse/AXIS2-553
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Versions: 0.96
> Reporter: Frank Cornelis
>
> There seems to be a probem in the upload.jsp page of the Axis2 runtime WAR
> [exec] An error occurred at line: 32 in the jsp file: /upload.jsp
> [exec] Generated servlet error:
> [exec] The constructor File(URL) is undefined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira