system: IIS7
php:5.2.5
MySql: 5.0.27

tried the java command at the command line at server calling tika, it works. But through the module calling the tike, return nothing. Had tried with just very simple java command (jajva -version), nothing return?

anyone has implemented this module in IIS enviornment? any suggestions?

Thanks in advance!

CommentFileSizeAuthor
#2 1162492-2.patch762 bytesjpmckinney

Comments

Eaglecanada’s picture

problem solved.
the variable set up in settings.php was:
'apachesolr_attachments_java' => 'C:\java\jre6\bin\java.exe',

in apachesolr_attachments,admin.inc after the line $cmd=escapeshellcmd($java .$ java_opts)....
the variable become 'C: java jre6 bin java.exe'

changed to 'apachesolr_attachments_java' => 'C:/java/jre6/bin/java.exe', it works.

post here in case someone encountered the similar problem.

jpmckinney’s picture

Status: Active » Fixed
StatusFileSize
new762 bytes

Indeed, Windows users must use forward slashes. Added comment to admin page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.