[Management, JMX/JBoss] - Re: Shutting down JBOSS hangs..
by svenkataraman_celequest
A few additional pointers.
1. The machine has been configured for multiple VIPs.
2. Setting java.rmi.server.hostname to localhost in the JBoss startup command line has now helped the shutdown command to be posted and the server starts to shutdown.
2. However, the server takes a very long time to shutdown as seen from the following log..
00:20:24,656 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
00:20:24,657 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=file:/usr/master/jboss-3.2.6/server/default/deploy/management/web-console.war/
00:20:24,671 INFO [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=file:/usr/master/jboss-3.2.6/server/default/deploy/jmx-console.war/
00:23:33,663 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987128#3987128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987128
19Â years, 7Â months
[Security & JAAS/JBoss] - Re: Cannot authenticate using LdapExtLoginModule against AD
by zzzz8
I found the problem - and it took quite a while to solve because the exception stack traces weren't very helpful...
It seems if one uses a JBoss URL or directory property in properties service (in this case, to specify the trust store) - and if the property contains spaces (e.g. C:\Program Files\JBoss4.0.5.GA), then the directory location will NOT be resolved correctly. I tested this on my Windows machine (Windows XP) and confirmed this problem.
For example, in my properties-service.xml file, the following doesn't work because the resolved path is c:\program files\jboss-4.0.5.GA\server\default\deploy\conf:
<attribute name="Properties">
| javax.net.ssl.trustStore=${jboss.server.home.dir}/conf/my.truststore
| javax.net.ssl.trustStorePassword=mytruststorepassword
| javax.net.ssl.keyStore=.${jboss.server.home.dir}/conf/my.keystore
| javax.net.ssl.keyStorePassword=mykeystorepassword
| </attribute>
So one has to use a relative path in this case (which doesn't contain any spaces):
<attribute name="Properties">
| javax.net.ssl.trustStore=../server/default/conf/my.truststore
| javax.net.ssl.trustStorePassword=mytruststorepassword
| javax.net.ssl.keyStore=../server/default/conf/my.keystore
| javax.net.ssl.keyStorePassword=mykeystorepassword
| </attribute>
It would be nice if this was documented somewhere... I'm not sure if it's a JBoss' issue or a Sun SSL issue of how it handles spaces in directories (most likely Sun since I've used JBoss' properties elsewhere with no problems).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987114#3987114
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987114
19Â years, 7Â months
[EJB 3.0] - Re: Deployment dependencies...
by murilo_fla
Hi There.
I was with this same problem, and after many hours, I found out what was wrong, at least, in my case.
In my case this error ocurred because the EJB jar file was not very fine. I am creating the jar file using the ant "jar" task, and I was inserting the META-INF subdirectory using the "zipfileset" task. Althought I was able to open the jar file and see the META-INF inside it, I got some warnings about it in the Linux command line zip command.
When I changed the "zipfileset" for the "fileset" task, the problem desapeared. See my ant tasks:
before:
<jar jarfile="${build.deploy.dir}/${jar.file}">
| <zipfileset dir="conf" includes="**" prefix="META-INF"/>
| <fileset dir="${build.dir}" includes="**/*"/>
|
| </jar>
after (with the conf files properly moved):
<jar jarfile="${build.deploy.dir}/${jar.file}">
| <fileset dir="conf" includes="META-INF/**"/>
| <fileset dir="${build.dir}" includes="**/*"/>
|
| </jar>
I know this case is very specific, but maybe you should check your JAR file's META-INF integrity.
Remembering that in my case it was not very clear that it had inconsistency, because graphical Zip programs could read it nicely.
Cheers
Murilo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987110#3987110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987110
19Â years, 7Â months