Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4749 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everybody,

We purchased a copy of SuperContainer and so far it is better than we could have imagined. We are however, running into an issue.

The websites that are going to use this functionality need to be accessed by our customers. These customers are using proxy servers and firewalls, and blocking port 8020. In talking to the IT department at these customers, the only port that they will allow is port 80.

Right now we have SuperContainer running on the same machine as our web server, which is an Apple Xserve.

The question is: Is it possible to run the standalone version of SuperContainer, and have it listen on port 80. We need the standalone version so that it will generate thumbnails of files that are uploaded. If not, is there another way to run SuperContainer where it will listen on port 80, and not disrupt the normal web server operation?

As a last resort, we may be able to have SuperContainer run by itself on another machine, as along as it it able to listen on port 80, and automatically generate thumbnails.

Thanks, Any thoughts or questions are greatly appreciated.

~Mark

Posted

So, If I am understanding you correctly, If I set up another machine - separate from the machine it is on now, I could run SuperContainer on port 80, as long as there was no webserver running?

Posted

A few of our customers that need to use this site have just about all their ports blocked incoming and outgoing, plus a proxy server. according to their firewall manager, they allow traffic on 80 for http, plus a few for mail(routed directly to their mail server, and a few application specific ones, which are all routed to specific machines inside their network. If I can't get them to allow traffic out of their network on any other ports, what other options do I have?

Posted

That's makes a ton of sense. How do I tell supercontainer to listen on a different IP address? I don't see that in the settings/options

We already have a few IP addresses set up on the Xserve already. When we set up the other IP addresses on that machine, we had to go into the Server admin, and add a site that listened on that address. If we add another IP, how do we set that up so that apcache won't intercept port 80 requests on that IP? is it as simple as not setting up a site to listen on that ip?

Thank you for all your help so far!!

~Mark

Posted

So what about changing the IP supercontainer listens on? right now it defaults to the first IP it comes to. Is there a way to set that?

~Mark

Posted

Just to update this thread with what I found.

SuperContainer in standalone mode does not allow you to specify an IP address for it to listen on.

The port 80 adventure was a different story. From the documentation, the tomcat version or the filemaker CWP installer will redirect requests to SuperContainer on port 80 properly.

For the standalone version on an Xserve, you have to run the .jar file as root because on linux based OS's(and Mac OSX is a linux based OS), the system does not allow non-root users to bind to ports below 1024.

to get around this, you can run SC as root by running the following from the command line:

sudo java -jar /SuperContainerServer.jar

Hope this can help someone else!

Posted

You may still have an option here. We run SuperContainer on our shared servers as separate Tomcat instances, one per client. These are not the "standalone" version that 360Works provides, but rather Tomcat installs we do from scratch with the SuperContainer files loaded into them.

If you were to do the same, I believe you could configure Tomcat to only listen on a specific IP, on port 80. You probably would still need to run as root, but there even may be a way to get around such, as I know there are some ways to launch processes as root to satisfy OS X's requirement, then switch to running as a different user.

- John

Posted

If we were to run your version of the standalone, would Supercontainer still be able to generate thumbnail images of documents(where applicable)?

Posted

I'm pretty sure that I understand what you are talking about with separate tomcat instances. but I would have no idea how to set that up on our server.

At this point, I know we have an extra Mac Pro G5 laying around, so it looks like the route we are going to take is just to set that up as a SuperContainer server, and just let it crunch files all day long.

Thank you so much for your input.

~Mark

  • 2 years later...
Posted

It should be mentioned that you can easily solve the OP's problem with an Apache Reverse Proxy on OS X.

Run Supercontainer on the same machine as Filemaker Server and Apache. Make sure the proxy module(s) are installed in your Apache config. Then edit your httpd.conf file (/etc/apache2/httpd.conf) with a couple of lines to reverse-proxy all requests coming in to Supercontainer.

ProxyPass /SuperContainer http://localhost:8020/SuperContainer

ProxyPassReverse /SuperContainer http://localhost:8020/SuperContainer

This allows you to run Supercontainer transparently within the same domain namespace as your main Filemaker/Web server and without having to fuss with ports in your Supercontainer URLs.

http://myserver.com/SuperContainer/Files/some/path/to/a/document

All requests incoming to myserver.com/Supercontainer will be reverse proxied to the real Supercontainer on port 8020. You don't need a second server, you don't need to mess with Tomcat, and you don't need to mess with port configurations.

This topic is 4749 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.