Ebase 4.4.1 - Problem using IIS7 with Tomcat7

Post any questions regarding Installing or Upgrading Ebase, including problems starting up the Ebase Xi Server or Designer

Moderators: Jon, Steve, Ian, Dave

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

Ebase 4.4.1 - Problem using IIS7 with Tomcat7

#1

Postby jig » Tue Mar 05, 2013 9:22 am

Hi All,

I have a IIS7 with ISAPI redirector to connect with Ebase 4.4.1 (tomcat7).

If I start Ebase using the batch file (stand alone mode) it works fine. But if I start Ebase as a service, I see:
Failed opening socket to (192.168.xxx.xxx:8009) (errno=60) in the IIS redirect log.

Anyone else facing or have come across this issue?
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Tue Mar 05, 2013 3:49 pm

Hi Jig,

This might answer your question:

http://www.coderanch.com/t/517228/Tomca ... r-beginner

Could it be that the connector port inside the server.xml is not listening on port 8009?

Steve
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#3

Postby jig » Wed Mar 06, 2013 8:55 am

Hi Steve,

I had a look in server.xml. It has got 8009 and 8443:
<Define>
<Connector>

The strange thing is that it works in standalone mode but does not work when started as a service.

Just wondering if there is any difference in the way Ebase is bound to a network card/device when running in standalone mode or as a service?

Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#4

Postby Steve » Wed Mar 06, 2013 10:09 am

Jig,
Just wondering if there is any difference in the way Ebase is bound to a network card/device when running in standalone mode or as a service?
I do not think so.

When you start the service through the services.
Run a "netstat -a" on the command line and check that the ports are listening.

I am also assuming that when you start the tomcat as a service, you can talk directly to the tomcat (i.e not got through IIS)?

Steve
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#5

Postby jig » Wed Mar 06, 2013 10:15 am

Hi Steve,

Good news! I had another issue on the server because of which I had to reboot...and this fixed the problem :)

But to answer your questions and if it benefits others, when I had this issue, I could directly access Tomcat i.e. without IIS.

Anyway, thanks for your help mate....it would be good to meet-up with you guys over beer :)

Cheers!
Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#6

Postby Steve » Wed Mar 06, 2013 10:19 am

Jig,
Anyway, thanks for your help mate....it would be good to meet-up with you guys over beer
Only if you're paying :D

Steve
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#7

Postby jig » Wed Mar 06, 2013 10:31 am

Hi Steve,

Yep..I will buy!

Sorry mate but the problem just happened again...."deja vu"!

The following is the log from IIS

[Wed Mar 06 10:53:47.943 2013] [2832:2280] [info] jk_open_socket::jk_connect.c (626): connect to 192.168.83.131:8009 failed (errno=60)

[Wed Mar 06 10:53:47.945 2013] [2832:2280] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1008): Failed opening socket to (192.168.83.131:8009) (errno=60)

[Wed Mar 06 10:53:47.947 2013] [2832:2280] [error] ajp_send_request::jk_ajp_common.c (1630): (worker2) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=60)

[Wed Mar 06 10:53:47.947 2013] [2832:2280] [info] ajp_service::jk_ajp_common.c (2607): (worker2) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

[Wed Mar 06 10:54:09.051 2013] [2832:2280] [info] jk_open_socket::jk_connect.c (626): connect to 192.168.83.131:8009 failed (errno=60)

[Wed Mar 06 10:54:09.055 2013] [2832:2280] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1008): Failed opening socket to (192.168.83.131:8009) (errno=60)

[Wed Mar 06 10:54:09.056 2013] [2832:2280] [error] ajp_send_request::jk_ajp_common.c (1630): (worker2) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=60)

[Wed Mar 06 10:54:09.057 2013] [2832:2280] [info] ajp_service::jk_ajp_common.c (2607): (worker2) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

[Wed Mar 06 10:54:09.058 2013] [2832:2280] [error] ajp_service::jk_ajp_common.c (2626): (worker2) connecting to tomcat failed.

[Wed Mar 06 10:54:09.059 2013] [2832:2280] [error] HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http error 503


If I start tomcat in Standalone more..it works!

Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#8

Postby Steve » Wed Mar 06, 2013 10:36 am

OK, you need to go back a post or two and run a netstat -a and check that port 8009 is open.

Also check your windows firewall. Might be something there? (Clutching at straws now, but worth a look)

Steve
0 x

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#9

Postby Steve » Thu Mar 07, 2013 5:04 pm

Did you resolve this?
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#10

Postby jig » Thu Mar 07, 2013 5:09 pm

Did not get a chance to look at it yet but I planning to look at it today evening.

Right now, its running in standalone mode :)
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#11

Postby jig » Fri Mar 08, 2013 7:51 am

Hi Steve,

I tried netstat - a and could see the port open.

As a last attempt, thought of playing with the firewall....All I did was stop the windows firewall and start it again....strange but this solved the problem.

Our Ebase now starts up as a service and IIS redirect works as well :)

Thanks!

Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#12

Postby Steve » Fri Mar 08, 2013 9:00 am

Great news...

but strange all the same.

Steve
0 x


Who is online

Users browsing this forum: No registered users and 5 guests