[jboss-user] [Beginner's Corner] - Re: Find JBoss installation

Peter Johnson do-not-reply at jboss.com
Tue Oct 9 12:21:09 EDT 2012


Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: Find JBoss installation"

To view the discussion, visit: https://community.jboss.org/message/763944#763944

--------------------------------------------------------------
Have you tried running the command one piece at a time and seeing what the outcome is? In other words, run this:

ps efax | grep java

Make sure you get some output (at least one java process should be available). Then run:

ps efax | grep java | grep $USERNAME

(I suspect that this will yield no output because it assumes that JBoss AS is running under the same user name as the script, which is a bad assumption. Perhaps take that grep out of the command string.)

And then add the next part and so on. Eventually you will have a script that works for you.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/763944#763944]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121009/9e5dd1c4/attachment.html 


More information about the jboss-user mailing list