[JBoss Tools] - No Maven Console output with JBoss Tools 3.2 and Helios WTP?
by Eric B
Eric B [http://community.jboss.org/people/benze] created the discussion
"No Maven Console output with JBoss Tools 3.2 and Helios WTP?"
To view the discussion, visit: http://community.jboss.org/message/628687#628687
--------------------------------------------------------------
Hi,
I've been using m2e with Eclipse for years already, and have always relied on the Maven Console output to tell me what Maven was doing (downloading resources, warning me of missing resources, etc).
I have recently upgraded to JBoss Tools 3.2 from the update site, which meant uninstalling the original m2e sonatype plugin and install the m2e plugin from the JBoss Tools suite.
I currently have Helios 3.6.1 WTP installed with
JBoss by Red Hat: Maven Integration for Eclipse WTP : 0.13.1.20110728-1800 : org.maven.ide.eclipse.wtp.
However, now, whenever Maven is running doing anything, the console is blank. I have tried to enable debug output, but there is still nothing being displayed in the console.
Is this a bug, or is there something improperly configured in my system?
Thanks,
Eric
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628687#628687]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[EJB3] - Why application exceptions are wrapped in EJBException on AS 6.1?
by renz13
renz13 [http://community.jboss.org/people/renz13] created the discussion
"Why application exceptions are wrapped in EJBException on AS 6.1?"
To view the discussion, visit: http://community.jboss.org/message/628811#628811
--------------------------------------------------------------
Hello,
I'm trying to deploy a Stateless Session Bean with Bean-Managed Transaction on JBoss AS 6.1 with the default configuration.
Methods in that bean throws application exceptions, which are annotated with @ApplicationException.
When a method throws an application exception, it's wrapped in an EJBException.
If I use Container-Managed Transaction, application exceptions are not wrapped in EJBException.
The Stateless Session Bean (I use a very simple case as an example, but the problem is the same) :
package org.helloworld;
import javax.ejb.Stateless;
import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;
import org.helloworld.exception.MyAppException;
@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class MyBean implements MyBeanRemote {
public MyBean() { }
@Override
public void doSomething(boolean throwException) throws MyAppException {
if (throwException) {
throw new MyAppException("Oops") ;
}
else {
return ;
}
}
}
The remote interface :
package org.helloworld;
import javax.ejb.Remote;
import org.helloworld.exception.MyAppException;
@Remote
public interface MyBeanRemote {
public void doSomething(boolean throwException) throws MyAppException;
}
The application exception :
package org.helloworld.exception;
import javax.ejb.ApplicationException;
@ApplicationException
public class MyAppException extends Exception {
private static final long serialVersionUID = 1L;
public MyAppException() {
super();
}
public MyAppException(String arg0, Throwable arg1) {
super(arg0, arg1);
}
public MyAppException(String arg0) {
super(arg0);
}
public MyAppException(Throwable arg0) {
super(arg0);
}
}
The client program (java SE) :
package org.helloworld.client;
import javax.naming.InitialContext;
import org.helloworld.MyBeanRemote;
import org.helloworld.exception.MyAppException;
public class MyAppClient {
public static void main(String[] args){
try {
InitialContext ctxt = new InitialContext() ;
MyBeanRemote myBean = (MyBeanRemote) ctxt.lookup("HelloworldEAR/MyBean/remote") ;
myBean.doSomething(true) ;
}
catch (MyAppException e) {
System.err.println("My App Exception Message : "+e.getMessage()) ;
}
catch(Exception e) {
e.printStackTrace() ;
}
}
}
And here, the stacktrace, when I run the client code :
javax.ejb.EJBException: org.helloworld.exception.MyAppException: Oops
at org.jboss.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:94)
at org.jboss.ejb3.tx.StatelessBMTInterceptor.checkStatelessDone(StatelessBMTInterceptor.java:89)
at org.jboss.ejb3.tx.StatelessBMTInterceptor.handleInvocation(StatelessBMTInterceptor.java:105)
at org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:57)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx2.aop.NoOpInterceptor.invoke(NoOpInterceptor.java:45)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:392)
at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
Caused by: org.helloworld.exception.MyAppException: Oops
at org.helloworld.MyBean.doSomething(MyBean.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127)
at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:151)
at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doAroundInvoke(Jsr299BindingsInterceptor.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80)
at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71)
at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:57)
at org.jboss.weld.integration.deployer.metadata.WeldLifecycleInterceptor.doAroundInvoke(WeldLifecycleInterceptor.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80)
at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71)
at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:74)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_22758614.invoke(InvocationContextInterceptor_z_fillMethod_22758614.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_22758614.invoke(InvocationContextInterceptor_z_setup_22758614.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor.invoke(AsynchronousServerInterceptor.java:128)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx.StatelessBMTInterceptor.handleInvocation(StatelessBMTInterceptor.java:100)
at org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:57)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx2.aop.NoOpInterceptor.invoke(NoOpInterceptor.java:45)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:392)
at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:218)
at org.jboss.remoting.Client.invoke(Client.java:2070)
at org.jboss.remoting.Client.invoke(Client.java:879)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
at $Proxy4.invoke(Unknown Source)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185)
at $Proxy3.doSomething(Unknown Source)
at org.helloworld.client.MyAppClient.main(MyAppClient.java:14)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
at $Proxy4.invoke(Unknown Source)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185)
at $Proxy3.doSomething(Unknown Source)
at org.helloworld.client.MyAppClient.main(MyAppClient.java:14)
Is there something i made wrong?
Thx
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628811#628811]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[jBPM] - jPBM 5.1, persistent processes get finished without regard to session
by Miljenko Norsic
Miljenko Norsic [http://community.jboss.org/people/mnorsic] created the discussion
"jPBM 5.1, persistent processes get finished without regard to session"
To view the discussion, visit: http://community.jboss.org/message/626390#626390
--------------------------------------------------------------
Hi,
I've made a small sample app that stores knowledge session into a H2 database, based on jBPM user guide.
{code}
PoolingDataSource ds = new PoolingDataSource();
ds.setUniqueName("jdbc/BitronixJTADataSource");
ds.setClassName("org.h2.jdbcx.JdbcDataSource");
ds.setMaxPoolSize(3);
ds.setAllowLocalTransactions(true);
ds.getDriverProperties().put("user", "sa");
ds.getDriverProperties().put("password", "");
ds.getDriverProperties().put("URL", "jdbc:h2:tcp://localhost/~/test");
ds.init();
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");
// load up the knowledge base
KnowledgeBase kbase = readKnowledgeBase();
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
Integer sessionId = null;
if (args != null && args.length == 1) {
sessionId = Integer.valueOf(args[0]);
}
StatefulKnowledgeSession ksession = null;
if (sessionId == null) {
// new session
ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
} else {
// load existing session from database
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env);
}
// start the transaction
UserTransaction ut = (UserTransaction) new InitialContext().lookup("java:comp/UserTransaction");
ut.begin();
// start 5 new process instances
ksession.startProcess("com.sample.bpmn.hello");
ksession.startProcess("com.sample.bpmn.hello");
ksession.startProcess("com.sample.bpmn.hello");
ksession.startProcess("com.sample.bpmn.hello");
ksession.startProcess("com.sample.bpmn.hello");
ksession.dispose();
ut.commit();
{code}
For each knowledge session, 5 processes are created, and that process waits for a signal (it is not completed).
I have another application that loads knowledge session from database (by using ID that was provided upon knowledge session generation), and that spawns a signal:
{code}
ksession.signalEvent("Signal", null);
{code}
When signal is sent, it effectively runs all process instances into completion, and that is OK.
But when I have for example more stateful sessions persisted, and each has its own set of processes, calling {code}ksession.signalEvent("Signal", null);{code} runs processes from all sessions into completion, not only the processes that belong to that particular session.
Another thing I've spotted: when I load knowledge session from database, method {code}ksession.getProcessInstances(){code} returns empty list.
That is weird because at the same time method {code}ksession.getProcessInstance(1){code} correctly loads process instance from database.
Thanks,
Miljenko
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/626390#626390]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss Messaging] - Get frozen sending a message
by Alexey Kamenchuk
Alexey Kamenchuk [http://community.jboss.org/people/kamenchuk] created the discussion
"Get frozen sending a message"
To view the discussion, visit: http://community.jboss.org/message/617961#617961
--------------------------------------------------------------
Hi
Trying to send a message, the call JBossConnectionFactory.createTopicConnection() gets stuck and never returns. Threads dump shows that the thread infinitely waits for the MicroSocketClientInvoker.readVersion() to complete. Please find the full strack traces of the relevant threads below
Looking at the MicroSocketClientInvoker.transport() line 895 it seems like there is no way to specify a timeout
Do I incorrectly use the API? Or have misconfigured JBoss? Or is it a bug in Messaging/Remoting?
Versions I use:
jboss 5.1.0 GA
jboss-messaging-1.4.6
jboss-remoting-2_5_4_SP2
Thanks
Alexey
Thread: WorkerThread#24[192.168.21.4:50313] : priority:5, demon:false, threadId:9437, threadState:BLOCKED
- waiting on <0x57910c73> (a org.jboss.jms.server.connectionmanager.SimpleConnectionManager)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.registerConnection(SimpleConnectionManager.java:104)
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.(ServerConnectionEndpoint.java:196)
org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:273)
org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
org.jboss.remoting.Client.invoke(Client.java:2070)
org.jboss.remoting.Client.invoke(Client.java:879)
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:178)
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_40792359.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_40792359.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:109)
net.uk.topdog.td2.common.dao.server.objectchanges.JmsConnectionHelperBean.trySendJmsMessage(JmsConnectionHelperBean.java:126)
net.uk.topdog.td2.common.dao.server.objectchanges.JmsConnectionHelperBean.publishJmsMessage(JmsConnectionHelperBean.java:80)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread: Timer-7 : priority:5, demon:true, threadId:247, threadState:BLOCKED
- waiting on <0x5854bbf> (a org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper)
org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.remove(MessagingQueue.java:621)
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:524)
org.jboss.jms.server.endpoint.ServerSessionEndpoint.localClose(ServerSessionEndpoint.java:1159)
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.close(ServerConnectionEndpoint.java:395)
- locked <0x633e29b0> (a org.jboss.jms.server.endpoint.ServerConnectionEndpoint)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$close$aop(ConnectionAdvised.java:63)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised$close_N4742752445160157748.invokeTarget(ConnectionAdvised$close_N4742752445160157748.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.close(ConnectionAdvised.java)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.cleanupForSessionID(SimpleConnectionManager.java:488)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleClientFailure(SimpleConnectionManager.java:201)
- locked <0x57910c73> (a org.jboss.jms.server.connectionmanager.SimpleConnectionManager)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$close$aop(ConnectionAdvised.java:63)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised$close_N4742752445160157748.invokeTarget(ConnectionAdvised$close_N4742752445160157748.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.close(ConnectionAdvised.java)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.cleanupForSessionID(SimpleConnectionManager.java:488)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleClientFailure(SimpleConnectionManager.java:201)
- locked <0x57910c73> (a org.jboss.jms.server.connectionmanager.SimpleConnectionManager)
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleConnectionException(SimpleConnectionManager.java:241)
org.jboss.remoting.ConnectionNotifier.connectionLost(ConnectionNotifier.java:60)
org.jboss.remoting.Lease.notifyClientLost(Lease.java:342)
org.jboss.remoting.Lease.access$600(Lease.java:41)
org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:413)
java.util.TimerThread.mainLoop(Timer.java:512)
java.util.TimerThread.run(Timer.java:462)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread: WorkerThread#4[192.168.1.73:46363] : priority:5, demon:false, threadId:275, threadState:BLOCKED
- waiting on <0x58b17978> (a org.jboss.messaging.core.impl.clusterconnection.MessageSucker)
org.jboss.messaging.core.impl.clusterconnection.MessageSucker.setConsuming(MessageSucker.java:288)
org.jboss.messaging.core.impl.MessagingQueue.informSuckers(MessagingQueue.java:566)
org.jboss.messaging.core.impl.MessagingQueue.access$200(MessagingQueue.java:67)
org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.remove(MessagingQueue.java:641)
- locked <0x5854bbf> (a org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper)
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:524)
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.close(ServerConsumerEndpoint.java:388)
org.jboss.jms.server.endpoint.advised.ConsumerAdvised.org$jboss$jms$server$endpoint$advised$ConsumerAdvised$close$aop(ConsumerAdvised.java:59)
org.jboss.jms.server.endpoint.advised.ConsumerAdvised$close_N4742752445160157748.invokeTarget(ConsumerAdvised$close_N4742752445160157748.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.server.endpoint.advised.ConsumerAdvised.close(ConsumerAdvised.java)
org.jboss.jms.wireformat.CloseRequest.serverInvoke(CloseRequest.java:66)
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
- locked <0x3d2ac700> (a org.jboss.remoting.transport.socket.ServerThread)
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread: Thread-3350 : priority:5, demon:true, threadId:16865, threadState:RUNNABLE
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
java.io.BufferedInputStream.read(BufferedInputStream.java:237)
- locked <0x30830003> (a java.io.BufferedInputStream)
java.io.FilterInputStream.read(FilterInputStream.java:66)
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:1342)
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:895)
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:470)
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:169)
org.jboss.remoting.Client.invoke(Client.java:2070)
org.jboss.remoting.Client.invoke(Client.java:879)
org.jboss.remoting.Client.invoke(Client.java:867)
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
org.jboss.jms.client.delegate.ClientConsumerDelegate.org$jboss$jms$client$delegate$ClientConsumerDelegate$close$aop(ClientConsumerDelegate.java:122)
org.jboss.jms.client.delegate.ClientConsumerDelegate$close_N4742752445160157748.invokeTarget(ClientConsumerDelegate$close_N4742752445160157748.java)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
org.jboss.jms.client.delegate.ClientConsumerDelegate.close(ClientConsumerDelegate.java)
org.jboss.messaging.core.impl.clusterconnection.MessageSucker.suspend(MessageSucker.java:225)
- locked <0x58b17978> (a org.jboss.messaging.core.impl.clusterconnection.MessageSucker)
org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager$ConnectionInfo.cleanupConnection(ClusterConnectionManager.java:804)
- locked <0x77da9e35> (a org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager$ConnectionInfo)
org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager$ConnectionInfo.onException(ClusterConnectionManager.java:785)
org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:120)
org.jboss.remoting.ConnectionValidator$3.run(ConnectionValidator.java:524)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617961#617961]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss Web Services] - No endpoint address for deployed service
by Ashley Le
Ashley Le [http://community.jboss.org/people/ale2011] created the discussion
"No endpoint address for deployed service"
To view the discussion, visit: http://community.jboss.org/message/628575#628575
--------------------------------------------------------------
Hello,
I'm still pretty new with JBoss and web services. I came accross this problem couple days ago, but I haven't found a solution for it yet, nor have any idea what went wrong. Please help me to get through this problem.
I want to deploy a Soap over JMS service with Jboss AS 6 (and jdk1.6.0_27), but *I want to use my own WSDL*. I've addded the wsdlLocation annotations to my implementation java file. Packed it in a War file , which includes the WSDL, put it in the \deploy dir and started up JBOSS.
There was no error or any exceptions. It shows this in the console, so I assumed that the service is deployed. is this correct?
....
11:42:52,265 INFO [TomcatDeployment] deploy, ctxPath=/
11:42:52,624 INFO [TomcatDeployment] deploy, ctxPath=/SoapOverJms
11:42:52,812 INFO [service] Removing bootstrap log handlers
11:42:53,109 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-172.26.147.156-8080
11:42:53,156 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-172.26.147.156-8009
11:42:53,156 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final Neo] Started in 4m:7s:21ms
But when I went to view the list of deployed services , i did not see that service listed.
Any suggestions? or any ideas about this?
Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628575#628575]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[jBPM] - Process test support in Guvnor
by Miljenko Norsic
Miljenko Norsic [http://community.jboss.org/people/mnorsic] created the discussion
"Process test support in Guvnor"
To view the discussion, visit: http://community.jboss.org/message/628481#628481
--------------------------------------------------------------
Hi all,
I've posted a few questions here that were not answered at all, but I'll give a try with this one, hoping to get answer :(
I've seen that Guvnor has a pretty decent support for rule testing by test scenarios. One can define test scenario for particular rule, or for a group of rules.
I'd like to know are there any plans to extend Guvnor for process testing? Because if I want to create a test scenario for process I have to create a JUnit test case for it, and maintain it separately from my process definition in Guvnor.
I understand that it is not that simple as rule testing, as more test aspects should be considered (every process node should be eligible for test, path testing should take into consideration is the right path chosen, Drools rule testing should be incorporated into this,...).
But are there any plans for it at all?
Thanks,
Miljenko
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628481#628481]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months