I think both http and https are different protocols and cant be run on same port.
I achieved running two different applications on 2 different ports though with http and https.
something as
http://localhost:8080/app1
https://localhost:8080/app2
I did it by having two server configuration say default and default1. But the problem is I had to run two instances of
JBOSS(I ran through ECLIPSE plugin)
I ran 1 jboss with server configuration as "default" and ran the other one "default1".
app1 was deployed in "default". The server-config.xml of this configuration was configured for http at port 8080
app2 was deployed in "default1". The server-config.xml of this configuration was configured for https at port 8443.
My requirement is to run both the apps with one instance of JBOSS and it will be best inside the same JBOSS configuration.
Any help.....