Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. java.lang.RuntimeException: The resourcesXml property does not appear to be
  2. a valid file path.
  3.  
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <arquillian xmlns="http://jboss.org/schema/arquillian"
  6. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  7. xsi:schemaLocation="
  8. http://jboss.org/schema/arquillian
  9. http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
  10. <container qualifier="glassfish-embedded" default="true">
  11. <configuration>
  12. <property name="resourcesXml">
  13. src/test/resources-glassfish-embedded/glassfish-resources.xml
  14. </property>
  15. </configuration>
  16. </container>
  17. </arquillian>
  18.  
  19. <?xml version="1.0" encoding="UTF-8"?>
  20. <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1
  21. Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
  22. <resources>
  23. <jdbc-connection-pool allow-non-component-callers="false"
  24. ...
  25. wrap-jdbc-objects="false">
  26. <property name="serverName" value="localhost"/>
  27. <property name="portNumber" value="3306"/>
  28. <property name="databaseName" value="myappdatabase"/>
  29. <property name="User" value="someusername"/>
  30. <property name="Password" value="somepassword"/>
  31. <property name="URL" value="jdbc:mysql://localhost:3306/somedatabase"/>
  32. <property name="driverClass" value="com.mysql.jdbc.Driver"/>
  33. </jdbc-connection-pool>
  34. <jdbc-resource enabled="true" jndi-name="jdbc/somedatabase"
  35. object-type="user" pool-name="jdbc/somedatabase_pool"/>
  36. </resources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement