aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes please help ..... error while running program using eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "please help ..... error while running program using eclipse" Watch "please help ..... error while running program using eclipse" New topic
Author

please help ..... error while running program using eclipse

Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
I am getting this error while running simple calculator statless bean using

IDE : Eclipse.
server : JBoss
JRE : 6

I dont understand what this error is and why this is comming.
please if anyone can help me?

Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at by.iba.client.CalculatorClient.main(CalculatorClient.java:21)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
... 5 more



thank you in advance


SCJP,<br />SCWCD,<br />SCBCD 1.3,<br />SCBCD 5,<br />SCDJWS(In process....)
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
sorry i am getting this error.

javax.naming.NameNotFoundException: StatelessCalculatorBean not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at by.iba.client.CalculatorClient.main(CalculatorClient.java:21)
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
sorry i am getting this error.

javax.naming.NameNotFoundException: StatelessCalculatorBean not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at by.iba.client.CalculatorClient.main(CalculatorClient.java:21)
Uchana Jackson
Ranch Hand

Joined: Dec 07, 2007
Posts: 37
this most likely is a JNDI lookup problem referring to local or remote interface.

post the client code as well as the SLSB/SFSB. are you using DI or InitialContext/ENC lookup?


SCJP 1.4<br />SCBCD 5
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
this is my client code.

try {
Context jndiContext = new InitialContext();
Object ref = jndiContext.lookup("StatelessCalculatorBean/remote");
StatlessCalculator calc = (StatlessCalculator) PortableRemoteObject.narrow(ref, StatlessCalculator.class);

System.out.println("4 + 3 = " + calc.add(4,3));
System.out.println("4 - 3 = " + calc.subtract(4,3));
System.out.println("4 * 3 = " + calc.multiply(4,3));
System.out.println("4 / 3 = " + calc.divide(4,3));

} catch (NamingException ne) {
ne.printStackTrace();
}
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
This example is from mz notes.
This is my bean.

package by.iba.ejb;

import javax.ejb.Stateless;
import by.iba.ejb.StatlessCalculator;

public @Stateless class StatlessCalculatorBean implements StatlessCalculator {

public double add(double a, double b) {
// TODO Auto-generated method stub
return 0;
}

public double divide(double a, double b) {
// TODO Auto-generated method stub
return 0;
}

public double multiply(double a, double b) {
// TODO Auto-generated method stub
return 0;
}

public double subtract(double a, double b) {
// TODO Auto-generated method stub
return 0;
}

}
nitin pokhriyal
Ranch Hand

Joined: May 19, 2005
Posts: 263
replace your line
public @Stateless class StatlessCalculatorBean implements statlessCalculator

with
@Stateless
public class StatlessCalculatorBean implements StatlessCalculator

if it doesn't run then try check your business interface name.
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
Thanks for you help but still its not working.
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
I found new problem. While starting jboss i am getting following error.

10:34:19,094 INFO [Server] Starting JBoss (MX MicroKernel)...
10:34:19,094 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
10:34:19,094 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
10:34:19,109 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
10:34:19,109 INFO [Server] Patch URL: null
10:34:19,109 INFO [Server] Server Name: default
10:34:19,109 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
10:34:19,109 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/default/
10:34:19,141 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
10:34:19,141 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tmp
10:34:19,141 INFO [Server] Root Deployment Filename: jboss-service.xml
10:34:19,658 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
10:34:19,658 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_03-b05,Sun Microsystems Inc.
10:34:19,658 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:34:20,143 INFO [Server] Core system initialized
10:34:22,493 INFO [WebService] Using RMI server codebase: http://localhost:8083/
10:34:22,540 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
10:34:28,852 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
10:34:49,200 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
10:34:53,398 ERROR [TrapdService] Cannot instantiate trap session
10:34:53,398 WARN [ServiceController] Problem starting service jboss.jmx:name=SnmpAgent,service=trapd,type=logger
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:295)
at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:257)
at org.opennms.protocols.snmp.SnmpTrapSession.<init>(SnmpTrapSession.java:336)
at org.jboss.jmx.adaptor.snmp.trapd.TrapdService.startService(TrapdService.java:131)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Unknown Source)
10:34:53,507 INFO [SnmpAgentService] SNMP agent going active
10:34:54,463 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E4000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D31302E3235352E312E31363600000DC900400000000000000000001004010008060667810201010 100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:34:54,604 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E4000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D31302E3235352E312E31363600000DC9004000000000000000000010040100080606678 10201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:34:55,230 INFO [Embedded] Catalina naming disabled
10:34:55,293 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:34:55,293 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:34:55,716 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:34:55,716 INFO [Catalina] Initialization processed in 423 ms
10:34:55,716 INFO [StandardService] Starting service jboss.web
10:34:55,716 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
10:34:55,826 INFO [StandardHost] XML validation disabled
10:34:55,841 INFO [Catalina] Server startup in 125 ms
10:34:55,967 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
10:34:56,264 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
10:34:56,797 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
10:34:57,048 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp37912jbossws-context-exp.war/
10:34:57,204 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
10:34:57,972 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
10:34:58,645 INFO [MailService] Mail Service bound to java:/Mail
10:34:58,896 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
10:34:59,006 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:34:59,115 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
10:34:59,225 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
10:34:59,663 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
10:34:59,773 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
10:34:59,867 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
10:34:59,883 INFO [QuartzResourceAdapter] start quartz!!!
10:34:59,945 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
10:35:00,196 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
10:35:00,196 INFO [RAMJobStore] RAMJobStore initialized.
10:35:00,196 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
10:35:00,196 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
10:35:00,196 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
10:35:01,230 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java efaultDS'
10:35:01,433 INFO [A] Bound to JNDI name: queue/A
10:35:01,433 INFO Bound to JNDI name: queue/B
10:35:01,433 INFO [C] Bound to JNDI name: queue/C
10:35:01,433 INFO [D] Bound to JNDI name: queue/D
10:35:01,433 INFO [ex] Bound to JNDI name: queue/ex
10:35:01,449 INFO [testTopic] Bound to JNDI name: topic/testTopic
10:35:01,465 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
10:35:01,496 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
10:35:01,496 INFO [testQueue] Bound to JNDI name: queue/testQueue
10:35:01,512 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
10:35:01,543 INFO [DLQ] Bound to JNDI name: queue/DLQ
10:35:01,700 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
10:35:01,856 INFO [Ejb3Deployment] EJB3 deployment time took: 94
10:35:01,903 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=calculator.jar,name=StatlessCalculatorBean,service=EJB3 with dependencies:
10:35:02,060 INFO [EJBContainer] STARTED EJB: by.iba.ejb.StatlessCalculatorBean ejbName: StatlessCalculatorBean
10:35:02,107 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.5.GA/server/default/deploy/calculator.jar
10:35:02,138 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
[B]10:35:02,295 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
State: FAILED
Reason: java.net.BindException: Address already in use: Cannot bind

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
State: FAILED
Reason: java.net.BindException: Address already in use: Cannot bind



10:35:02,389 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:35:02,577 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
10:35:02,655 INFO [JkMain] Jk running ID=0 time=0/156 config=null
10:35:02,734 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 43s:578ms
 
Don't get me started about those stupid light bulbs.
 
subject: please help ..... error while running program using eclipse