-
1. Re: Getting below exception while deploying ear on Widfly8.1(Linux) through admin console
jaikiran Aug 18, 2015 11:21 AM (in response to jagadish1221)Caused by: java.lang.NullPointerException
at com.dd.crds.arch.control.web.FManager.init(FManager.java:115)
You'll have to check the code of that application to see what object is null on that line and why.
-
2. Re: Getting below exception while deploying ear on Widfly8.1(Linux) through admin console
jagadish1221 Aug 19, 2015 1:24 AM (in response to jaikiran)Hi Jaikiran,
I tried deploying the EAR file through the admin console of Wildfly in Linux but its throwing the above mentioned exception ,
but the same EAR file works fine when deployed the same way in Window.
Thanks
-
3. Re: Getting below exception while deploying ear on Widfly8.1(Linux) through admin console
mayerw01 Aug 19, 2015 4:15 AM (in response to jagadish1221)How did you start your AS?
Did you verify in the server.log that the AS started without any problems?
-
4. Re: Getting below exception while deploying ear on Widfly8.1(Linux) through admin console
jagadish1221 Aug 19, 2015 6:08 AM (in response to mayerw01)I started the admin console by executing the adduser.sh in the bin folder of server.
It started fine ,I have verified it too but the problem is with the below mentioned code:
strRootPath = context.getRealPath("\\").replace('\\','/');
the above path executes fine with windows, but its not working in Linux.
-
5. Re: Getting below exception while deploying ear on Widfly8.1(Linux) through admin console
mayerw01 Aug 19, 2015 7:18 AM (in response to jagadish1221)adduser.sh is used to add / update users (not to start an AS. This is usually done either via standalone.sh or domain.sh.
But your issue might be related to the fact that the file separator on MS/Windows is different to the Unix/Linux systems.
You should test the separator via System.getProperty("file.separator");