I have noticed that the paths are not the same in JBoss 3.2.* and JBoxx 3.0.6. and some files have different names but I have managed to make SQL Server database the default database. Still i receive the following error message:
12:05:02,531 INFO [MainDeployer] Deployed package: file:/E:/vali/jboss/jboss-
12:05:02,531 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployment
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
[org.jboss.deployment.Depl
deployer: org.jboss.ejb.EJBDeployer@
status: Deployment FAILED reason: Error in ejb-jar.xml for Entity Bean Adresa: expected one prim-key-class tag
state: FAILED
watch: file:/E:/vali/jboss/jboss-
lastDeployed: 1078740298718
lastModified: 1078740298593
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServe
Depends On Me: , ObjectName: jboss.mq:service=Destinati
state: CONFIGURED
I Depend On: jboss.mq:service=MessageCa
jboss.mq:service=Persisten
jboss.mq:service=StateMana
Depends On Me: jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq:service=SecurityM
jboss.mq.destination:servi
, ObjectName: jboss.mq:service=Persisten
state: CONFIGURED
I Depend On: jboss.jca:service=LocalTxC
Depends On Me: jboss.mq:service=Destinati
, ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
jboss.mq:service=SecurityM
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
jboss.mq:service=SecurityM
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
jboss.mq:service=SecurityM
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
jboss.mq:service=SecurityM
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: , ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: , ObjectName: jboss.mq:service=Invoker
state: CONFIGURED
I Depend On: jboss.mq:service=TracingIn
Depends On Me: jboss.mq:service=Invocatio
jboss.mq:service=Invocatio
jboss.mq:service=Invocatio
jboss.mq:service=Invocatio
jboss.mq:service=Invocatio
jboss.mq:service=Invocatio
, ObjectName: jboss.mq:service=TracingIn
state: CONFIGURED
I Depend On: jboss.mq:service=SecurityM
Depends On Me: jboss.mq:service=Invoker
, ObjectName: jboss.mq:service=SecurityM
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
Depends On Me: jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq.destination:servi
jboss.mq:service=TracingIn
jboss.mq.destination:servi
, ObjectName: jboss.mq.destination:servi
state: CONFIGURED
I Depend On: jboss.mq:service=Destinati
jboss.mq:service=SecurityM
Depends On Me: , ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
Depends On Me: , ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
Depends On Me: , ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
Depends On Me: , ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
Depends On Me: , ObjectName: jboss.mq:service=Invocatio
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
Depends On Me: ]
Main Topics
Browse All Topics





by: sajuksPosted on 2004-03-07 at 16:44:00ID: 10537347
An older version:
t-4.1.18\s erver\defa ult\deploy directory.
t-4.1.18\d ocs\exampl es\jca directory to the C:\jboss\jboss-3.0.6_tomca t-4.1.18\s erver\defa ult\deploy
t-4.1.18\s erver\defa ult\config
/datasourc e>
g>
/datasourc e> mapping>
toryProper ties"> bc:microso ft:sqlserv er://68.16 5.1.253:14 50;Databas eName=CABI N</config- property> m.microsof t.jdbc.sql server.SQL ServerDriv er</config -property> na</config -property> 4321</conf ig-propert y>
anagedConn ectionPool "> onnectionm anager.JBo ssManagedC onnectionP ool" name="jboss.jca:service=Xa TxPool,nam e=MSSQLDS" >
t-4.1.18\s erver\defa ult\config dir
ty.Configu redIdentit yLoginModu le" flag = "required"> ion> tion> option> ame">jboss .jca:servi ce=XaTxCM, name=MSSQL DS</module -option>
1. delete hsql*-service.xml file present in the C:\jboss\jboss-3.0.6_tomca
2. copy the mssql-service.xml file from the C:\jboss\jboss-3.0.6_tomca
3. Edit these C:\jboss\jboss-3.0.6_tomca
a) standardjaws.xml
<jaws>
<datasource>java:/MSSQLDS<
<type-mapping>MS SQLSERVER2000</type-mappin
<debug>false</debug>
b) standardjbosscmp-jdbc.xml files.
<defaults>
<datasource>java:/MSSQLDS<
<datasource-mapping>MS SQLSERVER2000</datasource-
4. in the mssql-service.xml following changes:
<attribute name="ManagedConnectionFac
<properties>
<config-property name="ConnectionURL" type="java.lang.String">jd
<config-property name="DriverClass" type="java.lang.String">co
<!--set these only if you want only default logins, not through JAAS-->
<config-property name="UserName" type="java.lang.String">mi
<config-property name="Password" type="java.lang.String">sm
</properties>
</attribute>
......
and also
<depends optional-attribute-name="M
<!--embedded mbean-->
<mbean code="org.jboss.resource.c
5. in the C:\jboss\jboss-3.0.6_tomca
change the login-config.xml file
<application-policy name = "MSSQLDbRealm">
<authentication>
<login-module code = "org.jboss.resource.securi
<module-option name = "principal">sa</module-opt
<module-option name = "userName">user</module-op
<module-option name = "password">passwd</module-
<module-option name = "managedConnectionFactoryN
</login-module>
</authentication>
</application-policy>