| Author |
Oracle 10g in Sun Solaris
|
Pol Appan
Ranch Hand
Joined: Aug 26, 2004
Posts: 144
|
|
Hello, I have a JSP application with a bean I am using to call stored java stored procedure and I am running locally in Oracle 10g Application Server in Windows XP. I will be moving the application to Sun Solaris Server for production using 10g Application Server. While moving to Solaris with 10g Apps, anything to be taken care for a smooth running of the application. Any help is highly appreciated. Thanks Cosmos
|
Never take anything for granted because you never know when you will lose it
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Cosmos, Since you are not changing the app server that makes things easier. You need to watch out for anything operating system specific. For example: 1) Absolute paths 2) Hardcoded path separators "\" vs "/" 3) Any Runtime.exec() calls. You probably don't have any of these though.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Robert Hayes
Ranch Hand
Joined: Oct 24, 2004
Posts: 116
|
|
I highly recommend that you dump the system properties of the OAS from an app running inside the server (ex: servlet). Fi: You may find something like this invaluable to do proper JNDI lookups. Also, if anyone is hard-coding path separators (ala above poster), they should be shot...
|
 |
Pol Appan
Ranch Hand
Joined: Aug 26, 2004
Posts: 144
|
|
Hardcoded path separators "\" vs "/" Questions 1)So in solaris the path seperator should be "/" like this right? Could you be little more specific? Any Runtime.exec() calls. Properties props = System.getProperties() Excuse me for my lack of knowledge. Thanks Cosmos
|
 |
Robert Hayes
Ranch Hand
Joined: Oct 24, 2004
Posts: 116
|
|
Originally posted by Cosmos Ja: Hardcoded path separators "\" vs "/" Questions 1)So in solaris the path seperator should be "/" like this right? Could you be little more specific?
Ask your OS! It should be the file.separator property... which you'll see if you dump your system properties as I mentioned above.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Originally posted by Robert Hayes: Also, if anyone is hard-coding path separators (ala above poster), they should be shot...
I agree Cosmos, 2) You can use System.getProperty("file.separator") to get the file separator. 3) Runtime.exec() is a mechanism for making system calls. For example, if you wanted to print the list of users on a machine through the UNIX "who" command, you would use Runtime.exec() Note that Runtime and System are classes in the Java API. If you scroll down in the left frame and pick the class you are interested in, you can get all the details about its methods.
|
 |
 |
|
|
subject: Oracle 10g in Sun Solaris
|
|
|