Comments (5)
Have you changed the chat.properties files accordingly to your configuration?
It should be something like this for you :
chatServerUrl=http://malban:8080/chatServer
chatPortalPage=/portal/intranet/chat
you also need to create the chat page on eXo (/portal/intranet/chat) and put the Chat portlet in it.
from chat-application.
Actually, it was caused by Windows Firewall rules.
Now, we need to manage CROS error :
I'll publish new notes if we solve it.
FX
from chat-application.
I can see your eXo instance using port 8080 and Chat server tomcat instance using 8280.
You're accessing using 8080, this is why you get into Access-Control-Allow-Origin problem because the port is not the same and it's not permitted for ajax calls (anti fishing security rules)
If you follow the installation notes, you will notice I declare a virtual host :
<VirtualHost *:8888>
ServerName www.localhost.com
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
ProxyPass /chatServer http://localhost:8280/chatServer
ProxyPassReverse /chatServer http://localhost:8280/chatServer
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
Then, you have to access eXo using http://malban:8888 (or port 80 if apache is set on port 80)
This will fix your problem.
from chat-application.
Problem is fixed!
If you use a windows 2008 r2 server :
1.Deploy eXo bundle (tomcat 6, port 8080)
2.Deploy tomcat 7
3.Setup Apache (we choose 2.2 version - check required modules)
4.Follow the installation guide in the wiki (https://github.com/exo-addons/chat-application/wiki/Two-Servers-Mode)
(Step 5 concerns Apache and his httpd.conf file)
5.Add "Header set Access-Control-Allow-Origin "http://www.localhost.com"" in your httpd.conf file
6.Check your firewall rules (open 80 and 8280 port)
7.Start tomcat7 first, then eXo
Thank you Benjamin for your help.
Issue can be closed :)
FX
from chat-application.
Thanks for your feedback,
I updated the wiki installation page accordingly : https://github.com/exo-addons/chat-application/wiki/Two-Servers-Mode
from chat-application.
Related Issues (20)
- Add a badge of unread messages in the Mini Chat
- Support for Matrix-protocol or Matrix bridge
- Ambiguous error message HOT 2
- sound notification HOT 5
- Uploaded file posted in wrong chat HOT 1
- video chat stops working when there are multiple windows with chat app opened HOT 3
- Call button does not appear on user people of connected people HOT 2
- call interrupted when opening another chat app configured with a different key.
- Avatar not displayed when username contains a dot
- configuration file not loaded in JBOSS
- Chat not working. Please help.
- Integration with Whatapp HOT 2
- Change de administration of a chatgroup.
- Authentication mechanism conflict with MongoDB 3.2.0 HOT 1
- chat application cannot start HOT 2
- scaling the database HOT 9
- missing index ? HOT 4
- optimisations HOT 6
- externalize some driver options
- Dependency missing in standalone server build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-application.