-
15. Re: Jboss 7.1.1 as Windows service
andrejkvasnica Jan 24, 2013 10:35 AM (in response to mike1452)btw the latest jboss windows native package is quite hard to find, you can download it from http://downloads.jboss.org/jbossnative//2.0.10.GA/jboss-native-2.0.10-windows-x64-ssl.zip
-
16. Re: Jboss 7.1.1 as Windows service
nickarls Jan 24, 2013 11:50 AM (in response to andrejkvasnica)It would be handy if it came bundled (32bit version) in bin, all preconfigured service.bat, like it did for AS6...
-
17. Re: Jboss 7.1.1 as Windows service
ctomc Jan 24, 2013 11:58 AM (in response to nickarls)Nicklas, if you are up for it, can you prepare PR with this?
this issue is on my plate for some time and it looks like it will stay there for some time more...
--
tomaz
-
18. Re: Jboss 7.1.1 as Windows service
nickarls Jan 24, 2013 12:35 PM (in response to ctomc)I think I could give it a shot. Worst thing that can happens is that it's on my plate and nothing gets done so the outcome would be the same ;-)
-
19. Re: Jboss 7.1.1 as Windows service
pavannie Nov 25, 2015 11:15 AM (in response to mike1452)Hi,
I have successfully installed service.bat for my JBOSS EAP 6.3 using the jboss-native-2.0.10-windows-x64-ssl. The service is started successfully and the server as well.
I have configured SSL for my server and enabled HTTPS and provided the key store location and also imported in the certificate into JVM trusted certificates. I have been using CAS server for authentication, as soon as I login I am hit with the below exception.
JBWEB000309: type JBWEB000066: Exception report
JBWEB000068: message javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
JBWEB000069: description JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.
JBWEB000070: exception
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:328) org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:291) org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:32) org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:187) org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticateNow(CasAuthenticationProvider.java:140) org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticate(CasAuthenticationProvider.java:126) org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156) org.springframework.security.cas.web.CasAuthenticationFilter.attemptAuthentication(CasAuthenticationFilter.java:242) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:194) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:65) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
However, when I start the server just with standalone.bat it works perfectly fine. Can any one help with this please?
-
20. Re: Jboss 7.1.1 as Windows service
patrick_javadev May 2, 2016 3:26 AM (in response to mike1452)awesome post. I just copied the content of your service.bat file and just changed it to jboss 6.1.0 final. I run the cmd as administrator and invoked service.bat install and it worked. Now I am seeing the jboss service in my Window Services list