hi arun,
i followed your steps, i Created keystore file as you told, but still i am
getting error. I can not open jboss webserver page. below i pasted when i
start Jboss server, give me any idea to debug this error...Thanks In
advance..


org.jboss.deployment.deploymenti...@6b168046 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/manufacturing.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ma
ufacturing.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329593
  lastModified: 1254372914765
  mbeans:

org.jboss.deployment.deploymenti...@9ffff65e {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/marketing.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ma
keting.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329750
  lastModified: 1254372921421
  mbeans:

org.jboss.deployment.deploymenti...@7e126752 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/multiflex.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/mu
tiflex.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329765
  lastModified: 1254372983109
  mbeans:

org.jboss.deployment.deploymenti...@eca2a884 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/myportal.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/my
ortal.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329796
  lastModified: 1254372929828
  mbeans:

org.jboss.deployment.deploymenti...@e0c92965 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/oagis.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/oa
is.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329812
  lastModified: 1254372928656
  mbeans:

org.jboss.deployment.deploymenti...@caab6068 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/ofbiz.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/of
iz.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329828
  lastModified: 1254372927890
  mbeans:

org.jboss.deployment.deploymenti...@7eb0a0d2 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/ordermgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/or
ermgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329843
  lastModified: 1254372920781
  mbeans:

org.jboss.deployment.deploymenti...@6d161c6a {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/partymgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/pa
tymgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329859
  lastModified: 1254372907734
  mbeans:

org.jboss.deployment.deploymenti...@c2afae9d {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/projectmgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/pr
jectmgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329890
  lastModified: 1254372928359
  mbeans:
org.jboss.deployment.deploymenti...@d14da016 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/sfa.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/sf
.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329890
  lastModified: 1254372921750
  mbeans:

org.jboss.deployment.deploymenti...@b3e254af {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/smoothfeather.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/sm
othfeather.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329921
  lastModified: 1254372906781
  mbeans:

org.jboss.deployment.deploymenti...@4e7a1b81 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/tempfiles.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/te
pfiles.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329921
  lastModified: 1254372903125
  mbeans:

org.jboss.deployment.deploymenti...@3b05331c {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/webpos.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/we
pos.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329937
  lastModified: 1254372931062
  mbeans:

org.jboss.deployment.deploymenti...@614f415a {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/webslinger.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/we
slinger.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329953
  lastModified: 1254372891531
  mbeans:

org.jboss.deployment.deploymenti...@d270b7f5 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/webtools.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/we
tools.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329968
  lastModified: 1254372891062
  mbeans:

org.jboss.deployment.deploymenti...@3f7fca7f {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/workeffort.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/wo
keffort.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567330000
  lastModified: 1254372909375
  mbeans:

org.jboss.deployment.deploymenti...@6233104f {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/ }
  deployer: org.jboss.deployment.eardeplo...@c4afc4
  status: Deployment FAILED reason: URL file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/ser
er/default/deploy/ofbiz.ear/accounting.war/ deployment failed
  state: FAILED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ME
A-INF/application.xml
  altDD: null
  lastDeployed: 1254567330000
  lastModified: 1254372931125
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=accounting.war,id=-929155545
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/JBoss-Ofbiz/jb
ss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ deployment
failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=accounting.war,id=-929155545
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/JBoss-Ofbiz/jb
ss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ deployment
failed


16:27:53,578 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
http-127.0.0.1-
080
16:27:53,640 ERROR [Http11Protocol] Error starting endpoint
java.io.IOException: Cannot recover key
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFac
ory.java:394)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSES
cketFactory.java:125)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:495)
        at
org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:514)
        at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:20
)
        at
org.apache.catalina.connector.Connector.start(Connector.java:1146)
        at
org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:
84)
        at
org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.ja
a:621)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificat
onListenerProxy.java:153)
        at $Proxy46.handleNotification(Unknown Source)
        at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotifica
ion(JBossNotificationBroadcasterSupport.java:127)
        at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificati
n(JBossNotificationBroadcasterSupport.java:108)
        at
org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:
16)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
16:27:53,656 WARN  [JBossWeb] Failed to startConnectors
LifecycleException:  service.getName(): "jboss.web";  Protocol handler start
fa
led: java.io.IOException: Cannot recover key
        at
org.apache.catalina.connector.Connector.start(Connector.java:1153)
        at
org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:
84)
        at
org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.ja
a:621)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificat
onListenerProxy.java:153)
        at $Proxy46.handleNotification(Unknown Source)
        at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotifica
ion(JBossNotificationBroadcasterSupport.java:127)
        at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificati
n(JBossNotificationBroadcasterSupport.java:108)
        at
org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:
16)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
16:27:53,671 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build:
SVNTag=JBo
s_4_2_2_GA date=200710221139)] Started in 3m:5s:421ms
On Thu, Oct 1, 2009 at 4:56 PM, <[email protected]> wrote:

> Hi,
> Eg:-
>     Generate the .keystore file
>        keytool -genkey -keyalg RSA -alias ssl -keystore test.keystore
>
> <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
> keystoreFile="C:\JBoss-Ofbiz\ofbiz\test.keystore" keystorePass="sgshankar"
> maxThreads="150"    scheme="https" secure="true"  clientAuth="false"
> sslProtocol="TLS" />
>
> Dont give brackets while giving the path of keystore file.
>
> ______________________________________________________________________




-- 
Gnanashankar Shanmugam
Formative Software Solutions Pvt. Ltd.,
Chennai-61

Reply via email to