Ok. Before i tried to work with Jboss tools i have problems with ant. If we are talkig about jboss tools i'am using Stable wersion.
http://download.jboss.org/jbosstools/updates/stable/helios/
But when i am going through the Getting started guide i've also got a problem. Maybe i'am doing something wrong or i misunderstood something. I'am not a native speaker. I tried to install Jboss ESB 4.9 on a Jboss 5.1.0 GA and i have problems . Alsa i tried to run quickstarts on Jbossesb Server 4.9 But still norhing. I try to tell you what i'am doing and what errors i have.
JBOSS ESB 4.9 + Jboss AS 5.1.0 GA
I set deployment.roperties in my /install catalog. A runt ant and i have communicate BUILD Succesfull.
It seems to be easy and OK.
I check my server is up and running. (localhost:8080)
I check libs in server/lib/endorsed and it is ok.
I go to the samples/quickstarts/helloworld
i run ant deploy and communcate : Build Successfull. But on the server log i havent got anything. No JMS queues.
And when i type ant runtest i have an error :
deploy:
BUILD SUCCESSFUL
Total time: 13 seconds
C:\ESB\jbossesb-4.9\samples\quickstarts\helloworld>ant runtest
Buildfile: C:\ESB\jbossesb-4.9\samples\quickstarts\helloworld\build.xml
check-jbossesb-dist:
qslib-dependencies:
non-qslib-dependencies:
jbossesb-quickstart-override:
jbossesb-source-dependencies:
jbossesb-server-dependencies:
check-as-version:
[echo] C:\ESB\jbossesb-4.9\install\jboss-5.1.0.GA\server\default
jbossesb-dependencies-as4:
jbossesb-dependencies-as5:
messaging-config:
messaging-dependencies:
jbossmq-dependencies:
hornetq-dependencies:
quickstart-specific-dependencies:
classpath-dependencies-as4:
classpath-dependencies-as5:
quickstart-specific-checks:
dependencies:
compile:
[javac] C:\ESB\jbossesb-4.9\samples\quickstarts\conf\base-build.xml:435: war
ning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; se
t to false for repeatable builds
[javac] C:\ESB\jbossesb-4.9\samples\quickstarts\conf\base-build.xml:440: war
ning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; se
t to false for repeatable builds
runtest:
[echo] Runs Test JMS Sender
[java] Exception in thread "main" javax.naming.NameNotFoundException: quick
start_helloworld_Request_gw not bound
[java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
[java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
[java] at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
[java] at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
[java] at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:305)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:159)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:535)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCP
Transport.java:790)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:649)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:886)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)
[java] at java.lang.Thread.run(Thread.java:662)
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:255)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:233)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
[java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:72
6)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:68
6)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSM
essage.setupConnection(SendJMSMessage.java:55)
[java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSM
essage.main(SendJMSMessage.java:81)
BUILD FAILED
C:\ESB\jbossesb-4.9\samples\quickstarts\helloworld\build.xml:14: Java returned:
1
Total time: 18 seconds
C:\ESB\jbossesb-4.9\samples\quickstarts\helloworld>
On server Side i have a message :
10:26:55,432 WARN [SimpleConnectionManager] A problem has been detected with th
e connection to remote client 4p726l1y-mry9zn-gvw4v8jx-1-gvw4vbea-4, jmsClientID
=b-4lcv4wvg-1-xj8v4wvg-nz9yrm-y1l627p4. It is possible the client has exited wit
hout closing its connection(s) or the network has failed. All associated connect
ion resources will be cleaned up.
And i still have no idea what i could possibly do wrong. Or what is a problem. So i tried on JBoss ESB server 4.9
JbossESB Server 4.9
I run in my sapmles/quickstart/helloworld
ant build -> Build Succesfull
ant runtest -> Succesfull
But on server When i Build i have a message :
10:36:03,239 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181417)] Started in 2m:20s:862ms
10:36:26,273 INFO [JBoss4ESBDeployer] create esb service, Quickstart_helloworld
_action.esb
10:36:26,333 INFO [QueueService] Queue[/queue/quickstart_helloworld_action_Requ
est] started, fullSize=200000, pageSize=2000, downCacheSize=2000
10:36:26,343 INFO [QueueService] Queue[/queue/quickstart_helloworld_action_Resp
onse] started, fullSize=200000, pageSize=2000, downCacheSize=2000
10:36:26,353 INFO [QueueService] Queue[/queue/quickstart_helloworld_action_esb]
started, fullSize=200000, pageSize=2000, downCacheSize=2000
10:36:26,393 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.esb:service=JuddiRMI
State: FAILED
Reason: java.lang.ExceptionInInitializerError
I Depend On:
jboss.esb:service=JUDDIDatabaseInitializer
jboss.esb:service=PropertyService
Depends On Me:
jboss.esb:service=JuddiClient
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.esb:service=JuddiRMI
State: FAILED
Reason: java.lang.ExceptionInInitializerError
I Depend On:
jboss.esb:service=JUDDIDatabaseInitializer
jboss.esb:service=PropertyService
Depends On Me:
jboss.esb:service=JuddiClient
And nothing Happens. I havent got any error. In my ant scripts. But i think i should have. If you have any ideas what is the problem i would be gratefull. I try to run it for over a week. And norhing. I try to use different Jboss AS and different wersions of Jboss ESB. If this would be helpfull i'm using Win XP on Virtual PC.