• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Oracle 10g in Sun Solaris

 
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic