should be fine now - Romain
2012/6/7 Romain Manni-Bucau <[email protected]> > yes, > > metadata complete, we need to provide the ejb-jar.xml > > - Romain > > > > 2012/6/7 Thiago Veronezi <[email protected]> > >> Romain, >> It seems the Deployer is not being injected. You know what might be wrong? >> >> []s, >> Thiago. >> >> >> java.lang.NullPointerException >> >> >> >> {"exception_type":"org.apache.tomee.webapp.TomeeException","message":"java.lang.NullPointerException","status_code":"500","stackTrace":"org.apache.tomee.webapp.TomeeException: >> java.lang.NullPointerException\n\tat >> >> org.apache.tomee.webapp.servlet.DeployServlet.doPost(DeployServlet.java:56)\n\tat >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)\n\tat >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)\n\tat >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)\n\tat >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\n\tat >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)\n\tat >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)\n\tat >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)\n\tat >> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)\n\tat >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)\n\tat >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\n\tat >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)\n\tat >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)\n\tat >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)\n\tat >> >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)\n\tat >> >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)\n\tat >> >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)\n\tat >> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\n\tat >> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\n\tat >> java.lang.Thread.run(Thread.java:662)\nCaused by: >> java.lang.NullPointerException\n\tat >> >> org.apache.tomee.webapp.servlet.DeployServlet.doPost(DeployServlet.java:48)\n\t... >> 19 more\n"} >> 1 >> >> >> On Wed, Jun 6, 2012 at 12:10 PM, Thiago Veronezi <[email protected] >> >wrote: >> >> > cool... tkx! >> > >> > >> > On Wed, Jun 6, 2012 at 11:56 AM, Romain Manni-Bucau < >> [email protected] >> > > wrote: >> > >> >> added some code, >> >> >> >> not perfect and i think you'll need to tweak it a bit but the logic >> should >> >> be here >> >> >> >> - Romain >> >> >> >> >> >> 2012/6/6 Thiago Veronezi <[email protected]> >> >> >> >> > Hi Romain, >> >> > >> >> > I created the skeleton of the new gui deployment feature. >> >> > >> >> > When you upload a file from the new "Apps" tab, the system calls this >> >> > servlet: >> >> > >> >> > >> >> >> http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/java/org/apache/tomee/webapp/servlet/DeployServlet.java?view=markup&pathrev=1346948 >> >> > >> >> > >> >> > Note that the "path" attribute is the full file path. From there you >> can >> >> > deploy your application. Can you complete that class? I will continue >> >> with >> >> > the client side this evening. I still have a lot to do, but I think >> it >> >> is >> >> > going pretty well. >> >> > >> >> > []s, >> >> > Thiago. >> >> > >> >> > >> >> > On Tue, Jun 5, 2012 at 6:48 PM, Romain Manni-Bucau < >> >> [email protected] >> >> > >wrote: >> >> > >> >> > > Thanks! >> >> > > >> >> > > - Romain >> >> > > >> >> > > >> >> > > 2012/6/6 Thiago Veronezi <[email protected]> >> >> > > >> >> > > > Sure... >> >> > > > I will do it right away. >> >> > > > >> >> > > > []s, >> >> > > > Thiago. >> >> > > > >> >> > > > On Tue, Jun 5, 2012 at 6:25 PM, Romain Manni-Bucau < >> >> > > [email protected] >> >> > > > >wrote: >> >> > > > >> >> > > > > @Thiago: i know you are busy with the tree but could you add a >> >> > "deploy" >> >> > > > tab >> >> > > > > where we can deploy either from an upload or from a string >> >> > > > > (mvn:gId/aId/version/war for instance)? >> >> > > > > >> >> > > > > - Romain >> >> > > > > >> >> > > > > >> >> > > > > 2012/5/29 Thiago Veronezi <[email protected]> >> >> > > > > >> >> > > > > > Probably is better to keep the simple again. Simple html and >> >> with >> >> > > > > > javascript is straightforward for me... and it may be simpler >> >> for >> >> > > > getting >> >> > > > > > help from the community. >> >> > > > > > Thanks, >> >> > > > > > Thiago. >> >> > > > > > >> >> > > > > > >> >> > > > > > On Tue, May 29, 2012 at 8:40 AM, dsh < >> >> > [email protected]> >> >> > > > > > wrote: >> >> > > > > > >> >> > > > > > > Concerning long-polling (Comet, WebSockets etc. pp), >> >> depending on >> >> > > the >> >> > > > > > > framework you use the actual polling implementation is >> getting >> >> > > > > > > abstracted. So the user would get the impl depending on the >> >> > > > > > > capabilities provided by the browser and you on the other >> hand >> >> > > would >> >> > > > > > > not need to worrie about such technical details. I know >> Dojo >> >> does >> >> > > > such >> >> > > > > > > abstraction... not sure about jQuery... >> >> > > > > > > >> >> > > > > > > PS: The Mockup reminds me very much about the Eclipse >> >> > > > perspective/view >> >> > > > > > > concept. Probably using Eclipse RAP for the UI would be an >> >> > > > > > > overkill/unsuitable but there you would get such UI >> >> > > > > > > lay-outing/structuring mechanisms for free :) >> >> > > > > > > >> >> > > > > > > Cheers >> >> > > > > > > Daniel >> >> > > > > > > >> >> > > > > > > On Tue, May 29, 2012 at 2:27 PM, Thiago Veronezi < >> >> > > > [email protected]> >> >> > > > > > > wrote: >> >> > > > > > > > Yes, It makes more sense, otherwise it would be very >> hard to >> >> > read >> >> > > > the >> >> > > > > > > > log... which doesn't make sense. :O) >> >> > > > > > > > >> >> > > > > > > >>> Will it be a live log viewer where new log entries are >> >> > floating >> >> > > > in >> >> > > > > > > > similar to digg.com? >> >> > > > > > > > Yes. For that I plan to use long-polling (something I >> have >> >> > > > experience >> >> > > > > > > > with), but websockets are the perfect alternative if we >> have >> >> > this >> >> > > > > > feature >> >> > > > > > > > available at the server side. >> >> > > > > > > > >> >> > > > > > > > I created another mockup with a new position for the log >> >> panel >> >> > > and >> >> > > > > two >> >> > > > > > > > extra panels (MDB and Webservices): >> >> > > > > > > > http://dl.dropbox.com/u/1459144/tomee_v2.png >> >> > > > > > > > >> >> > > > > > > > What you guys think? >> >> > > > > > > > >> >> > > > > > > > Thanks for the feedback! >> >> > > > > > > > []s, >> >> > > > > > > > Thiago. >> >> > > > > > > > >> >> > > > > > > > On Tue, May 29, 2012 at 5:27 AM, dsh < >> >> > > > [email protected]> >> >> > > > > > > wrote: >> >> > > > > > > > >> >> > > > > > > >> One thought concerning the log view - maybe it would >> make >> >> > sense >> >> > > to >> >> > > > > > > >> have it at the bottom where it could span the entire >> >> screen so >> >> > > log >> >> > > > > > > >> messages can be digested easier. Will it be a live log >> >> viewer >> >> > > > where >> >> > > > > > > >> new log entries are floating in similar to digg.com? >> >> > > > > > > >> >> >> > > > > > > >> Cheers >> >> > > > > > > >> Daniel >> >> > > > > > > >> >> >> > > > > > > >> On Tue, May 29, 2012 at 1:19 AM, Thiago Veronezi < >> >> > > > > [email protected] >> >> > > > > > > >> >> > > > > > > >> wrote: >> >> > > > > > > >> > Guys, >> >> > > > > > > >> > I need your feedback about what I have in mind for the >> >> new >> >> > > > webapp. >> >> > > > > > > >> > Basically I want to replace all the pages we have by a >> >> new >> >> > one >> >> > > > > which >> >> > > > > > > will >> >> > > > > > > >> > give the user the access to a script console, the jndi >> >> tree >> >> > > and >> >> > > > > the >> >> > > > > > > tomee >> >> > > > > > > >> > log file. >> >> > > > > > > >> > Please check the mockup I created for it: >> >> > > > > > > >> > http://dl.dropbox.com/u/1459144/tomee_webapp.png >> >> > > > > > > >> > >> >> > > > > > > >> > What do you think? >> >> > > > > > > >> > >> >> > > > > > > >> > Thanks, >> >> > > > > > > >> > Thiago. >> >> > > > > > > >> >> >> > > > > > > >> >> > > > > > >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> >> > >> > >> > >
