ConcourseConnect Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Installation and Upgrade

New Install Problems

You need to be logged in to post messages

This question is answered

New Install Problems

1/4/2012 5:12 PM EST

Just set up a new site, but out of the box, except for home and my page, give me a 404 error. I realize I have the community edition, but can I get a little help here? I'll never graduate to a paid edition without it.

1. 1/4/2012 5:15 PM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

This is likely a Tomcat setup issue, but without further details like OS, Java version and Tomcat version I'm just guessing.

In Tomcat's conf/server.xml file I add Hosts like this:

<Host name="web.example.com" appBase="/home/webapps/web"

unpackWARs="true" autoDeploy="true"

xmlValidation="false" xmlNamespaceAware="false">

</Host>

Then in the /home/webapps/web directory I have a single file called ROOT.war which is Connect renamed to ROOT.war.

This keeps the files separate from Tomcat's default hosts.

Does that help?

2. 1/4/2012 8:32 PM EST

Actually, it's incredibly different. Do you have any suggestions?

<Host name="connect.getpulp.com" appBase="/home/pulp1706/public_html" unpackWARs="true" autoDeploy="true"

xmlValidation="false" xmlNamespaceAware="false">

<Alias>www.connect.getpulp.com</Alias>

<Context path="/" reloadable="true" docBase="/home/pulp1706/public_html"/>

<Context path="/manager" docBase="/usr/local/tomcat/users/pulp1706/tomcat/webapps/manager"

privileged="true" antiResourceLocking="false" antiJARLocking="false" reloadable="true" />

</Host>

3. 1/5/2012 2:26 PM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Hi Robert, that configuration isn't far off and might be ok. I'm seeing that the site is running through Apache Web Server (as well as Tomcat) so it likely has to do with the Apache Web Server configuration. Does that assumption sound right?

I'll look around and see if I have an example httpd.conf entry. What will be needed is for all requests for that domain name to go through Apache Tomcat and let it handle everything.

4. 1/5/2012 2:31 PM EST

I'm new to Tomcat and this hosting service. This is all I am hosting here. Perhaps I can just disable Apache?

5. 1/5/2012 2:34 PM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Actually, yes. You can disable Apache and change Tomcat's config to use Port 80.

6. 1/5/2012 2:44 PM EST

Let's see if I can get apache off of port 80, at least. Shared hosting so it may or may not be possible.

7. 1/5/2012 3:06 PM EST

Nope, can't affest apache functionality, other than through standard htaccess configuration.

Any ides?

8. 1/5/2012 3:21 PM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

There are a couple of different connectors between Apache and Tomcat... is there somewhere that you can see (like in an httpd.conf httpd.d or .htaccess file) that specifies something like:

JkMount /* ajp13

The goal is to get everything to run under Tomcat which can be done.

9. 1/5/2012 3:36 PM EST

Searching the server fromn my root, I see none of those files.

10. 1/5/2012 3:45 PM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Does the hosting provider give you a web interface to your website, like cpanel? It could be in there too.

15 results found