Hi,
Thanks for your reply. Yes, it does work when I use the HSQLDB. I fixed it
though, it seems that you need to edit jboss-bean.xml to point to the correct
DB as well when running the tests. I did that, and now it runs just fine.
Marjon
View the original post :
http://www.jboss.com/index.htm
anonymous wrote : When I switch back to the original database, it all works.
What do you mean by this? You mean you have it working against HSQLDB?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937449#3937449
Reply to the post :
http://www.jboss.com/index.h
Hi,
I have a similar problem. I used one of the examples to build my own test /
training app, and I'm using an oracle database.
when I run the tests, I get this:
...
[testng] INFO 13-04 14:20:08,015 (MCKernelAbstraction.java:install:79)
-installing bean:
persistence.units:jar=test.jar,unit
"rezebric" wrote : "[EMAIL PROTECTED]" wrote : But why is this happening? And
what we must do to solve it?
|
| This is a JBoss question, and nothing to do with Seam. (And no, I'm not the
right guy to help with this stuff.)
View the original post :
http://www.jboss.com/index.html?module=bb&
"[EMAIL PROTECTED]" wrote : See this bit:
|
| 13:32:13,217 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
| |
| | --- MBeans waiting for other MBeans ---
| | ObjectName:
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
| | St
Bill, what intelligible error?
I raise org.hibernate.AnnotationException: No identifier specified for entity:
How happens that this exception was swallowed before?
I don't really understand what went wrong before.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
yes, you should be able to remove:
BTW, please log a bug on Hibernate EntityManager JIRA. This is a usability bug
as you had no intelligible message from the deployer on what went wrong.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928800#3928800
Reply to
Ok, now deploy the datasource outside of the EAR. I forgot to mention that...I
still don't know why the dependency error happens :(
Really what it looks like is that the jndi name you provide in your *-ds.xml
file does not match the jndi name you provided in your persistence.xml. Can
you doub
Ok ignore the number 69 suffixed after every iplay word, i missed
editing/search/replacing before posting!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928693#3928693
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3
I am attaching the log file of the touching of the datasource from time stamp
08:50:51,385 to 08:50:51,755
| 2006-03-08 08:50:51,385 DEBUG [org.jboss.deployment.MainDeployer]
Undeploying
file:/F:/projects/iplay/prod/jboss/server/iplayserver/deploy/iplaycms-ds.xml
| 2006-03-08 08:50:51,385
Please note the property value above is
|
|
I had left out the trailing " when cut and pasting.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928688#3928688
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
Hi Bill, TIA for any input, ok, this is what I did,
- new jboss instance
- added the following to persistence.xml
|
|
|
| iplaycmsDatasource
|
jdbc:hsqldb:hsql://localhost:/iplaycms
| org.hsqldb.jdbcDriver
| sa
|
|
|
The root of the problem is this:
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName:
jboss.jca:name=iplaycmsDatasource,service=ManagedConnectionFactory
| State: NOTYETINSTALLED
| Depends On Me:
|
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=
Hi Captn!
I think that is just an erroneous log message, with the wrong formatting.
The ears and jars do not have double extensions. I am still looking into
this. At the moment, Gavin said the persistence unit is causing it, ie
indirectly the deployed datasource, so this is my next target to look
Just a guess. I see:
anonymous wrote : ObjectName:
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
|
Is the double extension .ear.ear and .jar.jar something that JBoss is putting
in the output, or do you actually have cms-ejb.ear.ear file? It's an easy
m
Sorry post got cut off, here is the continuation of the debug log during the
ear deployment
| 2006-03-07 13:59:22,733 DEBUG [org.jboss.mx.loading.RepositoryClassLoader]
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0}
| 2006-03-07 13:59:22,733 DEBUG [org.jboss.mx.
See this bit:
13:32:13,217 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName:
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
| State: NOTYETINSTALLED
| I Depend On:
| jbos
ok i redeployed the *-ds.xml and the ear, this is my stack trace,
but i noticed this:
13:32:07,669 FATAL [PersistenceXmlLoader] iplaycmsEntityManager JTA
Stack
| F:\projects\iplay\prod\jboss\bin>run -c iplayserver
|
==
Hmm, ok deploying the ear shows no errors, this is my datasource file
iplaycms-ds.xml
|
|
|
|
| iplaycmsDatasource
|
jdbc:hsqldb:hsql://localhost:/iplaycms
| org.hsqldb.jdbcDriver
| sa
|
|
|
|
and my persistenc
Oh shit, I know this one, Bill and I wrestled with it one day. I think it is
because your persistence unit is not getting deployed correctly.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928454#3928454
Reply to the post :
http://www.jboss.com/index.html?mo
Hi Gavin, thanks for any help btw:
This is my jndi view tree, the worrying thing is the lack of application
deployed components, the app name is cms
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
|
I don't understand either. It all looks correct. Go to the JBoss JNDIView and
find out what your JNDI tree looks like.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928444#3928444
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
you have to have seam.properties even if empty. This is the way seam identify
the module with seam components (ejb jar)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911131#3911131
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
Most likely a file configuration error. Check the following files and make
sure they are all configured correctly. I would use the Seam Documentation and
just copy and past their examples--that way you can understand what each
setting does.
%EJB3_JAR%/META-INF/persistence.xml
%EJB3_JAR%/seam.
24 matches
Mail list logo