Re: images attachements in jwma
Xavier Lawrence <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
Hi Miriam,
I've just checked the server.xml file that comes with Tomcat 5.5.9 and it
contains several <connector> elements:
Your file should look like this (without the comments):
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
You should place your extra <Connector> directly after the ones allready
defined in the server.xml file...
As for the <DefaultContext> element, you should put it inside the <Host>
element, that is
...
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<DefaultContext crossContext="true"/> <!-- Put the DefaultContext
here -->
</Host>
Good luck
Best Regards
Xavier
------------------=[ xlawrence at jahia dot com ]=--------------------
Computer Science Engineer, Master's Degree
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
www.collaborativesource.org Jahia's collaborative license
Jahia Solutions
Rue de la gare 45
Ch-1260 Nyon, Switzerland
Phone: +41 22 361 34 24
Fax : +41 22 361 36 40
Le 08:50 05.07.2005, vous avez écrit:
>Hello,
>As it is recommended in the session article, I should install Tomcat 5.5 or
>later.
>I downloaded it (Tomcat 5.5.9) from Jakarta web page and I'm following the
>instructions that Jahia Technical FAQ gives to install Jahia into a new
>Tomcat
>installation.
>I have problem when in step 5 I have to modify the
>NEWTOMCAT_HOME/conf/server.xml file to include the following tag just before
>the "examples" <Context> tag :
> <DefaultContext crossContext="true"/>
>
>because I don´'t find such tag in the server.xml file...
>
>The same thing when the author's article says that I must set
>emptySessionPath="true" in the <connector> element in Tomcat's server.xml
>file.
>I don´'t find such element.
>
>Anybody can help me?
>
>Thank you very much in advance,
>Best regards,
>Miriam