User name and password recovery for http://localhost:4848/asadmin etc

I have finally gotten around to introducing myself to Java. I installed J2EE 1.4 SDK some time ago. This evening I started playing with it, and things seem to be going ok. It seems though that I have misplaced my username and password to login to http://localhost:4848/asadmin and any kind of deployment. If I am unable to find where I (hopefully) wrote my username and password down, is there a way to recover them? I briefly checked but did not get an immediate answer.


I am not sure about the J2EE server but in tomcat they have a file nameds as users.xml this holds the username, password and their roles… just chek if there is any such file j2EE server also…

I did not find a users.xml file, but rather a fileusers.xml. The contents did not tell me the user name or passwords were, but that’s okay. Instead I went ahead and reinstalled, making sure to record my login password.

What I am really curious about though, is according to Kevin Yank’s article ‘Getting Started with Java’ I should download the SDK, Standard Edition. When I went looking for a download all I came accross was the Enterprise Edition. OK, I’m a sucker for site usability, and I find appropriate downloads difficult at times. The initial download page said ‘Standard Edition’, but then I wound up with Enterprise Edition. Whatever.

What I want to know is with EE, when I run the commands, with or without the server started, java –version or javac I get the message ’ ‘javac’ is not recognized as an internal file command’. Do I have the wrong Java package, do I need to configure somthing else in my system (I am using windows XP), or do I just not know how to use a command prompt correctly (very likely as I have not done muc of that before).

Now that I have my passwords and usernames figured out I’ll play with some more examples/articles/tutorials, and see how I go.


Aha… I have managed to find some documentation about my problem. Here it is from:

" If you receive this error, Windows cannot find the Java compiler (javac).

Here's one way to tell Windows where to find javac. Suppose you installed the JDK in C:\\jdk5.0. At the prompt you would type the following command and press Enter:


Note: If you choose this option, each time you compile or run a program, you'll have to precede your javac and java commands with C:\\jdk5.0\\bin\\. To avoid this extra typing, consult the section Update the PATH variable (outside of the tutorial) in the installation instructions."