• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JForum and CF Built in webserver?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to deploy JForum within Coldfusion 8 built in webserver? has anyone tried this method. i think CF8 has jrun built in.
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

RikoNaz wrote:Is it possible to deploy JForum within Coldfusion 8 built in webserver? has anyone tried this method. i think CF8 has jrun built in.


The Cold Fusion app engine is written in Java, but I don't think you can run Java apps on it (i.e. it's not a Java app server).
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FWIW, I'm pretty sure someone talked about getting jForum to run under jRun. Having used jRun years ago, I think it should work too...current versions of jRun are pretty standard J2EE environments.

I also know that Cold Fusion is now implemented as a set of Java Taglibs that run in a JRun environment (like Gator said). So, if the JRun that comes with your Cold Fusion server lets you deploy standard J2EE web apps, you should be able to get jForum to work under it.

If they have disabled this feature with the Cold Fusion server, you might check around to see if there are any manual ways to do this. They could have just cut down the admin screens to not allow this.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yeah i think its limited, its not letting me deploy JForum under it.


what is the preferred servlet container recommended to use with JForum?
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, i was able to get JForum installed and working with Tomcat, im able to access it internally

http://localhost:8080/jforum/forums/list.page



how would i go about having it acess through a .com domain?

say if i have www.abc.com , how would i have the jforum accessed from that domain instead of the internal link? im using Windows Server 2008 with IIS7.

thanks
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's no real "preferred" app server. Folk have used Tomcat, JBoss, WebSphere, and other app servers. It depends on what your site needs are.

On a personal level, I prefer Tomcat. It's easy to set up, production quality, and totally open source.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Crossed replies...

Tomcat has an IIS ASAPI filter that can be used to front end it with IIS. Look at the Tomcat Connectors area on the Tomcat site.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

monroe wrote:Crossed replies...

Tomcat has an IIS ASAPI filter that can be used to front end it with IIS. Look at the Tomcat Connectors area on the Tomcat site.




Yeah i have downloaded the isapi redirecter dll. , but with IIS7, when creating a website, it ask for the location of the webfiles, so should i point it to the jforum folder that is located at tomcat webapps?
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For security reasons you probably want your normal IIS files (e.g. html files) to be separate from your Tomcat files. I'd recommend setting the home directory to something like x:\iisservers\myserver.

The basic way that the Tomcat connector works is like this:

- Request comes into IIS..
- IIS passes this to it's ASAPI filters (of which Tomcat connector is one)
- The TC filter compares the request URL to a list of Tomcat web apps.. e.g. /jForum. If it matchs, then the request is "internally" forwarded to Tomcat and the results passed back to the user via IIS.
- If the request isn't handled by an ISAPI filter, then the server looks for a "normal" file.

So, if the request is: http://www.myserver.com/, the default.htm page will be returned from the web server document root.

If the request is: http://www.myserver.com/jforum/, the jforum/index.jsp page is returned from Tomcat.

To be complete, there is a way to set up the filter to handle "ROOT" webapp calls. E.g., jForum is set up to respond to http://localhost:8080/ with it's index. However this can be tricky and most people only use this to have "dynamic" *.jsp capabilities. E.g., have jsp files mixed with IIS normal files.

Oh, a couple of "gotcha" on IIS 7 that I remember are:

You need to enable the connector as an web service (or something like that).
The ISAPI filter "up" status will not show a green arrow until the first call happens.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
lol.im still puzzled, when i had IIS6 it was much simpler, but with IIS7 , there no indicator to show if the dll is up, its a bit diffrent. so far i have

clicked on IIS7,

i clicked on Add Website

in which menu popped up i added the site name with the default app pool

physical path i set to a newly created folder: x:\iisservers\myserver

i clicked ok

i set the permissions to this folder

i created a virtual directory point to tomcat installtion\bin

which is where the isapi_redirect.dll is located

i also added the filter jakarta , which points to isapi_redirect.dll file

modified host headers to reflect the domain i want the forum to be on


did i miss a step?. so far i cant get working yet.
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Google is your friend... There is a lot of information out there about how to set up IIS with Tomcat. Here's one with a lot of details:

http://forums.iis.net/t/1138519.aspx?PageIndex=1

Oh, to be complete, if you don't want to fool with IIS, you can also shut down the IIS service and just set up Tomcat to respond to port 80.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

monroe wrote:Google is your friend... There is a lot of information out there about how to set up IIS with Tomcat. Here's one with a lot of details:

http://forums.iis.net/t/1138519.aspx?PageIndex=1

Oh, to be complete, if you don't want to fool with IIS, you can also shut down the IIS service and just set up Tomcat to respond to port 80.






yeah ive search googled long ago. still no luck. a good detailed method on configuring tomcat, iis7 and jforum would be helpful..lol. the trick is to get tomcat and IIS7 talking.. guess ill continue searching google some more. thanks
[originally posted on jforum.net by RikoNaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

monroe wrote:Google is your friend... There is a lot of information out there about how to set up IIS with Tomcat. Here's one with a lot of details:

http://forums.iis.net/t/1138519.aspx?PageIndex=1

Oh, to be complete, if you don't want to fool with IIS, you can also shut down the IIS service and just set up Tomcat to respond to port 80.


is it possible you can give me an detail step on how you setup IIS and tomcat in your server environment?. because my setup looks fine, but im not sure what step am i missing.
[originally posted on jforum.net by RikoNaz]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic