[JNDI/Naming/Network] - Re: java.lang.NoClassDefFoundError: org/jnp/server/NamingSe
by PeterJ
Even swing clients have command lines.
Are you running on Windows? If so, get the listdlls utility from sysinternals () )and run it:
listdlls java
or
listdlls javaw
That will tell you the command line used to run the app. Unless someone has implemented their own executable that loads the JVM, in which case the typical command line options are hidden in the executable (I hate it when that happens, extremely frustrating to reconfigure if the person who wrote the executable made invalid assumptions about the hardware on which I am running the app.)
How do you go about setting the classpath for the app? Does it get it from CLASSPATH env var? If so, post that.
These two statements confuse me:
anonymous wrote : I can see the Nameservice Port with a portscanner.
| But in the JMX Console i see the naming service started on the
| expected port.
Is there a "not" missing somewhere? Also, what is in the jndi.properties file?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153015#4153015
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153015
17 years, 11 months
[Messaging, JMS & JBossMQ] - SpyJMSException: No pong received
by ssathya
Hi All,
I am using JBoss4.2.2 GA. This is my scenario. I have configured a queue in one of the servers (a HA queue in deploy-hasingleton folder). I start many nodes in the cluster, each listening on the HA queue. ( I lookup the queue via HA JNDI). Now when the node servers start and start listening for messages, they always end up in the following exception stack trace.
| org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
| at org.jboss.mq.Connection$PingTask.run(Connection.java:1323)
| at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.io.IOException: ping timeout.
|
I read through this link http://wiki.jboss.org/wiki/IGetIOExceptionPingTimeoutHowDoIFixIt
which didn't help much.
The following are some points about my configuration
1. I am posting as much as 100-1000 messages in to the queue
2. The messages are object messages
3. Subscription is durable
One more point about this is when I start one server which hosts the queue (or rather where I'd configured the HQ queue), the listener in it doesn't seem to have any problems. Only the consumers in the nodes that start thereafter seem to have this problem. My requiement is to definitely have the messages split across servers in a round robin fashion.
Any pointers/reference will be greatly appreciated.
Thanks,
Sathya
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153007#4153007
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153007
17 years, 11 months
[JBossWS] - SOAP response not parsing into Java objects
by dnhanson
Good morning all.
I am running JBossWs 3.0.1 (about 95% sure of the version) on JBoss App Server 4.2.2 on the service side. The JDK over there is 1.6.0_03.
When I send a request to my service using SOAPui, I get back the expected XML in the SOAP message. When I send a request using the client stubs I generated using wsconsume, the outgoing and incoming messages look good, and the proper objects get created by the XML parser (this service returns a custom object), but all fields are populated to their default values (null for strings, 0 for ints).
When I turn Wireshark on, all the data is definitely there to create the objects and populate them. The XML within the envelope appears to be well-formed. I don't get any exceptions until the bad objects percolate through my code. I assume that this is a jaxb problem, but I'm honestly at a loss as to how to fix it. Does anyone have any ideas?
I'll keep looking for answers and will post what I did wrong if I find it. If anyone else has seen this or thinks they have and want more information, please let me know.
And thanks for the help, all who read this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152994#4152994
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152994
17 years, 11 months