J2EE help needed

amila325

Well-known member
  • Jul 11, 2006
    9,188
    33
    48
    machan actually i'm doning SCJP but i know some thing what is it tell me if i can i'll help you
    :cool: :cool: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :cool: :cool:
     

    sridanu

    Member
    Jun 11, 2006
    2,603
    2
    0
    43
    not on the moon
    amila325 said:
    machan actually i'm doning SCJP but i know some thing what is it tell me if i can i'll help you
    :cool: :cool: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :cool: :cool:

    thnx bro. do u that theres a asadmin.bat file in the J2EE server?

    i need to know abt this asadmin.bat file.

    if u know abt it plz let me knw
     

    GTRZ

    Administrator
    Staff member
  • Apr 27, 2006
    19,480
    10,860
    113
    well i know some stuff. :) I'll try to help.. what problem you have? System Application server starting problem?
     

    sridanu

    Member
    Jun 11, 2006
    2,603
    2
    0
    43
    not on the moon
    GTRZ said:
    well i know some stuff. :) I'll try to help.. what problem you have? System Application server starting problem?

    hey thnx for de help bro.
    my prob starts wen i use the asadmin.bat command to create a JNDI object reference for a database.

    i use the asant.bat command to compile the build.xml file and heres where the prob starts.

    in the build.xml file thers a asadmin.bat file command.

    in normal circumstances wen u execute the asadmin.bat command it asks for the username and password in the comand prompt.

    But here since the bat file is executed within the code the username and password are passed to it by 2 enviromrnt variables. (I checked the value of those variables and they are correct)

    so wen i execute the asant.bat file which in turn executes the asadmin.bat file it gives me an error

    username and password cannot be given in this way please provide it by link to a file.

    and this is the part that i cant do..

    i hope u understand what i say.