geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Delos <dait...@gmail.com>
Subject Re: rfc66 update
Date Mon, 25 Jan 2010 13:06:33 GMT
It's really great news!

But I have some questions about current implementation.Just want to learn
more from it.

1) I found only active and starting bundles are taken into account in
current implementation. What about resolved bundles?

2) For lazy activiated bundles, only starting bundles will be deployed.But
in RFC 66, it said "A bundle that has a lazy activation policy should not be
transitioned to the STARTING state by the web extender unless a request is
made that requires a class to be loaded." Does the implementation violate
the document?

3) In RFC 66, static content can be requested without starting a WAB. It's
not in the TODO file. Do you have any idea for it? I'm not sure if
configuration of WAB can become accessible before actually it's started.

Thanks!

2010/1/24 David Jencks <david_jencks@yahoo.com>

> great news! congratulations!
>
> david jencks
>
>
> On Jan 23, 2010, at 6:55 PM, Jarek Gawor wrote:
>
>  Hi all,
>>
>> Today I checked in an initial version of the rfc66 extender that can
>> actually deploy WABs with simple servlets and jsps. There is still
>> much work to be done (for example updating the Jasper module builder
>> to work with Bundles) but simple stuff seems to be working. In fact
>> with David's recent JNDI (rfc142) integration work I was able to
>> deploy the Aries blog sample in Geronimo.
>>
>> Here are the steps I took to run the sample:
>>
>> 1) Build latest blog sample in Aries
>> 2) Build latest Geronimo trunk
>> 3) cd plugins/wab/web-tomcat-server/target/assembly (or
>> web-jetty-server if you prefer)
>> 4) Create database for blog sample using blogDB.sql from blog sample:
>>
>> java -cp
>> repository/org/apache/geronimo/bundles/derby-all/10.4.2.0-SNAPSHOT/derby-all-10.4.2.0-SNAPSHOT.jar
>> org.apache.derby.tools.ij
>> <aries>/samples/blog-sample/blog-assembly/target/blogDB.sql
>>
>> 5) Move created blogDB directory to
>> plugins/wab/web-tomcat-server/target/assembly/var/derby
>>
>> 6) Start server:
>>
>> ./bin/geronimo -l
>>
>> 7) Install and start all the blog sample bundles (blog-api-1.0.0.jar,
>> blog-persistence-1.0.0.jar, blog-1.0.0.jar, blog-servlet-1.0.0.jar)
>> using the karaf console.
>>
>> 8) Once you start the blog-servlet-1.0.0.jar bundle, the WAB will be
>> deployed and you should be able to access http://localhost:8080/blog.
>> And if everything is running right you should be able to add new blog
>> entries, etc.
>>
>> Enjoy,
>> Jarek
>>
>
>


-- 
Best Regards,

Delos

Mime
View raw message