You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Karan Malhi <ka...@gmail.com> on 2007/09/12 05:53:20 UTC
website on IE 7
Try opening our home page on IE 7. Appears really weird.
--
Karan Singh Malhi
Re: website on IE 7
Posted by David Blevins <da...@visi.com>.
On Sep 12, 2007, at 4:58 AM, Manu George wrote:
> Its not coming correctly in IE6 as well. Probably we can add a
> disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
>
> Regards
> Manu
>
> On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
>> Try opening our home page on IE 7. Appears really weird.
>>
I am happy to report that now half the people that visit our site
won't see an unreadable mess... i.e. I recreated the template and
stylesheet bit by bit so that it works in IE also. According to our
google analytics data, 42% of the browsers to view our site over the
last few months were IE. Ouch....
On the positive site, we've just double the number of people who can
read our docs!
-David
Re: website on IE 7
Posted by Mohammad Nour El-Din <no...@gmail.com>.
You are right on both points, I will never be embarassed again :D
On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
>
> > Just a stupid question, what is the Quirks mode ????
> I don't think it is a stupid question. Personally, I never think that
> a question is stupid. That's why you will never see me holding back on
> my questions, I simply post them on the list and I think I am better
> off than the people who don't ask because they feel embarrassed to
> ask. In the end, I would know more if I ask ;).
> Most of the people do not know about quirks mode. I didn't know about
> it either. One of the students pointed this out in a class I was
> teaching. You learn so much when you teach ;)
>
> --
> Karan Singh Malhi
>
--
Thanks
- Mohammad Nour
Re: website on IE 7
Posted by Karan Malhi <ka...@gmail.com>.
> Just a stupid question, what is the Quirks mode ????
I don't think it is a stupid question. Personally, I never think that
a question is stupid. That's why you will never see me holding back on
my questions, I simply post them on the list and I think I am better
off than the people who don't ask because they feel embarrassed to
ask. In the end, I would know more if I ask ;).
Most of the people do not know about quirks mode. I didn't know about
it either. One of the students pointed this out in a class I was
teaching. You learn so much when you teach ;)
--
Karan Singh Malhi
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dario Laverde <da...@nycjava.net>.
> What do you mean by bean look-ups, u mean assign JNDI names for them ?
I mean I'm using
@EJB private static MyBean mybean;
on the client
Just wondering if I'm missing any additional configuration, yes jndi properties
somewhere.
BTW I'm writing up a how-to on OpenEJB+Tomcat (specifically the multi-instance and
not the single instance of OpenEJB in Tomcat) I was about to post it on my blog
assuming it would've worked per instructions but I'm having problems.
thanks,
Dario
> On 9/12/07, Dario Laverde <da...@nycjava.net> wrote:
>>
>> hi all,
>>
>> Good to see 3.1 almost there. But I'm having some problem per the
>> available docs:
>>
>> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes
>> below)
>>
>> Configure OpenEJB per webapp requires the following steps:
>>
>> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp
>> that is
>> to use EJBs deployed onto OpenEJB
>> Add the loader servlet definition to the WEB-INF/web.xml file of the
>> webapp with a
>> valid value for openejb.home init-param.
>> <servlet>
>> <servlet-name>loader</servlet-name>
>> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
>> <init-param>
>> <param-name>openejb.loader</param-name>
>> <param-value>tomcat-webapp</param-value>
>> </init-param>
>> <init-param>
>> <param-name>openejb.home</param-name>
>> <param-value>...define OPENEJB_HOME here...</param-value>
>>
>> note: do we need openejb.home here?
>>
>> </init-param>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>>
>> Should you define other OpenEJB configuration settings use another
>> <init-param>
>> stanza. It's just for that. These parameters are directly passed to
>> OpenEJB at
>> initialization of the servlet. Think about the loader servlet as a bridge
>> between
>> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>>
>> At startup OpenEJB prints out all of the configuration settings to Tomcat
>> logs:
>>
>> INFO: Installing web application at context path /openejb from URL
>> file:C:\webapps\openejb
>> OpenEJB init-params:
>> param-name: openejb.home, param-value: c:\openejb
>> param-name: openejb.configuration, param-value: conf\openejb.cfg
>> param-name: openejb.base, param-value:
>> c:\webapps\openejb\WEB-INF\openejb
>> param-name: openejb.loader, param-value: tomcat-webapp
>> Start up Tomcat and have fun with the EJBs
>>
>>
>> I looked at all the logs - no luck, do I also need to configure bean
>> lookups? I
>> thought that was done automatically..
>>
>> thanks,
>> Dario
>>
>>
>
>
> --
> Thanks
> - Mohammad Nour
>
Re: can't get "collapsed ear" / webapp based ejbs working
Posted by Mohammad Nour El-Din <no...@gmail.com>.
What do you mean by bean look-ups, u mean assign JNDI names for them ?
On 9/12/07, Dario Laverde <da...@nycjava.net> wrote:
>
> hi all,
>
> Good to see 3.1 almost there. But I'm having some problem per the
> available docs:
>
> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes
> below)
>
> Configure OpenEJB per webapp requires the following steps:
>
> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp
> that is
> to use EJBs deployed onto OpenEJB
> Add the loader servlet definition to the WEB-INF/web.xml file of the
> webapp with a
> valid value for openejb.home init-param.
> <servlet>
> <servlet-name>loader</servlet-name>
> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
> <init-param>
> <param-name>openejb.loader</param-name>
> <param-value>tomcat-webapp</param-value>
> </init-param>
> <init-param>
> <param-name>openejb.home</param-name>
> <param-value>...define OPENEJB_HOME here...</param-value>
>
> note: do we need openejb.home here?
>
> </init-param>
> <load-on-startup>0</load-on-startup>
> </servlet>
>
> Should you define other OpenEJB configuration settings use another
> <init-param>
> stanza. It's just for that. These parameters are directly passed to
> OpenEJB at
> initialization of the servlet. Think about the loader servlet as a bridge
> between
> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>
> At startup OpenEJB prints out all of the configuration settings to Tomcat
> logs:
>
> INFO: Installing web application at context path /openejb from URL
> file:C:\webapps\openejb
> OpenEJB init-params:
> param-name: openejb.home, param-value: c:\openejb
> param-name: openejb.configuration, param-value: conf\openejb.cfg
> param-name: openejb.base, param-value:
> c:\webapps\openejb\WEB-INF\openejb
> param-name: openejb.loader, param-value: tomcat-webapp
> Start up Tomcat and have fun with the EJBs
>
>
> I looked at all the logs - no luck, do I also need to configure bean
> lookups? I
> thought that was done automatically..
>
> thanks,
> Dario
>
>
--
Thanks
- Mohammad Nour
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dain Sundstrom <da...@iq80.com>.
On Sep 12, 2007, at 1:48 PM, Dain Sundstrom wrote:
> Restrictions
> o The installer only runs on Unix. Windows support will require a
> tweaked catalina.bat and a work around for Windows file locking.
> Cygwin won't work either and will require even more work arounds in
> the Unix code to deal with pathing problems.
> o There is no uninstaller. Currently, the installer deletes the
> non-compliant Tomcat annotations-api.jar so in addition to backing
> out the changes, you need to restore this file.
> o Annotations in servlets to OpenEJB resources (EJBs,
> PersistenceUnits, Topics, Queues, DataSources, etc) don't resolve.
> You will have to use global JNDI for the time being.
> o There is no security integration. I suggest you don't even try
> using secured EJB in Tomcat embedded mode yet.
o We only support Tomcat 6 and I suggest you use the newest version
as I haven't tested any older 6 revisions. We could potentially
support older versions of Tomcat if there were enough demand, but I
doubt there will be since OpenEJB 3 requires Java5.
-dain
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dain Sundstrom <da...@iq80.com>.
The installer is still a work in progress (I'm working on it today),
but the currently checked in version works fine on unix.
David's process is correct, but here are the exact steps:
1. copy openejb-tomcat-3.0.0-SNAPSHOT-bin.zip to your Tomcat webapps
directory
2. make sure Tomcat is running
3. visit http://localhost:8080/openejb/installer
4. Assuming you don't get any errors, reboot tomcat
At this point OpenEJB will be installed just like the manual
instructions (http://cwiki.apache.org/confluence/display/OPENEJB/New
+Instructions). As for your applications, simply include EJBs in
your war WEB-INF/classes or WEB-INF/lib/*.jar using either annotated
classes or via a META-INF/ejb-jar.xml file.
Restrictions
o The installer only runs on Unix. Windows support will require a
tweaked catalina.bat and a work around for Windows file locking.
Cygwin won't work either and will require even more work arounds in
the Unix code to deal with pathing problems.
o There is no uninstaller. Currently, the installer deletes the non-
compliant Tomcat annotations-api.jar so in addition to backing out
the changes, you need to restore this file.
o Annotations in servlets to OpenEJB resources (EJBs,
PersistenceUnits, Topics, Queues, DataSources, etc) don't resolve.
You will have to use global JNDI for the time being.
o There is no security integration. I suggest you don't even try
using secured EJB in Tomcat embedded mode yet.
Hope this helps,
-dain
On Sep 12, 2007, at 1:10 PM, Dario Laverde wrote:
> Ah that helps clarify things, thanks David.
>
> And was the classloader issue with Tomcat 6 resolved as well? (you
> had mentioned
> there was one back in April on the Tomcat list).
>
> sorry for the double post,
> Dario
>
>> The OpenEJB Tomcat support has been reworked and does support
>> collapsed ears. Actually it supports both the old style (ejb
>> globally available) and new (collapsed ear) in the same setup. The
>> result though is that the docs are way out of sync and there are
>> JIRAs to basically rewrite the Tomcat section of the docs.
>>
>> The new integration basically involves putting the war file from
>> assembly/openejb-tomcat into Tomcat server where there is an auto
>> installer that performs the required steps and spits the output out.
>> Dain, wrote the auto installer servlet just last week -- i've never
>> run it.
>>
>> Dain, did I get the details more or less right?
>>
>> -David
>>
>> On Sep 12, 2007, at 9:40 AM, Dario Laverde wrote:
>>
>>> hi all,
>>>
>>> Good to see 3.1 almost there. But I'm having some problem per the
>>> available docs:
>>>
>>> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some
>>> notes below)
>>>
>>> Configure OpenEJB per webapp requires the following steps:
>>>
>>> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the
>>> webapp that is
>>> to use EJBs deployed onto OpenEJB
>>> Add the loader servlet definition to the WEB-INF/web.xml file of
>>> the webapp with a
>>> valid value for openejb.home init-param.
>>> <servlet>
>>> <servlet-name>loader</servlet-name>
>>> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
>>> <init-param>
>>> <param-name>openejb.loader</param-name>
>>> <param-value>tomcat-webapp</param-value>
>>> </init-param>
>>> <init-param>
>>> <param-name>openejb.home</param-name>
>>> <param-value>...define OPENEJB_HOME here...</param-value>
>>>
>>> note: do we need openejb.home here?
>>>
>>> </init-param>
>>> <load-on-startup>0</load-on-startup>
>>> </servlet>
>>>
>>> Should you define other OpenEJB configuration settings use another
>>> <init-param>
>>> stanza. It's just for that. These parameters are directly passed to
>>> OpenEJB at
>>> initialization of the servlet. Think about the loader servlet as a
>>> bridge between
>>> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>>>
>>> At startup OpenEJB prints out all of the configuration settings to
>>> Tomcat logs:
>>>
>>> INFO: Installing web application at context path /openejb from URL
>>> file:C:\webapps\openejb
>>> OpenEJB init-params:
>>> param-name: openejb.home, param-value: c:\openejb
>>> param-name: openejb.configuration, param-value: conf
>>> \openejb.cfg
>>> param-name: openejb.base, param-value: c:\webapps\openejb
>>> \WEB-INF\openejb
>>> param-name: openejb.loader, param-value: tomcat-webapp
>>> Start up Tomcat and have fun with the EJBs
>>>
>>>
>>> I looked at all the logs - no luck, do I also need to configure
>>> bean lookups? I
>>> thought that was done automatically..
>>>
>>> thanks,
>>> Dario
>>>
>>>
>>
>>
>
>
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dario Laverde <da...@nycjava.net>.
Ah that helps clarify things, thanks David.
And was the classloader issue with Tomcat 6 resolved as well? (you had mentioned
there was one back in April on the Tomcat list).
sorry for the double post,
Dario
> The OpenEJB Tomcat support has been reworked and does support
> collapsed ears. Actually it supports both the old style (ejb
> globally available) and new (collapsed ear) in the same setup. The
> result though is that the docs are way out of sync and there are
> JIRAs to basically rewrite the Tomcat section of the docs.
>
> The new integration basically involves putting the war file from
> assembly/openejb-tomcat into Tomcat server where there is an auto
> installer that performs the required steps and spits the output out.
> Dain, wrote the auto installer servlet just last week -- i've never
> run it.
>
> Dain, did I get the details more or less right?
>
> -David
>
> On Sep 12, 2007, at 9:40 AM, Dario Laverde wrote:
>
>> hi all,
>>
>> Good to see 3.1 almost there. But I'm having some problem per the
>> available docs:
>>
>> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some
>> notes below)
>>
>> Configure OpenEJB per webapp requires the following steps:
>>
>> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the
>> webapp that is
>> to use EJBs deployed onto OpenEJB
>> Add the loader servlet definition to the WEB-INF/web.xml file of
>> the webapp with a
>> valid value for openejb.home init-param.
>> <servlet>
>> <servlet-name>loader</servlet-name>
>> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
>> <init-param>
>> <param-name>openejb.loader</param-name>
>> <param-value>tomcat-webapp</param-value>
>> </init-param>
>> <init-param>
>> <param-name>openejb.home</param-name>
>> <param-value>...define OPENEJB_HOME here...</param-value>
>>
>> note: do we need openejb.home here?
>>
>> </init-param>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>>
>> Should you define other OpenEJB configuration settings use another
>> <init-param>
>> stanza. It's just for that. These parameters are directly passed to
>> OpenEJB at
>> initialization of the servlet. Think about the loader servlet as a
>> bridge between
>> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>>
>> At startup OpenEJB prints out all of the configuration settings to
>> Tomcat logs:
>>
>> INFO: Installing web application at context path /openejb from URL
>> file:C:\webapps\openejb
>> OpenEJB init-params:
>> param-name: openejb.home, param-value: c:\openejb
>> param-name: openejb.configuration, param-value: conf
>> \openejb.cfg
>> param-name: openejb.base, param-value: c:\webapps\openejb
>> \WEB-INF\openejb
>> param-name: openejb.loader, param-value: tomcat-webapp
>> Start up Tomcat and have fun with the EJBs
>>
>>
>> I looked at all the logs - no luck, do I also need to configure
>> bean lookups? I
>> thought that was done automatically..
>>
>> thanks,
>> Dario
>>
>>
>
>
Re: can't get "collapsed ear" / webapp based ejbs working
Posted by David Blevins <da...@visi.com>.
The OpenEJB Tomcat support has been reworked and does support
collapsed ears. Actually it supports both the old style (ejb
globally available) and new (collapsed ear) in the same setup. The
result though is that the docs are way out of sync and there are
JIRAs to basically rewrite the Tomcat section of the docs.
The new integration basically involves putting the war file from
assembly/openejb-tomcat into Tomcat server where there is an auto
installer that performs the required steps and spits the output out.
Dain, wrote the auto installer servlet just last week -- i've never
run it.
Dain, did I get the details more or less right?
-David
On Sep 12, 2007, at 9:40 AM, Dario Laverde wrote:
> hi all,
>
> Good to see 3.1 almost there. But I'm having some problem per the
> available docs:
>
> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some
> notes below)
>
> Configure OpenEJB per webapp requires the following steps:
>
> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the
> webapp that is
> to use EJBs deployed onto OpenEJB
> Add the loader servlet definition to the WEB-INF/web.xml file of
> the webapp with a
> valid value for openejb.home init-param.
> <servlet>
> <servlet-name>loader</servlet-name>
> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
> <init-param>
> <param-name>openejb.loader</param-name>
> <param-value>tomcat-webapp</param-value>
> </init-param>
> <init-param>
> <param-name>openejb.home</param-name>
> <param-value>...define OPENEJB_HOME here...</param-value>
>
> note: do we need openejb.home here?
>
> </init-param>
> <load-on-startup>0</load-on-startup>
> </servlet>
>
> Should you define other OpenEJB configuration settings use another
> <init-param>
> stanza. It's just for that. These parameters are directly passed to
> OpenEJB at
> initialization of the servlet. Think about the loader servlet as a
> bridge between
> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>
> At startup OpenEJB prints out all of the configuration settings to
> Tomcat logs:
>
> INFO: Installing web application at context path /openejb from URL
> file:C:\webapps\openejb
> OpenEJB init-params:
> param-name: openejb.home, param-value: c:\openejb
> param-name: openejb.configuration, param-value: conf
> \openejb.cfg
> param-name: openejb.base, param-value: c:\webapps\openejb
> \WEB-INF\openejb
> param-name: openejb.loader, param-value: tomcat-webapp
> Start up Tomcat and have fun with the EJBs
>
>
> I looked at all the logs - no luck, do I also need to configure
> bean lookups? I
> thought that was done automatically..
>
> thanks,
> Dario
>
>
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dario Laverde <da...@nycjava.net>.
Yes I did but I assumed this was for the single instance mode and not the per-webapp
instructions - is there an update for that one? Both the main site and the
confluence site have not updated the webapps-based-ejbs page (both are the same and
reference openejb 1.0) - has this changed since e.g. Tomcat 6.0 support?
thanks,
Dario
> Did you try the instructions here
> http://cwiki.apache.org/confluence/display/OPENEJB/New+Instructions
>
> On 9/12/07, Dario Laverde <da...@nycjava.net> wrote:
>> hi all,
>>
>> Good to see 3.1 almost there. But I'm having some problem per the available docs:
>>
>> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes below)
>>
>> Configure OpenEJB per webapp requires the following steps:
>>
>> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp that is
>> to use EJBs deployed onto OpenEJB
>> Add the loader servlet definition to the WEB-INF/web.xml file of the webapp with a
>> valid value for openejb.home init-param.
>> <servlet>
>> <servlet-name>loader</servlet-name>
>> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
>> <init-param>
>> <param-name>openejb.loader</param-name>
>> <param-value>tomcat-webapp</param-value>
>> </init-param>
>> <init-param>
>> <param-name>openejb.home</param-name>
>> <param-value>...define OPENEJB_HOME here...</param-value>
>>
>> note: do we need openejb.home here?
>>
>> </init-param>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>>
>> Should you define other OpenEJB configuration settings use another <init-param>
>> stanza. It's just for that. These parameters are directly passed to OpenEJB at
>> initialization of the servlet. Think about the loader servlet as a bridge between
>> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>>
>> At startup OpenEJB prints out all of the configuration settings to Tomcat logs:
>>
>> INFO: Installing web application at context path /openejb from URL
>> file:C:\webapps\openejb
>> OpenEJB init-params:
>> param-name: openejb.home, param-value: c:\openejb
>> param-name: openejb.configuration, param-value: conf\openejb.cfg
>> param-name: openejb.base, param-value: c:\webapps\openejb\WEB-INF\openejb
>> param-name: openejb.loader, param-value: tomcat-webapp
>> Start up Tomcat and have fun with the EJBs
>>
>>
>> I looked at all the logs - no luck, do I also need to configure bean lookups? I
>> thought that was done automatically..
>>
>> thanks,
>> Dario
>>
>>
>
>
> --
> Karan Singh Malhi
>
Re: can't get 'collapsed ear' / webapp based ejbs working
Posted by Dario Laverde <da...@nycjava.net>.
Yes I did but I assumed this was for the single instance mode and the per webapp
instructions - is there an update for that one? Both the main site and the
confluence site have not updated the webapps-based-ejbs page (both are the same and
reference openejb 1.0) - has this changed since?
thanks,
Dario
> Did you try the instructions here
> http://cwiki.apache.org/confluence/display/OPENEJB/New+Instructions
>
> On 9/12/07, Dario Laverde <da...@nycjava.net> wrote:
>> hi all,
>>
>> Good to see 3.1 almost there. But I'm having some problem per the available docs:
>>
>> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes below)
>>
>> Configure OpenEJB per webapp requires the following steps:
>>
>> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp that is
>> to use EJBs deployed onto OpenEJB
>> Add the loader servlet definition to the WEB-INF/web.xml file of the webapp with a
>> valid value for openejb.home init-param.
>> <servlet>
>> <servlet-name>loader</servlet-name>
>> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
>> <init-param>
>> <param-name>openejb.loader</param-name>
>> <param-value>tomcat-webapp</param-value>
>> </init-param>
>> <init-param>
>> <param-name>openejb.home</param-name>
>> <param-value>...define OPENEJB_HOME here...</param-value>
>>
>> note: do we need openejb.home here?
>>
>> </init-param>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>>
>> Should you define other OpenEJB configuration settings use another <init-param>
>> stanza. It's just for that. These parameters are directly passed to OpenEJB at
>> initialization of the servlet. Think about the loader servlet as a bridge between
>> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>>
>> At startup OpenEJB prints out all of the configuration settings to Tomcat logs:
>>
>> INFO: Installing web application at context path /openejb from URL
>> file:C:\webapps\openejb
>> OpenEJB init-params:
>> param-name: openejb.home, param-value: c:\openejb
>> param-name: openejb.configuration, param-value: conf\openejb.cfg
>> param-name: openejb.base, param-value: c:\webapps\openejb\WEB-INF\openejb
>> param-name: openejb.loader, param-value: tomcat-webapp
>> Start up Tomcat and have fun with the EJBs
>>
>>
>> I looked at all the logs - no luck, do I also need to configure bean lookups? I
>> thought that was done automatically..
>>
>> thanks,
>> Dario
>>
>>
>
>
> --
> Karan Singh Malhi
>
Re: can't get "collapsed ear" / webapp based ejbs working
Posted by Karan Malhi <ka...@gmail.com>.
Did you try the instructions here
http://cwiki.apache.org/confluence/display/OPENEJB/New+Instructions
On 9/12/07, Dario Laverde <da...@nycjava.net> wrote:
> hi all,
>
> Good to see 3.1 almost there. But I'm having some problem per the available docs:
>
> Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes below)
>
> Configure OpenEJB per webapp requires the following steps:
>
> Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp that is
> to use EJBs deployed onto OpenEJB
> Add the loader servlet definition to the WEB-INF/web.xml file of the webapp with a
> valid value for openejb.home init-param.
> <servlet>
> <servlet-name>loader</servlet-name>
> <servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
> <init-param>
> <param-name>openejb.loader</param-name>
> <param-value>tomcat-webapp</param-value>
> </init-param>
> <init-param>
> <param-name>openejb.home</param-name>
> <param-value>...define OPENEJB_HOME here...</param-value>
>
> note: do we need openejb.home here?
>
> </init-param>
> <load-on-startup>0</load-on-startup>
> </servlet>
>
> Should you define other OpenEJB configuration settings use another <init-param>
> stanza. It's just for that. These parameters are directly passed to OpenEJB at
> initialization of the servlet. Think about the loader servlet as a bridge between
> OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
>
> At startup OpenEJB prints out all of the configuration settings to Tomcat logs:
>
> INFO: Installing web application at context path /openejb from URL
> file:C:\webapps\openejb
> OpenEJB init-params:
> param-name: openejb.home, param-value: c:\openejb
> param-name: openejb.configuration, param-value: conf\openejb.cfg
> param-name: openejb.base, param-value: c:\webapps\openejb\WEB-INF\openejb
> param-name: openejb.loader, param-value: tomcat-webapp
> Start up Tomcat and have fun with the EJBs
>
>
> I looked at all the logs - no luck, do I also need to configure bean lookups? I
> thought that was done automatically..
>
> thanks,
> Dario
>
>
--
Karan Singh Malhi
can't get "collapsed ear" / webapp based ejbs working
Posted by Dario Laverde <da...@nycjava.net>.
hi all,
Good to see 3.1 almost there. But I'm having some problem per the available docs:
Can you review these? I tried both on Tomcat 5.5 and 6.0 (some notes below)
Configure OpenEJB per webapp requires the following steps:
Copy the openejb-loader-*.jar into the WEB-INF/lib directory of the webapp that is
to use EJBs deployed onto OpenEJB
Add the loader servlet definition to the WEB-INF/web.xml file of the webapp with a
valid value for openejb.home init-param.
<servlet>
<servlet-name>loader</servlet-name>
<servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
<init-param>
<param-name>openejb.loader</param-name>
<param-value>tomcat-webapp</param-value>
</init-param>
<init-param>
<param-name>openejb.home</param-name>
<param-value>...define OPENEJB_HOME here...</param-value>
note: do we need openejb.home here?
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
Should you define other OpenEJB configuration settings use another <init-param>
stanza. It's just for that. These parameters are directly passed to OpenEJB at
initialization of the servlet. Think about the loader servlet as a bridge between
OpenEJB's world (EJBs) and Tomcat's world (servlets, JSPs).
At startup OpenEJB prints out all of the configuration settings to Tomcat logs:
INFO: Installing web application at context path /openejb from URL
file:C:\webapps\openejb
OpenEJB init-params:
param-name: openejb.home, param-value: c:\openejb
param-name: openejb.configuration, param-value: conf\openejb.cfg
param-name: openejb.base, param-value: c:\webapps\openejb\WEB-INF\openejb
param-name: openejb.loader, param-value: tomcat-webapp
Start up Tomcat and have fun with the EJBs
I looked at all the logs - no luck, do I also need to configure bean lookups? I
thought that was done automatically..
thanks,
Dario
Re: website on IE 7
Posted by Mohammad Nour El-Din <no...@gmail.com>.
no :) I already found it, Google is gr8 u know ;)
On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
>
> Sorry,
>
> I was in a hurry earlier, here is a good explanation of quirks mode
>
> http://www.quirksmode.org/css/quirksmode.html
>
> On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > If you do not specify the doctype in an html document, IE goes into
> > quriks mode, i.e it behaves as if it was IE 4, i.e. its own rules for
> > CSS and dom. More info at either quirksmode.net or quirksmode.org
> > (forgot which one it is)
> >
> > On 9/12/07, Mohammad Nour El-Din <no...@gmail.com> wrote:
> > > Just a stupid question, what is the Quirks mode ????
> > >
> > > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > > >
> > > > Hmm..I wonder if our website is causing IE to run in Quirks Mode.
> > > > Should'nt do that, because we do declare the doctype at the top.
> Will
> > > > have to look at it more closely.
> > > >
> > > > On 9/12/07, Manu George <ma...@gmail.com> wrote:
> > > > > Its not coming correctly in IE6 as well. Probably we can add a
> > > > > disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
> > > > >
> > > > > Regards
> > > > > Manu
> > > > >
> > > > > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > > > > > Try opening our home page on IE 7. Appears really weird.
> > > > > >
> > > > > > --
> > > > > > Karan Singh Malhi
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Karan Singh Malhi
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > > - Mohammad Nour
> > >
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>
> --
> Karan Singh Malhi
>
--
Thanks
- Mohammad Nour
Re: website on IE 7
Posted by Karan Malhi <ka...@gmail.com>.
Sorry,
I was in a hurry earlier, here is a good explanation of quirks mode
http://www.quirksmode.org/css/quirksmode.html
On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> If you do not specify the doctype in an html document, IE goes into
> quriks mode, i.e it behaves as if it was IE 4, i.e. its own rules for
> CSS and dom. More info at either quirksmode.net or quirksmode.org
> (forgot which one it is)
>
> On 9/12/07, Mohammad Nour El-Din <no...@gmail.com> wrote:
> > Just a stupid question, what is the Quirks mode ????
> >
> > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > >
> > > Hmm..I wonder if our website is causing IE to run in Quirks Mode.
> > > Should'nt do that, because we do declare the doctype at the top. Will
> > > have to look at it more closely.
> > >
> > > On 9/12/07, Manu George <ma...@gmail.com> wrote:
> > > > Its not coming correctly in IE6 as well. Probably we can add a
> > > > disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
> > > >
> > > > Regards
> > > > Manu
> > > >
> > > > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > > > > Try opening our home page on IE 7. Appears really weird.
> > > > >
> > > > > --
> > > > > Karan Singh Malhi
> > > > >
> > > >
> > >
> > >
> > > --
> > > Karan Singh Malhi
> > >
> >
> >
> >
> > --
> > Thanks
> > - Mohammad Nour
> >
>
>
> --
> Karan Singh Malhi
>
--
Karan Singh Malhi
Re: website on IE 7
Posted by Karan Malhi <ka...@gmail.com>.
If you do not specify the doctype in an html document, IE goes into
quriks mode, i.e it behaves as if it was IE 4, i.e. its own rules for
CSS and dom. More info at either quirksmode.net or quirksmode.org
(forgot which one it is)
On 9/12/07, Mohammad Nour El-Din <no...@gmail.com> wrote:
> Just a stupid question, what is the Quirks mode ????
>
> On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> >
> > Hmm..I wonder if our website is causing IE to run in Quirks Mode.
> > Should'nt do that, because we do declare the doctype at the top. Will
> > have to look at it more closely.
> >
> > On 9/12/07, Manu George <ma...@gmail.com> wrote:
> > > Its not coming correctly in IE6 as well. Probably we can add a
> > > disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
> > >
> > > Regards
> > > Manu
> > >
> > > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > > > Try opening our home page on IE 7. Appears really weird.
> > > >
> > > > --
> > > > Karan Singh Malhi
> > > >
> > >
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>
>
> --
> Thanks
> - Mohammad Nour
>
--
Karan Singh Malhi
Re: website on IE 7
Posted by Mohammad Nour El-Din <no...@gmail.com>.
Just a stupid question, what is the Quirks mode ????
On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
>
> Hmm..I wonder if our website is causing IE to run in Quirks Mode.
> Should'nt do that, because we do declare the doctype at the top. Will
> have to look at it more closely.
>
> On 9/12/07, Manu George <ma...@gmail.com> wrote:
> > Its not coming correctly in IE6 as well. Probably we can add a
> > disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
> >
> > Regards
> > Manu
> >
> > On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > > Try opening our home page on IE 7. Appears really weird.
> > >
> > > --
> > > Karan Singh Malhi
> > >
> >
>
>
> --
> Karan Singh Malhi
>
--
Thanks
- Mohammad Nour
Re: website on IE 7
Posted by Karan Malhi <ka...@gmail.com>.
Hmm..I wonder if our website is causing IE to run in Quirks Mode.
Should'nt do that, because we do declare the doctype at the top. Will
have to look at it more closely.
On 9/12/07, Manu George <ma...@gmail.com> wrote:
> Its not coming correctly in IE6 as well. Probably we can add a
> disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
>
> Regards
> Manu
>
> On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> > Try opening our home page on IE 7. Appears really weird.
> >
> > --
> > Karan Singh Malhi
> >
>
--
Karan Singh Malhi
Re: website on IE 7
Posted by Manu George <ma...@gmail.com>.
Its not coming correctly in IE6 as well. Probably we can add a
disclaimer (Best viewed on Firefox and Safari). Just Kidding :)
Regards
Manu
On 9/12/07, Karan Malhi <ka...@gmail.com> wrote:
> Try opening our home page on IE 7. Appears really weird.
>
> --
> Karan Singh Malhi
>