Sponsored Content
Operating Systems Solaris How to start tomcat with 2 jdk? Post 302393132 by sbox on Monday 8th of February 2010 02:25:31 AM
Old 02-08-2010
I use the following method to start tomcat...it says it uses jdk 1.6 already.

Code:
bash-2.05# /usr/local/tomcat5/bin/startup.sh
Using CATALINA_BASE:   /usr/local/tomcat5
Using CATALINA_HOME:   /usr/local/tomcat5
Using CATALINA_TMPDIR: /usr/local/tomcat5/temp
Using JAVA_HOME:       /usr/jdk/instances/jdk1.6.0

Any other settings are required?
what's SMF script? similar to contrab?

Last edited by pludi; 02-08-2010 at 03:32 AM.. Reason: code tags, please...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

find jdk 1.3.1

Hello, I try to find the file jdk-1.3.1_03-fcs.rpm (pre-requisite for Oracle Applications 11.5.8) for Linux x86 but it doesn't available anywhere... Maybe here, somebody have it ? :o Rgds (1 Reply)
Discussion started by: madmat
1 Replies

2. Shell Programming and Scripting

Problem with Unix script to start remote Tomcat

I have Tomcat installed on a Unix box and I need to start it remotely from another Unix box. Tomcat is started using a script. When this script is run locally everything is fine. When I run the same script from remote box, tomcat starts but the command running the script does not terminate.:( ... (2 Replies)
Discussion started by: shrgh
2 Replies

3. UNIX for Dummies Questions & Answers

JDK Installation

I'm trying to install JDK (Java Development tools) and i get this: WARNING: The <SUNWj6dev> package "JDK 6.0 Dev. Tools (1.6.0)" is a prerequisite package and should be installed. WARNING: The <SUNWj6rtx> package "JDK 6.0 64-bit Runtime Env. (1.6.0)" is a prerequisite package and should be... (0 Replies)
Discussion started by: idan_cn
0 Replies

4. Shell Programming and Scripting

How to check for and start the Tomcat using a script

Hello Everyone,. I am a novice with shell scripting and have written some minor shell scripts to copy files and such that. Now I have a requirement to write a shell script to go check if Tomcat running in the same server is up or not, if not then run the Tomcat startup script. Then put this... (4 Replies)
Discussion started by: bhaire
4 Replies

5. Web Development

Allow multiple users to start/stop tomcat

Hi, I have the user who runs tomcat: tomcat:tomcats I want to have another user who will be able to start and stop tomcat process. Is this possible? Thanks, Bianca (1 Reply)
Discussion started by: potro
1 Replies

6. Solaris

Jdk 1.6 Installtion

How to install the jdk 1.6 in the solaris sparc 10 64bit. Any patch is required for jdk 1.6 for solaris (2 Replies)
Discussion started by: saktiviji
2 Replies

7. Ubuntu

JDK path

Hello, I have installed the default JDK from Software centre, but when i type whereis JDK on the terminal.. i don't see any path :mad: i need JDk to install a tool ... Hurry!!! please HELP:confused::confused: (4 Replies)
Discussion started by: paramad
4 Replies

8. UNIX for Advanced & Expert Users

Is it Possible to Start Tomcat Manager using command prompt!

Hi All, wget http://<username>:<password>@<hostname>:<port>/manager/list -O - -q using this command i can able to stop , start , reload everything i can able to do once i start the tomcat , now i have some doubt legends. 1. Is this is a secure way using wget to start, stop, reload the... (0 Replies)
Discussion started by: anishkumarv
0 Replies

9. HP-UX

jdk

How can i see if jdk is installed or not on my system. I am on HP UX B.11.31 (3 Replies)
Discussion started by: bang_dba
3 Replies

10. Solaris

Tomcat..Unable to deploy application remotely in tomcat

Hi, We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml..... (0 Replies)
Discussion started by: phani4u
0 Replies
XSetSelectionOwner()													      XSetSelectionOwner()

Name
  XSetSelectionOwner - set the owner of a selection.

Synopsis
  XSetSelectionOwner(display, selection, owner, time)
	Display *display;
	Atom selection;
	Window owner;
	Time time;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  selection Specifies the selection atom.  Predefined atoms are XA_PRIMARY and XA_SECONDARY.

  owner     Specifies the desired owner of the specified selection atom.  This value is either a window ID or None.

  time	    Specifies  the  time  when	the selection should take place.  Pass either a timestamp, expressed in milliseconds, or the constant
	    CurrentTime.

Description
  XSetSelectionOwner() sets the owner and last-change time of a selection property.  This should be called by an  application  that  supports
  cutting and pasting between windows (or at least cutting), when the user has made a selection of any kind of text, graphics, or data.  This
  makes the information available so that other applications can request the data from the new	selection  owner  using  XConvertSelection(),
  which generates a SelectionRequest event specifying the desired type and format of the data.	Then the selection owner sends a SelectionNo-
  tify using XSendEvent(), which notes that the information is stored in the selection property in the desired format or  indicates  that  it
  couldn't do the conversion to the desired type.

  If  owner  is specified as None, then this client is giving up ownership voluntarily.  Otherwise, the new owner is the client executing the
  request.

  If the new selection owner is not the same client as the old owner, and the new owner is a window, then the old owner is sent a  Selection-
  Clear event.	This indicates to the old owner that the selection should be unhighlighted.

  If the selection owner window is later destroyed, the owner of the selection automatically reverts to None.

  The value you pass to the time argument must be no earlier than the last-change time of the specified selection, and no later than the cur-
  rent time, or the selection is not affected.	The new last-change time recorded is the specified time, with  CurrentTime  replaced  by  the
  current server time.	If the X server reverts a selection owner to None, the last-change time is not affected.

  For more information on selections, see Volume One, Chapter 12, Interclient Communication.

Errors
  BadAtom
  BadWindow

See Also
  XConvertSelection(), XGetSelectionOwner().

Xlib - Selections													      XSetSelectionOwner()
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy