VWP + tomcat

I have new install of NB5.5 and VWP, with two app servers sun + tomcat. when i display the project properties, i want choose to run project with tomcat, i have sun app server only in the list. another question i right click the tomcat server icon and choose admin console, i don't know the user and password of the bundled tomcat 5.5.17

[344 byte] By [walid.ka] at [2007-11-26 13:54:04]
# 1
1. try change your project properties to Java EE 1.42. Look in your (dot)netbeans directory for the tomcat user config file and change the password to something more useful.C:\Documents and Settings\userName\.netbeans\5.5\apache-tomcat-5.5.17_base\conf\tomcat-users.xml
yossariana at 2007-7-8 1:32:28 > top of Java-index,Development Tools,Java Tools...
# 2

Thanks Yossarian for your replay,

i can run project with bundled tomcat if specify that in the creation, but i cannot enter to the tomcat admin page, i have add this line in the file and restart tomcat <user name="system" password="manager1" roles="manager" />

if i log with this i have this message

Invalid username or password

To try again, click here

walid.ka at 2007-7-8 1:32:28 > top of Java-index,Development Tools,Java Tools...
# 3

Make sure you are NOT trying to edit the file in the netbeans program directory. On my system it's in C:\Program Files\netbeans-5.5\enterprise3\apache-tomcat-5.5.17\conf.

Use the path I gave you earlier.

Of course, if you are not starting tomcat from within netbeans or are not using the Tomcat bundled with netbeans then things might get tricky.

There is no harm in editing the Tomcat-users.xml in the program directory by the way -- so if you want give it a go too. But as i recall it's the one in your .netbeans user folder you want to edit.

Message was edited by:

yossarian

yossariana at 2007-7-8 1:32:28 > top of Java-index,Development Tools,Java Tools...
# 4
thank you very much, you are right, i try to change the file in the wrong directory
walid.ka at 2007-7-8 1:32:28 > top of Java-index,Development Tools,Java Tools...