tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?
Date Sat, 09 Jan 2010 20:57:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

On 1/9/2010 9:38 AM, Leon Kolchinsky wrote:
> Yes instructions for Sakai actually say expand it into CATALINA_HOME.

What are the top-level contents for the Sakai tarball? Is it a single
directory? I would expect
http://source.sakaiproject.org/release/2.6.1/artifacts/sakai-bin-2.6.1.tgz
to expand to either a "sakai-2.6.1" directory or maybe even
"webapps/sakai-2.6.1" or something like that.

If you want to deploy Sakai onto your myserver029.somedomain.com virtual
host, then you need to put the Sakai directory into one of two places:

/srv/myserver029/Sakai (for http://myserver029.somedomain.com/Sakai)
or
/srv/myserver029/ROOT (for http://myserver029.somedomain.com/)

You should also remove the <Context> elements from your conf/server.xml:
they will cause nothing but confusion.

> O.K I may be wrong but http://sakai26.dyndns.org/servlets-examples/ is working.

That's because you properly deployed them using these commands:

> cp -R /opt/tomcat/webapps/jsp-examples /srv/myserver029/
> cp -R /opt/tomcat/webapps/servlets-examples /srv/sakai26/

> I'd like to fix my configuration and I'm opened for suggestions.
> 
> What should I change in my configs (I think that I gave a full configs
> and changes I've made to defaults)?

Suggestions:

1. Remove the ApacheConfig Listener (as Mark already suggested)
2. Remove <Context> elements from conf/server.xml
3. Put Sakai into /srv/myserver029/Sakai or /srv/myserver029/ROOT
              (or /srv/sakai26/Sakai or /srv/sakai26/ROOT)
4. Eliminate Apache httpd: you're passing-through everything to
   Tomcat anyway

> I don't have an access to my linux server now but I've downloaded to
> J: drive on my win. machine it and there is a structure of tar.gz:

[snip]

> J:\webapps\
> 
> access.war
> authn.war
> courier.war
> dav.war
> direct.war
> emailtemplateservice-tool.war
> library.war
> mailtool.war
> mercury.war
> osp-common-tool.war
> osp-glossary-tool.war
> osp-jsf-example.war
> osp-jsf-resource.war
> osp-matrix-tool.war
> osp-portal-tool.war
> osp-portal.war
> osp-presentation-tool.war
> osp-wizard-tool.war
> podcasts.war
> portal-render.war
> portal.war
> providers.war
> sakai-alias-tool.war
> sakai-announcement-tool.war
> sakai-archive-tool.war
> sakai-assignment-tool.war
> sakai-authz-tool.war
> sakai-axis.war
> sakai-axis2.war
> sakai-blogger-tool.war
> sakai-calendar-summary-tool.war
> sakai-calendar-tool.war
> sakai-chat-tool.war
> sakai-citations-tool.war
> sakai-content-tool.war
> sakai-fck-connector.war
> sakai-gradebook-testservice.war
> sakai-gradebook-tool.war
> sakai-help-tool.war
> sakai-jsf-resource.war
> sakai-login-tool.war
> sakai-mailarchive-james.war
> sakai-mailarchive-tool.war
> sakai-memory-tool.war
> sakai-message-tool.war
> sakai-messageforums-tool.war
> sakai-metaobj-tool.war
> sakai-news-tool.war
> sakai-podcasts.war
> sakai-poll-tool.war
> sakai-postem-tool.war
> sakai-presence-tool.war
> sakai-presentation-tool.war
> sakai-profile-tool.war
> sakai-reports-tool.war
> sakai-reset-pass.war
> sakai-rights-tool.war
> sakai-roster-tool.war
> sakai-rutgers-linktool.war
> sakai-rwiki-tool.war
> sakai-sample-tool-jsf.war
> sakai-sample-tool-servlet.war
> sakai-scheduler-tool.war
> sakai-search-tool.war
> sakai-sections-tool.war
> sakai-site-manage-group-helper.war
> sakai-site-manage-group-section-role-helper.war
> sakai-site-manage-participant-helper.war
> sakai-site-manage-tool.war
> sakai-site-pageorder-helper.war
> sakai-site-tool.war
> sakai-syllabus-tool.war
> sakai-tool-tool-su.war
> sakai-user-tool-admin-prefs.war
> sakai-user-tool-prefs.war
> sakai-user-tool.war
> sakai-usermembership-tool.war
> sakai-web-tool.war
> samigo.war
> savecite.war
> tool.war
> web.war
> wiki.war
> xsl-portal.war

OMG Sakai is deploying 84 webapps into your container. :(

I recommend contacting the Sakai community for instructions for how to
deploy their application in ways other than their default binary
installation procedure.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAktI7aUACgkQ9CaO5/Lv0PDB3ACdEyRsol3SeRFbvdSUCpqd0zFv
1V8Al0T+9q5LkXlCYuiy1L1IOsJW/v0=
=7UdY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message