This content has been marked as final.
Show 21 replies
-
15. Re: error while reading /WEB-INF/components.xml
maxandersen Jan 15, 2008 2:18 PM (in response to mussie)what version of tools are you actually using ?
"Invalid Content (no root node)" I've only seen when users enable JPA on the project in the wizard (not the default because of other issues with Dali) -
16. Re: error while reading /WEB-INF/components.xml
carlpritchett Jan 15, 2008 3:43 PM (in response to mussie)"Mussie" wrote:
Ok you mean that installing jboss-4.2.1.GA and jboss-seam-2.0.0.GA and the eclipse folder on C:\ solves the problem?
Move at least jboss-4.2.1.GA and jboss-seam-2.0.0.GA to C:\. I still have eclispe in program files. I just moved the existing directories."Mussie" wrote:
Or do I even need jboss-4.2.2.GA?
I'm using jboss-4.2.2.GA, but I have the same symptoms as you when I didn't install to root."max.andersen@jboss.com" wrote:
what version of tools are you actually using ?
I'm using the "All tools" 2.0.0.GA for win32. I am enabling JPA on the project wizard. -
17. Re: error while reading /WEB-INF/components.xml
mussie Jan 17, 2008 5:42 AM (in response to mussie)Ok now I get this error when trying to edit the Driver Definition
Unable to locate jar/zip in file system as specified by the driver definition: hsqldb.jar
In figure 8.9? in the doc
http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/crud_database_application.html
any idea what that could mean? -
18. Re: error while reading /WEB-INF/components.xml
nickarls Jan 17, 2008 5:50 AM (in response to mussie)You need to edit your driver definition and navigate to where your hsqldb jar really is (AS lib)
-
19. Re: error while reading /WEB-INF/components.xml
mussie Jan 17, 2008 7:54 AM (in response to mussie)You mean C:\jboss-4.2.2.GA\server\default\lib\hsqldb.jar!?
I allready did that. -
20. Re: error while reading /WEB-INF/components.xml
mussie Jan 17, 2008 8:03 AM (in response to mussie)ok now I have another problem what does this error mean?
13:59:19,687 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 13:59:19,687 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/crudappDatasource javax.naming.NameNotFoundException: crudappDatasource not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
-
21. Re: error while reading /WEB-INF/components.xml
reyjexter Feb 15, 2008 12:50 PM (in response to mussie)One solution i found was to hard code the value of jndiPattern directly to the components.xml although this is not very elegant. I think the problem was while building the application (maybe in the build script that jboss tools is using).