Run OTRS on Tomcat 6.0.26 ?

Moderator: crythias

Locked
jampal
Znuny newbie
Posts: 5
Joined: 25 May 2010, 16:59
Znuny Version: 2.4

Run OTRS on Tomcat 6.0.26 ?

Post by jampal »

On the tomcat site there are instructions on how to allow tomcat handle CGI
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html

We already are planning on going with Tomcat and want to avoid setting up one additional server for the Ticketing system (apache)
Is there some available documentation on things to do to get OTRS running on Tomcat?
Do you happen to have any performance metrics too (running on tomcat)?

Thanks
jamshed
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Run OTRS on Tomcat 6.0.26 ?

Post by jojo »

You should not run OTRS in CGI Mode because it is slow... So using Apache and mod_perl is the best...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jampal
Znuny newbie
Posts: 5
Joined: 25 May 2010, 16:59
Znuny Version: 2.4

Re: Run OTRS on Tomcat 6.0.26 ?

Post by jampal »

Any chance I could get some instructions on how to set it up on Tomcat (will evaluate the slowness) ?
thanks
jampal
Znuny newbie
Posts: 5
Joined: 25 May 2010, 16:59
Znuny Version: 2.4

Re: Run OTRS on Tomcat 6.0.26 ?

Post by jampal »

I tried setting up the cgi folder on tomcat ROOT and moved the artifacts from the default C:/Program.../ OTRS/OTRS into the tomcat webapp/ROOT folder.

I now get the following (for URL = http://localhost:8080/cgi-bin/customer.pl)

[Wed May 26 14:18:18 2010][Debug][Kernel::System::Web::InterfaceCustomer::new][87] Global handle started...
[Wed May 26 14:18:18 2010][Error][Kernel::System::DB::new][188] Can't create TCP/IP socket (10106)

The output on the browser is as follows....

[img]

LOGO COMPANY NAME

Error: Can't create TCP/IP socket (10106)
Comment: Please contact your admin
Bug Report:
Traceback: ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: MSWin32 Time: Wed May 26 14:35:51 2010

Message: Can't create TCP/IP socket (10106)

Traceback (6112):
Module: Kernel::System::DB::new (v1.105.2.1) Line: 188
Module: Kernel::System::Web::InterfaceCustomer::Run (v1.41.2.1) Line: 144
Module: C:\apache-tomcat-6.0.26\webapps\ROOT\WEB-INF\cgi\customer.pl (v1.42) Line: 48

FOOTER FOOTER2[/img]
Locked