failed to create bar error in ibm command console - apache

i am getting below error when trying to create a bar using this command
Command: D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml
Error: D:\Ant Build and Deployment Scripts\AntBuild\Scripts>D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml
Buildfile: D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml
runScript:
buildWorkspace:
[echo] The applications [MF_HTB_B1_HTTPSOAPINPUT] will be checkout from SVN
under the URL [https://punitp134088l.ad.infosys.com/svn/ESB_Rep/branches/ESB_Fr
ameWork/ESB_FRAMEWORK/CODE_BASE/HTTP%20Based%20Framework/MF_HTB_B1]
[mkdir] Created dir: D:\Ant Build and Deployment Scripts\AntBuild\BuildPacka
ge\tempWorkspace\MF_HTB_B1_HTTPSOAPINPUT
svnCheckout:
[echo] Checking-out MF_HTB_B1_HTTPSOAPINPUT from SVN
[svn] <Checkout> started ...
[svn] Command completed abnormally.
[svn] <Checkout> finished.
[echo] Checkout completed
buildBarfiles:
[echo] Compile and Create Bar files for [MF_HTB_B1_HTTPSOAPINPUT] applicati
ons
[mkdir] Created dir: D:\Ant Build and Deployment Scripts\AntBuild\BuildPacka
ge\BarFiles
[echo] D:\Ant Build and Deployment Scripts\AntBuild\Scripts
[echo] Compiling Application [MF_HTB_B1_HTTPSOAPINPUT] for any errors
[exec] Result: 1
[delete] Deleting: D:\Ant Build and Deployment Scripts\AntBuild\BuildPackage\
Logs\MF_HTB_B1_HTTPSOAPINPUT.log
[echo] Failed to create MF_HTB_B1_HTTPSOAPINPUT.bar, Please check ..\BuildP
ackage\Logs\BuildPackage.log for logs
applyBarOverride:
[echo] Executing [mqsiapplybaroverride] for Application [MF_HTB_B1_HTTPSOAP
INPUT]
BUILD FAILED
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:42: The following
error occurred while executing this line:
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:175: The followin
g error occurred while executing this line:
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:182: Execute fail
ed: java.io.IOException: Cannot run program "mqsiapplybaroverride" (in directory
"D:\Ant Build and Deployment Scripts\AntBuild\Scripts"): CreateProcess error=2,
The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1059)
at java.lang.Runtime.exec(Runtime.java:629)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Jav
a13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:396)
at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate
.java:228)
at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253)
at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213)
at net.sf.antcontrib.logic.For.execute(For.java:166)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:397)
at java.lang.ProcessImpl.start(ProcessImpl.java:148)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1040)
... 62 more
Total time: 10 seconds
i am running a command to execute ant script. Command: D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml this is for creating a bar file using apache ant s/w. Build.xml ant script is used to create a BuildPackage.zip file and include the bar files, deployment scripts and environment specific property files into it. but not able to create the bar. Getting above error.
Please assist.

Assuming you are trying to create a .jar file using ant script, try to use JDK as installed JRE in eclipse(if you have), and to set the JAVA-HOME variable to JDK path.

Related

How to copy files from s3 to s3 same folder?

I am trying to combine log files from s3 to s3 using the following command.
s3-dist-cp --src s3://path/to/ym=2020/ --dest s3://path/to/ym=2020/ --groupBy='.*/(\d{8}).+(\.json) --deleteOnSuccess'
I have the following files in
s3://path/to/ym=2020/20200802010010.json
s3://path/to/ym=2020/20200802010020.json
s3://path/to/ym=2020/20200802010030.json
s3://path/to/ym=2020/20200802010040.json
s3://path/to/ym=2020/20200802010050.json
s3://path/to/ym=2020/20200803010010.json
s3://path/to/ym=2020/20200803010020.json
s3://path/to/ym=2020/20200803010030.json
s3://path/to/ym=2020/20200803010040.json
s3://path/to/ym=2020/20200803010050.json
expected result is
s3://path/to/ym=2020/20200802.json
s3://path/to/ym=2020/20200803.json
but I get the following errors
20/08/04 03:29:14 INFO s3distcp.S3DistCp: Created 1 files to copy 856 files
Exception in thread "main" java.lang.NullPointerException
at com.amazon.ws.emr.hadoop.fs.s3n.S3NativeFileSystem.mkdirs(S3NativeFileSystem.java:1052)
at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1961)
at com.amazon.ws.emr.hadoop.fs.EmrFileSystem.mkdirs(EmrFileSystem.java:443)
at com.amazon.elasticmapreduce.s3distcp.S3DistCp.run(S3DistCp.java:893)
at com.amazon.elasticmapreduce.s3distcp.S3DistCp.run(S3DistCp.java:728)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
at com.amazon.elasticmapreduce.s3distcp.Main.main(Main.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:239)
at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
The following command is working.(change dest path to other path)
s3-dist-cp --src s3://path/to/ym=2020/ --dest s3://path/to/archives/ym=2020/ --groupBy='.*/(\d{8}).+(\.json) --deleteOnSuccess'

got error when run ant for lucene source code

I forked the lucene-solr from https://github.com/apache/lucene-solr.git.
Then run ant in the directory and got the following error.
alexkkk#alexkkk-host:lucene-solr/ (master) $ ant idea [16:44:41]
Buildfile: /Users/alexkkk/Projects/lucene-solr/build.xml
BUILD FAILED
/Users/alexkkk/Projects/lucene-solr/build.xml:21: The following error occurred while executing this line:
/Users/alexkkk/Projects/lucene-solr/lucene/common-build.xml:623: java.lang.NullPointerException
at java.util.Arrays.stream(Arrays.java:5004)
at java.util.stream.Stream.of(Stream.java:1000)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
at org.apache.tools.ant.util.ChainedMapper.lambda$mapFileName$1(ChainedMapper.java:36)
at java.util.stream.ReduceOps$1ReducingSink.accept(ReduceOps.java:80)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:484)
at org.apache.tools.ant.util.ChainedMapper.mapFileName(ChainedMapper.java:35)
at org.apache.tools.ant.util.CompositeMapper.lambda$mapFileName$0(CompositeMapper.java:32)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
at org.apache.tools.ant.util.CompositeMapper.mapFileName(CompositeMapper.java:33)
at org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:346)
at org.apache.tools.ant.Target.execute(Target.java:448)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:172)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:221)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:165)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:346)
at org.apache.tools.ant.Target.execute(Target.java:448)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:183)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
at org.apache.tools.ant.Main.runBuild(Main.java:824)
at org.apache.tools.ant.Main.startAnt(Main.java:228)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:283)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Total time: 0 seconds
As mentioned in this thread. You have to downgrade your ant from version 1.10.2 to 1.10.1 or 1.9.
If you use Mac and use homebrew to install your ant. You can install ant 1.9.
brew install ant#1.9
and then unlink version 1.10.2 and link version 1.9.
brew unlink ant
brew link --force ant#1.9
With ant 1.9, you should be able to compile Lucene.

Mobile First Server installation error

Problem:
Encountered this error when trying to install MobileFirst Server 7.1:
CRIMA1217E: Problem occurred during the execution of the /opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml file.
This is the /opt/IBM/MobileFirst_Platform_Server/failed-install.log:
Detected Java version: 1.7 in:
/opt/IBM/InstallationManager/eclipse/jre_7.0.9010.20151006_1234/jre
Detected OS: Linux parsing buildfile
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml
with URI =
file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml
Project base dir set to:
/opt/IBM/MobileFirst_Platform_Server/WorklightServer parsing buildfile
jar:file:/opt/IBM/InstallationManager/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with URI =
jar:file:/opt/IBM/InstallationManager/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file [macrodef] creating macro ant-loop [macrodef]
creating macro copy-confidential-file [macrodef] creating macro
create-user-read-protected-dir [macrodef] creating macro
protect-allfiles-in-destination-dir [macrodef] creating macro
ant-escape [macrodef] creating macro argpart-escape [macrodef]
creating macro arg-escape Build sequence for target(s)
`ant-loop-callee' is [ant-loop-callee] Complete build sequence is
[ant-loop-callee, swallow-update-properties, init0, init1, init2,
init3, init, show-properties, unconfigure-shortcuts,
unconfigure-appcenter-appserver, uninstall-cleanup, uninstall,
cleanup-properties-file-for-appserver=was85liberty, cleanup, main,
ant-loop-inside-installation-manager.part2.if-install,
configure-shortcuts, safe-uninstall,
ant-loop-inside-installation-manager.part1,
ant-loop-inside-installation-manager.part2.if-not-install,
ant-loop-inside-installation-manager.part3.if-install-failed,
ant-loop-inside-installation-manager.part3.if-not-install-failed,
ant-loop-inside-installation-manager,
cleanup-properties-file-for-appserver=tomcat, ant-loop-standalone,
configure-config-tool, safe-foo, restore-embedded-server-location,
delete-update-properties, configure-appcenter-database,
configure-appcenter-appserver, fix-permissions-in-scripts, install,
safe-install, protect-one-file,
cleanup-properties-file-for-appserver=was, ]
ant-loop-callee: parsing buildfile
jar:file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml
with URI =
jar:file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml
from a zip file parsing buildfile
jar:file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml
with URI =
jar:file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml
from a zip file Project base dir set to:
/opt/IBM/MobileFirst_Platform_Server/WorklightServer [antcall]
calling target(s) [install] in build file
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml
parsing buildfile
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml
with URI =
file:/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml
Project base dir set to:
/opt/IBM/MobileFirst_Platform_Server/WorklightServer [macrodef]
creating macro ant-loop [macrodef] creating macro
copy-confidential-file [macrodef] creating macro
create-user-read-protected-dir [macrodef] creating macro
protect-allfiles-in-destination-dir [macrodef] creating macro
ant-escape [macrodef] creating macro argpart-escape Override ignored
for property "argpart-escape.doublequote.escaped" [macrodef] creating
macro arg-escape Build sequence for target(s) install' is
[restore-embedded-server-location, delete-update-properties, init0,
init1, show-properties, init2, init3, init,
configure-appcenter-database, configure-appcenter-appserver,
fix-permissions-in-scripts, configure-config-tool,
configure-shortcuts, cleanup, install] Complete build sequence is
[restore-embedded-server-location, delete-update-properties, init0,
init1, show-properties, init2, init3, init,
configure-appcenter-database, configure-appcenter-appserver,
fix-permissions-in-scripts, configure-config-tool,
configure-shortcuts, cleanup, install, swallow-update-properties,
unconfigure-shortcuts, unconfigure-appcenter-appserver,
uninstall-cleanup, uninstall,
cleanup-properties-file-for-appserver=was85liberty, main,
ant-loop-inside-installation-manager.part2.if-install, safe-uninstall,
ant-loop-inside-installation-manager.part1,
ant-loop-inside-installation-manager.part2.if-not-install,
ant-loop-inside-installation-manager.part3.if-install-failed,
ant-loop-inside-installation-manager.part3.if-not-install-failed,
ant-loop-inside-installation-manager,
cleanup-properties-file-for-appserver=tomcat, ant-loop-standalone,
safe-foo, safe-install, protect-one-file, ant-loop-callee,
cleanup-properties-file-for-appserver=was, ] [antcall] Entering
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml...
Build sequence for target(s)install' is
[restore-embedded-server-location, delete-update-properties, init0,
init1, show-properties, init2, init3, init,
configure-appcenter-database, configure-appcenter-appserver,
fix-permissions-in-scripts, configure-config-tool,
configure-shortcuts, cleanup, install] Complete build sequence is
[restore-embedded-server-location, delete-update-properties, init0,
init1, show-properties, init2, init3, init,
configure-appcenter-database, configure-appcenter-appserver,
fix-permissions-in-scripts, configure-config-tool,
configure-shortcuts, cleanup, install, swallow-update-properties,
unconfigure-shortcuts, unconfigure-appcenter-appserver,
uninstall-cleanup, uninstall,
cleanup-properties-file-for-appserver=was85liberty, main,
ant-loop-inside-installation-manager.part2.if-install, safe-uninstall,
ant-loop-inside-installation-manager.part1,
ant-loop-inside-installation-manager.part2.if-not-install,
ant-loop-inside-installation-manager.part3.if-install-failed,
ant-loop-inside-installation-manager.part3.if-not-install-failed,
ant-loop-inside-installation-manager,
cleanup-properties-file-for-appserver=tomcat, ant-loop-standalone,
safe-foo, safe-install, protect-one-file, ant-loop-callee,
cleanup-properties-file-for-appserver=was, ]
restore-embedded-server-location: [available] Unable to find file
server_rename.properties
delete-update-properties: [available] Unable to find file
update.properties
init0: [available] Found directory: /opt/IBM/WebSphere/Liberty
[available] Unable to find dir
/opt/IBM/WebSphere/Liberty/features/com.ibm.ws.cim_7.0.0.0 [available]
Unable to find dir /opt/IBM/WebSphere/Liberty/wlp [available] Found
directory: /opt/IBM/WebSphere/Liberty/bin [available] Found file:
/opt/IBM/WebSphere/Liberty/bin/server
init1:
[java] Executing '/opt/IBM/InstallationManager/eclipse/jre_7.0.9010.20151006_1234/jre/bin/java'
with arguments:
[java] '-classpath'
[java] '/opt/IBM/MobileFirst_Platform_Server/WorklightServer/worklight-ant-deployer.jar'
[java] 'com.ibm.worklight.config.helper.AntEscape'
[java] '={xyzzy}RF5WR3YIPKO7FELG71'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
[java] Output redirected to property: appcenter-database.user.password.escaped
[java] Error redirected to property: AntEscape.appcenter-database.user.password.err [available] Unable to
find dir /opt/IBM/WebSphere/Liberty/wlp
[chmod] Executing 'chmod' with arguments:
[chmod] 'a+x'
[chmod] '/opt/IBM/MobileFirst_Platform_Server/ApplicationCenter/tools/android-sdk/bin.linux-x86/aapt'
[chmod] '/opt/IBM/MobileFirst_Platform_Server/ApplicationCenter/tools/android-sdk/bin.macosx-x86/aapt'
[chmod] '/opt/IBM/MobileFirst_Platform_Server/ApplicationCenter/tools/android-sdk/bin.windows-x86/aapt.exe'
[chmod]
[chmod] The ' characters around the executable and arguments are
[chmod] not part of the command.
[chmod] Applied chmod to 3 files and 0 directories.
show-properties:
[echo] Ant called by IM:
[echo] ${ant.version}=Apache Ant(TM) version 1.8.3 compiled on February 26 2012
[echo] ${java.home}=/opt/IBM/InstallationManager/eclipse/jre_7.0.9010.20151006_1234/jre
[echo] ${java.fullversion}=JRE 1.7.0 IBM J9 2.6 Linux amd64-64 Compressed References 20150701_255667 (JIT enabled, AOT enabled)
[echo] J9VM - R26_Java726_SR9_20150701_0050_B255667
[echo] JIT - tr.r11_20150626_95120.01
[echo] GC - R26_Java726_SR9_20150701_0050_B255667_CMPRSS
[echo] J9CL - 20150701_255667
[echo] ${output.file.name}=/var/ibm/InstallationManager/logs/mobilefirst-platform-server-install-20160117_1539a.log
[echo]
[echo] Variables set by im-custom-panels (list last updated on 2013-10-11):
[echo] ${update.minimal}=false
[echo] ${update.from.version}=
[echo] ${im.package.group}=IBM MobileFirst Platform Server
[echo] ${windows.common.configurationtool.shortcut.file}=
[echo] ${windows.user.configurationtool.shortcut.file}=
[echo] ${appserver.selection_}=was
[echo] ${appserver.selection}=was85liberty
[echo] ${appserver.was.installdir}=/opt/IBM/WebSphere/Liberty/
[echo] ${appserver.was.profile}=Liberty
[echo] ${appserver.was.cell}=
[echo] ${appserver.was.node}=
[echo] ${appserver.was.scope}=
[echo] ${appserver.was.serverInstance}=
[echo] ${appserver.was.nd.cluster}=
[echo] ${appserver.was.nd.node}=
[echo] ${appserver.was.nd.server}=
[echo] ${appserver.was.admin.name}=
[echo] ${appserver.was.admin.password}=
[echo] ${appserver.was.appcenteradmin.password}=
[echo] ${appserver.was.serial}=
[echo] ${appserver.was85liberty.installdir}=/opt/IBM/WebSphere/Liberty/
[echo] ${appserver.was85liberty.serverInstance_}=mfp
[echo] ${appserver.was85liberty.backup.file}=
[echo] ${appserver.was85liberty.backup.restore}=
[echo] ${appserver.tomcat.installdir}=
[echo] ${database.selection}=oracle
[echo] ${database.preinstalled}=true
[echo] ${database.derby.datadir}=
[echo] ${database.db2.host}=
[echo] ${database.db2.port}=
[echo] ${database.db2.driver}=
[echo] ${database.db2.appcenter.user.name}=
[echo] ${database.db2.appcenter.user.password}=
[echo] ${database.db2.appcenter.dbname}=
[echo] ${database.db2.appcenter.schema}=
[echo] ${database.mysql.host}=
[echo] ${database.mysql.port}=
[echo] ${database.mysql.driver}=
[echo] ${database.mysql.appcenter.user.name}=
[echo] ${database.mysql.appcenter.user.password}=
[echo] ${database.mysql.appcenter.dbname}=
[echo] ${database.oracle.driver}=/home/ubuntu/wkMacDownloads/JDBC11G/ojdbc6.jar
[echo] ${database.oracle.appcenter.user.name_}=WLADMIN
[echo] ${database.oracle.appcenter.user.name.jdbc_}=WLADMIN
[echo] ${database.oracle.appcenter.user.password}={xyzzy}RF5WR3YIPKO7FELG71
[echo] ${database.oracle.appcenter.jdbc.url}=jdbc:oracle:thin:#mposvsit.ci6bzozvzhi4.ap-southeast-1.rds.amazonaws.com:1525:MPOS
[echo] ${writable.data.user}=ubuntu
[echo] ${writable.data.group}=
[echo]
[echo] Sleeping, take your time...
[sleep] sleeping for 10000 milliseconds
init2: [available] Unable to find file
/opt/IBM/WebSphere/Liberty/etc/server.env
init3:
[java] Executing '/opt/IBM/InstallationManager/eclipse/jre_7.0.9010.20151006_1234/jre/bin/java'
with arguments:
[java] '-classpath'
[java] '/opt/IBM/MobileFirst_Platform_Server/WorklightServer/worklight-ant-deployer.jar'
[java] 'com.ibm.worklight.config.helper.appserver.WASLibertyFindPort'
[java] '/opt/IBM/WebSphere/Liberty//usr/servers/mfp'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
[java] Output redirected to /opt/IBM/MobileFirst_Platform_Server/WorklightServer/WASLibertyFindPort.out
[java] Error redirected to property: WASLibertyFindPort.err [available] Found file: WASLibertyFindPort.out
[echo] WASLibertyFindPort => appserver.was85liberty.protocol = http
[echo] WASLibertyFindPort => appserver.was85liberty.port = 9080 [delete] Deleting:
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/WASLibertyFindPort.out
init:
configure-appcenter-database: [configuredatabaseIMWrapper] Logging
output of task to file
/root/.mobilefirst_platform_server/configuration-logs/configureDatabase_ApplicationCenter_2016_01_17_15_39_22.log
[configuredatabaseIMWrapper] Checking connectivity to
ApplicationCenter database with user/schema 'WLADMIN'...
[configuredatabaseIMWrapper] Connection to ApplicationCenter database
with user/schema 'WLADMIN' succeeded. [configuredatabaseIMWrapper]
Getting the version of ApplicationCenter database ...
[configuredatabaseIMWrapper] Test if the table APPCNTR_VERSION exists
and if yes, get the version. [configuredatabaseIMWrapper] Table
APPCNTR_VERSION exists, reading its value... [antcall] Exiting
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml.
BUILD FAILED
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml:332:
The following error occurred while executing this line:
/opt/IBM/MobileFirst_Platform_Server/WorklightServer/post-install.xml:2096:
The SQL query SELECT APPCNTR_VERSION FROM APPCNTR_VERSION returned no
rows, but expected 1 row. at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask$1.call(ConfigureDatabaseTask.java:1863)
at
com.ibm.worklight.config.util.database.DatabaseUtil.withConnection(DatabaseUtil.java:420)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.getSQLQueryResult(ConfigureDatabaseTask.java:1852)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.getDatabaseVersionApplicationCenter(ConfigureDatabaseTask.java:1045)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.getDatabaseVersion(ConfigureDatabaseTask.java:855)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.checkDatabasesConnectivity(ConfigureDatabaseTask.java:781)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.execute(ConfigureDatabaseTask.java:289)
at
com.ibm.worklight.config.ant.database.ConfigureDatabaseIMWrapper.execute(ConfigureDatabaseIMWrapper.java:159)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620) at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348) at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620) at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154) at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620) at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348) at
org.apache.tools.ant.Target.execute(Target.java:392) at
org.apache.tools.ant.Target.performTasks(Target.java:413) at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620) at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348) at
org.apache.tools.ant.Target.execute(Target.java:392) at
org.apache.tools.ant.Target.performTasks(Target.java:413) at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at
org.apache.tools.ant.Main.runBuild(Main.java:811) at
org.apache.tools.ant.Main.startAnt(Main.java:217) at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 20 seconds
What I've tried:
According to this post, I've tried to change the /etc/hosts file ip to the host IP accordingly (got this ip from ifconfig):
Updated
IBM Installation Manager is able to detect the 2 server instances with the name "mfp" and "analytics":
ANT script property:
According to log, it sounds like some kind of bug, during AppCenter database tables check (database exists, successful connection verified) -
"The SQL query SELECT APPCNTR_VERSION FROM APPCNTR_VERSION returned no rows, but expected 1". Instead of exiting it needs to actually create those tables. Ideally you should open a PMR to IBM support with this.
But you can try to overcome this issue in 2 ways.
By trying to execute SQL script manually within your DB and then re-run installer. Most probably it will go through fluently afterwards. For oracle file called create-appcenter-oracle.sql and it is located somewhere under /opt/IBM/MobileFirst_Platform_Server/ApplicationCenter
By setting up Application Center manually (executing sql script on database, installing/moving war files and configuring server) and then deselect checkbox to install appcenter during installation with Installation Manager.
Follow instructions on Knowledge center for your DB
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.installconfig.doc/admin/c_manually_configuring_databases_for_ac.html
You can also get some insights from here (prior to lab 8.3) https://mfp.help/appcenter-on-bluemix/
Hopefully installer will afterwards go fine for MFP Server and Analytics database, otherwize you will need to setup those sings also manually using ant scripts.
Basically, it is possible to install Application Center either manually or using Ant tasks.
So you may try choosing not installing Application Center in Installation Manager by checking radio button "No" when prompting to do so. This way, Installation Manager will certainly completes the installation successfully in your target directory "/opt/IBM/MobileFirst_Platform_Server".
Afterwards, you may create the Application Center database using the script create-appcenter-oracle.sql that should have been installed in
"/opt/IBM/MobileFirst_Platform_Server/ApplicationCenter/configuration-samples"
https://www-01.ibm.com/support/knowledgecenter/SSHSCD_7.1.0/com.ibm.worklight.installconfig.doc/admin/t_setting_up_your_oracle_database_manually_for_ac.html?lang=en
After the Application Center database is created, the next step is to deploy Application Center to your Liberty profile using Ant task for example
https://www-01.ibm.com/support/knowledgecenter/SSHSCD_7.1.0/com.ibm.worklight.installconfig.doc/appcenter/t_ac_deploy_cons_serv_ant_tasks.html?lang=en

error occurs while generating apk file using android-maven-plugin

`I am using android eclipse,i develop a project and add the dependencies GOOGLE play services,
app compact v7 in build path.When i run it as a normal android project it is perfectly executing,I add maven POM.XML file to generate APK file,when i proceed to maven install it gives error.
Error :
[ERROR] Error when generating sources.
org.apache.maven.plugin.MojoExecutionException:
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:608)
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.execute(GenerateSourcesMojo.java:229)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C "D:\NagarjunaWork\android\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2\aapt.exe package -f --no-crunch -I D:\NagarjunaWork\android\adt-bundle-windows-x86_64-20140321\sdk\platforms\android-19\android.jar -M D:\5-8-2014\QuickRideApp\QuickRide\AndroidManifest.xml -S D:\5-8-2014\QuickRideApp\QuickRide\res -A D:\5-8-2014\QuickRideApp\QuickRide\target\generated-sources\combined-assets -m -J D:\5-8-2014\QuickRideApp\QuickRide\target\generated-sources\r --output-text-symbols D:\5-8-2014\QuickRideApp\QuickRide\target --auto-add-overlay", Result = -1073741819
at com.jayway.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor.executeCommand(CommandExecutor.java:252)
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:604)
... 23 more
This can be caused by problems in your XML files, such as referring to a resource ID that no longer exists or never existed. See MojoExecutionException: Maven with Android and aapt.exe has stopped working for possible solutions.

installing lejos plugin in eclipse ( cannot load jfantom.dll )

So I am trying to get lejos (the software for lego robots) to work in my eclipse but when i click the lejos nxj item in the eclipse toolbar and select upload firmware I get the following error
Building firmware image.
VM file: C:\Program Files (x86)\leJOS NXJ\bin\lejos_nxt_rom.bin
Menu file: C:\Program Files (x86)\leJOS NXJ\bin\StartUpText.bin
Magic string found at offset 0x40
VM size: 55712 bytes.
Menu size: 44132 bytes.
Total image size 99940/100352 bytes.
Locating device in firmware update mode.
flashing the firmware failed
lejos.pc.comm.NXTCommException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
Caused by lejos.util.jni.JNIException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
Caused by java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll: Can't find dependent libraries
See Eclipse error log for detailed stack trace.
anybody has an idea whats going on. I check the directory and the file is there...
This is the content of log file from eclipse
!SESSION 2011-09-03 13:11:11.541 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.ui 4 4 2011-09-03 13:23:11.783
!MESSAGE Invalid preference page path: XML Syntax
!SESSION 2011-09-03 13:23:13.777 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:29:50.136
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
... 14 more
!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:30:42.966
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
... 14 more
!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:31:04.653
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
... 14 more
!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:37:49.689
!MESSAGE cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
!STACK 0
lejos.pc.comm.NXTCommException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:112)
at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
... 14 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:103)
... 18 more
Did you install the leJOS software suite?
Did it install fully?
Did you point eclipse to the correct 32bit JDK/JRE?
Did you install the phantom driver?
Is NXJ_HOME in eclipse/window/preferences/leJOS NXJ pointing to the correct dir for leJOS?
The java.lang.UnsatisfiedLinkError tells you, that a dependency of jfantom.dll is missing.
It must be the case, that you haven't installed the Fantom driver. Download and install the Fantom driver from mindstorms.com (the most recent version there is 1.1.3):
http://mindstorms.lego.com/en-us/support/files/Driver.aspx
or use that the RobotC people offer (currently 1.2.0):
http://www.robotc.net/support/troubleshooting/fantom-driver.php