JNDI Failure in JBoss4.0.3SP1
sankas75 Nov 10, 2005 7:14 PMI did a fresh install of JBoss4.0.3SP1 and droppped a simple Mbean in the /server/deploy folder of JBoss. The Mbean does nothing but has two lines of code which are below.
Context ctx = new InitialContext();
ctx.bind("String", "xxxx");
Start the default JBoss server from the bin folder. The server fails to start and just keeps on waiting for something. Is there a problem in the above two lines. Please help. Below is the server log.
-Sankas
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss\bin\\..
.
JAVA: C:\jdk1505\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\jdk1505\lib\tools.jar;C:\jboss\bin\\run.jar
.
===============================================================================
.
16:13:13,578 INFO [Server] Starting JBoss (MX MicroKernel)...
16:13:13,578 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
16:13:13,578 INFO [Server] Home Dir: C:\jboss
16:13:13,593 INFO [Server] Home URL: file:/C:/jboss/
16:13:13,593 INFO [Server] Patch URL: null
16:13:13,593 INFO [Server] Server Name: default
16:13:13,593 INFO [Server] Server Home Dir: C:\jboss\server\default
16:13:13,593 INFO [Server] Server Home URL: file:/C:/jboss/server/default/
16:13:13,593 INFO [Server] Server Temp Dir: C:\jboss\server\default\tmp
16:13:13,593 INFO [Server] Root Deployment Filename: jboss-service.xml
16:13:14,093 INFO [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
16:13:14,093 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
16:13:14,093 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
16:13:14,687 INFO [Server] Core system initialized
16:13:17,000 INFO [WebService] Using RMI server codebase: http://SANJEEV:8083/
16:13:17,046 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
16:13:17,437 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Ser
16:13:24,859 INFO [Embedded] Catalina naming disabled
16:13:25,359 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
16:13:25,359 INFO [Catalina] Initialization processed in 406 ms
16:13:25,359 INFO [StandardService] Starting service jboss.web
16:13:25,375 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
16:13:25,453 INFO [StandardHost] XML validation disabled
16:13:25,484 INFO [Catalina] Server startup in 125 ms
16:13:25,656 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
16:13:26,281 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
16:13:26,890 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp45958jboss-ws4ee-exp.war/
16:13:27,062 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
16:13:27,359 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:13:30,171 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
16:13:31,078 INFO [MailService] Mail Service bound to java:/Mail