I retried again with using DefaultDS - now it's working. Don't know, what
changes I did before that weren't ok (or did not but would be necessary) ...
Thanks for your help!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122504#4122504
Reply to the post :
anonymous wrote : Didn't knew about a state-xml-file before?! Do I need this?
In the jms dir is no state-xml-file, none for hypersonic and - clear - non for
mssql. I also not found a mssql-jdbc-state-service.xml in the googled sites or
in the example dir of jboss...
JBoss-4.2.2 does have
No, that is not the problem here - I already changed correctly to the JNDI-name
MSSQL2000XADS
depends
optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=MSSQL2000XADS/depends
but perhaps there should be an entry to define the state manager? 'cause there
none...
Sorry, i mentioned a incorrect filename in my post dated Wed Jan 16, 2008 10:41
AM. I know, you already changed the mssql-jdbc2-service.xml to use the
MSSQL2000XADS name. In addition to that you will also have to change the
mssql-jdbc-state-service.xml (i am just guessing the name of the file)
Didn't knew about a state-xml-file before?! Do I need this? In the jms dir is
no state-xml-file, none for hypersonic and - clear - non for mssql. I also not
found a mssql-jdbc-state-service.xml in the googled sites or in the example dir
of jboss...
To post these files will cause a really big
Post the entire exception stacktrace. Are you using persistence.xml? If yes,
then post the contents.
Remember to use the 'Code' button (available in the message editor window) to
wrap the contents of the xml in a code block while posting
View the original post :
Oh sorry, didn't see the button - Newbie error
But there isn't any other error message - the error occurs in the console when
starting the server. No own code used yet, I only tried to start the default
JBoss (version 4.2.2) installation with a database connection.
And: No, no persistance.xml -
Yes, that's what I tried: I have to use a SQLServer database instead of the
hypersonic.
And I did like it's written in your link - what I wrote above. I think the
problem is the xml I posted above - that's the only part that differs from the
way in the text that you linked because the syntax
I believe the error is in your msql-jdk2-service.xml. I guess(you havent posted
the contents of the msql-jdk2-service.xml so cant say for sure), you have
something like this
depends
optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=TEST/depends
in your
Hey - thanks - you were right - that was a naming problem between the
msql-jdk2-service.xml and the datasource xml! Great!
There's now another error
Could not find stored procedure 'master..xp_jdbc_open'
but I worry that this is a problem of the driver I use, so that this is no
problem for
anonymous wrote : I put the msql-jdk2-service.xml in the correct directory
(deploy/jms), the 3 driver libs in the lib (for MSSQL 2000 there are 3 libs
necessary, not a single one) dir and I wrote the file for the database
connections into the deploy dir (the original hsqldb-ds.xml also is in
So now I solved the problem with the driver - and got a new on: Now the
StateManager is not yet installed (says the server console). I only changed the
name for DataSourceBinding in the mssql-jdbc2-service.xml, nothing else. And I
removed the corresponding file for the hypersonic database.
Again a guess. I think you have
depends
optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=TEST/depends
in your mssql-jdbc2-service.xml. Change it to
depends
13 matches
Mail list logo