Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Porting a Stardust Application from JBOSS 5 to EAP 6.2(error msgs in server log during EAR deployment: missing/unsatisfied dependencies)
Porting a Stardust Application from JBOSS 5 to EAP 6.2 [message #1702577] Thu, 23 July 2015 11:46 Go to next message
Paul Gettel is currently offline Paul GettelFriend
Messages: 2
Registered: July 2015
Junior Member
I have the follow error msgs in the JBOSS EAP 6.2 server log during deployment. See below.
I assume these are fatal errors since the application hangs accessing Workflows; specifically it hangs while activating the "UserService" bean.

Stardust version is: 2.1.1
JBOSS EAP 6.3
Built webapplication with Java 1.7

error messages from server log:

JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java."AuditTrail.DataSource" (missing) dependents: [service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.ForkingServiceImpl.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.UserServiceImpl.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.DocumentManagementServiceImpl.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.WorkflowServiceImpl.env.jdbc."AuditTrail.DataSource", JBAS014799: ... and 3 more ]
service jboss.naming.context.java.jboss.resources.jcr.ContentRepository (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".WorkflowService.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".QueryService.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".AdministrationService.env.jcr.ContentRepository, JBAS014799: ... and 2 more ]
service jboss.naming.context.java.jboss.resources.jdbc."AuditTrail.DataSource" (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".UserService.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".QueryService.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jdbc."AuditTrail.DataSource", service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".DocumentManagementService.env.jdbc."AuditTrail.DataSource", JBAS014799: ... and 3 more ]
service jboss.naming.context.java.jboss.resources.jms.CarnotApplicationQueue (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".AdministrationService.env.jms.CarnotApplicationQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jms.CarnotApplicationQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".DocumentManagementService.env.jms.CarnotApplicationQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".WorkflowService.env.jms.CarnotApplicationQueue]
service jboss.naming.context.java.jboss.resources.jms.CarnotDaemonQueue (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jms.CarnotDaemonQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".AdministrationService.env.jms.CarnotDaemonQueue]
service jboss.naming.context.java.jboss.resources.jms.CarnotSystemQueue (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".DocumentManagementService.env.jms.CarnotSystemQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jms.CarnotSystemQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".WorkflowService.env.jms.CarnotSystemQueue, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".AdministrationService.env.jms.CarnotSystemQueue]
service jboss.naming.context.java.jboss.resources.jms.CarnotXAConnectionFactory (missing) dependents: [service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".DocumentManagementService.env.jms.CarnotXAConnectionFactory, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".AdministrationService.env.jms.CarnotXAConnectionFactory, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".WorkflowService.env.jms.CarnotXAConnectionFactory, service jboss.naming.context.java.comp.agis-ear."carnot-engine-ejb-2.1.1".ForkingService.env.jms.CarnotXAConnectionFactory]
service jboss.naming.context.java.jcr.jackrabbit (missing) dependents: [service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.AdministrationServiceImpl.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.QueryServiceImpl.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.DocumentManagementServiceImpl.env.jcr.ContentRepository, service jboss.naming.context.java.comp.agis-ear.carnot-ejb3.ForkingServiceImpl.env.jcr.ContentRepository, JBAS014799: ... and 3 more ]

Re: Porting a Stardust Application from JBOSS 5 to EAP 6.2 [message #1702627 is a reply to message #1702577] Thu, 23 July 2015 15:10 Go to previous messageGo to next message
Vikram Kodak is currently offline Vikram KodakFriend
Messages: 72
Registered: October 2011
Member
Hi Paul,

Have you set the AuditTrail.DataSource configuration in the standalone.xml located under <<JBOSS-HOME>>\standalone\configuration\

<xa-datasource jndi-name="java:/AuditTrail.DataSource" pool-name="AuditTrail" enabled="true" use-ccm="false">
<xa-datasource-property name="URL">
jdbc:sqlserver://localhost;databaseName=lm;
</xa-datasource-property>
<xa-datasource-property name="User">
XXXX
</xa-datasource-property>
<xa-datasource-property name="Password">
XXX
</xa-datasource-property>
<xa-datasource-class>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xa-datasource-class>
<driver>sqljdbc</driver>
.................
</xa-datasource>
Re: Porting a Stardust Application from JBOSS 5 to EAP 6.2 [message #1703062 is a reply to message #1702627] Tue, 28 July 2015 11:59 Go to previous messageGo to next message
Paul Gettel is currently offline Paul GettelFriend
Messages: 2
Registered: July 2015
Junior Member
thanks for reply.
I tried to change our standalone-full.xml according to your reply, in that I removed the jboss prefix in the jndi-name attributes of the datasource elements.
it didnt seem to affect the behavior/error msgs in log.
for example
i changed:
<datasource jta="false" jndi-name="java:jboss/JackRabbit.DataSource"
to:
<datasource jta="false" jndi-name="java:/JackRabbit.DataSource"

here are the datasources from the standalone-full.xml :

<subsystem xmlns="urn:jboss:domain:datasources:1.1">
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
<driver>h2</driver>
<security>
<user-name>xxx</user-name>
<password>xxxx</password>
</security>
</datasource>
<datasource jta="false" jndi-name="java:jboss/JackRabbit.DataSource" pool-name="JackRabbitDS" enabled="true" use-java-context="true" use-ccm="false">
<connection-url>jdbc:oracle:thin:@ibiza:1521:agis432a</connection-url>
<driver>NonXADriver</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>50</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
</pool>
<security>
<user-name>xxx</user-name>
<password>xxx</password>
</security>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
<exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
</validation>
</datasource>
<datasource jta="true" jndi-name="java:jboss/arexTargetDS" pool-name="arexTargetDS" enabled="true" use-java-context="false" use-ccm="false">
<connection-url>jdbc:oracle:thin:@ibiza:1521:agis432a</connection-url>
<driver>NonXADriver</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>50</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
</pool>
<security>
<user-name>xxx</user-name>
<password>xxx</password>
</security>
</datasource>
<datasource jndi-name="java:jboss/AuditTrail.DataSource" pool-name="AuditTrail.DataSource" enabled="true" use-java-context="true">
<connection-url>jdbc:oracle:thin:@ibiza:1521:agis432a</connection-url>
<driver>NonXADriver</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>50</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
</pool>
<security>
<user-name>xxx</user-name>
<password>xxxx</password>
</security>
</datasource>
<drivers>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
<driver name="NonXADriver" module="com.oracle">
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
</driver>
<driver name="XADriver" module="com.oracle">
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
</subsystem>
Re: Porting a Stardust Application from JBOSS 5 to EAP 6.2 [message #1703157 is a reply to message #1703062] Wed, 29 July 2015 04:03 Go to previous message
Vikram Kodak is currently offline Vikram KodakFriend
Messages: 72
Registered: October 2011
Member
Hi Paul,

Firstly you don't need to modify the standalone-full.xml, it would be just standalone.xml, don't have to remove any services.

Please find attached a working example of this file, can you compare with yours and check if that works.

-Thanks
Previous Topic:How to configure Mail Application using Gmail
Next Topic:Issues while working with SOAP web services (HTTPS)
Goto Forum:
  


Current Time: Tue Nov 13 06:36:42 GMT 2018

Powered by FUDForum. Page generated in 0.02195 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top