  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | JBoss | Hi !
Probably you want to access a relationship property when the entity bean is no longer under control of the entity manager (a "detached " entity).
There are two ways around this problem
a) set loader-repository provides classloading isolation between ears.
View the original post http //www.jboss.com/index.html?module bb&op viewtopic&p 4073294#4073294
Reply to the post http //www.jboss@PersistenceContext is part of JPA why would it be able to inject a Hibernate Session.
Try
@In Session session
View the original post http //www.jboss.com/index.html?module bb&op viewtopic&p 40Trying to inject a Hibernate Session with @(protected) fails
anonymous wrote
| java.lang.ClassCastException $Proxy1497 cannot be cast to javax.persistence.EntityManager
The reason for thThe following taskform code works in JBPM3.2.GA.
But when running in JBPM 3.2.1 it causes OutOfMemoryError. By testing I found that if I change <jbpm dataform columns "2 " > to <jbpm dataform > it Great!
Shouldn 't this be a sticky announcement?
View the original post http //www.jboss.com/index.html?module bb&op viewtopic&p 4073290#4073290
Reply to the post http //www.jboss.com/index.html?Sorry I am on vacation right now (be back on Aug 19th). It might take take some time as I think about it while I am hiking in the woods ) Please bear with the delay!
cheers
Michael
View the originHi
Project facet Seam Facet 1.2 is not supported by target runtime Apache Tomcat in RHDS.
Are there any reasons for this ? Is this just for the seam-gen feature ?
Seam + tomcat + JPA + RHDS (faceleHi
I 'm trying to combine seam with an existing J2EE (pre Version 5) application in a JBoss 4.0.5.GA with EJB3 profile. An independent Seam application runs fine on this server.
The application is rHi !
I think you need the attribute "unitName " which points to the name of your persistence unit
@(protected) (unitName "... ") EntityManager em
Hope this helps
Wolfgang
View the originalHello
I was using Jboss 4.0.5 to create webservice in an EJB project with eclipse it worked just fine but when I generate the webservice client it added a "jaws " folder in namespace.
That is annoI am trying to use tuckey.org 's urlrewriter to rewrite a link generated using seam tag s link.
Following outbound rule works
<outbound-rule encodefirst "true " >
| <from >^/shop/productSearchForWhich class )
View the original post http //www.jboss.com/index.html?module bb&op viewtopic&p 4073271#4073271
Reply to the post http //www.jboss.com/index.html?module bb&op posting&mode reply&pHi
I migrated an application (using facelets an myFaces and deployed as EAR) working with seam 1.1.x to seam 2.0B.
In order to get it working after exploding to JBoss 4.2.1GA I had now to move theHi
I 'm currently using quartz as a scheduler in a seam 2.0B application.
It works fine with its default configuration (I think the quartz.properties in the quartz jar file itself).
Now I need to chfor a new project i met following strange problem please help me
using myeclipse to generate a EJB3 projects and
When I create a session bean and use the annotation "@(protected) " to inject tHi Mark
Complex parameters are not supported by the designer and they probably never will.
We have already made nodes pluggable so that you can provide your own configuration form for a custom nodCaused by org.xml.sax.SAXException cvc-complex-type.3.2.2 Attribute 'file ' is not allowed to appe
ar in element 'wsdl-java '. @ *unknown*[16 56]
at org.jboss.xb.binding.parser.sax.SaxJBossXBHi All
I have an action that accepts a parameter of the type java.util.Map. I can pass such parameter from the process XML to this action using this notation
| <entry >
| <key > key </key >Hi
I fixed the problem. It was a problem with Vista 's virtualization (http //www.hanselman.com/blog/VistasShowCompatibilityFilesAndTheScrumptiousWonderThatIsFileVirtualization.aspx).
View the origiThis is a value binding so el will look for authenticator.getDisplay().
Regards
Felix
View the original post http //www.jboss.com/index.html?module bb&op viewtopic&p 4073244#4073244
Reply to thWhen I deploy my EAR to JBoss 5.0 I get the following error
org.jboss.xb.binding.JBossXBRuntimeException Failed to create a new SAX parser
I did not have this issue with 4.2.1. I followed the advDoes JNDI support passing multiple URLs for example
| Properties p new Properties()
| p.put(Context.INITIAL_CONTEXT_FACTORY
| "org.jnp.interfaces.NamingContextJBoss 4.0.5
SEAM 1.2
is it possible to call a method on a SLSB as follows?
<!-- in place of <s hasRole > restriction -- >
<s div rendered "#{authenticator.display} " >
<s button view "/CustomersThe issue is that I have a stateless EJB using CMT with the following problem
a function X having default transaction attribute (required) has a loop and calls another function Y with a transactionWhen testing a normal failure mode using oracle thin persistence manager I get an exception when trying to add new messages. The sequence goes like this
1) Add 2 messages to the queue. ( On checking Upgrade hibernate to the latest not the old one you have running on ur hdd. for me it was hibernate3.2(latest).
next problem will be no transaction defined or something similar. change the example cHi I have a problem. I have a client that have to publish some messages on a topic and I have to close (or pause) the connection when all the messages are delivered. (I have to close the connection aSounds good to me but one man 's self-documenting code is another man 's verbosity. Some people dislike this about the Java language in general. I find it helpful but the Perl kiddies can 't stand it.Does anyone else think it 'd be useful to let conversations have a logical name?
e.g.
| <begin-conversation name "book room "/ >
| or
| @(protected)(name "book room ")
|
Then you could restrict which |
|
 |