MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
awillis
Post subject: Where to change admin user id for oc4j 10.1.3.1?  PostPosted: Jan 04, 2007 - 05:57 PM
Registered Member
Registered Member


Joined: Oct 12, 2006
Posts: 3

running oc4j 10.1.3.1 MyEclipse 5.0

Need to change the admin user id in eclipse for 10.1.3.1 since it is no longer "admin". When shutting down via the myeclipse server button in eclipse toolbar I get this error msg:

2007-01-04 12:02:39.383 NOTIFICATION J2EE RMI-00003 Invalid username or password for default (admin). Authentication failed.

I verified the pwd is correct, but user name is not. I can shutdown via cmd line using the correct user name/pwd but need to be able to do it via eclipse.

TIA
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 04, 2007 - 07:26 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Hmm, I think the connector hard-codes the "admin" name actually.

Can you specify the username on the command line and pass it in the optional arguments box?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
awillis
Post subject:   PostPosted: Jan 04, 2007 - 08:34 PM
Registered Member
Registered Member


Joined: Oct 12, 2006
Posts: 3

I haven't found a way to do that yet, doesn't mean it isn't possible. I did some digging on Oracle.com also. There is a serverdef file for oracle.10.1.3 that is located in

<MyEclipse Install Dir>\MyEclipse 5.0GA\eclipse\plugins\org.eclipse.jst.server.generic.oc4j_1.5.0.200608110849\servers

This file seems to have all the relevant info needed for oc4j in the stop section. I edited the file with the correct pwd but still get the same error. Is there any way to confirm that eclipse is actually using this serverdef file and not another one? Or is this data irrelevant?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 04, 2007 - 08:48 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Those are the connectors for WTP, MyEclipse doesn't use them, so that change most likely won't effect the MyEclipse connector.

I'm going to file this to get looked into. In the mean time you can run the app server externally and connect to it for debugging using the remote debugger:
http://www.myeclipseide.com/images/tutorials/quickstarts/remotedebugging/

Sorry about this hickup.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
awillis
Post subject:   PostPosted: Jan 05, 2007 - 01:30 PM
Registered Member
Registered Member


Joined: Oct 12, 2006
Posts: 3

Thanks for looking into it
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits