Hi!
I configured Apache Tomcat 6.0 CGI to interact with dgate.exe:
In file "Tomcat 6.0\webapps\Dicom\WEB-INF\web.xml" i added CGI servlet and servlet-mapping configuration:
<servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>executable</param-name> <param-value></param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> ... <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping>
In file "Tomcat 6.0\webapps\Dicom\META-INF\context.xml" for context section added parameters "privileged" and "reloadable" (need to enable CGI):
"<Context path="/Portal" privileged="true" reloadable="true">"
Created new directory "Tomcat 6.0\webapps\Dicom\WEB-INF\cgi" with files dgate.exe, dicom.ini, conquest.jpg, ActiveFormProj1.ocx, sample.cq.
File ActiveFormProj1.ocx copied to "Tomcat 6.0\webapps\Dicom" directory.
The parameters in "Tomcat 6.0\webapps\Dicom\WEB-INF\cgi\dicom.ini" are:
kFactorFile = c:\dicomserver\dicom.sql
WebScriptAddress = http://127.0.0.1/Dicom/cgi-bin/dgate.exe
WebCodeBase = http://127.0.0.1/Dicom/
viewer = serversideviewer
Display More
Conquest DICOM server 1.4.15alpha runs as service on local machine ("c:\dicomserver\dgateserv.exe /process dgate.exe -^serverstatus.log", 127.0.0.1:5678, MS SQL Server 2000).
After restarting Tomcat 6.0, the page http://127.0.0.1/Dicom/cgi-bin/dgate.exe?mode=top is displayed.
But there is no data in element "Find Patient/Study/Series on server ...". This select list is empty (must contain
CONQUESTSRV1?).
Any search operations (buttons "Go" in web interface) returns no data.
Also "Show server configuration" and other links displays pages whithout parameters (only header of table is displayed).
This looks like there is no connection with Conquest DICOM server or database.
Where is the problem?