• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

UserName and Password for starting Websphere Application Server5.0

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
Anyone has the idea about what is the userName and Password for Websphere Application Server5.0.
I want to start the server using ANT. I have written the script in "build.xml" to start the server. when i try to run the server using ANT, it says
"Logon failure: unknown user name or bad password)"
The script written in "build.xml" for starting the server is as below.
*********************************************************************
<taskdef name="wsStartServer" classname="com.ibm.websphere.ant.tasks.StartServer"/>
<target name="serverRun"<br /> description="Starts an instance of the Websphere server.">
<wsStartServer taskname="startServer"<br /> server="server1"<br /> username=""<br /> password=""<br /> wasHome="\\192.168.0.22\c$\Program Files\WebSphere\AppServer">
</wsStartServer>
</target>
**************************************************************************
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless otherwise you enabled the global security, you dont need to specify a user id and password to start your websphere application server. If u enabled, you should be knowing the userid and password?;-)
Make sure you also have the right to start the server. may be the user id you are logged in will not have the access to start the server. Try starting the server directly from the start menu or from the command line.
 
Sac Ram
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahesh,
I have not done any changes in the settings(i.e. global security),
I am able to start the server from start menu as well as from command prompt.It doesnot ask for any userName and Password.
But when i try to run ant script then it asks for UserName and Password.
Anyway how can i enable the global security, and specify the UserName and Password.
Thanks..
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dont do that till you get your startServer command works.
Do you remember who installed Websphere? Ask them what was the User id and password they gave while installing the appserver
Is the Websphere Admin Service running? Go and check it from Control Panel-Administrative tools-services and make sure IBM Websphere Admin Service is Started
From my experience, this happens when the User id used for installing Websphere doesnt have enough permissions, including Acting as Part of the OS and Log on as a Service. Check these permissions by going to Control Panel-Administrative tools - Local Security Policy- local policies - user rights and assignments.
Did you just install it? Or have been running for long time?
Pls send me the details of these questions
 
Sac Ram
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahesh,
I am using this server for a long time.
Websphere Server was installed by another person and he dont remember the userName and Password. Is there any by which we can know the UserName and Password.
My Websphere Admin Service was not running. i went to Control Panel-Administrative tools-services and Started the Admin Service.
Then i observed that error msg of UserName and Password has gone, but it had some problem with
wasHome="WebSphere Installation directory".
The Server is on the another machine, i am trying to start the server from my pc, so i have given the
wasHome="\\<MACHINE NAME OF SERVER>\<SERVER INSTALLATION DIRECTORY>".
Ex wasHome="\\mtmum_apps02\c$\Program Files\WebSphere\AppServer")

Now i am getting the message as below, when i try to run server
*****************************************************************
C:\harcourt_Nov4_11\bin>ant serverRun
Buildfile: build.xml
serverRun:
[startServer] ADMU0116I: Tool information is being logged in file \\mtmum_apps02\c$\Pr
ogram
[startServer] Files\WebSphere\AppServer\logs\server1\startServer.log
[startServer] ADMU3100I: Reading configuration for server: server1
[startServer] ADMU0111E: Program exiting with error:
[startServer] com.ibm.ws.process.exception.ProcessOpException: The system c
annot
[startServer] find the path specified.
[startServer] 003: No such process
[startServer] ADMU0211I: Error details may be seen in the file: \\mtmum_apps02\c$\Prog
ram
[startServer] Files\WebSphere\AppServer\logs\server1\startServer.log
[startServer] ADMU1211I: To obtain a full trace of the failure, use the -trace option.
[startServer] Java Result: 111
BUILD SUCCESSFUL
Total time: 10 seconds
C:\harcourt_Nov4_11\bin>
*****************************************************************
Now i am not sure where it is failing,,
*does it still looks for UserName and Password(But according to Doc UserName and Password are optional).
*Or its not getting server path?
Thanks for your help.
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sac,
Your Websphere Application Server is running on another machine.
You are trying to start the server from your machine.
Can you try this first? Go to AdminConsole from your machine, http://othermachine:9090/admin
And see first, whether this is coming up or not.
If yes, from your command line, (I am assuming that you have Websphere Installed in your machine too. Rt?)
startServer -hostname othermachinenameORip
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WAS_HOME is where you installed Websphere in your machine and not in the "other machine"
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Websphere automatically should put WAS_HOME in your environement variables list. Please go and check it under Systems from Control pane. Use the same value in your build file too
 
Sac Ram
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Yes the server is on another machine. I am able to start/stop it coz i am using VNC Client Software.
I can run admin console page from my pc
http://server m/c name:9090/admin.
Thks..
 
Sac Ram
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahesh,
I am able to get WAS_HOME now.
I was trying to start server which is on other machine from my pc. but now i am trying in the server machine only.
WAS_HOME problem is solved..
WAS_HOME was not in the list of environement variables.I added WAS_HOME in environment list and it worked out.

NOW WHEN I TRY TO START THE SERVER, I AM GETTING SUCCESS MESSAGE THAT THE SERVER IS OPEN FOR BUSINESS...THEN I TRY TO GO TO ADMIN PAGE, BUT ADMIN PAGE IS NOT OPENING.
WHAT COULD BE THE WRONG..
Thanks for your help.
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very interesting.
Server open for e-business but admin page is not coming?
Server open for e-business indicating that Application Server started and it will not start unless Admin Service is not started.
But you earlier mentioned that "I can run admin console page from my pc
http://server m/c name:9090/admin." whats happened after that? When you try to do the same what are you getting?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic