[wsas-java-dev] svn commit r179 - in wsas/java/trunk/modules: core/conf servlet-edition/conf wsf-common-tools/bin

svn at wso2.com svn at wso2.com
Tue Dec 5 04:15:29 PST 2006


Author: azeez
Date: Tue Dec  5 04:15:28 2006
New Revision: 179

Modified:
   wsas/java/trunk/modules/core/conf/server.xml
   wsas/java/trunk/modules/servlet-edition/conf/server.xml
   wsas/java/trunk/modules/wsf-common-tools/bin/chpasswd.bat
Log:
Fixing classpath lenght issue in chpasswd script and adding item to handle any file extension


Modified: wsas/java/trunk/modules/core/conf/server.xml
==============================================================================
--- wsas/java/trunk/modules/core/conf/server.xml	(original)
+++ wsas/java/trunk/modules/core/conf/server.xml	Tue Dec  5 04:15:28 2006
@@ -174,6 +174,7 @@
             <Actions>
                 <Action>keystore</Action>
                 <Action>certificate</Action>
+                <Action>*</Action>
             </Actions>
             <Class>org.wso2.wsas.transport.fileupload.AnyFileUploadExecutor</Class>
         </Mapping>

Modified: wsas/java/trunk/modules/servlet-edition/conf/server.xml
==============================================================================
--- wsas/java/trunk/modules/servlet-edition/conf/server.xml	(original)
+++ wsas/java/trunk/modules/servlet-edition/conf/server.xml	Tue Dec  5 04:15:28 2006
@@ -176,6 +176,7 @@
             <Actions>
                 <Action>keystore</Action>
                 <Action>certificate</Action>
+                <Action>*</Action>
             </Actions>
             <Class>org.wso2.wsas.transport.fileupload.AnyFileUploadExecutor</Class>
         </Mapping>

Modified: wsas/java/trunk/modules/wsf-common-tools/bin/chpasswd.bat
==============================================================================
--- wsas/java/trunk/modules/wsf-common-tools/bin/chpasswd.bat	(original)
+++ wsas/java/trunk/modules/wsf-common-tools/bin/chpasswd.bat	Tue Dec  5 04:15:28 2006
@@ -50,14 +50,14 @@
 rem set the classes
 setlocal EnableDelayedExpansion
 rem loop through the libs and add them to the class path
+cd %WSO2WSAS_HOME%
 set WSO2WSAS_CLASSPATH=%WSO2WSAS_HOME%
-FOR %%c in ("%WSO2WSAS_HOME%\lib\*.jar") DO set WSO2WSAS_CLASSPATH=!WSO2WSAS_CLASSPATH!;%%c
+FOR %%C in ("%WSO2WSAS_HOME%\lib\*.jar") DO set WSO2WSAS_CLASSPATH=!WSO2WSAS_CLASSPATH!;./lib/%%~nC%%~xC
 set WSO2WSAS_CLASSPATH=%WSO2WSAS_HOME%\conf;%WSO2WSAS_CLASSPATH%
 cd ..
 rem ----- Execute The Requested Command ---------------------------------------
 set _RUNJAVA="%JAVA_HOME%\bin\java"
 
-cd %WSO2WSAS_HOME%
 %_RUNJAVA% %JAVA_OPTS% -cp "%WSO2WSAS_CLASSPATH%" org.wso2.wsas.util.PasswordUpdater %*
 endlocal
 :end
\ No newline at end of file




More information about the Wsas-java-dev mailing list