Karan, thanks for updating the (Tomcat) New Instructions page (I just needed to 
know
how you did the lookup), however:

Placing the restrictions up top like that will just scare off users - the
implication is that it won't work on Windows. I think the instructions can be
reduced to a few simple steps (and you should probably skip all the Tomcat
installation steps)

1) unzip openejb-tomcat-3.x.x-SNAPSHOT-bin.zip into the Tomcat's webapps folder
(btw no need to start/stop Tomcat at this point)

2) Non-Windows users: go to http://localhost:8080/openejb/install

   Windows users: a) remove Tomcat's lib/annotations-api.jar (add an 
explanation here)
                  b) edit Tomcat's bin/catalina.bat file ....

3) restart Tomcat

caveats:
- There is no security integration
- Injection is work in progress.. i.e. @EJB, @Resource, @PersistenceContext...

As for the remark "support older versions of Tomcat if there were enough 
demand, but
it is doubtful there will be since OpenEJB 3 requires Java5", well Tomcat 5.5 
runs
on Java5 and is still quite prevalent (many sites/hosting providers will not 
move to
Tomcat 6 until 6.1).

So I gave it a try on 5.5 and got the "LifeCyle" class (from catalina.jar) not 
found
via the webapp classloader. Probably a dumb question, but could 5.5 be 
supported as
well if we added all the OpenEJB jars into Tomcat's lib folder? Which begs the
question, is OpenEJB a feature request to be streamlined into Tomcat in the 
future?
And what exactly is the story behind annotations-api.jar at Tomcat anyway (why 
is
there)?

-Dario


> Oops,
>
> Sorry, forgot to paste the url for the instructions
>
> openejb-tomcat-3.0.0-SNAPSHOT-bin.zip
>
> On 9/13/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
>> Dario,
>>
>> Here are the instructions. This also contains an example application.
>>
>> On 9/13/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
>> > > Karan, can you show me your example? I still didn't get jndi lookup to 
>> > > work
>> yet.
>> >
>> > Dario,
>> >
>> > Will document it on the wiki and send you the link.
>> > --
>> > Karan Singh Malhi
>> >
>>
>>
>> --
>> Karan Singh Malhi
>>
>
>
> --
> Karan Singh Malhi
>


Reply via email to