Environment:
IBM Worklight 6.2.0.0 Consumer Edition
Liberty 8.5.5.1
IBM DB2
Windows 2008 Server
iPhone 5 - IOS 7
Adapter based authentication
2 nodes of Worklight Server points a single DB2 Instance.
Direct update is prompted frequently when I try to login. But I have an updated build running on my device.
Even if I proceed with the update, device build rolled back to previous build.
After sometime device prompts to update, this time new build has been updated.
I got the following as logs.
[ERROR ] RuntimeMBeanCallable.call() exception
java.lang.reflect.UndeclaredThrowableException
[err] java.lang.reflect.UndeclaredThrowableException
[err] at com.sun.proxy.$Proxy137.deleteApplication(Unknown Source)
[err] at com.ibm.worklight.admin.actions.ApplicationDeletionTransaction.prepareMBean(ApplicationDeletionTransaction.java:160)
[err] at com.ibm.worklight.admin.actions.util.RuntimeMBeanWorkerThreadCaller$RuntimeMBeanCallable.call(RuntimeMBeanWorkerThreadCaller.java:75)
[err] at com.ibm.worklight.admin.actions.util.RuntimeMBeanWorkerThreadCaller.callSynchronously(RuntimeMBeanWorkerThreadCaller.java:182)
[err] at com.ibm.worklight.admin.actions.util.RuntimeMBeanPoolCaller.callRuntimeMBeans(RuntimeMBeanPoolCaller.java:91)
[err] at com.ibm.worklight.admin.actions.BaseTransaction.prepare(BaseTransaction.java:364)
[err] at com.ibm.worklight.admin.actions.BaseTransaction.internalRun(BaseTransaction.java:307)
[err] at com.ibm.worklight.admin.actions.BaseTransaction.run(BaseTransaction.java:227)
[err] at com.ibm.worklight.admin.services.ApplicationService.deleteApplication(ApplicationService.java:521)
.
.
.
.
.
.
[err] at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
[err] at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
[err] at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
[err] at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
[err] at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:133)
[err] at com.ibm.worklight.admin.services.RestServlet.service(RestServlet.java:39)
[err] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[err] at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
[err] at [internal classes]
[err] Caused by: java.io.IOException: CWWKX0204E: Unable to parse Throwable from server error stream.
[err] at com.ibm.ws.jmx.connector.client.rest.internal.RESTMBeanServerConnection.getServerThrowable(RESTMBeanServerConnection.java:1712)
[err] at [internal classes]
[err] ... 83 more
[err] Caused by: java.lang.ClassNotFoundException: com.worklight.twopc.exceptions.OutOfSyncException
[err] at com.ibm.ws.kernel.internal.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:96)
[err] at java.lang.ClassLoader.loadClass(Unknown Source)
[err] at com.ibm.ws.kernel.internal.classloader.BootstrapChildFirstJarClassloader.loadClass(BootstrapChildFirstJarClassloader.java:56)
[err] at java.lang.ClassLoader.loadClass(Unknown Source)
[err] at com.ibm.ws.serialization.DeserializationObjectInputStream.loadClass(DeserializationObjectInputStream.java:57)
[err] at [internal classes]
[err] ... 87 more
Is this because of both Worklight instance points to same DB2? I believe this is not the case.
Help me to resolve the issue of roll back build.
This may be happening because you are using two independent Libery profile application servers, which both point to the same database.
Because they are independent, they do not get "synced" when a Direct Update occurs.
To have this sync enabled, the application servers must be deployed as a farm of servers.
For more information on server farms, review the following documentation topic: Defining a server farm for Worklight Server administration
Related
I'm tearing my hair off with IBM MobileFirst Platform 8.0 on deploying the adapter.
I'm quite new to this platform and trying to following the instruction here
http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/adapters/creating-adapters/#creating-adapters-using-mobilefirst-cli
I installed the mfp server, the mfpdev-cli, installed maven, created an adapter (which is just a default adapter). Then, run
mfpdev adapter build
The operation was success.
However, when I tried to deploy to the mfp server using mfpdev, there was an error in the console and the adapter was not deployed.
Here's the error :
[INFO] -----------------------------------------------------------------------
[INFO] Building SampleAdapter 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- adapter-maven-plugin:8.0.2018021101:deploy (default-cli) # SampleAdapter ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.529 s
[INFO] Finished at: 2561-03-08T19:20:29+07:00
[INFO] Final Memory: 8M/112M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.ibm.mfp:adapter-maven-plugin:8.0.2018021101:deploy (default-cli) on project SampleAdapter: Unexpected response from http://localhost:9080/mfpadmin/management-apis/2.0/runtimes/mfp/adapters -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error deploying adapter
undefined
Error: An error occurred during an attempt to deploy the adapter. See the
preceding messages for details.
And when I looked to the mfp server log, it showed this error.
[ERROR ] RuntimeMBeanCallable.call() exception
java.lang.reflect.UndeclaredThrowableException
[err] java.lang.reflect.UndeclaredThrowableException
[err] at com.sun.proxy.$Proxy342.changeDeploymentState(Unknown Source)
[err] at com.ibm.mfp.admin.actions.ArtifactDeploymentTransaction.prepareMBean(ArtifactDeploymentTransaction.java:822)
[err] at com.ibm.mfp.admin.actions.util.RuntimeMBeanWorkerThreadCaller$RuntimeMBeanCallale.call(RuntimeMBeanWorkerThreadCaller.java:76)
[err] at com.ibm.mfp.admin.actions.util.RuntimeMBeanWorkerThreadCaller.callSynchronouslyRuntimeMBeanWorkerThreadCaller.java:206)
[err] at com.ibm.mfp.admin.actions.util.RuntimeMBeanPoolCaller.callRuntimeMBeans(RuntimeMBeanPoolCaller.java:91)
.
.
.
.
[err] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)
[err] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)
[err] at java.lang.Throwable.readObject(Throwable.java:914)
[err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[err] at java.lang.reflect.Method.invoke(Method.java:497)
[err] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
[err] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
[err] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
[err] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
[err] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)
[err] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)
[err] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
[err] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
[err] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
[err] at com.ibm.ws.jmx.connector.server.rest.JSONSerializationHelper.readObject(JSONSerializationHelper.java:69)
[err] at [internal classes]
[err] ... 102 more
[ERROR ] Unable to delete configuration with id ADAPTER_CONTENT due to exception FWLSE3208E: An invalid status code "404" was returned.
The response content is "{"reason":"configuration_not_found","details":"CNFSRVE115: configuration with id 'ADAPTER_CONTENT' for schema 'mfp_default_schema' with version '1.0' not found"}".
However, I did skim back to the server starting log, there seemed to have some [err], which I'm not sure whether it is an error or not.
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the file:/D:/MobileFirst/mfp server/usr/servers/mfp/apps/mfp-push-service.war location rather than from a product class loader.
[err] 670 PushPU-derby INFO [Default Executor-thread-2] openjpa.Runtime - Starting OpenJPA 2.4.1
[err] 1363 PushPU-derby INFO [Default Executor-thread-2] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary".
[err] 2688 PushPU-derby INFO [Default Executor-thread-2] openjpa.jdbc.JDBC - Connected to Apache Derby version 10.10 using JDBC driver Apache Derby Embedded JDBC Driver version 10.11.1.1 - (1616546).
[AUDIT ] CWWKZ0001I: Application mfp started in 47.549 seconds.
[AUDIT ] CWWKZ0001I: Application imfpush started in 49.088 seconds.
[19:12:51,128][WARN ][org.elasticsearch.bootstrap] JNA not found. native methods will be disabled.
[err] 24634 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Starting OpenJPA 2.4.1
[err] 24634 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.11.1.1 - (1616546) ,Apache Derby Embedded JDBC Driver 10.11.1.1 - (1616546)).
[err] 24650 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.jdbc.JDBC - Connected to Apache Derby version 10.10 using JDBC driver Apache Derby Embedded JDBC Driver version 10.11.1.1 - (1616546).
[AUDIT ] CWWKZ0001I: Application analytics-service started in 58.394 seconds.
I couldn't find any solution or resource regarded to this problem. There are just some few thread talking about this but they couldn't manage to solve it either.
Configuration with id 'ADAPTER_CONTENT' for schema 'mfp_default_schema' with version '1.0' not found
and
https://www.cpume.com/question/fezseeoz-unable-to-delete-configuration-with-id-adapter-content-due-to-exception-fwlse320.html
I also tried to deploy from MobileFirst Application Web Console. It also failed.
My machine env are as follow:
OS : Win7 SP1
JDK : 1.8.0_60-b27
Maven : 3.5.2
MFP Server : 8.0.0.00-20180220-083852
mfpdev-cli : 8.0.0-2017102406
Anyone has experienced this before?
All helps and suggestions would be greatly appreciated...
Encountered the following error when I tried to build the app.
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: No such property : splitFramework
[ERR]
[ERR] Total time: 1 second
[ERR] The following error occurred while executing this line:
C:\xampp\htdocs\sencha\tileconmob\.sencha\app\build-impl.xml:378: The following
error occurred while executing this line:
C:\xampp\htdocs\sencha\tileconmob\.sencha\app\init-impl.xml:296: com.sencha.exce
ptions.ExNotFound: No such property : splitFramework
What is the cause of this error? Anyway, what is the step by step guide to generate an apk?
I installed Sencha CMD tool in order to build production app. I went through sencha guidelines: http://docs.sencha.com/cmd/5.x/touch/cmd_app.html and upgraded to new version 2.4.
I'm running Sencha Touch 2.4.0.487, Sencha Cmd 5.0.2.270 with Ruby 1.9.3, Compass 1.0.1, Sass 3.4.5 on Windows 8.
Basically I'm trying to build production, but it fails. You can see errors below.
If anyone has any pointers it would be really appreciated.
Sencha Cmd v5.0.2.270
[INF] Processing Build Descriptor : default
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: java.lang.NullPointerException
[ERR]
[ERR] Total time: 2 seconds
[ERR] The following error occurred while executing this line:
..\www\app\.sencha\app\build-impl.xml:376: The following error occurr
ed while executing this line:
..\www\app\.sencha\app\init-impl.xml:292: com.sencha.exceptions.Basic
Exception: java.lang.NullPointerException
..\www\app>sencha app build testing
Sencha Cmd v5.0.2.270
[INF] Processing Build Descriptor : default
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: java.lang.NullPointerException
[ERR]
[ERR] Total time: 3 seconds
[ERR] The following error occurred while executing this line:
..\www\app\.sencha\app\build-impl.xml:376: The following error occurr
ed while executing this line:
..\www\app\.sencha\app\init-impl.xml:292: com.sencha.exceptions.Basic
Exception: java.lang.NullPointerException}
I have an error with SenchaCMD 4.0.2.67. When I try to run sencha app refresh or sencha app build or sencha ant phonegap-sencha-build on the terminal, I get the following error:
...
[INF] -detect-app-build-properties:
[INF] Loading app json manifest...
[INF] Loading classpath entry /path/to/project/senchatouch/projects/inpunkto/touch/src
[INF] Loading classpath entry /path/to/project/senchatouch/projects/inpunkto/app.js
[INF] Loading classpath entry /path/to/project/senchatouch/projects/inpunkto/app
[INF] Loading classpath entry /path/to/project/senchatouch/projects/inpunkto/Ux
[INF] Loading classpath entry /path/to/project/senchatouch/projects/inpunkto/build/temp/production/Inpunkto/sencha-compiler/app
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException
[ERR] at com.sencha.tools.compiler.sources.ReferenceVisitor.processObjectAutoDependencies(Refe
[ERR] renceVisitor.java:303)
[ERR] at com.sencha.tools.compiler.sources.ReferenceVisi
[ERR] tor.processObjectAutoDependencies(ReferenceVisitor.java:303)
[ERR] at org.mozilla.javascript.ast.FunctionNode.visit(Func
[ERR] tionNode.java:421)
[ERR] at com.sencha.tools.comp
[ERR] iler.sources.ReferenceVisitor.processObjectAutoDependencies(ReferenceVisitor.java:303)
[ERR] at com.sencha.tools.compiler.sources.InstanceConfigReferenceProcessor.processInstanceConfig(InstanceConfigReferenceProcess
[ERR] or.java:128)
[ERR] at org.mozilla.javascript.ast.Block.visit(Block
[ERR] .java:61)
[ERR] at com.sencha.tools.compiler.sources.InstanceConfigReferenceProcessor.processInstanceConfig(Inst
[ERR] anceConfigReferenceProcessor.java:131)
[ERR] at com.sencha.tools.compiler.sources.InstanceConfigReferen
[ERR] ceProcessor.processInstanceConfig(InstanceConfigReferenceProcessor.java:128)
[ERR] at org.mozilla.javascript.ast.ExpressionStatement.visit(ExpressionStat
[ERR] ement.java:120)
[ERR] at com.sencha.tools.compiler.sou
[ERR] rces.InstanceConfigReferenceProcessor.processInstanceConfig(InstanceConfigReferenceProcessor.java:131)
[ERR] at com.sencha.tools.compiler.sources.InstanceConfigReferenceProcessor.processInstanceConfigForClass(InstanceConfigReferenceProcessor.java:
[ERR] 179)
[ERR] at org
[ERR] .mozilla.javascript.ast.ExpressionStatement.visit(ExpressionStatement.java:120)
[ERR]
[ERR] Total time: 2 seconds
[ERR] The following error occurred while executing this line:
/Users/matthias/Sencha/Cmd/4.0.2.67/plugins/touch/2.3/plugin.xml:326: The following error occurred while executing this line:
/path/to/project/senchatouch/projects/inpunkto/.sencha/app/build-impl.xml:367: The following error occurred while executing this line:
/path/to/project/senchatouch/projects/inpunkto/.sencha/app/js-impl.xml:11: com.sencha.exceptions.BasicException
I have a SenchaTouch 2.3.1 app and integrated the newest release of phonegap into it by using the command: sencha phonegap init [AppID].
Can anybody tell my what this error is all about?
it seems like you are building a code created with sencha architect. Please create a separate project using sencha generate app.. command and then copy the contents from this project to newly created project. Make necessary changes whereever needed, such as project name in each file, etc. I think it will work fine after that...
OS: Win7
HTTP Server: Tomcat7
I am new to Sencha. Just installed latest sencha-touch-2.1.0-commercial+Sencha Cmd 3.0.0.250.
Could run "sencha" command under SDK dir.
Could run "sencha generate app GS ../GS" to generate a sample project.
I didn't change anything from the newly generated project GS and tried to build it using command: sencha app build production
But I got the following stack trace:
C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS>sencha app build production
Sencha Cmd v3.0.0.250
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-app-build:
[INF] app-build-impl:
[INF] production:
[INF] -before-init-local:
[INF] -init-local:
[INF] -after-init-local:
[INF] init-local:
[INF] find-cmd:
[INF] -before-init:
[INF] -init:
[INF] -after-init:
[INF] init:
[INF] -before-build:
[INF] sass:
[INF] -before-sass:
[INF] -sass:
[INF] [shellscript] '''compass''' is not recognized as an internal or external command,
[INF] [shellscript]
[INF] [shellscript] C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\resources\sass>compass compile --boring --force
[INF] [shellscript] operable program or batch file.
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
[ERR] C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\.sencha\app\build-impl.xml:92: The following error occurred while executing this l
ine:
[ERR] jar:file:/C:/ZZ/Others/Startup/Sencha/Cmd/3.0.0.250/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
[ERR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:104)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
[ERR] at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
[ERR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:72)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:87)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:91)
[ERR] at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:135)
[ERR] at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:106)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.command.Sencha.main(Sencha.java:71)
[ERR] Caused by: C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\.sencha\app\build-impl.xml:100: The following error occurred while exec
uting this line:
[ERR] C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\.sencha\app\build-impl.xml:92: The following error occurred while executing this l
ine:
[ERR] jar:file:/C:/ZZ/Others/Startup/Sencha/Cmd/3.0.0.250/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
[ERR] at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
[ERR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
[ERR] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:80)
[ERR] at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR] ... 31 more
[ERR] Caused by: C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\.sencha\app\build-impl.xml:92: The following error occurred while execu
ting this line:
[ERR] jar:file:/C:/ZZ/Others/Startup/Sencha/Cmd/3.0.0.250/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
[ERR] at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
[ERR] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERR] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
[ERR] ... 52 more
[ERR] Caused by: jar:file:/C:/ZZ/Others/Startup/Sencha/Cmd/3.0.0.250/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returne
d: 1
[ERR] at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
[ERR] at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
[ERR] at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
[ERR] at net.sf.antcontrib.platform.ShellScriptTask.execute(ShellScriptTask.java:132)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[ERR] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[ERR] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownEl
[ERR] ement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
[ERR] ... 64 more
[ERR] Total time: 1 second
[ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
C:\ZZ\Others\Startup\Tomcat 7.0\webapps\GS\.sencha\app\build-impl.xml:92: The following error occurred while executing this line:
jar:file:/C:/ZZ/Others/Startup/Sencha/Cmd/3.0.0.250/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
Could somebody tell what am i missing here?
The error message is pretty clear :
'''compass''' is not recognized as an internal or external command
You need to install compass, otherwise Sencha CMD can't compile the CSS.
Hope this helps
just add
skip.sass=1
in
PROJECT_FOLDER/.sencha/app/sencha.cfg
and
PROJECT_FOLDER/.sencha/workspace/sencha.cfg