[kepler-dev] Error during initialisation of Assembla JCE provider implementation
jagan
Jagan.Kommineni at infotech.monash.edu.au
Thu Nov 25 22:45:01 PST 2004
Hello,
I am getting the following problem when I run kepler on windows machine,
however I didn't have this problem on Linux machine.......
=========================================================
[java] *sys-package-mgr*: processing modified jar,
'C:\ilkay\kepler\build\k
epler-configs.jar'
[java] Error during initialisation of Assembla JCE provider
implementation.
[java] Message is:
[java] C:\WINDOWS\MSKeyStoreJNI.dll (The process cannot access the
file bec
ause it is being used by another process)
[java] Exiting...
BUILD SUCCESSFUL
Total time: 12 seconds
==========================================================
As per the previous Christopher's suggesstion, I manually extracted
MSKeyStoreJNI.dll
from the jar file and I put on different directory which in PATH. I even
tried to pass PATH
environment variable to Java Virtual Machine, still I am getting this
problem. Is there any
advise from any one.
More details about the run time errors are as follows:
Any help will be grately appriciated.
with regards,
Jagan Kommineni
============================================================
jagan at mohan ~/ilkay/kepler
===========================================================
<!--run kepler-->
<target name="run" depends="install">
<echo>Running Vergil with classpath:
${pwd}/build/${name}.jar:${classpath}</
echo>
<echo>java.library.path=${javalibpath}</echo>
<echo>PATH=${PATH}</echo>
<echo>classpath=${classpath}</echo>
<echo>pwd=${pwd}</echo>
<java classname="ptolemy.vergil.VergilApplication"
classpath="${pwd}/build/${name}.jar:${classpath}"
fork="yes">
<arg value="-${name}"/>
<jvmarg value="-DPTII=${ptolemydir}"/>
<jvmarg value="-DKEPLER=${pwd}"/>
<jvmarg value="-DPATH=${PATH}"/>
<jvmarg value="-DDBGPRN=${dbgprn}"/>
<jvmarg value="-Xmx512m"/>
<jvmarg value="-Xss5m"/>
<!-- <jvmarg value="-verbose:jni"/> -->
<jvmarg value="-Djava.library.path=${javalibpath}"/>
</java>
==============================================================================
I think the problem has to do with the Assemble Java Cryptography
Extension (JCE)
https://download.assembla.se/jceprovider/UsersGuide.pdf <javascript:ol('https://download.assembla.se/jceprovider/UsersGuide.pdf');>
says
Important: The first time any class inside the JAR file is access
through an application, a special loader class inside
the JAR will automatically check if the file MSKeyStoreJNI.dll
can be found in any directory listed in your operating system
environment variable PATH. If the DLL cannot be found, the loader
will automatically extract the DLL from the jar and copy it into
the directory specified by the environment variable SYSTEMROOT or
WIDIR (usually c:\winnt or c:\windows)
There is more text about not removing the dll and about how you can
extract the dll from the jar file by hand and put it in your path.
What I think is happening is that the class loader is trying to
modify C:\WINDOWS\MSKeyStoreJNI.dll but that .dll is in use already.
This could be a bad interaction between the Python actor trying
to load the Assembla JCE jar file and cache something.
_Christopher
============================================
jagan at mohan ~/ilkay/kepler
$ ant run
Buildfile: build.xml
preinit:
cvsrootfromenv:
cvsrootfrominput:
[input] Please input your cvs user name:
checkOS:
win.prep:
[echo] Guessing that you are running: Windows
lin.prep:
init:
setcommonclasspath:
prepare:
compile:
jar:
[delete] Deleting: C:\ilkay\kepler\build\kepler-configs.jar
[jar] Building jar: C:\ilkay\kepler\build\kepler-configs.jar
install:
[copy] Copying 1 file to C:\ilkay\ptII4.0.1\lib
run:
=============================================================================================================
[echo] Running Vergil with classpath:
C:\ilkay\kepler/build/kepler.jar:C:\ilkay\kepler\build\kepler-configs.jar;C:\ilkay\ptII4.0.1\lib\diva.jar;C:\ilkay\ptII4.0.1\lib\jython.jar;C:\ilkay\ptII4.0.1\build\ptolemy-doc.jar;C:\ilkay\ptII4.0
.1\build\classes;C:\ilkay\kepler\lib\jar\activation.jar;C:\ilkay\kepler\lib\jar\antelope.jar;C:\ilkay\kepler\lib\jar\apache\commons-net-1.2.1.jar;C:\ilkay\kepler\lib\jar\apache\servlet.jar;C:\ilkay\kepler\lib\jar\apache\xalan.jar;C:\ilkay\k
epler\lib\jar\apache\xml-apis.jar;C:\ilkay\kepler\lib\jar\apache\xmlParserAPIs.jar;C:\ilkay\kepler\lib\jar\arbortext.jar;C:\ilkay\kepler\lib\jar\cog-axis.jar;C:\ilkay\kepler\lib\jar\cog-jglobus.jar;C:\ilkay\kepler\lib\jar\cog-tomcat.jar;C:\
ilkay\kepler\lib\jar\commons-httpclient-2.0-rc2.jar;C:\ilkay\kepler\lib\jar\configxml.jar;C:\ilkay\kepler\lib\jar\cos.jar;C:\ilkay\kepler\lib\jar\cryptix-asn1.jar;C:\ilkay\kepler\lib\jar\cryptix.jar;C:\ilkay\kepler\lib\jar\cryptix32.jar;C:\
ilkay\kepler\lib\jar\dbdrivers\db2jcc.jar;C:\ilkay\kepler\lib\jar\dbdrivers\msbase.jar;C:\ilkay\kepler\lib\jar\dbdrivers\mssqlserver.jar;C:\ilkay\kepler\lib\jar\dbdrivers\msutil.jar;C:\ilkay\kepler\lib\jar\dbdrivers\mysql-connector-java-3.0
.15-ga-bin.jar;C:\ilkay\kepler\lib\jar\dbdrivers\oracleJdbc.jar;C:\ilkay\kepler\lib\jar\dbdrivers\pg74.215.jdbc3.jar;C:\ilkay\kepler\lib\jar\dbdrivers\RmiJdbc.jar;C:\ilkay\kepler\lib\jar\diva.jar;C:\ilkay\kepler\lib\jar\dlese.jar;C:\ilkay\k
epler\lib\jar\doublePolygon.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\ecogrid-query-levelone-client.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\ecogrid-registry-client.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\EcoRegInterfaceLe
velOne-stub.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\log4j-core.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\ogsa.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\org.ecoinformatics.ecogrid.EcoGridQueryInterfaceLevelOne-stub.jar;C:\il
kay\kepler\lib\jar\ecogrid_client_lib\xml-apis-1.1.jar;C:\ilkay\kepler\lib\jar\ecogrid_client_lib\xmlsec.jar;C:\ilkay\kepler\lib\jar\edu.sdsc.globusproxy.jar;C:\ilkay\kepler\lib\jar\gnu-regexp-1.0.8.jar;C:\ilkay\kepler\lib\jar\gt1.jar;C:\il
kay\kepler\lib\jar\hsqldb.jar;C:\ilkay\kepler\lib\jar\ij.jar;C:\ilkay\kepler\lib\jar\imageio\clibwrapper_jiio.jar;C:\ilkay\kepler\lib\jar\imageio\jai_imageio.jar;C:\ilkay\kepler\lib\jar\imageio\mlibwrapper_jai.jar;C:\ilkay\kepler\lib\jar\ja
rgon.jar;C:\ilkay\kepler\lib\jar\jax-qname.jar;C:\ilkay\kepler\lib\jar\jaxb-api.jar;C:\ilkay\kepler\lib\jar\jaxb-impl.jar;C:\ilkay\kepler\lib\jar\jaxb-libs.jar;C:\ilkay\kepler\lib\jar\jaxb-xjc.jar;C:\ilkay\kepler\lib\jar\jce-jdk13-117.jar;C
:\ilkay\kepler\lib\jar\jdom.jar;C:\ilkay\kepler\lib\jar\jgss.jar;C:\ilkay\kepler\lib\jar\jnet.jar;C:\ilkay\kepler\lib\jar\jsch-0.1.17.jar;C:\ilkay\kepler\lib\jar\junit.jar;C:\ilkay\kepler\lib\jar\kepler-styles.jar;C:\ilkay\kepler\lib\jar\lo
g4j-1.2.7.jar;C:\ilkay\kepler\lib\jar\mail.jar;C:\ilkay\kepler\lib\jar\namespace.jar;C:\ilkay\kepler\lib\jar\omi.jar;C:\ilkay\kepler\lib\jar\ontobrowser\nanoxml-2.1.1.jar;C:\ilkay\kepler\lib\jar\ontobrowser\ontobrowser.jar;C:\ilkay\kepler\l
ib\jar\ontobrowser\wonderweblite.jar;C:\ilkay\kepler\lib\jar\ptolemy3beta\ncsu.jar;C:\ilkay\kepler\lib\jar\ptolemy3beta\ptsupport.jar;C:\ilkay\kepler\lib\jar\puretls.jar;C:\ilkay\kepler\lib\jar\qaqc.jar;C:\ilkay\kepler\lib\jar\relaxngDataty
pe.jar;C:\ilkay\kepler\lib\jar\sms\antlr.jar;C:\ilkay\kepler\lib\jar\sms\commons-logging.jar;C:\ilkay\kepler\lib\jar\sms\concurrent.jar;C:\ilkay\kepler\lib\jar\sms\icu4j.jar;C:\ilkay\kepler\lib\jar\sms\jakarta-oro-2.0.5.jar;C:\ilkay\kepler\
lib\jar\sms\jena.jar;C:\ilkay\kepler\lib\jar\sms\junit.jar;C:\ilkay\kepler\lib\jar\sms\log4j-1.2.7.jar;C:\ilkay\kepler\lib\jar\sms\rdf-api-2001-01-19.jar;C:\ilkay\kepler\lib\jar\sms\xercesImpl.jar;C:\ilkay\kepler\lib\jar\sms\xml-apis.jar;C:
\ilkay\kepler\lib\jar\soap\axis-ant.jar;C:\ilkay\kepler\lib\jar\soap\axis.jar;C:\ilkay\kepler\lib\jar\soap\commons-discovery.jar;C:\ilkay\kepler\lib\jar\soap\commons-logging.jar;C:\ilkay\kepler\lib\jar\soap\jaxrpc.jar;C:\ilkay\kepler\lib\ja
r\soap\log4j-1.2.4.jar;C:\ilkay\kepler\lib\jar\soap\ncsu.jar;C:\ilkay\kepler\lib\jar\soap\saaj.jar;C:\ilkay\kepler\lib\jar\soap\wsdl4j.jar;C:\ilkay\kepler\lib\jar\soap.jar;C:\ilkay\kepler\lib\jar\wmsd.jar;C:\ilkay\kepler\lib\jar\wsif-j2c.ja
r;C:\ilkay\kepler\lib\jar\wsif.jar;C:\ilkay\kepler\lib\jar\xsdlib.jar;C:\griddles\actors\lib\com.objectplanet.gui.ProgressBar.jar;C:\griddles\actors\lib\griddlesActorLib.jar
============================================================================================================
[echo] java.library.path=c:/WINDOWS/system32
===========================================================================================================
[echo]
PATH=C:\cygwin\bin;C:\cygwin\usr\local\bin;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\WINDOWS\system32;c:\WINDOW
S;c:\WINDOWS\System32\Wbem;c:\PROGRA~1\vtk42\bin;c:\PROGRA~1\Tcl\bin;c:\jwsdp-1.4b\jwsdp-shared\bin;c:\jwsdp-1.4b\apache-ant\bin;c:\tomcat-jwsdp-1.4\bin;c:\J2SD
K1.4.2_05\BIN;c:\Qt\3.3.2Evaluation\bin;c:\Program Files\SSH
Communications Security\SSH Secure
Shell;c:\BORLAND\BCC55\BIN;c:\ProgramFiles\vtk42\bin;c:\WebSphere\AppServer\bin;c:\ptII4.0.1\bin;c:\usr\bin;c:\usr\local\bin;c:\;.
==================================================================================================
[echo] pwd=C:\ilkay\kepler
======================================================================================================
[java] *sys-package-mgr*: processing modified jar,
'C:\ilkay\kepler\build\k
epler-configs.jar'
[java] Error during initialisation of Assembla JCE provider
implementation.
[java] Message is:
[java] C:\WINDOWS\MSKeyStoreJNI.dll (The process cannot access the
file bec
ause it is being used by another process)
[java] Exiting...
BUILD SUCCESSFUL
Total time: 12 seconds
jagan at mohan ~/ilkay/kepler
$
=============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20041126/55bd45cb/attachment.html>
More information about the Kepler-dev
mailing list