[JBoss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def

2006-05-16 Thread bjornbjorn
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

[JBoss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def

2006-05-16 Thread bjornbjorn
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

[JBoss-user] [EJB/JBoss] - Re: javax.naming.NameNotFoundException: HelloWorld not bound

2006-05-16 Thread bjornbjorn
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

[JBoss-user] [EJB 3.0] - ejb-jar.xml for EJB3.0 explained

2006-05-16 Thread bjornbjorn
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Which version of Hibernate is my JBoss running?

2006-05-16 Thread bjornbjorn
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 :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Which version of Hibernate is my JBoss running?

2006-05-16 Thread bjornbjorn
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 :

[JBoss-user] [EJB/JBoss] - Re: javax.naming.NameNotFoundException: HelloWorld not bound

2006-05-16 Thread bjornbjorn
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

[JBoss-user] [EJB/JBoss] - ejb-jar.xml must either obey the right xml schema or define

2006-05-12 Thread bjornbjorn
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 } |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Which version of Hibernate is my JBoss running?

2006-05-11 Thread bjornbjorn
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:

[JBoss-user] [EJB 3.0] - Re: Dependecy Injection in JMX Service Object

2006-05-10 Thread bjornbjorn
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 :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Which version of Hibernate is my JBoss running?

2006-05-10 Thread bjornbjorn
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 :

[JBoss-user] [Beginners Corner] - Re: DeploymentException: No META-INF/application.xml found

2006-05-08 Thread bjornbjorn
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

[JBoss-user] [Beginners Corner] - DeploymentException: No META-INF/application.xml found

2006-05-05 Thread bjornbjorn
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

[JBoss-user] [Beginners Corner] - The EJB3 tutorial

2006-05-04 Thread bjornbjorn
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 ..

[JBoss-user] [Beginners Corner] - No identifier specified for entity

2006-05-02 Thread bjornbjorn
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