thanks for your help. i really appreciate it. it works fine with jboss-3.0.1RC1. with minimal and default setting. cool, just quick question, i notice if i add an external jar to the classpath, the bellow exception get generated, i.e. in the run.bat i modified the JBOSS_CLASSPATH to include %WAVE_CPATH% [assuming %WAVE_CPATH% classpath exist] set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%;%WAVE_CPATH%
any ideas. 14:22:21,442 INFO [AbstractDeploymentScanner$ScannerThread] Running log4j:ERROR Could not create an Appender. Reported error follows. java.lang.ClassNotFoundException: org.jboss.logging.appender.DailyRollingFileApp ender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja va:159) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:144) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfCategoryElement(D OMConfigurator.java:361) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 30) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:693) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :593) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :545) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 15) at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSer vice.java:486) at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.jav a:425) at org.jboss.logging.Log4jService.startService(Log4jService.java:281) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 64) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:384) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) at org.jboss.Main.boot(Main.java:142) at org.jboss.Main$1.run(Main.java:375) at java.lang.Thread.run(Unknown Source) log4j:ERROR Could not parse input stream [java.io.FileInputStream@1671b2]. java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi gurator.java:145) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfCategoryElement(D OMConfigurator.java:361) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3 30) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:693) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :593) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java :545) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6 15) at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSer vice.java:486) at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.jav a:425) at org.jboss.logging.Log4jService.startService(Log4jService.java:281) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 64) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:384) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565) 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) at org.jboss.Main.boot(Main.java:142) at org.jboss.Main$1.run(Main.java:375) at java.lang.Thread.run(Unknown Source) -----Original Message----- From: Saroj Kumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jndi / jboss question Hi Damon, Add jboss-common-client.jar to your classpath. -Saroj -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Damon Hamacha Sent: Wednesday, July 24, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jndi / jboss question thanks for your email i run my simple test with the recommended release [jboss 3.0.1RC1] the bellow exception get generated, i am able to start the default server, but i am not able to bind objects to it, does any know what i need to do. thanks. Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Log ger at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:89) at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte xtFactory.java:38) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.<init>(Unknown Source) at jms.SpiritJNDIBinder.<init>(SpiritJNDIBinder.java:42) at jms.SpiritJNDIBinder.main(SpiritJNDIBinder.java:117) -----Original Message----- From: Sacha Labourey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jndi / jboss question you need to get jboss-all "Branch_3_0" from CVS Cheers, Sacha > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Damon > Hamacha > Envoyé : mardi, 23 juillet 2002 17:31 > À : [EMAIL PROTECTED] > Objet : RE: [JBoss-user] jndi / jboss question > > > i load the new jboss3.0 version today, however the problem did > not go away. > i am not sure what to suggest. > > -----Original Message----- > From: Damon Hamacha > Sent: Tuesday, July 23, 2002 4:05 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] jndi / jboss question > > > i am confused, > i downloaded jboss 3.0 yesterday [Monday], maybe the version is corrupted. > i will try a new version today and see what i get. > > > as you mentioned you run jboss with start "run -c minimal" did > you get the lo4j.jar exception. > i fixed the problem by adding log4j.jar to %jboss_installation%\lib. > the bellow is the exception i was getting. > > > oss3.0/jboss-3.0.0/lib/log4j.jar could not be opened, does it exist? > at > org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:172) > at > org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:4 > 64) > at org.jboss.deployment.SARDeployer.init(SARDeployer.java:155) > at org.jboss.deployment.MainDeployer.init(MainDeployer.java:556) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:501) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465) > 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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) > at org.jboss.Main.boot(Main.java:142) > at org.jboss.Main$1.run(Main.java:375) > at java.lang.Thread.run(Unknown Source) > 15:56:22,533 INFO [MainDeployer] Starting deployment of package: > file:/C:/appSe > > -----Original Message----- > From: Sacha Labourey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 3:23 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] jndi / jboss question > > > Damon, > > I just took HEAD from yesterday (3.1RC), start "run -c minimal" and > successfully ran the following adaptation of your program: > > > import java.io.*; > import java.util.*; > import javax.naming.*; > import org.jnp.interfaces.NamingContextFactory; > > /* > * This program is used to bind a connection factory and a destination > * to a JNDI implementation as specified by the file name passed in as > args[0] > */ > > public class JNDIBinder > { > private Properties env = new Properties(); > > public JNDIBinder(String propertiesFile) throws Exception > { > > System.out.println("Reading properties from " + propertiesFile); > env.load( ClassLoader.getSystemResourceAsStream(propertiesFile)); > > InitialContext ic = new InitialContext(env); > System.out.println("Successfully Created Initial Context"); > > ic.rebind ("bla", "bli"); > String result = (String)ic.lookup ("bla"); > System.out.println ("Result: " + result); > > > > ic.close(); > } > > public static void main(String[] args) > { > try > { > System.out.println("Started Binding"); > JNDIBinder spiritJNDIbinder = new JNDIBinder("startup.properties"); > System.out.println("Finished Binding"); > System.exit(0); > } > catch (Exception e) > { > System.out.println("Error Binding" + e); > e.printStackTrace(); > System.exit(0); > } > } > } > > > > RESULT: > ======= > > Started Binding > Reading properties from startup.properties > Successfully Created Initial Context > Result: bli > Finished Binding > > > So everything seems to be ok. > > Cheers, > > > Sacha > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ________________________________________________________________________ > > This email has been scanned for all viruses by MessageLabs > ________________________________________________________________________ > > This message contains confidential information and is intended > only for the named individual and may not be disseminated without > prior permission. If you are not the named addressee, you should > not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this > message in error and delete this e-message from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, delayed in transmission, incomplete, or may contain > viruses. The sender therefore does not accept liability for any > errors or omissions in the contents of this Message which arise > as a result of e-mail transmission. If verification is required > please request a hard-copy version. This message is provided for > informational purposes and should not be construed as a > solicitation or offer to buy or sell any software or services. > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. http://www.messagelabs.com > ________________________________________________________________________ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > This message contains confidential information and is intended > only for the named individual and may not be disseminated without > prior permission. If you are not the named addressee, you should > not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this > message in error and delete this e-message from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, delayed in transmission, incomplete, or may contain > viruses. The sender therefore does not accept liability for any > errors or omissions in the contents of this Message which arise > as a result of e-mail transmission. If verification is required > please request a hard-copy version. This message is provided for > informational purposes and should not be construed as a > solicitation or offer to buy or sell any software or services. > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. http://www.messagelabs.com > ________________________________________________________________________ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ________________________________________________________________________ This email has been scanned for all viruses by MessageLabs ________________________________________________________________________ This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ________________________________________________________________________ This email has been scanned for all viruses by MessageLabs ________________________________________________________________________ This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user