Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epf-dev] Bug with EPFC composer

Hello Alexandra,
 
I recently encountered a similar issue. Although we've never deployed onto Windows, we did deploy a .WAR on Linux using Tomcat. We had two issues at separate times - on one occasion we found that no search results were returned, and on another that the hyperlinks in the search results did not contain correct URLs.
 
The way we got around both was essentially to use Apache HTTP redirects, including a re-write rule. We also had to make sure our server's hosts file contained the DNS address of our website.
 
All this conspired to make sure the search was forming URLs correctly and hence returning results.
 
I believe there may be something deeper in the _javascript_s that will be a bit more rigorous, but I'm afraid I'm not sure what. For information, the virtual host in the httpd.conf file we ended up using looked somthing like this:

<VirtualHost *:80>

ServerName foo

ServerAlias bar

DocumentRoot "/apps/httpd/htdocs/foo"

ErrorLog "logs/foo-error_log"

TransferLog "logs/foo-access_log"

ProxyPass / http://server01:5502/war-dir/

ProxyPassReverse / http://server01:5502/war-dir/

# Force any requests to /war-dir back to /

RewriteEngine On

RewriteRule ^/war-dir/(.*) /$1 [R]

</VirtualHost>

 
Where war-dir is the name of the extracted web archive.
 
I hope you find this useful! FYI the log I used to see what was going on was catalina.out in the Tomcat logs/ sub-directory.
 
Matt

 

From: epf-dev-bounces@xxxxxxxxxxx [mailto:epf-dev-bounces@xxxxxxxxxxx] On Behalf Of Alexandra TRUFFERT
Sent: 05 July 2011 17:23
To: epf-dev@xxxxxxxxxxx
Subject: [epf-dev] Bug with EPFC composer




Hello,

I'm working on a web site generated by EPFC.


When the .WAR is deployed on a TOMCAT/windows server, the web site search engine returns results,


but when the .WAR (exactly the same .WAR) is deployed on a TOMCAT/linux server, the web site search engine doesn't return anything.


Can you help me ?


Is that a way to activate a log to find where the error is ?


Thank you in advance for your response



Cordialement,

Alexandra TRUFFERT

Nice/Projet CAgile/Chantier Outillage

Crédit Agricole Technologies

Site : Maurin
Tel : 04 67 17 22 94
E-mail :
mailto: alexandra.truffert@xxxxxxxxxxxxxxxxxx

Attention, notez mon changement d’adresse mail !
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur par e-mail. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Les communications sur Internet n'etant pas securisees, l’expediteur informe qu'il ne peut accepter aucune responsabilite quant au contenu de ce message.
This mail message and attachments (the "message") are solely intended for the addressees. It is confidential in nature . If you receive this message in error, please delete it and immediately notify the sender by e-mail. Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted. As communication on the Internet is not secure, the sender does not accept responsability for the content of this message.

Please consider the environment before printing this email.
 
This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
 
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. 
 
The contents of this email may relate to dealings with other companies under the control of BAE Systems plc details of which can be found at http://www.baesystems.com/Businesses/index.htm.
 
Detica Limited is a BAE Systems company trading as BAE Systems Detica.
Detica Limited is registered in England and Wales under No: 1337451.
Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.





Back to the top