i have been trying set web service in java using maven. web server wildfly 9.0.0 (jboss) , wildfly 8.2.0. goal of web service client send list of values, , server gathers these values csv file , feed file matlab application, compiled java jar, resides in server's side. both client , server developed in eclipse, execution done through command prompt/terminal
what has been set up:
1.mcr 8.1 linux (64bit) installed. (version chosen compliant matlab version used build application)
2.ld_library_path , xapplresdir has been set accordingly (via export commands) in ~/.bashrc file (any other way set them either not work (/etc/profile.d/*.sh file), or not let linux log in after restarting pc (/etc/environment)).
2a. same true m2_home variable
3.the javabuilder jar (copied mcr folders) , jar containing matlab application have been added maven repository , mentioned in .pom file of server.
upon trying execute client side, server says exception being thrown has quite long stack (i can provide if want) , refers internal procedures of jboss. guess real problem , therefore, 1 puzzles me underlying causes:
caused by: java.lang.exceptionininitializererror @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration.getproxylibrarydir(mcrconfiguration.java:173) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration$mcrroot.get(mcrconfiguration.java:74) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration$mcrroot.<clinit>(mcrconfiguration.java:84) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration.getmcrroot(mcrconfiguration.java:89) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration$moduledir.<clinit>(mcrconfiguration.java:63) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration.getmoduledir(mcrconfiguration.java:68) @ com.mathworks.toolbox.javabuilder.internal.mwmcr.<clinit>(mwmcr.java:1466) ... 39 more caused by: java.lang.nullpointerexception @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration$proxylibrarydir.get(mcrconfiguration.java:138) @ com.mathworks.toolbox.javabuilder.internal.mcrconfiguration$proxylibrarydir.<clinit>(mcrconfiguration.java:168) ... 88 more which means (if understand correctly) javabuilder.jar not being read place exists. going eclipse, adding directly path of mcr's javabuilder jar project build path, , building again proper maven commands in terminal still no good.
what missing here? in windows, arrangement works , matlab application executed usual, unfortunately need run whole thing in linux.
disclaimer: aware of other similar issues raised here in past. before posting read them , did of these things described there (install mcr, check variables, etc). since problem persists, had no choice ask community help.
Comments
Post a Comment