Problems with sample app

2008-01-02 Thread Alexander Saar
Hello Sling team, last days I started playing around with the latest Sling trunk. I noticed that after the big changes that happened in the last weeks, the sample application does not work anymore. After some debugging I noticed, that the script resolving looks under different paths than the curre

Re: Problems with sample app

2008-01-04 Thread Carsten Ziegeler
Hi, I fixed some problems with the location of the scripts and a bug in the servlet resolver. Some of the samples are now working for me. Can you please recheck and report what is not working for you (if any)? Thanks Carsten Alexander Saar wrote: > Hello Sling team, > last days I started playin

Re: Problems with sample app

2008-01-04 Thread Alexander Saar
Hi Carsten, I still have problems with the sample app. I started with a clean checkout of the trunk, build the standalone Sling with the full profile and started sling standalone without problems. Next I tried to deploy the sample app using the sling maven plugin. This failed with the ResourceNotF

Re: Problems with sample app

2008-01-07 Thread Carsten Ziegeler
Alexander Saar wrote: Hi Carsten, I still have problems with the sample app. I started with a clean checkout of the trunk, build the standalone Sling with the full profile and started sling standalone without problems. Next I tried to deploy the sample app using the sling maven plugin. This fail

Re: Problems with sample app

2008-01-08 Thread Alexander Klimetschek
Hi, I experienced the same problem. That's probably Alex and I use the same environment: MacOSX and starting sling with the launcher/app/ target/-full.jar One problem is the HTTP Service bundle that is used which did include a Servlet API 1.3 implementation (Jetty) although Sling expec

Re: Problems with sample app

2008-01-08 Thread Felix Meschberger
Hi Carsten, Am Dienstag, den 08.01.2008, 07:55 +0100 schrieb Carsten Ziegeler: > It's difficult to tell what is going wrong from here, but one possible > problem could be the startup order of the bundles. I've put most of the > "org.apache.felix.*" bundles into the WEB-INF/resources/corebundles

Re: Problems with sample app

2008-01-08 Thread Felix Meschberger
Hi Alexander, Am Dienstag, den 08.01.2008, 17:26 +0100 schrieb Alexander Klimetschek: > One problem is the HTTP Service bundle that is used which did include > a Servlet API 1.3 implementation (Jetty) although Sling expects a 2.4 > API. That caused runtime errors of the JSPs in the sample app.

Re: Problems with sample app

2008-01-08 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Carsten, Am Dienstag, den 08.01.2008, 07:55 +0100 schrieb Carsten Ziegeler: It's difficult to tell what is going wrong from here, but one possible problem could be the startup order of the bundles. I've put most of the "org.apache.felix.*" bundles into the WEB-INF/r

Re: Problems with sample app

2008-01-08 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Alexander, Am Dienstag, den 08.01.2008, 17:26 +0100 schrieb Alexander Klimetschek: One problem is the HTTP Service bundle that is used which did include a Servlet API 1.3 implementation (Jetty) although Sling expects a 2.4 API. That caused runtime errors of the JS

Re: Problems with sample app

2008-01-09 Thread Felix Meschberger
Am Mittwoch, den 09.01.2008, 07:35 +0100 schrieb Carsten Ziegeler: > Felix Meschberger wrote: > > Hi Carsten, > > > > Am Dienstag, den 08.01.2008, 07:55 +0100 schrieb Carsten Ziegeler: > >> It's difficult to tell what is going wrong from here, but one possible > >> problem could be the startup or

Re: Problems with sample app

2008-01-09 Thread Felix Meschberger
Hi, Am Mittwoch, den 09.01.2008, 07:41 +0100 schrieb Carsten Ziegeler: > Felix Meschberger wrote: > > Hi Alexander, > > > > Am Dienstag, den 08.01.2008, 17:26 +0100 schrieb Alexander Klimetschek: > >> One problem is the HTTP Service bundle that is used which did include > >> a Servlet API 1.3 i

Re: Problems with sample app

2008-01-09 Thread Carsten Ziegeler
Felix Meschberger wrote: Am Mittwoch, den 09.01.2008, 07:35 +0100 schrieb Carsten Ziegeler: Felix Meschberger wrote: Hi Carsten, Am Dienstag, den 08.01.2008, 07:55 +0100 schrieb Carsten Ziegeler: It's difficult to tell what is going wrong from here, but one possible problem could be the start

Re: Problems with sample app

2008-01-09 Thread Carsten Ziegeler
Felix Meschberger wrote: Maybe the case of inability loading the content due to missing node types. This is fortunately an exception (NoSuchNodeTypeException) we can handle appropriately. Then we may postpone loading the content until the node types exist. Maybe we might add an eventing for this

Re: Problems with sample app

2008-01-09 Thread Carsten Ziegeler
Carsten Ziegeler wrote: Felix Meschberger wrote: Maybe the case of inability loading the content due to missing node types. This is fortunately an exception (NoSuchNodeTypeException) we can handle appropriately. Then we may postpone loading the content until the node types exist. Maybe we might