Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded Tomcat 7.08 Windows Service Installer and installed it.
I edited the server.xml to enable https connector port # 8443
I already created the certificate and key pair using the keytool.
keytool -genkey -alias techtracer -keypass ttadmin -keystore techtracer.bin -storepass ttadmin
i started the server then, and tried https://localhost:8443/ but it was not showing anything. Firefox had shown "connected to localhost..." and nothing more.
I cant load any pages in https.
My System: Windows 7 64-bits / 4GB RAM /JDK_JRE 6/ Tomcat 7.08/ Firefox 3.6
Can Any one tell me what is the problem with the SSL in my system.?.Any way to fix this?
Thanks
Mr.k
Solution: Update the server.xml file as follows:
<Connector port="8443"
protocol="org.apache.coyote.http11.Http11Protocol"
SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="C:\Program Files\Java\jdk1.6.0_25\keystore\.keystore"
keystorePass="changeit"
clientAuth="false"
sslProtocol="TLS" />
Please note that I changed the protocol from "HTTP/1.1" to "org.apache.coyote.http11.Http11Protocol" This should fix the problem.
Same system, same configuration, same problem but with Tomcat 6. My solution was to switch to 32bit version of Tomcat. I think this is an issue related to 64bit distributions.
seems like you have to configure your TOMCAT to work with SSL (in addition to all the things that are written above)
have a look here.
In addition, you might need to make another change in your settings.xml (tomcat configuration) and delete the line that refers to the APR listener.
Hope this helps...
Ohad
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hey guys I am kind of new to Ansible, and I am currently trying to run a playbook that will install IIS.
I've already configure everything and got a message success when I try to ping to the host server (Windows 10 pro - host server)
I am running the playbook through my local computer with WSL (Windows subsystem linux) also a Windows 10 pro.
The script I am trying to run is:
---
- name: Install IIS
hosts: win
gather_facts: true
tasks:
- win_feature:
name: "Web-Server"
state: present
restart: yes
include_sub_features: yes
include_management_tools: yes
but I keep getting this error :
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at <ScriptBlock>, <No file>: line 8
fatal: [MY IP SERVER-censored]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: The specified module 'ServerManager' was not loaded because no valid module file was found in any module directory."}
I have also tried to install Server manager to maybe trying to fix the problem but it didnt help to be honest.
As I said I am new to Ansible and still on learning terms.
I will appreciate any kind of help.
Thank you.
The Ansible module "win_feature" only works on Windows servers.
The documentation (https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_feature_module.html) states: "This module uses the Add/Remove-WindowsFeature Cmdlets on Windows 2008 R2 and Install/Uninstall-WindowsFeature Cmdlets on Windows 2012, which are not available on client os machines."
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have installed Fedora 23 and have tried to do a passwordless login with:
# ssh-copy-id ~/.ssh/id_dsa.pub user#host
which successfully copies the key to the host machine and I have checked in the host machine in:
# tail -n10 ~/.ssh/authorized_keys
and my PC name exists as the last line but when trying to login:
# ssh user#host
I am asked for a password! I have tried to login to Ubuntu and CentOS and get the same result. I have done this previously with multiple linux distros including Fedora 21, CentOS and Ubuntu and it works just fine.
I need this to do finish the automated host addition script which adds a host and then logs in automatically (add_user_host):
#!/bin/bash
ssh-copy-id ~/.ssh/id_dsa.pub $1#$2;
ssh $1#$2;
all you would do is run:
# add_user_host user host
Openssh-7.0 obsoleted DSA keys. To use them you need to specify PubkeyAcceptedKeyTypes +ssh-dss in your ssh_config (as mentioned in your linked thread) to make them working, or rather use other keys (RSA, ed25519).
This case has also its page on official webseite and part in release notes.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want to use the Screen Sharing OSx built-in App to manipulate the actual X session open in my Raspberry PI.
Just to be clear I want to see in my VNC session the same image the Raspberry is sending through the HDMI. So I can move the mouse in my computer and the cursor is also moving in the Raspberry screen.
I have tried several combinations of vnc-servers and configs but neither have worked.
As I have spent several hours solving this I so answer my self in case someone needs the instructions as I would wanted to find them.
First, the most popular vnc-server (tightvncserver) is not fullfilling my specification that the X-session has to be the same in my VNC client App and in the Raspberry screen.
The vnc-server that does the work is x11vnc
Install x11vnc
sudo apt-get install x11vnc
Looks like it requires you to set up a password:
x11vnc -storepasswd
Test installation and connection
You can already start the vnc-server:
x11vnc -forever -usepw -display :0 -ultrafilexfer
Check the service is active and listening
$ sudo netstat -nlp | grep vnc
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 2575/x11vnc
And connect from your Mac just opening Screen Sharing and introducing the Raspberry's ip:
Make x11vnc to start on boot
Config:
# ~/.config/autostart/x11vnc.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Comment=
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
StartupNotify=false
Terminal=false
Hidden=false
Be sure there is not problems to access to this file:
sudo chmod a+r ~/.config/autostart/x11vnc.desktop
Make the Raspberry to be visible in the sharing network of the Mac
sudo apt-get install netatalk
sudo apt-get install avahi-daemon
sudo update-rc.d avahi-daemon defaults
Config:
# /etc/avahi/services/afpd.service
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
</service-group>
Config 2:
# /etc/avahi/services/rfb.service
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_rfb._tcp</type>
<port>5900</port>
</service>
</service-group>
Restart service:
sudo /etc/init.d/avahi-daemon restart
Finding the Raspberry from your Mac
Using Finder into the section Shared > All... should be your Raspberry. From there you can click in the button Share Screen...
I found this post useful however I had to go looking for the following information to complete my setup - hope this help someone else
Just want to clarify the you need to do the following steps:
cd ~/.config/
mkdir autostart
nano x11vnc.desktop
and then paste code listed above
then you may also want to change the resolution by setting or uncommenting, the following lines, in /boot/config.txt:
hdmi_force_hotplug=1
hdmi_group=1
hdmi_mode=16 # (or any other pi resolution you want, 16 is for 1080p) Reboot your Pi (sudo reboot)
Now, I am trying to use Jenkins. So, I deploy Jenkins.war file in JBoss 7.1.1. And the call from browser using 8080 port. When I click "Manage Jenkins" link, the following warning message is shown.
"Your container doesn't use UTF-8 to decode URLs.
If you use non-ASCII characters as a job name etc,
this will cause problems. See Containers and Tomcat i18n for more details."
I tried to solve it and Find from internet about this problem. I not see any answer to solve.I don't know how to solve it. Please help me! Thanks!
I had the same problem in JBoss 4.2.2. I solved it by editing $JBOSS_HOME/deploy/jboss-web.deployer/server.xml and adding URIEncoding="UTF-8" in the Connector.
<Connector port="9443" protocol="HTTP/1.1" URIEncoding="UTF-8" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
How do I copy a file from a remote server to my local Windows system using a Putty session?
It worked using PSCP.
Instructions:
Download PSCP.EXE from Putty download page
Open command prompt and type set PATH=<path to the pscp.exe file>
In command prompt point to the location of the pscp.exe using cd command
Type pscp
use the following command to copy file form remote server to the local system
pscp [options] [user#]host:source target
So to copy the file /etc/hosts from the server example.com as user fred to the file
c:\temp\example-hosts.txt, you would type:
pscp fred#example.com:/etc/hosts c:\temp\example-hosts.txt
One of the putty tools is pscp.exe; it will allow you to copy files from your remote host.