[JNDI/Naming/Network] - Intermittent java.rmi.ConnectException
by doktora
I know there have been a million posts about these kind of errors but mine seems to happen intermittently which is still quite unacceptable for a production environment.
This happens about half a dozen times a day. Where do I even begin to look?
My setup:
Box A: IP A.A.A.A with Jboss 4.2.1 on Linux
Box B: IP B.B.B.B with Tomcat 5.5.25 on Linux
Tomcat on Box B is started with:
-Djava.naming.provider.url=jnp://box1:1099 -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
and in /etc/hosts box1 is mapped to A.A.A.A
The details of the exception:
Tools::lookup() -> Could not discover class <MYCLASS>
| javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: A.A.A.A; nested exception is:
| java.net.ConnectException: Connection timed out]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at Tools.lookup(Tools.java:17)
| ...
Many thanks for any ideas!
(pls don't mention firewalls. it's not that!)
dok
P.S. Tools::lookup() does a simple InitalContext.lookup(classname).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131703#4131703
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131703
18 years, 1 month
[JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems
by alesj
Can you check if the info that exceptions describe hold:
| 10:53:14,016 WARN [ClassLoaderManager] Unexpected error during load of:org.springframework.aop.framework.ProxyCreatorSupport
| java.lang.VerifyError: org/springframework/aop/framework/ProxyCreatorSupport: attempting to override final method org/springframework/aop/framework/AdvisedSupport.adviceChanged()V
|
attempting to override final method
| 10:53:14,156 WARN [ClassLoaderManager] Unexpected error during load of:org.springframework.aop.support.MethodMatchers$ClassFilterAwareUnionMethodMatcher
| java.lang.IllegalAccessError: org/springframework/aop/support/MethodMatchers$ClassFilterAwareUnionMethodMatcher : org/springframework/aop/support/MethodMatchers$UnionMethodMatcher
|
IllegalAccessError
It could be that beta3 didn't output this at warn level, perhaps only at trace or debug.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131702#4131702
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131702
18 years, 1 month
[JBossWS] - Re: My WS doesn't send any attachment... why?
by cdc08x
Thank you very much, Martin, for your help!
Sadly, the solutions you suggested me aren't suitable for my case, because the other fields into the DocumentoData class are tightly connected to the DataHandler - that is, it's a design issue: they're all meta-information about the pdf file the DataHandler holds, so the wrapper should wrap a Collection of DocumentoData objects, and not a Collection of DataHandlers "alone"!
I tried to wrap a Collection of DocumentoData instances, but it doesn't work anyway.
On the other hand, the client is not MTOM/XOP enabled, because it's a PHP PEAR::SOAP client.
I think I will have to abandon the idea of putting as attachment the files, then, and use the base64-encoding.
Thank you, anyway!
Best regards,
Claudio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131696#4131696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131696
18 years, 1 month