Hi P
I am using EJB in gernomimo2.2 with tomcat, lcds express
The issues i encountered
- flex.war was not deploying in Geronimo properly.
flex-jsp-bootstrap.jar contained a tld file that could not b e parsed
by Geronimo's xml parser - solution: remove jar, live without custom tags
- OpenEjb cannot handle huge entity beans. - solution:make your
beans/tables smaller until next version in which its reported to be
fixed(avg size i think was about 20 columns)
- Google for FlexEJBFactory this is jar that is needed to call ejbs
directly from flex the jar is written for ejb2.1 but some guy has
updated for 3.0. - Solution throw jar in with other flex jars.
- When you list your ejb in remote-config use the prefix
"java:comp/env/ejb/" this is how Geronimo looks up in jndi
- Add in this xml snippet into service-config" <factories>
<factory id="ejb" class="com.adobe.ac.ejb.EJBFactory" />
</factories>"
- If your using eclipse and the servers plugin i recommend you write
your own ant script for deploying the one in eclipse is shite.
- Oh yeah there an eclipses plugin of Geronimo on apaches site.
Hope this helps
Thanks
Yusuf
On Fri, Feb 15, 2008 at 8:27 PM, [p e r c e p t i c o n] <
[EMAIL PROTECTED]> wrote:
> Hi Folks...
> Please pardon the X-POST ....but i really need some help here...i've been
> battleing this for a week now and can't find any ansers
>
> basically what Ive done is configure everything correctly(hopefully) and
> created a facade that uses my EJB's (stateless beans )
> and then tried to access that facade with Flex and get this error
>
> RPC Fault faultString="java.lang.NullPointerException : null" faultCode="
> Server.Processing" faultDetail="null"]
> at mx.rpc::AbstractInvoker/
> http://www.adobe.com/2006/flex/mx/internal::faultHandler()<http://www.adobe.com/2006/flex/mx/internal::faultHandler%28%29>
> [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:223]
> at mx.rpc::Responder/fault
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
> at mx.rpc::AsyncRequest/fault
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110]
> at
> NetConnectionMessageResponder/statusHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:531]
> at mx.messaging::MessageResponder/status
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:229]
>
> has anyone had this problem? can anyone give me some pointers using EJB3
> and Flex...
>
> Thanks Much!
>
> p
>
>