LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-24-2012, 05:19 AM   #1
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
glassfish in ubuntu


Hi team,
The server has installed glassfishv2.And it is running.The server need to reboot for a while.I want to make the glassfish service start automatically .But I have some doubts,I run the command
Code:
ps -ef
and I found
Code:
webdev92  3927     1  0 Mar27 ?        02:41:21 /usr/lib/jvm/java-6-sun/bin/java -Dcom.sun.aas.instanceRoot=/var/lib/glassfishv2/domains/domain1...
,the parent process ID is 1,is that mean this service (glassfish) has been set to start automatically?But I found no script file about it in the path /etc/rc2.d.(the runlevel is 2 now)So how should I do?Please help.Thanks a lot.
 
Old 04-24-2012, 09:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
So is this solved or not? If no, why did you mark is as such?
 
Old 04-25-2012, 10:13 PM   #3
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Tinkster View Post
So is this solved or not? If no, why did you mark is as such?
Thanks so much for your concern.I did an experiment ,and I found that if I start the process of glassfish with the ordinary user,its parent id is still 1. So I think this process has not been set to startup automaticaly.It was just startup manually by the user.So I mark this tread solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
use of interceptors with Glassfish vivaviva Programming 2 12-23-2011 06:33 AM
Glassfish vs tomcat difference? tikit Linux - Software 1 12-17-2011 03:00 AM
ubuntu,Netbeans 7.0 ,Glassfish 3.1 Runtime exec C++ program does not write a file. Johannes Marx Programming 6 11-27-2011 09:26 PM
[SOLVED] Glassfish wont start automatically Robin02 Linux - Server 3 08-12-2011 08:46 AM
Glassfish CLI156 error pliqui Linux - Server 0 06-08-2009 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration