Hi Szilard,
The version of the Tomcat is 7.0.22.
For JChemSerch with a SMILE String, substructure (2), exact (4), or perfect (5) searches works fine, but similarity search (3) return null. But in commandline, the same method doing JChemSearch works very well for 2, 3, 4, and 5.
When JChemSearch is invoked, the message is "InputStream cannot be null" in catalina.out as posted before.
The following links are invoked to Tomcat 6, java 6, and Windows Server 2008
1.4 Exact JChemSearch: http://bindingdb.org/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=4&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
1.3 Similarity JChemSearch: http://bindingdb.org/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=3&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
1.2 Substructure JChemSearch: http://bindingdb.org/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=2&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
On the other hand, the following links are invoked to Tomcat 7, java 7, and SUSE 12
2.4 Exact JChemSearch: http://gilson-xps3.ucsd.edu/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=4&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
2.3 Similarity JChemSearch: http://gilson-xps3.ucsd.edu/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=3&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
2.2 Substructure: http://gilson-xps3.ucsd.edu/bind/searchby_smiles.jsp?submit=Search&startPg=0&Increment=15&SearchType=2&smilesStr=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&molfile=CCC%28C%29CC%28C%29CCCCCCCCC%28=O%29NC1C[C@@H]%28O%29[C@H]%28NC%28=O%29C2CN%28C[C@@H]2O%29C%28=O%29[C@@H]%28NC%28=O%29[C@@H]%28NC%28=O%29C2C[C@@H]%28O%29CN2C%28=O%29[C@@H]%28NC1=O%29[C@@H]%28C%29O%29[C@H]%28O%29[C@@H]%28O%29c1ccc%28O%29cc1%29[C@H]%28O%29CCNC%28=O%29[C@@H]%28N%29CN%29OCCN&Similarity=0.9
1.2 and 2.2 behave the same, 1.4 and 2.4 behave the same, but 1.3 and 2.3 behave differently.
Thank for your help. If JChemSearch is invoked from commandline, similarity search works fine.
Tiqing