[jboss-user] [JBoss Tools (users)] - JBoss tools 3 daily Deployment failure due to spaces?
bdlink
do-not-reply at jboss.com
Mon Dec 8 18:44:54 EST 2008
Windows OS. Started with Eclipse 3.4.1 EE version, updated with BRIT and JBoss Tools update site enabled. Installed latest daily, N200812080252. Added JBoss AS 4.2.3.GA as "JBoss, a division of Red Hat JBoss 4.2 Runtime" and created a new local server by checking checkbox in New Server Runtime Environment wizard.
Created new Seam project, testseam, and added Jboss-seam-2.0.2.SP1 as Seam Runtime version 2.0 (remark - it would not allow adding a version 2.1 here, but does allow it via preferences window) (remark - when opening seam runtime in preferences window and selecting edit, it sets version to 1.2 instead of picking up current version setting). Connector was MYSQL (innodb) to exisiting database I use for testing (this process has worked in the past, and works on JBDS 2 beta - using stock server and seam).
Try to run on server, get exception (traceback edited down):
12:49:25,218 ERROR [[/testseam]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: testseamEntityManagerFactory
| ...
| Caused by: javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in path at index 83: file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss 4.2 Server/deploy/testseam.war/WEB-INF/classes
| ...
| Caused by: java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in path at index 83: file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss 4.2 Server/deploy/testseam.war/WEB-INF/classes
| at org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:100)
| at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:226)
| ... 175 more
| 12:49:25,234 ERROR [StandardContext] Error listenerStart
| 12:49:25,234 ERROR [StandardContext] Context [/testseam] startup failed due to previous errors
| 12:49:25,234 WARN [ServiceController] Problem starting service jboss.web.deployment:war=testseam.war,id=-1001488612
| org.jboss.deployment.DeploymentException: URL file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss 4.2 Server/deploy/testseam.war/ deployment failed
|
Problem seems to be spaces in path (char at index 83 mentioned in error is a space). I used default names for server given by add runtime wizard.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195186#4195186
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195186
More information about the jboss-user
mailing list