After a CLI application exits, on prod profile, i'd like it to go back to the shell instead of re-prompting the dev mode ("Press [space] to restart, [e] to edit command line args...")
Also would not need the "Press [h] for more options>" on startup.
Would it be possible to get quarkus "dev mode" totally out of the way in prod?
Description:
Add a configuration value/switch to disable the GRPC server in dev mode
At the moment there is no way to disable starting of the GRPC server in dev mode. For instance if only the client is used it is weird to have to assign a random port to the GRPC server to solve port collision for instance from a real GRPC server. So I don't really know if this is an actual feature request or a small bug.
Implementation ideas:
Have a configuration value which disables the starting of the server, e.g.:
quarkus.grpc.server.enable
Related
I'm working on automating an end-to-end testing process for my desktop app.
I have prepared a script that opens the sandbox, installs all dependencies, runs tests and everything, but after testing is done, my script doesn't know when to terminate the task, as sandbox process is not sending any information back to the host.
Even when If I shut down a remote machine, it doesn't terminate my process on the host as there is a popup that says "Windows Sandbox is shutting down and will be closed" and requires me to click OK button manually
My question is - Is there a way to communicate somehow with the sandbox, to send any signal back, so that I can force shutdown it when tests are done OR is there a way to close the sandbox without this popup?
Thanks
You could introduce something like pubsub to the testing chain.
You could add a python Demon to the sandbox configuration that ends the process in question, upon receiving a message from something like Redis or the host service running the test.
We are on a mission to run our acceptance tests from a selenium container running different browsers in their own containers and we have set things up so minimal config changes are necessary when testing on a local machine or a remote one triggered by continuous integration.
The stumbling block I have hit is that the site under test is authorised through windows authentication and the chrome container is effectively running as a different machine, which means that when WebDriver serves up the site it is prompted with a log in box.
So far I have run into dead ends with every technique I have used to get round this.
I can't send the credentials in the uri as many older posts suggest - just doesn't work. I can't use AutoIt to populate the auth window as the window is in a container and that runs in linux. Finally had no joy trying to proxy from one server to test server, for what ever reasons the credentials are not recognised that I set up in the proxy (using for example cntlm proxy tool).
Is this mission impossible or is there any way round this?
I edited catalina.properties trying to change the port of the server, it didn't work and restored the original values and now I am getting the following error:
Could not load the Tomcat server configuration at /Servers/VMware
vFabric tc Server Developer Edition v2.9-config. The configuration may
be corrupt or incomplete. Resource is out of sync with the file
system: '/Servers/VMware vFabric tc Server Developer Edition
v2.9-config/catalina.properties'.
This is the default server provided by Spring Tool Suite.
The solutions I found did not help me, like copying all the TOMCAT_DIR/conf files to my server location, which is in workspace/Servers.
Any help?
I am not sure, that my problem is the same, I had similar issue about ports conflict.
My solution was based on changing ports in catalina.properties. I deleted default Pivotal tc Server, than found in installation catalina.properties on the path
sts-bundle/pivotal-tc-server-developer-3.0.0.RELEASE/tcServer/conf.
The last 4 lines in file are:
base.shutdown.port=-1
base.jmx.port=6969
bio.http.port=8080
bio.https.port=8443
Change ports as you like (to have unused ports).
Create a new server. select Pivotal -> Pivotal tc Server... next.
On the next page push radio button Existing Instance and select tcServer. Finish.
Than try to start server to check, if ports are unused yet. If yes, the server should start.
To change a Tomcat port, you need to edit server.xml, not catalina.properties See: link.
Try reinstall/unzip again, and start from scratch. I often mess up servers, and can never work out what happened. It is much faster in the long run to reinstall.
Also, before you do that, try F5 in your IDE, because 'out of sync with file system' usually means you need to press F5 (refresh).
I'm realizing my first app with push notification. I've done all the debugging following the Ray Wanderlich Tutorial
and everything works.
Now that I'm about to proceed with the submission I would like to know what parameters I have to insert for the "live" server in production mode instead of
gateway.sandbox.push.apple.com 2195
Hope to be clear
I think the port is the same, only the host is different, it's gateway.push.apple.com.
The binary interface of the production environment is available through gateway.push.apple.com, port 2195; the binary interface of the development environment is available through gateway.sandbox.push.apple.com, port 2195.
Source
after reset to factory defaults("write erase") and writing command "write memory" (by a mistake...just wanted to save config....and forgot that on cisco its "copy running-config startup-config"). Router wont load past rommon now(i see in console error messages):
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
But i can manually boot it past that by typing in terminal(via console):
rommonX> BOOT=flash:c1700-adventerprisek9-mz.123-14.T7.bin
rommonX> sync
rommonX> i
Router is Cisco 1760, IOS ver is
Cisco IOS Software, C1700 Software (C1700-ADVENTERPRISEK9-M), Version 12.3(14)T7
It can either be the flow control on your console app or the actual registers you are using. The registers are kinda like boot settings and if it is set to bypass the stored settings it could possibly go into rommon mode.
router(config)# config-register 0x2102
0x2142 will cause it to bypass the NVRAM settings
hope this helps