[JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
by dkuanwang
Hi,
The standalone client works fine until I import the standalone code as a utility jar into a application running on Sun Application Server 8.2.
I run into NoClassDefFound Exception again:
Caused by: java.lang.NoClassDefFoundError
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:298)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:228)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop(ClientClusteredConnectionFactoryDelegate.java:242)
at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.getClientAOPStack(ClientClusteredConnectionFactoryDelegate.java)
at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
at jmsremoteclient.TestMessageProducer.(TestMessageProducer.java:43)
TestMessageProducer is the class where I try to initiate the connection to JBM. The exception doesn't suggest the class name and therefore made it harder to debug. (I did included log4j.jar)
Any suggestions?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224771#4224771
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224771
17 years
[JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
by sarishjain
Deployment was successful, but while executing the process on 5.0.1, partner service invocations are failing with this exception,
|
| org.jbpm.bpel.BpelException: no port implements the required port type: portType={http://jbpm.org/examples/ticket}TicketIssuer
| at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:97)
| at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:52)
| at org.jbpm.bpel.integration.jms.IntegrationControl.createCaller(IntegrationControl.java:261)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:162)
| at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:75)
| at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
| at org.jbpm.graph.def.Action_$$_javassist_149.execute(Action_$$_javassist_149.java)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
| at org.jbpm.graph.def.Node.execute(Node.java:335)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:390)
| at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
| at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
| at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
| at org.jbpm.bpel.graph.basic.Receive_$$_javassist_19.messageReceived(Receive_$$_javassist_19.java)
| at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
| at sun.reflect.GeneratedMethodAccessor396.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
| at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_92.deliverMessage(ReceiveAction_$$_javassist_92.java)
| at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
| at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
| at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
| at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:613)
|
|
May be some code fix is required within the BPEL source files
Not the invocation of that service (configured to be invoked as part of the workflow) worked
| Call call = createCall("http://localhost:8080/ticket/ticketIssuer","http://jbpm.org/examples/ticket","createTicket");
| String ret = (String) call.invoke(new Object[] { });
|
| System.out.println("Sent 'Hello!', got '" + ret + "'");
|
Any pointers on this one?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224770#4224770
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224770
17 years
[Security & JAAS/JBoss] - Two-way SSL, which certificate does the client send?
by fthurber
I have two JBoss servers running our application, connected by https, and I have a question about client certificates, one is a client and the other a server. However when I turned on clientAuth (and CLIENT-CERT), the client JBoss does not seem to send the correct certificate. I get this error:
SSLHandshakeException: Received fatal alert: bad_certificate
|
I have checked the truststores on both JBoss servers, and they seem to be loaded correctly, etc. The trust and identity stores are set up in the usual JBoss fashion and named Identity.jks and Truststore.jks.
However I am wondering which certificate the client actually sends when the server asks for the client cert. I would think that it would sent my self-signed cert in Identity.jks, but now I am not sure it does.
Does my client code know enough to find the cert in Identity.jks or do I need to explicitly set the javax.net.ssl.keyStore system property? I tried doing this in the JAVA_ARGS in the run.sh, but there were dire consequences. Do I need to do this in my application code?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224769#4224769
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224769
17 years
[Installation, Configuration & DEPLOYMENT] - Urgent Need Jboss Administrator
by okpremjit@yahoo.co.in
Job Title: Jboss Administrator
Duration: Permanent
Location: Chevy Chase MD
Client: Confidential
Project Description:
Role:The successful Middleware Administrator candidate will be responsible for the installation, configuration, performance and tuning as well as ongoing operations and maintenance of JBoss application servers. Additionally, the Middleware Administrator will troubleshoot application issues and advise developers on how to develop applications in a best practice approach utilizing the specific application servers.
Additional Duties:
Install and configure JBoss Application Server and other J2EE software products and fixes on Linux/Windows/UNIX platforms.
Support the application development cycle involved with Application design, deploying code, and resolving any infrastructure problems.
Tune J2EE Application servers to optimize performance.
Support production implementations and resolve any production problems, support application releases, monitor production environment, participate in production problem calls, resolve any problems related to Middleware.
Write or modify scripts (Korn shell, JYTHON).
When we have lease replacements we have to reinstall all middleware products.
We use a change management system to report all changes in a timely manner and obtain the proper approvals
Project plans using MS Project will be written for most projects that we are overseeing
Handle requests tickets from our users that need some type of Middleware support
Requirements:
Must have 3+ years experience with Unix (SuSe, Solaris preferred)
Must have 3+ years of JBoss experience
Must have 3+ years of GC
Must have scripting experience
Must have experience with J2EE Application Server tuning experience.
Please call in 650-646-3220 if you are interested
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224744#4224744
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224744
17 years