[JBoss-user] [EJB 3.0] - Re: Attaching and dettaching EJB3 Entities
What I feel is some kind of contract violation in this implementaion (im not an ejb3 expert) but when for example using lazy loading strategy and accessing form a remote client you got an hibernate exception I feel that my client is not anymore indipendent from the underlayer implementation. Ejb3 has been announce as back to "Plain Old Java Object" but this in the reality is not true. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934333#3934333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934333 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Attaching and dettaching EJB3 Entities
"[EMAIL PROTECTED]" wrote : This is normal. Put the jars on the client. Normal? why the client should know about _hibernate_ when the object should a POJO? only to got org.hibernate.LazyInitializationException ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934179#3934179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934179 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - deleted entity passed to persist
In a test case i create a entity bean using the remote interface of a FacadeBean then the test is trying to delete the same entity throught a (SLSB) exposed as Web Service but the operation fail with | javax.ejb.EJBTransactionRolledbackException: org.hibernate.ObjectDeletedException: deleted entity passed to persist: [net.server.entities.Plan#] | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:89) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196) | The create/deletion works using the Facade only View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927724#3927724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927724 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: When to use EAGER / LAZY
if you are using the remote interface when the bean is serialized the field files is null and jboss does not initialize the field because you ask to be lazy, peraphs if you client lives in the container using @local interface the things must work View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927684#3927684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927684 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: Receiving Stream
Thanks for the links but I could not find any hit on how to get a stream... the chapter 5 Sending a Stream explain how to Send but how to receive one ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926376#3926376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926376 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Receiving Stream
Hi, can someone could point me or give me some hit on how to receive a stream using jbossremoting ? thx -p View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926024#3926024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926024 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Tunnelling ejb3 transport into HTTP
Hi does anyone has tried to tunnel the ejb3 calls into htttp using jboss.remoting.trasport.servlet... ? Following the jboss-remote docs i got a ClassNotFoundException when im trying to deploy the servlet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924259#3924259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924259 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Cascade Delete on 3 Entities not working
I've 3 Entities A have a @OneToMany (cascade = CascadeType.ALL,...) with B B have a @OneToMany (cascade = CascadeType.ALL,...) with C If I create A and B then i can delete A (B is also deleted) if I create B and C then I delete B (C is also deleted) but: if I Create A, B and C then I got and org.hibernate.exception.ConstraintViolationException on B when I try to delete A in the logs seam that hibernate is not considering that B has also a cascade delete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922887#3922887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922887 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS does not clean up the temp files
Our client application (c++ gsoap toolkit) send to an SLSB on jboss 4.0.0 SOAP Attachement using DIME. Everything works fine except that during the load tests i discovered a lots of tmp files (one for each upload ) named /tmp/Axisaxis. It seams that JBossWS does not clean up the temps files or do i need to call some method to forse JBossWs/Axis to clean up stuffs? Thanks for any suggestion Patrick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873896#3873896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873896 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - InputStrem and Dime Attachment
hi All, i would like to detach and store a DIME attachement using a custom BMP that use a method like (local Interface) saveAttachement (InputStream in, int size) jboss refure to invoke the method without any apparently error...until there's in the signature the InputStream.. (I know that the ejb spec does not permit java.io..) Does anybody know a workaroud to that (even violating the specs..) or has any idea how to hadles using EJB without opening a straightforward JDBC connection to the Database? Thank for any suggestion -ppc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869520#3869520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869520 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Just want to create Hello World jboss-4.0.1 Web Service
Have a look at : http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862694#3862694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862694 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: jboss.net deployment fails on JBoss 4.0.0
I have the same problem jboss-net.war inside jboss-net.sar is not deployed. To get it working I exploded jboss-net.sar and moved jboss-net.war in the deploy directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853883#3853883 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853883 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user