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 "Paladin R. Liu (JIRA)" <ji...@apache.org> on 2006/12/07 04:15:20 UTC

[jira] Created: (AXIS2-1842) "setenv.sh" can't work well in Cygwin environment

"setenv.sh" can't work well in Cygwin environment
-------------------------------------------------

                 Key: AXIS2-1842
                 URL: http://issues.apache.org/jira/browse/AXIS2-1842
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.1
         Environment: MS Windows 2000 Professional with Cygwin_NT-5.0, J2SDK 1.5.0_09
            Reporter: Paladin R. Liu


When execute "java2wsdl.sh" and "wsdl2java.sh" script, a "NoClassDefFoundError" error occurs because of a wrong "AXIS2_CLASSPATH" configuration.

To fix this error, I modify the script "setenv.sh" with following:

---- DIFF START --

--- setenv.sh.old       2006-11-13 19:33:18.000000000 +0800
+++ setenv.sh   2006-12-07 10:46:16.000000000 +0800
@@ -92,6 +92,7 @@
   JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
   AXIS2_HOME=`cygpath --absolute --windows "$AXIS2_HOME"`
   CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  AXIS2_CLASSPATH=`cygpath --path --windows "$AXIS2_CLASSPATH"`
   JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
 fi

---- DIFF END ----

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1842) "setenv.sh" can't work well in Cygwin environment

Posted by "Paladin R. Liu (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1842?page=all ]

Paladin R. Liu updated AXIS2-1842:
----------------------------------

    Attachment: setenv.sh.diff.gz

diff file for patch.

> "setenv.sh" can't work well in Cygwin environment
> -------------------------------------------------
>
>                 Key: AXIS2-1842
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1842
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1
>         Environment: MS Windows 2000 Professional with Cygwin_NT-5.0, J2SDK 1.5.0_09
>            Reporter: Paladin R. Liu
>         Attachments: setenv.sh.diff.gz
>
>
> When execute "java2wsdl.sh" and "wsdl2java.sh" script, a "NoClassDefFoundError" error occurs because of a wrong "AXIS2_CLASSPATH" configuration.
> To fix this error, I modify the script "setenv.sh" with following:
> ---- DIFF START --
> --- setenv.sh.old       2006-11-13 19:33:18.000000000 +0800
> +++ setenv.sh   2006-12-07 10:46:16.000000000 +0800
> @@ -92,6 +92,7 @@
>    JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
>    AXIS2_HOME=`cygpath --absolute --windows "$AXIS2_HOME"`
>    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
> +  AXIS2_CLASSPATH=`cygpath --path --windows "$AXIS2_CLASSPATH"`
>    JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
>  fi
> ---- DIFF END ----

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1842) "setenv.sh" can't work well in Cygwin environment

Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanka Samaranayake resolved AXIS2-1842.
---------------------------------------

    Resolution: Fixed


Applied the patch uploaded patch.
(see committed revision 511920.)

Thanks Paladin !!



> "setenv.sh" can't work well in Cygwin environment
> -------------------------------------------------
>
>                 Key: AXIS2-1842
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1842
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1
>         Environment: MS Windows 2000 Professional with Cygwin_NT-5.0, J2SDK 1.5.0_09
>            Reporter: Paladin R. Liu
>         Assigned To: Sanka Samaranayake
>         Attachments: setenv.sh.diff.gz
>
>
> When execute "java2wsdl.sh" and "wsdl2java.sh" script, a "NoClassDefFoundError" error occurs because of a wrong "AXIS2_CLASSPATH" configuration.
> To fix this error, I modify the script "setenv.sh" with following:
> ---- DIFF START --
> --- setenv.sh.old       2006-11-13 19:33:18.000000000 +0800
> +++ setenv.sh   2006-12-07 10:46:16.000000000 +0800
> @@ -92,6 +92,7 @@
>    JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
>    AXIS2_HOME=`cygpath --absolute --windows "$AXIS2_HOME"`
>    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
> +  AXIS2_CLASSPATH=`cygpath --path --windows "$AXIS2_CLASSPATH"`
>    JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
>  fi
> ---- DIFF END ----

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1842) "setenv.sh" can't work well in Cygwin environment

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-1842:
------------------------------------

    Assignee: Sanka Samaranayake

> "setenv.sh" can't work well in Cygwin environment
> -------------------------------------------------
>
>                 Key: AXIS2-1842
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1842
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1
>         Environment: MS Windows 2000 Professional with Cygwin_NT-5.0, J2SDK 1.5.0_09
>            Reporter: Paladin R. Liu
>         Assigned To: Sanka Samaranayake
>         Attachments: setenv.sh.diff.gz
>
>
> When execute "java2wsdl.sh" and "wsdl2java.sh" script, a "NoClassDefFoundError" error occurs because of a wrong "AXIS2_CLASSPATH" configuration.
> To fix this error, I modify the script "setenv.sh" with following:
> ---- DIFF START --
> --- setenv.sh.old       2006-11-13 19:33:18.000000000 +0800
> +++ setenv.sh   2006-12-07 10:46:16.000000000 +0800
> @@ -92,6 +92,7 @@
>    JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
>    AXIS2_HOME=`cygpath --absolute --windows "$AXIS2_HOME"`
>    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
> +  AXIS2_CLASSPATH=`cygpath --path --windows "$AXIS2_CLASSPATH"`
>    JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
>  fi
> ---- DIFF END ----

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org