Menu

classpath problem

Help
sachin
2005-12-02
2013-04-02
  • sachin

    sachin - 2005-12-02

    classpath problems:
    -------------------
    after installing cmpcs the run setup runs fine....problem arises when i run runserver2 batch file ...stack trace is given below.

    14:23:35,734 INFO  [NamingService] Started jndi bootstrap jnpPort=1097, rmiPort=
    1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
    Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    14:23:41,406 WARN  [ServiceController] Problem creating service Compiere:service
    =CompiereCtrl
    java.lang.NoClassDefFoundError: org/compiere/util/Ini

    now i can see this class file in Compiere.jar and it is there in the classpath.

    Expecting ppl to share some views

    Thanks.

     
    • Roberto Onnis

      Roberto Onnis - 2005-12-05

      Try jnp port=1099 & ClassLoader port=1097 in jboss-service.xml
      Regards Roberto

       
      • sachin

        sachin - 2005-12-06

        I have tried that ....i have both java 5 and java 1.4.2 on my m/c. the stack trace on making the suggested changes is:

        13:17:24,312 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
        1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
        Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
        13:17:30,625 WARN  [ServiceController] Problem creating service Compiere:service
        =CompiereCtrl
        java.lang.NoClassDefFoundError: org/compiere/util/Ini

        also please note that on changing the jnp port to 1099 in the setup window it changes the port to 0 . after which i changed the ports in the jboss-service.xml.

        at the time of running the run_server batch file the JAVA_HOME variable is set to C:\jdk1.5.0_05 (java 5).

        please let me knowwhere i m going wrong.

        Thanks and Regards,
        Sachin.

         

Log in to post a comment.