bootstrap initClassLoaders the double quote character only be used to quote paths

LabKey Support Forum (Inactive)
bootstrap initClassLoaders the double quote character only be used to quote paths simon buckner  2017-01-19 10:57
Status: Closed
 
I downloaded revision 48803 of Labkey on Windows 10 and imported into IntelliJ IDEA 2016.3.3. I am also using Apache Tomcat 8.5.11

By default, the Debug Configuration "LabKey Development" contained the following VM options:

-Dcatalina.base="./" -Dcatalina.home="./" -Djava.io.tmpdir="./temp" -Ddevmode=true -ea -Dsun.io.useCanonCaches=false -Xmx1G

When running, this yielded the error:

org.apache.catalina.startup.Bootstrap.initClassLoaders Class loader creation threw exception
 java.lang.IllegalArgumentException: The double quote ["] character only be used
 to quote paths. It must not appear in a path.

I fixed this by simply removing all the quotes in the VM options. I do not know if they are there intentionally, but I have found this to be a solution to the above error.
 
 
Jon (LabKey DevOps) responded:  2017-01-20 00:02
Hi Simon,

I'm not certain why you received that error. Here's an example of the VM options that one of our developers has in their version of IntelliJ on Windows that works:

-Dcatalina.base="./" -Dcatalina.home="./" -Djava.io.tmpdir="./temp" -Ddevmode=true -ea -Dsun.io.useCanonCaches=false -Xmx1G -classpath "./bin/bootstrap.jar;./bin/tomcat-juli.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/idea_rt.jar"

As you can see, we also have quotation marks as well and it is functional.

We will keep an eye on this though if we do notice this down the road.

Regards,

Jon