[Performance Tuning] - Help me, Eclipse and Jboss5.1.0GA to Slow Debug mode
by nicky narak
nicky narak [http://community.jboss.org/people/nickynarak] created the discussion
"Help me, Eclipse and Jboss5.1.0GA to Slow Debug mode"
To view the discussion, visit: http://community.jboss.org/message/585223#585223
--------------------------------------------------------------
Help me,
I develop by Eclipse and Jboss5.1.0GA, In project have EJB3.0 what I have to start debug mode on jboss to show slow deploy EJB.
I find answer via 2 week,
Enveronment:
Window XP SP3
Eclipe 3.5 , 3.6 + JBoss 5.1.0GA ==> start Debug very slow
JBoss Developer 3,4CR1 + JBoss 5.1.0GA ==> start Debug very slow
Eclipe 3.5 , 3.6 + JBoss 4.2.3GA ==> start Debug fast
JBoss Developer 3,4CR1 + JBoss 4.2.3GA ==> start Fast
How I should configuration JBoss5.1.0GA or Eclipse?
Help me,Please.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/585223#585223]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[Beginner's Corner] - javax.naming.NameNotFoundException: DefaultDS not bound
by pippodev
pippodev [http://community.jboss.org/people/pippodev] created the discussion
"javax.naming.NameNotFoundException: DefaultDS not bound"
To view the discussion, visit: http://community.jboss.org/message/586441#586441
--------------------------------------------------------------
well I put mysql-connector-java-5.1.14-bin.jar in default/lib dir,
created mysql-ds.xml in defautl/deploy
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>DefaultDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/prova</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>root</password>
<!-- should only be used on drivers after 3.22.1 with "ping" support
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
-->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
but I have the error javax.naming.NameNotFoundException: DefaultDS not bound
both I use
ds = (DataSource) PortableRemoteObject.narrow(ictx.lookup("java:DefaultDS"), DataSource.class);
or
ds = (DataSource)ictx.lookup("DefaultDS");
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586441#586441]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - Problem installation jbpm5 with spring beans
by Pavel Sknar
Pavel Sknar [http://community.jboss.org/people/pavel.sknar] created the discussion
"Problem installation jbpm5 with spring beans"
To view the discussion, visit: http://community.jboss.org/message/586656#586656
--------------------------------------------------------------
Try use bean "drools:kagent" with stataful knowledge session but have exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaSingleSessionCommandService': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'knowledgeAgent' of bean class [org.drools.container.spring.beans.StatefulKnowledgeSessionBeanFactory]: Bean property 'knowledgeAgent' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter
why StatefulKnowledgeSessionBeanFactory of drools-spring do not use knowledge agent?
#pavlz KnowledgeSessionDefinitionParser try set this property to factory.
<drools:kagent id="knowledgeAgent" kbase="knowledgeBase" new-instance="false">
<drools:resources>
<drools:resource type="CHANGE_SET" source="classpath:ChangeSet.xml" />
</drools:resources>
</drools:kagent>
<drools:kbase id="knowledgeBase">
<drools:resources>
<drools:resource type="BPMN2"
source="classpath:definitions/BPMN2-UserTask.bpmn2" />
</drools:resources>
<drools:configuration>
</drools:configuration>
</drools:kbase>
<drools:ksession id="jpaSingleSessionCommandService" type="stateful" kbase="knowledgeBase">
<drools:configuration>
<drools:work-item-handlers>
<drools:work-item-handler name="Human Task" ref="humanTaskHandler" />
</drools:work-item-handlers>
<drools:jpa-persistence load="1">
<drools:transaction-manager ref="transactionManager" />
<drools:entity-manager-factory ref="entityManagerFactory" />
</drools:jpa-persistence>
</drools:configuration>
</drools:ksession>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586656#586656]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months