I have a jar file embedded with jetty and a war file running on winstone. I need to embed two projects with same server or is it possible to embed winstone with jetty server to run on same port?
Embed Winstone with jetty server
293 Views Asked by Sharavanakumaar Murugesan At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in REST
- Spring RestTemplate passing the type of the response
- .net rest service with JSON string and consumed with java client
- SuiteCRM how to retrieve all account related contacts
- http status code for failed email send
- cloud foundry - 413 Request Entity Too Large
- Why does PHP add "\r\n" to an empty string?
- WCF Service not accepting multiple body parameters
- How to send Rest GET request that contains "#" value in url parameters?
- Phalcon PHP - RESTful API
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- purchase individual items and subscriptions in the same PayPal REST API transaction
- Empty Response Received on Android POST Request
- angular load more tweets onclick
- Async vs Horizontal scaling
- Responding to an Office 365 event invite via REST
Related Questions in JETTY
- What's the difference between a ServletHandler and a ServletContextHandler in Jetty?
- How to configure standalone Jetty 9 as a reverse proxy to a node app?
- Starting a ScheduledExecutorService from a servlet with a set of parameters
- jetty replay request on timeout
- Jetty server running SPDY behind an Apache firewall
- Java agent not forwarding traces to appneta tracelytics/traceview
- Dropwizard how to configure a datasource?
- Dropwizard 0.7 service hangs while writing output
- View http request when using mvn jetty:run
- How to Close HikariCP JNDI DataSource on Shutdown/Redeploy
- UnsatisfiedLinkError when running Jetty9's setUID feature
- Jetty Web Socket Timeout
- Where does Jetty store information about authenticated user?
- spring + Embedded jetty + <web-app> how to create context
- Jetty + Jersey + Spring DI with no web.xml
Related Questions in EMBEDDED-JETTY
- What's the difference between a ServletHandler and a ServletContextHandler in Jetty?
- Embedded Jetty doesn't recognise Spring MVC Security
- Is it possible to store static resources inside the uber jar created with an embedded jetty project?
- Embedded Jetty REST service with Welcome File
- Setting up JAX-RS to provide an API and serve up static resources
- Partial response in jetty REST service
- Embedded Jetty: How do I call setSessionTrackingModes without a ServletContextListener
- Jetty ResourceHandler in multi project gradle build looks in the wrong directory
- jetty Persistent Sessions
- Jetty custom authentication
- I am trying to a servlet based application to work
- Spring Boot 1.4.2 + Jetty fails on startup with NullPointerException
- Jetty "javax.net.ssl.SSLHandshakeException: no cipher suites in common"
- Embedded Jetty responds to clear http on port 443
- Cant locate swagger.json on Java + Jetty + httpservlet + swagger integration
Related Questions in WINSTONE
- custom java.util.logging properties file resulting in duplicate log files
- Jenkins standalone implementation: Winstone or Jetty?
- Winstone: could not find Factory: javax.faces.context.FacesContextFactory
- Jenkins Server Suddenly Fails. Cannot reach GUI
- Winstone vs Tomcat
- Disable non-DHE and non-ECDHE ciphers in JSSE
- How to get the OriginURL using morgan and winston.js format in nodejs?
- Where to put the sqlite3-database when deploying a JRuby-On-Rails App as a war?
- Jetty/winstone connector configuration in Jenkins
- Hudson context url
- Is there any solution for OpenAM+Winstone?
- How to info log message stored only info log file?
- Embed Winstone with jetty server
- Winstone configure self signed keystore for SSL Authentication
- Lightweight servlet container for production use
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, you can't combine those on the same port.
However, you can do something else ...
theserver/src/main/java/jetty/livewar/ServerMain.javafrom theembedded-jetty-live-warexample project (maintained by the Jetty Project)The end result is a single Server instance, with 2 webapps running in it.
You can choose to have it exist as a live-war (aka winstone like), or as a Jar executable that just loads the
WebAppContextof the war file as a second handler on the Server. (use aHandlerCollectionorHandlerListwith theServer.setHandler()call)