There is a chance to happen long classpath issue in windows environment when we 
provide all dependency jars as "wrapper.java.classpath" parameters for 
axis2server
------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: SYNAPSE-757
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-757
             Project: Synapse
          Issue Type: Improvement
          Components: Core
    Affects Versions: NIGHTLY
         Environment: Windows
            Reporter: Vijayaratha Vijayasingam


Currently by default synapse uses the wrapper to start axis2server in windows 
OS. When a user try to add more classpaths , which might contain number of jars 
might lead to long classpath issue in windows environment. 
To avoid this we can have a bootstrap class and then will create a 
'classloader' from that bootstrap code and load the rest of the jars.

For this solution, I have added 2 extra parameters;
wrapper.java.additional.9=-Dsystem.home=.  (root path of the system,current 
working directory)
wrapper.java.additional.8=-Djar.class.paths=../../lib,../../repository/components/plugins
  - <-----   Here user can provide all jars' classpaths based on system root by 
separating with commas.

So the class loader will be;
wrapper.app.parameter.1=samples.util.Bootstrap




 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to