5 Replies Latest reply on Apr 26, 2002 1:05 PM by Franck Routier

    crimson fires exception with &

    Franck Routier Newbie

      Hi,

      I want to declare Postgresql as a jdbc datasource using the XDataSourceLoader MBean.

      If I use the following URL,jdbc:postgresql:mydb?user=myusr&password=mypw, I get the following error at startup :

      [INFO,Shutdown] Shutdown hook added
      [ERROR,Default] java.io.IOException: org.apache.crimson.parser/P-008 ; org.apache.crimson.parser/F-020 "password"
      [ERROR,Default] at org.jboss.configuration.ConfigurationService.loadConfiguration(ConfigurationService.java:449)
      [ERROR,Default] at java.lang.reflect.Method.invoke(Native Method)
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [ERROR,Default] at org.jboss.Main.(Main.java:201)
      [ERROR,Default] at org.jboss.Main$1.run(Main.java:111)
      [ERROR,Default] at java.security.AccessController.doPrivileged(Native Method)
      [ERROR,Default] at org.jboss.Main.main(Main.java:107)
      [INFO,Default] JBoss-2.4.4 Started in 0m:3s.659
      [INFO,Default] Shutting down


      If I have an URL without a &, it works fine...

      Is there something to do about it ?

      Thanks,

      Franck