4 Replies Latest reply on Jan 12, 2008 3:06 PM by peterj

    Error while starting JBoss

    rahulprashar

      Hi All,

      I am relatively new to JBoss and learning this great product on a daily basis. I need you support to get this error resolved which is killing me for the past few days.

      When I run JBoss, I get the below error:

      >> ERROR [CollectionNodeManagerDao] org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Null user or password not supported in THIN driver); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Null user or password not supported in THIN driver))

      Any help will be highly regarded and appreciated.

      Thanks and regards
      Rahul Prashar

        • 1. Re: Error while starting JBoss
          peterj

          Based on the word 'THIN", I am assuming that you are using an Oracle database and you have defined a *-ds.xml file for that database.

          Based on the error message, "Null user or password not supported in THIN driver", you have not defined a user or password in the *-ds.xml file.

          If this does not help you resolve the problem, please post the contents of the *-ds.xml file. (Make sure you put the contents within "[ code ]...[ /code ]" brackets (without the spaces) - to do this you can select the text and click on the "Code" button)

          • 2. Re: Error while starting JBoss
            rahulprashar

            Thanks Peter for the advice and yes we are using ORACLE.

            As per your advice, I'll check in the system and reply back to you.

            • 3. Re: Error while starting JBoss
              ldsgrecco

              hello .. I´m from brazil and not speak weel your language, but if any undertande me I would thanks.

              when I start the jboss, is showed the message...

              Error: could not open
              `C:\Arquivos de programas\Java\jre1.6.0_02\lib\i386\jvm.cfg

              anybody know what is the solution to this problem?

              it occour in the eclipse or in DOSprompt

              I appreciate.. tks

              daniel

              • 4. Re: Error while starting JBoss
                peterj

                Daniel, you should have started a new post, not appended an unrelated question onto someone else's post. In addition, because your post has nothing to do with the advanced documentation you should have placed in another forum, most likely in "Beginner's Corner"

                But regarding your question:

                1) What do you have JAVA_HOME set to? It needs to be set to the JDK, not to the JRE.
                2) When you install the JDK, avoid placing in into a directory with spaces. Spaces cause havoc in various Java libraries. Mine is at c:\apps\jdk1.5.0_14