6 Replies Latest reply on Jan 7, 2002 11:27 PM by nsdeonia

    Problem while Starting up Jboss 2.4.3

    nsdeonia

      Hi

      I am a new user to jboss 2.4.3 (previously i have worked with jboss 2.0).
      I have downloaded and extracted the jboss 2.4.3 binary files. But when i give command run.bat to start the Jboss it is throwing following exception

      [Default] ERROR! Shared library ioser12 could not be found.
      [NamingService] Stopped
      javax.naming.CommunicationException: Can't find SerialContextProvider
      at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
      at com.sun.enterprise.naming.SerialContext.(SerialContext.java:79)
      at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFac
      tory.java:54)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
      at javax.naming.InitialContext.init(InitialContext.java:222)
      at javax.naming.InitialContext.(InitialContext.java:178)
      at org.jboss.naming.NamingService.startService(NamingService.java:154)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.jav
      a:836)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:221)
      at org.jboss.Main$1.run(Main.java:127)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:123)

      I am using NT 4.0 machine
      using jDK 1.3
      and ioser12.dll is very much in the system path....
      can anybody help me finding what the problem is ??

      Thanks in advance for any help

      Narinder.

        • 1. Re: Problem while Starting up Jboss 2.4.3

          What is your value of JAVA_HOME?
          Does this have ioser12.dll in jre\bin?

          Regards,
          Adrian

          • 2. Re: Problem while Starting up Jboss 2.4.3
            nsdeonia

            i have defined following

            JAVA_HOME=C:\jdk1.3
            My system path contains C:\jdk1.3\bin;C:\jdk1.3\jre\bin;
            Also if i give the command 'java -jar run.jar' the JBoss shows

            java.lang.NoClassDefFoundError: org/xml/sax/SAXException
            at java.lang.Class.getConstructors0(Native Method)
            at java.lang.Class.getConstructors(Class.java:775)
            at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:95)
            at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
            at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:507)
            at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
            at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
            at org.jboss.Main.(Main.java:193)
            at org.jboss.Main$1.run(Main.java:127)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.jboss.Main.main(Main.java:123)
            [Default] javax.management.InstanceNotFoundException: DefaultDomain:service=Configuration
            [Default] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678)
            [Default]
            [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
            [Default]
            [Default] at org.jboss.Main.(Main.java:213)
            [Default]
            [Default] at org.jboss.Main$1.run(Main.java:127)
            [Default]
            [Default] at java.security.AccessController.doPrivileged(Native Method)
            [Default]
            [Default] at org.jboss.Main.main(Main.java:123)


            • 3. Re: Problem while Starting up Jboss 2.4.3

              Have a look at run.bat

              You have to configure JAXP with some -D parameters
              for your second method.

              Regards,
              Adrian

              • 4. Re: Problem while Starting up Jboss 2.4.3
                nsdeonia

                I have solved it..

                I had to make an environment variable
                JBOSS_CLASSPATH=C:\jdk1.3\lib\tools.jar;C:\jdk1.3\jre\bin\ioser12.dll

                Thanks for your valuable suggestions Adrian

                Can you also tel me how to configure a database pool
                in JBoss 2.4.3
                I want to use Oracle 8.0.5


                Regards
                Narinder.

                • 5. Re: Problem while Starting up Jboss 2.4.3
                  juergenheidak

                  Even though your problem is solved I've got another hint.

                  I get this error when a use the j2ee.jar file supplied from Sun in the j2ee sdk instead of the j2ee.jar file from jboss.

                  Using the right jarfile solves this problem without the need to set an enviroment variable.

                  • 6. Re: Problem while Starting up Jboss 2.4.3
                    nsdeonia


                    yes you are right Juergen.....
                    that also solve the problem and that too without defining a variable...
                    Thanks for your help

                    Regards
                    Narinder.