[jboss-jira] [JBoss JIRA] Created: (JBAS-4418) run.bat should include %PATH% in java.library.path when bin/native exists

David Richmond (JIRA) jira-events at lists.jboss.org
Tue May 15 04:24:52 EDT 2007


run.bat should include %PATH% in java.library.path when bin/native exists
-------------------------------------------------------------------------

                 Key: JBAS-4418
                 URL: http://jira.jboss.com/jira/browse/JBAS-4418
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-4.2.0.GA
         Environment: Windows XP, Java 1.5_04
            Reporter: David Richmond


run.bat says this

if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH%
if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path=%JBOSS_HOME%\bin\native

Which removes %PATH% from the java.library.path and thus breaks anything else which has DLLs on the PATH, such as Oracle OCI drivers.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list