Hi, I'm trying to have a servlet call a method on a stateless ejb which then
calls a method on a stateful ejb. First off, is this allowed?
If I change the second ejb in the sequence to a stateless ejb, the code works
fine, looking at the stack, the problem seems to occur when the 1st ejb
Hi, I've just upgraded Jboss 4.03SP1 from EJB PFD 5 to 6jboss starts ok
except when it reaches one of my entity beans I get the following exception:
09:49:14,109 WARN [ServiceController] Problem starting service
persistence.units:ear=SMSPortal.ear,unitName=objentity
|
I'm trying to do a standard include of a css file and am hitting problems.
My css file is located within the web app and is visible through windows file
explorer (and contains the correct content) when the app is built.
However if I try to hit the css url (either directly or through a ), a file
Could be a class def problem.make sure GenericBusinessException is in the
clients class path at run time (i.e it should be a common component used by
both client and service - e.g. in the root of the ear linked by manifest).
Simple suggestion I know but I can't see anything explicitly wrong
I'm trying to get a Map relation to work with a referenced Keyi.e the Key
is another entity bean:
| @Entity
| @Table (name=ship)
| @NamedQuery(name=ship.getAll, query=from Ship sh)
| public class Ship {
|
|.
|
| @CollectionOfElements (fetch =
I cannot get the persistence manager to persist the objects in the following
code. No exception is thrown (on persist), the objects are simply not persisted.
| @Stateless
| public class SRSFacadeBean implements SRSFacade{
|
| @PersistenceContext (unitName=srsentity)
|
|
|
set to:
| property name=hibernate.hbm2ddl.auto value=update/
for permanent persistence
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926090#3926090
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926090
double post, sorry
create-drop specifies that a table should be created if it does not exist and
dropped when the AS is turned off.
Therefore, your tables were being created and dropped during the life of the
server. By specifying update (which i think may be the default), the tables are
Not tried this myself, but I'm assuming you've seen this?:
http://docs.jboss.org/ejb3/app-server/tutorial/singleinheritance/single.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926095#3926095
Reply to the post :
Found what the problem was; for the record:
An exception was being thrown because I wasn't cascading Entity.Persist in my
ManyToOne relationships.
Now because the entity manager persists objects are the end of its life (i.e
when the method returns from SRSFacadeBean), the transaction was being
Excellent, thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925864#3925864
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925864
---
This SF.Net email is sponsored
I'm trying to get three simple beans to map to each other and am getting the
following exception (v4.03SP1 EJB RFC 5):
(InvocationTargetException).
Caused by: org.hibernate.AnnotationException: com.sms.srs.entity.Attribute
collection not yet supported: com.sms.srs.entity.AttributeNameattr
Anyone?
jboss-service.xml
?xml version=1.0 encoding=UTF-8?
|
| server
|
|mbean code=com.sms.core.JCR.JCRServiceImpl
|name=sms.jcr:service=JCRService
|xmbean-dd=meta-inf/jcr-xmbean.xml
| dependsjboss:service=Naming/depends
| /mbean
|
Hi, I am trying to write a service that will initiate Jackrabbit on startup,
I've suceeded in doing this but it appears jboss is trying to register my mbean
twice, I'm getting a 'DeploymentExceptionalready registered mbean'.
I've done a search throughout my jboss directory and is no
Ah, sorry for the bad formatting, didn't realise I can't post xml on
herehope you get the idea
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913402#3913402
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913402
15 matches
Mail list logo