I still get this problem.
I do not get it if I specify:
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;
at the top - but that causes problems when deploying since it will try to
validate the beans as 2.0 beans and not
Also, why doesn't the ejb-jar.xml from the EJB3 tutorial work?
(http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/partial_deployment_descriptors.html#d0e656)
Does it mean something is wrong with my server, or is it the tutorial which has
an old ejb-jar.xml?
View the
btw, FYI - the contents of my archives:
cmdtest.ear
| $ unzip -l cmdtest.ear
| Archive: cmdtest.ear
| Length Date TimeName
|
| 0 05-16-06 09:53 META-INF/
| 106 05-16-06 09:53 META-INF/MANIFEST.MF
| 454
Is there documentation for ejb-jar.xml anywhere?
Also, when searching the forum etc. I find ejb-jar.xml's with this DOCTYPE:
!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'
It's got a reference to the DTD
oh, ok - thanks :-)
I thought I had deployed ejb3 entities, but something must be wrong with the
deploy then ...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943117#3943117
Reply to the post :
right, good one hauke1980!
And in 4.0.4 we can find this in the file:
C:\jboss-4.0.4.CR2\server\default\lib\hibernate3.jar
The MANIFEST.MF tells us:
| Hibernate-Version: 3.2.0.cr1
| Implementation-Version: 3.2.0.cr1
|
View the original post :
I also have this problem.
Everything seems to deploy fine (the same way rupasrivi's did - maybe it
deploys as jar I don't know but it certainly doesn't throw any exceptions or
give warnings) - but I'm not able to find it in the Global JNDI Namespace.
Which files are required - I read somewhere
When deploying, I get this error:
| 2006-05-12 14:20:23,093 DEBUG
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL
PROTECTED]
url=file:/C:/Programfiler/jboss-4.0.4.CR2/server/default/deploy/ejb3-project.ear,
deployedLastModified=1147436384531 }
|
strange, there is no 'hibernate' in my entire startup log - here it is:
|
===
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME: C:\Programfiler\jboss-4.0.4.CR2\bin\\..
| .
| JAVA:
I also get EntityManager null when trying to inject it in a servlet with
404RC2. When using it in the processRequest() method it is null.
Could this be the same issue?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942390#3942390
Reply to the post :
Hi,
how do I found out which version of Hibernate JBoss is running? It doesn't say
in the startup .. or at least I can't find it.
I'm running a default jboss-4.0.4.CR2.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942393#3942393
Reply to the post :
I use ant to do that, here's an example of my .war creation:
target name=war
| jar jarfile=${app.war}
| fileset dir=${source.dir}
| include name=WEB-INF/web.xml/
| include name=*.jsp/
| /fileset
| /jar
|/target
|
I'm
this very strange?
- bjornbjorn
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941579#3941579
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941579
---
Using Tomcat
http://docs.jboss.org/ejb3/app-server/tutorial/entity/entity.html
It says:
anonymous wrote : Running the ant script above creates a JAR file within the
deploy/ directory of JBoss.
.. and so do all the other http://docs.jboss.org/ejb3/app-server/tutorial/ -
but none of them contain build.xml ..
Hi, I get this exception when booting JBoss:
anonymous wrote : 13:06:53,312 WARN [ServiceController] Problem creating
service jboss.j2ee:service=EJB3,module=Test-EJBModule.jar
| org.hibernate.AnnotationException: No identifier specified for entity:
package.Pdfinstalledfonts
| at
15 matches
Mail list logo