[Installation, Configuration & DEPLOYMENT] - Change DefaultDS
by abdujaparov
Hi,
I installed JBoss5 and I have to change the DefaultDS. I put in the server the mysql-ds.xml in server\default\deploy and I removed hsqldb-ds.xml.
When I start JBoss I receive these errors:
anonymous wrote :
| 23:21:19,114 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
| incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| DEPLOYMENTS MISSING DEPENDENCIES:
| Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is m
| issing the following dependencies:
| Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i
| n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n
| ame=DefaultDS,service=DataSourceBinding' **")
| Dependency "jboss.jdbc:datasource=DefaultDS,service=metadata" (should be in
| state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jdbc:da
| tasource=DefaultDS,service=metadata' **")
| Deployment "jboss.ejb:service=EJBTimerService" is missing the following depend
| encies:
| Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (s
| hould be in state "Create", but is actually in state "Configured")
| Deployment "jboss.jca:name=JmsXA,service=ConnectionFactoryBinding" is missing
| the following dependencies:
| Dependency "jboss.jca:name=JmsXA,service=TxCM" (should be in state "Create",
| but is actually in state "Configured")
| Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" is missing
| the following dependencies:
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionPool" is missing the
| following dependencies:
| Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" (should b
| e in state "Create", but is actually in state "Configured")
| Deployment "jboss.jca:name=JmsXA,service=TxCM" is missing the following depend
| encies:
| Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionPool" (should be i
| n state "Create", but is actually in state "Configured")
| Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFac
| tory" is missing the following dependencies:
| Dependency "jboss.messaging:service=PostOffice" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFacto
| ry" is missing the following dependencies:
| Dependency "jboss.messaging:service=PostOffice" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is mi
| ssing the following dependencies:
| Dependency "jboss.messaging:service=PostOffice" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the
| following dependencies:
| Dependency "jboss.messaging:service=PostOffice" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is mis
| sing the following dependencies:
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.messaging:service=PostOffice" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss.messaging:service=JMSUserManager" is missing the following d
| ependencies:
| Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i
| n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n
| ame=DefaultDS,service=DataSourceBinding' **")
| Deployment "jboss.messaging:service=PersistenceManager" is missing the followi
| ng dependencies:
| Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i
| n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n
| ame=DefaultDS,service=DataSourceBinding' **")
| Deployment "jboss.messaging:service=PostOffice" is missing the following depen
| dencies:
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i
| n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n
| ame=DefaultDS,service=DataSourceBinding' **")
| Deployment "jboss.messaging:service=ServerPeer" is missing the following depen
| dencies:
| Dependency "jboss.messaging:service=PersistenceManager" (should be in state
| "Create", but is actually in state "Configured")
| Dependency "jboss.messaging:service=JMSUserManager" (should be in state "Cre
| ate", but is actually in state "Configured")
| Deployment "jboss.mq:service=DestinationManager" is missing the following depe
| ndencies:
| Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create"
| , but is actually in state "Configured")
| Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the follow
| ing dependencies:
| Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i
| n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n
| ame=DefaultDS,service=DataSourceBinding' **")
|
| DEPLOYMENTS IN ERROR:
| Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error du
| e to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,
| service=DataSourceBinding' **
| Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due
| to the following reason(s): ** NOT FOUND Depends on 'jboss.jdbc:datasource=Defau
| ltDS,service=metadata' **
|
| 23:21:19,286 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
| 080
| 23:21:19,664 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 23:21:19,732 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=
| JBoss_5_0_1_GA date=200902231221)] Started in 1m:53s:144ms
|
I think I changed every DefaultDS I find to MySqlDS but I continue to receive the previous errors.
How can I solve? Where do I have to set MySqlDS?
Thansk, bye bye.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224498#4224498
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224498
17 years
[JBoss Messaging] - Re: Absolute simplest JMX/JMS authentication
by javadba@gmail.com
Note here I am using guest, although had previously used myUser. Same results. Also there are three different cases, shown by the parts commented out (or not). All fail the same way: "User guest is NOT authenticated."
| <application-policy name="messaging">
| <authentication>
| <!-- <login-module code="org.jboss.security.auth.spi.IdentityLoginModule"
| flag="required">
| <module-option name="principal">myuser</module-option>
| <module-option name="roles">j2ee</module-option> -->
| <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
| flag = "required">
| <module-option name = "unauthenticatedIdentity">guest</module-option>
| <module-option name = "usersProperties">props/jmx-console-users.properties</module-option>
| <module-option name = "rolesProperties">props/jmx-console-roles.properties</module-option>
|
| <!-- <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
| flag = "required">
| <module-option name = "dsJndiName">java:/DefaultDS</module-option>
| <module-option name = "principalsQuery">SELECT PASSWD FROM JBM_USER WHERE USER_ID=?</module-option>
| <module-option name = "rolesQuery">SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=?</module-option> -->
| </login-module>
| </authentication>
| </application-policy>
|
The files props/* are here:
| # A sample roles.properties file for use with the UsersRolesLoginModule
| myuser=JBossAdmin,HttpInvoker,manager,host-manager,guest,j2ee,durpublisher,publisher,subscriber
|
| # A sample users.properties file for use with the UsersRolesLoginModule
| MCN-INC=mypassword
|
When the database provider was used, we added the rows in the jbm_user and jbm_roles tables.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224496#4224496
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224496
17 years
[JBoss jBPM] - problem w ith process deployment
by arpan25
HI
I am completely new to jbpm and hence I have some doubts. I am sorry if this sounds silly. I am struggling with this thing for the past two weeks but unable to deploy a workflow.
I am using jbpm-3.2.6.SP1 with JBoss-5.0.0.GA. With this version, there are two folders which get installed outside the jbpm-3.2.6.SP1 folder which are server and docs.
I have installed jboss-5.0.0.GA inside the jbpm-3.2.6.SP1 folder
I have made the changes as mentioned int he jbpm tutorial.........
1. changes made to home/arpan/server/default/deploy/jbpm-mysql-ds.xml and copied it to /home/arpan/jbpm-3.2.6.SP1/jboss5.0.0.GA/server/default/deploy folder too
2. mysql connector.jar put in /home/arpan/jbpm-3.2.6.SP1/jboss5.0.0.GA/server/default/lib folder
3. /home/arpan/server/default/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml changed to point to mysql datasource as mentioned in the jbpm tutorial
4. copied /home/arpan/server/default/deploy/jbpm folder to joss-5.0.0.GA/server/default/deploy
I would like to know whether it is fine if i copy the home/arpan/server/default/deploy/jbpm folder to /home/arpan/jbpm-3.2.6.SP1/jboss-5.0.0.GA/server/default/deploy ?
After doing all this, when I Try to deploy my process, i cannot see any processes in the jbpm console.
Can anyone help ?
thanks in advance,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224495#4224495
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224495
17 years