[jBPM Development] - How to stop NioProcessor-2 logging. [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
by uvijayreddy657
uvijayreddy657 [https://community.jboss.org/people/uvijayreddy657] created the discussion
"How to stop NioProcessor-2 logging. [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE"
To view the discussion, visit: https://community.jboss.org/message/715135#715135
--------------------------------------------------------------
In JBoss server always for every second the below is scrolling continuously. Because of this *server.log size is increasing till 400MB to 500MB*. Getting disk out of space error and also getting *java.net.SocketException : Too many open files.*
*How to stop this LoggingFilter.* Please suggest and advice.
2012-02-08 11:59:13,309 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:13,309 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:14,262 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:14,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:15,277 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,262 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:21,280 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,280 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,280 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:21,281 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:22,263 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:22,264 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,310 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,311 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:22,311 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:23,311 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:23,311 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
2012-02-08 11:59:25,266 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-3) IDLE
2012-02-08 11:59:25,283 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-1) IDLE
2012-02-08 11:59:25,311 INFO [org.apache.mina.filter.logging.LoggingFilter] (NioProcessor-2) IDLE
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/715135#715135]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 4 months
[JBoss AS 7 Development] - BMP entity from jboss5 to jboss7.1
by Ale S
Ale S [https://community.jboss.org/people/a.salina] created the discussion
"BMP entity from jboss5 to jboss7.1"
To view the discussion, visit: https://community.jboss.org/message/734732#734732
--------------------------------------------------------------
Hi,
i'm trying to migrate an application from jboss 5 to version 7.1.
In my application there is a 2.1 version BMP entity...
i've searched throught the documentation but i cannot find how to migrate this portion of configuration...
in my jboss.xml (jboss 5) i have :
...
...
<container-configurations>
<container-configuration extends="Standard BMP EntityBean">
<container-name>Clustered Legacy Locked BMP EntityBean</container-name>
<instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
<locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
<commit-option>B</commit-option>
</container-configuration>
</container-configurations>
...
...
Any suggestions? how could i configure jboss7.1 so that it behaves as in JBoss 5.
Thanks,
Ale
p.s.: sorry for my english...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/734732#734732]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months
[jBPM Development] - org.drools.RuntimeDroolsException: Unexpected exception executing action org.jbpm.process.instance.event.DefaultSignalManager, Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException: -- argument type mismatch
by prashanth Reddy Dundigal
prashanth Reddy Dundigal [https://community.jboss.org/people/prashanth_biomorf] created the discussion
"org.drools.RuntimeDroolsException: Unexpected exception executing action org.jbpm.process.instance.event.DefaultSignalManager, Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException: -- argument type mismatch"
To view the discussion, visit: https://community.jboss.org/message/755045#755045
--------------------------------------------------------------
Sai,
The service task properties are declared in this way :
| Id | 3 |
| Interface | org.jbpm.biomorf.sample.demo.EvenOddNumberCheckServiceImpl |
| MetaData | {height=53, width=99, UniqueId=_9-3, y=121, x=129} |
| Name | CheckEvenOdd |
| On Entry Actions | [System.out.println(" entering into service task ");] |
| On Exit Actions | [System.out.println("exiting service task");] |
| Operation | checkEvenOrOdd |
| Parameter |
|
| Parameter Mapping | {Parameter=inputNumber} |
| ParameterType | java.lang.String |
| Result Mapping | {Result=inputNumber} |
Can anyone please see the below error and let us know what to do...
We are not able to run the service task inside an Adhoc-sub-Process. When run the task, I get the following error :
org.drools.RuntimeDroolsException: Unexpected exception executing action org.jbpm.process.instance.event.DefaultSignalManager$SignalProcessInstanceAction@1080876
at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:979)
at org.drools.impl.StatefulKnowledgeSessionImpl.executeQueuedActions(StatefulKnowledgeSessionImpl.java:866)
at org.jbpm.process.instance.event.DefaultSignalManager.signalEvent(DefaultSignalManager.java:90)
at org.jbpm.process.instance.ProcessRuntimeImpl.signalEvent(ProcessRuntimeImpl.java:372)
at org.drools.impl.StatefulKnowledgeSessionImpl.signalEvent(StatefulKnowledgeSessionImpl.java:341)
at org.jbpm.biomorf.sample.demo.NumberProcessTest.main(NumberProcessTest.java:108)
Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException: [com.biomorf.sampledemo:1 - CheckEvenOdd:3] -- argument type mismatch
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:130)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)
at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:55)
at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:51)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)
at org.jbpm.workflow.instance.node.DynamicNodeInstance.signalEvent(DynamicNodeInstance.java:69)
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:346)
at org.jbpm.process.instance.event.DefaultSignalManager$SignalProcessInstanceAction.execute(DefaultSignalManager.java:118)
at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:977)
... 5 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jbpm.bpmn2.handler.ServiceTaskHandler.executeWorkItem(ServiceTaskHandler.java:49)
at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)
... 14 more
please help me....
thank you in advance,
warm regards,
prashanth r dundigal
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/755045#755045]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 6 months
[EJB3 Development] - Embeddable EJBContainer and JBoss 7.1.1.Final
by Mohammad wrk
Mohammad wrk [https://community.jboss.org/people/mohammadwrk] created the discussion
"Embeddable EJBContainer and JBoss 7.1.1.Final"
To view the discussion, visit: https://community.jboss.org/message/731765#731765
--------------------------------------------------------------
Has anyone been able to get EJBContainer.createEJBContainer() to work with JBoss 7.1.1.Final?
Running the following code as a JUnit test results in NullPointerException!
public class EJBContainerTest {
private static EJBContainer ejbContainer;
private static Context context;
@BeforeClass
public static void beforeClass() {
System.setProperty("jboss.home", "/home/usr1/jboss-as-7.1.1.Final");
ejbContainer = EJBContainer.createEJBContainer();
context = ejbContainer.getContext();
}
@Test
public void test() {
Assert.assertNotNull(context);
}
}
Stack trace:
java.lang.NullPointerException
at org.jboss.modules.Module.forClassLoader(Module.java:365)
at org.jboss.modules.Module.forClassLoader(Module.java:365)
at org.jboss.modules.Module.forClassLoader(Module.java:365)
at org.jboss.modules.Module.getContextModuleLoader(Module.java:421)
at org.jboss.as.embedded.ejb3.JBossStandaloneEJBContainerProvider.createEJBContainer(JBossStandaloneEJBContainerProvider.java:86)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:93)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:75)
at org.arquillian.example.EJBContainerTest.beforeClass(EJBContainerTest.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/731765#731765]
Start a new discussion in EJB3 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 7 months