This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes If JBOSS is installed in application server then can shell scripts run from application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "If JBOSS is installed in application server then can shell scripts run from application server" Watch "If JBOSS is installed in application server then can shell scripts run from application server" New topic
Author

If JBOSS is installed in application server then can shell scripts run from application server

Chandana gadugu
Greenhorn

Joined: Apr 17, 2013
Posts: 2
Hi ,

1. If JBoss is installed, can we run the shell scripts in OS RHEL 5.4 version?



2. If Jboss is not installed, then is it possible to run shell scripts in RHEL 5.4 version?



3. If we move the code of java 1.4.2 to version 1.6 will there be any changes in code?



4. Can java application be hosted on IIS web server??



Thanks in advance,

Chandana.G
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2833
    
  11

Welcome to JavaRanch!

Chandana gadugu wrote:
1. If JBoss is installed, can we run the shell scripts in OS RHEL 5.4 version?


You can run any shell scripts that you have on your file system. Maybe I don't understand what you are asking though.


Chandana gadugu wrote:
2. If Jboss is not installed, then is it possible to run shell scripts in RHEL 5.4 version?


Yes, that is possible. At worst you would find that commands it called were not available, but RHEL 5.4 should be self-contained. That is, it is a complete JBoss server application, with some customizations. You don't need to install a separate JBoss instance.

Chandana gadugu wrote:
3. If we move the code of java 1.4.2 to version 1.6 will there be any changes in code?


Probably. In theory, a 1.6 JVM should be able to run code compiled in 1.4.2, and often that's the case. It's even usually the case. However, there can be little problems. You'd also be updating to a new JavaEE versiom, and there could be issues there as well. Java 1.4.2 is really ancient at this point. Chances are you'd want to do some rewrites to take advantage of the new stuff.

Chandana gadugu wrote:
4. Can java application be hosted on IIS web server??


No, but you can use JBoss or RHEL as the application server hosting your Java web application, fronted by IIS acting as the web server. JBoss comes with a built-in web server, but it is common to use Apache or even IIS instead. Requests for servlets, JSPs, etc. are passed through the web server to be handled by JBoss.
Chandana gadugu
Greenhorn

Joined: Apr 17, 2013
Posts: 2
Hi,

Thanq very much for your reply.
It helped us.

Regarding my 1st question,

Currently in RHEL 5.4v OS ,JBOSS,Java,Oracle 11g client ets.... are installed.

Will be any proble while executing the shell scripts (.ksh,.sh) files in this environment.

Thanks,
Chandana.G
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

The bash or K shell or any other shell script files have no connection with any clients. There will be no problem at all.


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If JBOSS is installed in application server then can shell scripts run from application server
 
Similar Threads
Java Process consuming high cpu utilisation
How to run .class file from Unix shell script
web logic / Linux /Oracle 10g/ plsql application architecture
Running shell scripts in Eclipse
java : shell scripts for local host