This content has been marked as final. Show 9 replies
What sql statement are you using?
I tried just an insert statement like
insert into my_table(id, text) values (1, 'test')
are you using execute query component?
Yes, I am using Execute SQL Statement component under Foundation-JDBC.
In addition, I executed the statement with Mysql without any problem.
Any error in the jboss log file?
I get the below exception in Jboss log. It seems that jdbc driver for SQLServer cannot be found. How can I locate jdbc driver for SQL Server 2005. (I installed LiveCycle, JBoss using turnkey)
Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: com.microsoft.jdbc.sqlserver.SQLServerDriver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc.sqlserver.SQLServerDriver)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManage dConnectionFactory.java:287)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnecti on(LocalManagedConnectionFactory.java:153)
... 90 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc.sqlserver.SQLServerDriver
at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.ja va:78)
at java.lang.Class.forName0(Native Method)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManage dConnectionFactory.java:269)
... 91 more
Did you put the SQL Server JDBC Driver jar file in the lib folder so that LiveCycle can use the class properly?
I would put it under C:\Adobe\LiveCycle8\jboss\server\all\lib
I am experiencing a very similar issue where I'm at as well. We are using SQL 2005 SP2 with LiveCycle. Originally a turnkey install was preformed and then configuration files were changed to point to the SQL database. This install was working fine for us until we developed a process that contained a gateway element. Our process would run properly until it got to the gateway, and then we would receive locking errors, and rollback exceptions. The gateway element would just randomly not execute branches. No stalls in the process, just random branches would not fire off. I have a turnkey installation on my laptop that runs through the process without any problems. We have been working with Adobe support on this, and so far have not had much luck. So far we have set up a brand new server and fresh SQL database to test with. We have tried going through the steps for configuring JBoss and LiveCycle to connect with a SQL server instead of the turnkey mySQL. In following the directions set my Adobe for this, we have not been able to make the connection with SQL work. Most recently we have been getting the error that our SQL driver was not registering properly. Adobe even supplied a specially configured JBoss set up specifically to work with SQL 2005. We are even seeing issues with this install. Adobe has said that there are some known issues with SQL 2005 and JBoss, and it looks like those could be what we are running into.
Are you using a clustered database structure, or anything out of the ordinary with your SQL database?
Would there be any reason why we should use a SQL database to connect LiveCycle to, as opposed to the turnkey mySQL database? Does it make that much of a difference going with one database over another? We plan on saving form data to a SQL database (one separate from the one LiveCycle uses to function properly) for each process we build. Would there be any issues with having LiveCycle tied to the mySQL database to run, and within our processes write to a different SQL database?
I am using an ordinary SQL Server 2005 database with Lİvecycle Jboss turnkey installation.
I finally connected LiveCycle with SQL Server database (Thanks Jasmin!). I located the jdbc driver and configured Jboss for SQL Server datasource like:
MSSQLDS jdbc:sqlserver://localhost:5356;databaseName=X com.microsoft.sqlserver.jdbc.SQLServerDriver Y Z MS SQLSERVER2005