Comments (3)
the problem is not the redirection. even if we deactivate redirection, you still cannot achieve what you want. you can start multiple instances with the same ip, but not with the same port.
steve comes with an embedded web application server (jetty). when you start steve, we read parameters from file (ip/port) and first start jetty with these parameters. and if the port that you try to use is used by another application (read: another steve instance), jetty will fail to start, ergo, steve will fail to start.
if you want, you can leave ip and context path the same, and change the ip port for each steve instance, and do it like that.
the redirection itself i find useful because you do not have to type the whole path to go to the main page of steve.
historical info:
at the beginning, steve was just a web application and did not contain an embedded server. the idea was to start a separate web application server (tomcat) and deploy the web app to the server (read: copy the war file to the correct tomcat directory). with such a setup, you were able to start one server, and run multiple steve instances with different context paths within the server, since server is decoupled from applications. but this introduced some complexity in the configuration (you had to configure 1) tomcat and 2) steve in different places), and i was receiving questions how to set everything up. the users were not familiar with tomcat and did not know how to do it properly. for this reason, i decided to embed the server into steve, do the basic configuration in the code myself, and have all the possible parameters in one place (read: main.properties) to make it easier for the users. so, i do not want to go back to how it was at the beginning.
from steve.
Hi, tanks for the explanation. I will make some new tries. Thanks for your
suggestion.
You tell "if you want, you can leave ip and context path the same, and
change the ip for each steve instance, and do it like that."
But I think you would tell "change the PORT for each steve instance".
With an external config file it should be very easy to manage.
Concerning historical. I confirm you, my firsts test with Steve was not
easy due to tomcat configuration ^^
Many thanks
2016-08-17 13:25 GMT+02:00 Sevket Gรถkay [email protected]:
the problem is not the redirection. even if we deactivate redirection, you
still cannot achieve what you want. you can start multiple instances with
the same ip, but not with the same port.steve comes with an embedded web application server (jetty). when you
start steve, we read parameters from file (ip/port) and first start jetty
with these parameters. and if the port that you try to use is used by
another application (read: another steve instance), jetty will fail to
start, ergo, steve will fail to start.if you want, you can leave ip and context path the same, and change the ip
for each steve instance, and do it like that.the redirection itself i find useful because you do not have to type the
whole path to go to the main page of steve.historical info:
at the beginning, steve was just a web application and did not contain an
embedded server. the idea was to start a separate web application server
(tomcat) and deploy the web app to the server (read: copy the war file to
the correct tomcat directory). with such a setup, you were able to start
one server, and run multiple steve instances with different context paths
within the server, since server is decoupled from applications. but this
introduced some complexity in the configuration (you had to configure 1)
tomcat and 2) steve in different places), and i was receiving questions how
to set everything up. the users were not familiar with tomcat and did not
know how to do it properly. for this reason, i decided to embed the server
into steve, do the basic configuration in the code myself, and have all the
possible parameters in one place (read: main.properties) to make it easier
for the users. so, i do not want to go back to how it was at the beginning.โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJnQzDmyNjm5cKWCpNujCiz5Xmtite8-ks5qgu-7gaJpZM4JmQVk
.
from steve.
yes. that's right. i meant port and not the ip.
from steve.
Related Issues (20)
- Charger connections limit HOT 1
- Why do I get 404 when I access static resources locally? Answer when you have time, thank you!
- Date handling in OCPP operations HOT 3
- Transaction returning ConcurrentTX as status not stopped HOT 9
- Network requirement question HOT 2
- Connect charging station to Steve. HOT 2
- Multiple Webusers login HOT 6
- Use PKs for cross-referencing instead of business/natural keys HOT 6
- Installation fails on "Access denied" error HOT 3
- When i am trying to run the steve.jar file, i am getting below mentioned error: HOT 2
- Logs are Unavailable HOT 3
- New install - 0.7.7 - update schema update failed - Cannot change column 'chargeBoxId': used in a foreign key constraint HOT 3
- Transaction detail page should only show relevant meter values HOT 1
- Jooq warning in logs about using Converter with org.joda.time.DateTime
- Redirect to originally requested page after succesful login HOT 1
- Connection Issues with MicroOcppSimulator and SteVe Using Docker HOT 10
- Enhanced User Management and Functions for Steve HOT 7
- Validate chargeBoxId for WS connections HOT 4
- Encode values properly when rendering HTML pages
- Mark the most recent release as latest HOT 1
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 steve.