Running the SSL example, chapter8/ex4 in JBOSSBook_305, results in the following error
at deployment time.
Could anyone tell me what is wrong.
I'm using JBoss 3.0.0.
Thank you,
----- jboss-service.xml of the example follows -----
<?xml version="1.0" encoding="UTF-8"?>
<!-- The SSL domain setup -->
chap8.keystore
rmi+ssl
4445
org.jboss.security.ssl.RMISSLClientSocketFactory
org.jboss.security.ssl.RMISSLServerSocketFactory
java:/jaas/RMI+SSL
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
----- server log follows -----
2004-04-15 17:33:23,625 DEBUG [org.jboss.deployment.MainDeployer] create step for
deployment file:/D:/JBoss/jboss-3.0.0/server/default/deploy/chap8-ex4.jar
2004-04-15 17:33:23,625 DEBUG [org.jboss.deployment.MainDeployer] create step for
deployment
njar:file:/D:/JBoss/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/chap8-ex4.jar/61.chap8-ex4.jar^/chap8-ex4.sar
2004-04-15 17:33:23,640 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create
step: url
njar:file:/D:/JBoss/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/chap8-ex4.jar/61.chap8-ex4.jar^/chap8-ex4.sar
2004-04-15 17:33:23,640 DEBUG [org.jboss.deployment.SARDeployer] Registering service
UCL=jmx.loading:UCL=30149247
2004-04-15 17:33:23,640 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository]
UnifiedLoaderRepository skipping duplicate [EMAIL PROTECTED]
url=njar:file:/D:/JBoss/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/chap8-ex4.jar/61.chap8-ex4.jar^/chap8-ex4.sar
}
2004-04-15 17:33:23,640 DEBUG [org.jboss.system.ServiceCreator] About to create bean:
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
2004-04-15 17:33:23,640 DEBUG [org.jboss.system.ServiceCreator] code:
org.jboss.security.plugins.JaasSecurityDomain
2004-04-15 17:33:23,656 DEBUG [org.jboss.system.ServiceCreator] Created bean:
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
2004-04-15 17:33:23,703 DEBUG [org.jboss.system.ServiceConfigurator] KeyStoreURL set
to chap8.keystore in jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
2004-04-15 17:33:23,703 DEBUG [org.jboss.security.plugins.JaasSecurityDomain.RMI+SSL]
Using
KeyStore=jar:njar:file:/D:/JBoss/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/chap8-ex4.jar/61.chap8-ex4.jar^/chap8-ex4.sar!/chap8.keystore
2004-04-15 17:33:23,734 DEBUG [org.jboss.system.ServiceConfigurator] KeyStorePass set
to rmi+ssl in jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
2004-04-15 17:33:23,734 DEBUG [org.jboss.system.ServiceCreator] About to create bean:
jboss:service=invoker,type=jrmp,socketType=SSL
2004-04-15 17:33:23,734 DEBUG [org.jboss.system.ServiceCreator] code:
org.jboss.invocation.jrmp.server.JRMPInvoker
2004-04-15 17:33:23,734 DEBUG [org.jboss.system.ServiceCreator] Created bean:
jboss:service=invoker,type=jrmp,socketType=SSL
2004-04-15 17:33:23,734 DEBUG [org.jboss.system.ServiceConfigurator] RMIObjectPort set
to 4445 in jboss:service=invoker,type=jrmp,socketType=SSL
2004-04-15 17:33:23,765 DEBUG [org.jboss.system.ServiceConfigurator]
RMIClientSocketFactory set to org.jboss.security.ssl.RMISSLClientSocketFactory in
jboss:service=invoker,type=jrmp,socketType=SSL
2004-04-15 17:33:23,812 DEBUG [org.jboss.system.ServiceConfigurator]
RMIServerSocketFactory set to org.jboss.security.ssl.RMISSLServerSocketFactory in
jboss:service=invoker,type=jrmp,socketType=SSL
2004-04-15 17:33:23,812 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2004-04-15 17:33:23,812 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2004-04-15 17:33:23,812 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2004-04-15 17:33:23,812 ERROR [org.jboss.deployment.SARDeployer] create operation
failed for package
njar:file:/D:/JBoss/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/chap8-ex4.jar/61.chap8-ex4.jar^/chap8-ex4.sar
org.jboss.deployment.DeploymentException: No Attribute found with name: SecurityDomain
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:362)
at
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:208)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
at org.jboss.system.ServiceController.install(ServiceController.java:194)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830724#3830724
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830724
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user