aspose file tools*
The moose likes BEA/Weblogic and the fly likes tomcat JSP engine from weblogic 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "tomcat JSP engine from weblogic 7" Watch "tomcat JSP engine from weblogic 7" New topic
Author

tomcat JSP engine from weblogic 7

suresh raghavan
Greenhorn

Joined: Feb 19, 2002
Posts: 6
Hi Folks,
I need help in configuring the weblogic 7.0 server
so that all JSPs are redirected and processed by a tomcat jsp engine . Any help would be appreciated.
Thanks
Suresh
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
WebLogic does not provide all of the proxying services of a full blown Web Server (without writing it yourself). Furthermore, even you could easily do this, why would you want to?
If you want to separate the Web Container from the EJB Container then the request for pages should go directly to the Web Container or a Web Server like Apache or iPlanet.
Therefore should be:
Web Server (proxy) -> Tomcat (Servlet/JSP) -> WebLogic (EJB)
Not:
WebLogic (proxy) - > Tomcat (Servlet/JSP) -> WebLogic (EJB)
I think you need to explain your reasoning for doing this before we can effectively help you.
suresh raghavan
Greenhorn

Joined: Feb 19, 2002
Posts: 6
Thanks Chris. I was asked to find out that if it is feasible to do so. Now we are going to use apache/tomcat as the webserver and jsp/servlet container and weblogic 7.0 as the EJB container .
So appreciate if you could tell me how to configure the tomcat server in order to do it.
Thanks.
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
Just have all the EJB lookups from Tomcat use WebLogic server's jndi - use WLInitialContextFactory and the provider url to point to the WLS server.
I've never experimented with a config like this, so I'm not sure if you would get proper security credentials forwarded from Tomcat to WLS. I guess you'd at least have to set up some consistent security store and implement security Authentication/Authorization providers for both servers so they'd have the same user base, role mappings, etc.
Why not just let WebLogic do both jobs.
[ October 24, 2002: Message edited by: Dave Landers ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat JSP engine from weblogic 7