Re: [jboss-user] [Beginner's Corner] - Error: "DEPLOYMENTS MISSING DEPENDENCIES"
by ricardo delarosa
ricardo delarosa [http://community.jboss.org/people/rdelarosa] replied to the discussion
"Error: "DEPLOYMENTS MISSING DEPENDENCIES""
To view the discussion, visit: http://community.jboss.org/message/535907#535907
--------------------------------------------------------------
Thank you for helping me.
I replaced the file "server/default/deploy/hsqldb-ds.xml" with the file named "jbpm-ds.xml", in the same directory.
The content of the jbpm-ds.xml file is:
<code>
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>DefaultDS</jndi-name>
<connection-url>jdbc:oracle:thin:@127.0.0.1:1521:xe</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>BPM</user-name>
<password>BPM</password>
<min-pool-size>1</min-pool-size>
<max-pool-size>5</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
<track-statements/>
<!--
<security-domain>HsqlDbRealm</security-domain>
-->
<prepared-statement-cache-size>32</prepared-statement-cache-size>
<!-- metadata -->
<!-- type-mapping>Hypersonic SQL</type-mapping -->
<!-- /metadata -->
<!-- depends>jboss:service=Hypersonic,database=jbpmDB</depends -->
</local-tx-datasource>
<!-- mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic,database=jbpmDB">
<attribute name="Database">jbpmDB</attribute>
<attribute name="InProcessMode">true</attribute>
</mbean -->
</datasources>
</code>
Related with the problem, in the log "server.log" the next line was written:
<code>
INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
</code>
Best regards,
Ricardo
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535907#535907]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months
[JBoss Tools Development] - How to Make Your JUnit Tests Run Faster in Eclipse
by Denis Golovin
Denis Golovin [http://community.jboss.org/people/dgolovin] created the document:
"How to Make Your JUnit Tests Run Faster in Eclipse"
To view the document, visit: http://community.jboss.org/docs/DOC-15108
--------------------------------------------------------------
TBD: more tips and examples are comming (work is still in progress)
1. Consider mocking for eclipse interfaces rather trying to obtain real one from eclipse
2. Consider using core tests instead of ui tests, which is required to start eclipse workbench
3. If you need test project during test execution try to make it as simpler as it possible:* remove all unused jars and remove all unused classes from jars you need to make java indexing faster
* remove all builders from .project file that doesn't required in your test or disable them during runtime
* disable validation if your tests are not for validation issues
* disable java indexing if you cannot create test project without jars
* disable auto builder if you do not need to test incremental builder functionality
4. Try to reuse test projects between several tests to import it only ones during test execution. Use TestSetup wrapper to achieve this, because setUp and tearDown methods are executed before and after each test* methods in class.
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-15108]
Create a new document in JBoss Tools Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
15 years, 7 months