[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-830) Spaces in project path causes JTA exception
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Wed Aug 19 07:49:26 EDT 2009
[ https://jira.jboss.org/jira/browse/JBDS-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12481687#action_12481687 ]
Max Rydahl Andersen commented on JBDS-830:
------------------------------------------
I initially though this were in the release notes, but it is not anymore so keeping this here until it is in release notes.
> Spaces in project path causes JTA exception
> -------------------------------------------
>
> Key: JBDS-830
> URL: https://jira.jboss.org/jira/browse/JBDS-830
> Project: JBoss Developer Studio
> Issue Type: Bug
> Components: seam
> Affects Versions: 2.1.0
> Reporter: Ondrej Skutka
> Priority: Critical
> Fix For: 2.1.0
>
>
> Steps to reproduce:
> 1) Create a new Seam project with database
> 2) Go to Hibernate Configurations view
> 3) Unfold the configuration
> following exception is thrown:
> org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
> Could not create JPA based Configuration
> <No message>
> java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException: <no message>
> java.lang.reflect.InvocationTargetException
> javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
> java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
> java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
> Unable to visit JAR file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
> Furturemore you cannot generate seam entities, because of "Couldn't connect to Database".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list