English 中文(简体)
• 如何使Tomcat开端名单第一[复制]
原标题:How to make Tomcat start Listener First [duplicate]
  • 时间:2011-11-24 11:41:11
  •  标签:
  • tomcat
This question already exists:
Closed 11 years ago.

Possible Duplicate:
Delaying code or Tomcat hook for Listener

在我的网络服务中,我称之为另一个网络服务。

http://localhost:8080/bayer-ws-1.0/bayer/soap

但是,在实际开始在港口举行听众之前,Tocat开始了所有战争。

因此,我们无法停靠8080万吨港口,直到《欧洲常规武装力量》所有东西都完全运行。

How can we solve this problem , to make tomcat to start Listeners first I think tomcat has some listeners or something you can hook into, but I m not really sure.

我现在请我发言。

如果问题混淆不清,这就是我想要获得的东西。

Tomcat starts up all the wars prior to actually starting up a listener on the port. Thus, you cannot call off to a port 8080 thing until AFTER everything is completely up and running. I think tomcat has some listeners or something you can hook into, but I m not really sure. A simple timer or something to delay the above code for a couple seconds, if possible, should also work.

问题回答

页: 1 但是,你可以删除 your-家庭/网络目录中的额外文件夹/战争,以减少启动时间。

除此以外,托马托克公司将开始申请,即装货,管理听众等,你们可以做很多事。

如果是为了发展,你也可以使用杰特。 喷气更轻、更快。 除此以外,你还可以利用诸如JRebel等一些东西,避免重新启用你的服务器。





相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签