Hi, I'm trying to add a new jaggery app using the management console, but only the part of it is copied to repository/deployment/server/jaggeryapps, hence the app is not working. Is this a known issue or am I missing anything? I get the following error log [1] in server, but the deployed zip file has /WEB-INF/web.xml file.
[1] [2012-05-07 08:03:20,670] ERROR {org.wso2.carbon.jaggery.app.mgt.JaggeryAppAdmin} - Could not unzip the Jaggery App Archive {org.wso2.carbon.jaggery.app.mgt.JaggeryAppAdmin} java.io.FileNotFoundException: /opt/idtme/servers/wso2appfactory-3.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/project-mgt-tool/WEB-INF/web.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:70) at org.wso2.carbon.jaggery.app.mgt.JaggeryAppAdmin.unZip(JaggeryAppAdmin.java:740) at org.wso2.carbon.jaggery.app.mgt.JaggeryAppAdmin.uploadWebapp(JaggeryAppAdmin.java:614) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:140) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:50) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) [2012-05-07 08:03:22,375] INFO {org.wso2.carbon.tomcat.internal.CarbonTomcat} - web application context: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/project-mgt-tool] {org.wso2.carbon.tomcat.internal.CarbonTomcat} [2012-05-07 08:03:22,375] INFO {org.wso2.carbon.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} - Deployed Jaggery App: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/project-mgt-tool].File[/opt/idtme/servers/wso2appfactory-3.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/project-mgt-tool] {org.wso2.carbon.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -- Thanks & Regards, Ashansa Perera Software Engineer WSO2, Inc
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev