- 
        1. Re: JBoss 3.0's WebServer with null addressandrika Jan 27, 2002 10:42 PM (in response to alireza_banaei)Me too. Did you figure out how to get it working? 
- 
        2. Re: JBoss 3.0's WebServer with null addressadrian.brock Jan 28, 2002 5:01 AM (in response to alireza_banaei)Don't worry about it. 
 null, is just a stupid way of saying the host name
 wasn't specified. It defaults to localhost.
 Regards,
 Adrian
- 
        3. Re: JBoss 3.0's WebServer with null addressandrika Jan 29, 2002 11:09 PM (in response to alireza_banaei)Thanks! 
 Andrea
- 
        4. Re: JBoss 3.0's WebServer with null addressskadakia Feb 1, 2002 2:52 PM (in response to alireza_banaei)Hi warjort, 
 Where do we specify the name of the host, if we want to provide the localhost name.
 Thank You.
 Sundeep
- 
        5. Re: JBoss 3.0's WebServer with null addressadrian.brock Feb 1, 2002 3:19 PM (in response to alireza_banaei)I'm not sure this what you want to change. 
 This isn't THE webserver like tomcat or jetty.
 It is a very simple http server for downloading classes
 from the server to the client.
 If you are still interested, e.g. for multi-homing,
 look for org.jboss.web.WebService in jboss.jcml
 (jboss-service.xml for V3) and add
 ?????
 Regards,
 Adrian
- 
        6. Re: JBoss 3.0's WebServer with null addressskadakia Feb 1, 2002 3:41 PM (in response to alireza_banaei)Hi Warjort, 
 Yes, that worked very well.
 Let me trouble you little bit more. I have recently installed JBoss-2.4.4_Tomcat-3.2.3, the JBoss server starts but throws following exceptions, hope you can help me understand why I'm seeing these errors and how do I fix them. I have tried to fix them for last couple of days but could not do it.
 1. I have tmp.properties file in jboss/tmp dir but still I get this error:
 [12:24:40,669,J2eeDeployer] Initialization failed
 java.io.IOException: Failed to get /tmp.properties URL; Temporary directory does not exist!
 at org.jboss.deployment.J2eeDeployer.initService(J2eeDeployer.java:337)
 2. something is wrong with initializing StdJMSPool
 [12:24:44,064,ServerSessionPoolLoader] pool factory StdJMSPool bound to java:/StdJMSPool
 [12:24:44,064,ServerSessionPoolLoader] Started
 [12:24:44,074,J2eeDeployer] Starting
 [12:24:44,074,J2eeDeployer] Stopped
 javax.management.RuntimeOperationsException: Object name cannot be null
 at com.sun.management.jmx.MBeanServerImpl.isRegistered(MBeanServerImpl.java:1096)
 Thanks a lot.
 Sundeep
- 
        7. Re: JBoss 3.0's WebServer with null addressadrian.brock Feb 1, 2002 4:04 PM (in response to alireza_banaei)For point 1, the j2eedeployer is looking for the tmp 
 directory. in 2.4.4 it does this by looking for
 tmp.properties (a dummy file) in the classpath.
 You should have something like the following in jboss.conf
 [pre]
 [/pre]
 And then a directory called tmp in the jboss directory
 containing an empty file called tmp.properties
 Point 2 is probably caused by Point 1 :-(
 Regards,
 Adrian
- 
        8. Re: JBoss 3.0's WebServer with null addressskadakia Feb 1, 2002 4:43 PM (in response to alireza_banaei)Adrian, 
 Thanks for your quick reply.
 I thought the same as you suggested and checked the jboss.conf file and tmp dir under jboss with tmp.properties dummy file, etc.. before posting to this forum.
 Maybe I need to setup something else, because it finds everything else but the tmp.properties !!
 Please let me know if you have other thoughts which can help me resolve this or is it ok to live with it! what is the use of this tmp dir anyway ?
 Thanks
 Sundeep
- 
        9. Re: JBoss 3.0's WebServer with null addressadrian.brock Feb 1, 2002 4:56 PM (in response to alireza_banaei)The tmp directory is very important. 
 When you add an application to jboss/deploy the first
 thing it does is to copy it to jboss/tmp. This is where
 the app actually runs from.
 Is this an authority problem?
 Regards,
 Adrian
- 
        10. Re: JBoss 3.0's WebServer with null addressskadakia Feb 1, 2002 7:10 PM (in response to alireza_banaei)Hi Adrian, 
 You may not believe what the problem was. I had stuffed some files in jboss\tmp dir due to which JBoss was very unhappy.
 Your explanation on importance of tmp dir made me look into the directory and then removed everything else but tmp.properties file and it did the magic.
 Also, you were right in saying item #2 in my earlier post reagrding StdJMSPool not initializing was a direct effect of the tmp dir mishap.
 Thank you so much for your great help and useful suggestions. You helped me run my first ever installation of JBoss 2.4.4 with embeded Tomcat 3.2.3 and Atinav JDBC driver for MS SQL Server on Windows 2000.
 The problem was caused by my stupidity but I learned a great deal beacause of it. This forum is really very informative and educational.
 Cheers, Long Live JBoss!
 Sundeep
 
     
     
    