-
1. Re: portal 2.2 / sqlserver
parfenov Dec 29, 2005 6:50 PM (in response to trannt)Hi;
I ran into the same problem with the same configuration. I used jtds driver (version 1.2).
If anybody known the solution, please post it here.
Thanks,
V -
2. Re: portal 2.2 / sqlserver
cbreeves Dec 30, 2005 10:39 AM (in response to trannt)I had the same problem with:
4.0.3SP1, portal 2.2
RDBMS: Microsoft SQL Server, version: 9.0.1399
JDBC driver: Microsoft SQL Server 2005 JDBC Driver - Beta 1, version: 1.0.107.104 -
3. Re: portal 2.2 / sqlserver
roy.russo Dec 30, 2005 4:25 PM (in response to trannt)I'm using the jtds driver 1.2. an one of you post your datasource descriptor, so I can have a look.
-
4. Re: portal 2.2 / sqlserver
parfenov Dec 30, 2005 4:32 PM (in response to trannt)Hi Roy;
I used the destriptor which comes with the portal bundle named "portal-sqlserver-ds.xml". I used "out of box" destriptor without any changes (even login name and password was the same).
Thank you,
Vadim
Here is the context of the descriptor:
<?xml version="1.0" encoding="UTF-8"?>
<local-tx-datasource>
<jndi-name>PortalDS</jndi-name>
<connection-url>jdbc:jtds:sqlserver://localhost:1433;tds=8.0;lastupdatecount=true</connection-url>
<driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
<user-name>portal</user-name>
portalpassword
</local-tx-datasource> -
5. Re: portal 2.2 / sqlserver
roy.russo Dec 30, 2005 4:51 PM (in response to trannt)ok. I'm looking at it now, but it may be a while. I'm on SQLExpress, which had TCP/IP disabled by default.
I'm able to connect now and reproduce the errors. -
6. Re: portal 2.2 / sqlserver
roy.russo Dec 31, 2005 1:18 AM (in response to trannt)There is a temporary fix here: http://jira.jboss.com/jira/browse/JBPORTAL-540
I cannot commit the code until I verify it works on other DB vendors, and removing the constraint does not affect data integrity.