[EJB 3.0] - Re: one persistence.xml multiple jars with entity beans
by jc7442
I'm afraid it has not been fixed in 4.2.
I've just download it. I still have the exception:
| 10:25:07,787 WARN [ServiceController] Problem starting service persistence.units:ear=itests-ear-1.0-SNAPSHOT.ear,unitName=audittrail
| java.lang.RuntimeException: error trying to scan <jar-file>: file:/D:/jboss-4.2.0.GA/bin/babar.j2ee-1.0-SNAPSHOT.jar
| at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:619)
| at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:338)
| at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
My persistence.xml is:
| ?xml version="1.0" encoding="UTF-8"?>
| <persistence>
| <persistence-unit name="demo">
| ...
| </persistence-unit>
| <persistence-unit name="audittrail">
| <jta-data-source>java:/MyDS</jta-data-source>
| <properties>
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| </properties>
| <jar-file>babar.j2ee-1.0-SNAPSHOT.jar</jar-file>
| </persistence-unit>
| </persistence>
Is there a workaround for that ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045372#4045372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045372
19 years, 1 month
[JBoss jBPM] - Parsing error in forms
by Riket44
Hi,
I made à first form in which there is :
| <f:facet name="header">
| <h:outputText value="Tracking Number: "/>
| </f:facet>
| <h:inputText
| value="#{var['tracking number']}"
| converter="javax.faces.Integer"
| converterMessage="The quantity must be numeric." >
| </h:inputText>
|
In the following forms, i want to have a field in which the another user can see the value of "tracking number", so i did :
| <f:facet name="header">
| <h:outputText value="Tracking Number: "/>
| </f:facet>
| <h:inputText value="#{tracking number}" />
|
But when i try it on the jbpm console, i have an error on the second form which say :
/14/form.receive.xhtml @23,81 value="#{tracking number}" Error Parsing: #{tracking number}
I don't find which parsing error i've done... Thanks a lot for your help and sorry for my very bad english!!
R.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045368#4045368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045368
19 years, 1 month
[JBoss Seam] - Re: @Begin issue. Cannot make it work how we need
by anescu
Hi,
tried your suggestion, it's the same thing. Apparently the propagation="end" is not used at all. I mean I have the same errors as before, see here:
Caused by: javax.faces.el.EvaluationException: /layout/loginout.xhtml @17,133 action="#{accountHubSelector.changeSelected}": java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true) on method: changeSelected
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 43 more
What do you mean by swapping X with Y? I am doing this, but in the method that is invoked from the change button, and I am outjecting 2 objects, based on the selection in the select box. But the problem is that the method has the @Begin annotation because if we open a second browser we would need to have different context in those browsers. If I use @Begin(join=true) for example it works but both browser share the same context!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045355#4045355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045355
19 years, 1 month