Hello Stanislav,
The answer depends on what you want. If you want to have apache act as web server and
Orion only as EJB server, you can remove the default web site server from Orion or
move it to another port than 80 and have the EJB accessed from application-clients.
If you want Orion to serve part of your site's context and let Apache serve the other
part (like Orion serving JSP and Apache serving html, gif, php, cgi:s or something
else) there is a TunnelServlet provided, which is still in beta and not documented,
but you can test it to see how it works for you.
You set the TunnelServlet up like this (you can set it up in global-web-application
(this is assuming that Orion is running on port 80 and Apache on 8080):
<servlet>
<servlet-name>tunnel</servlet-name>
<servlet-class>com.evermind.server.http.TunnelServlet</servlet-class>
<init-param>
<param-name>targetRoot</param-name>
<param-value>http://localhost:8080/</param-value>
</init-param>
</servlet>
And you add the mappings for the content you want Apache to handle:
<servlet-mapping>
<servlet-name>tunnel</servlet-name>
<url-pattern>/*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>tunnel</servlet-name>
<url-pattern>/*.gif</url-pattern>
</servlet-mapping>
These two mappings make Apache handle any *.html and *.gif requests.
The tunnel servlet will get more sophisticated later on to be able to do things more
conveniently, but it should work already.
Regards,
Karl Avedal
Stanislav Bernatsky wrote:
> Please, explain me how to integrate orionserver with other web servers like Apache.
>And I'd like to know how to start only application server, not whole orionserver.
>
> Any help appreciated,
> Stanislav Bernatsky