I need to make a script that controls or checks certain assets of a JBoss server. Like if the server is running or down, or how much memory he uses, etc.Now, via the website of Nagios, i've found a script which i can use.Where can i find the things i need to check on this?On the JBoss server i get an overview of everything, but i really don't have a clue where to start looking.
I am able to create a solaris package and hpux package from directory structure in a specific format rather than spec file but the same i can not do on linux . is there any way to do that . basically i can create the solaris package using command pkgtrans -s "source loc" "package location" all .we do not need any specfile here rather we create the package from the filesystem objects in a proper directory structures. again pkgadd -d option will install the datastream from a package but i did not find the same on linux.
Trying to count the number of oracle instances on HPUX 11.23 - using ksh. I have multiple instances running and I would like to have a count for how many processes for eachinstance.Example, run the 'ps -efu oracle' command and for each instance increment a counter. So I am looking forINT1=# INT2=# INT3=# ... INTn=#I keep thinking a 'do-while' or some type of 'while' loop but I am missing something, somewhere
I have installed phpldapadmin 184.108.40.206 Using commands in shell I have added two users and some groups into a base (ldif-file) and I see them in phpldapadmin. But when I try to add users or groups by using graphical interface (phpldapadmin) I can't do this correctly because I can't to select a type of new entry and I see a tip "classes of objects from XML does not support LDAP-server". So I can't to create a new entry by using graphical interface. Here is my slapd.conf
I'm currently trying to stop JBoss and I'm not able to accomplish it, have look everywhere... java, etc, no idea.It was working well and then it just stopped.no changes were made from a Jboss perspective.
For some reason I need to use CentOS 4.8.I installed Java 1.6.26 and JBOSS 5.1 on CentOS 4.8. However, When I use ./run.sh to run JBOSS I get the following message:/bin/run.jaring required file: /opt/java/jbosswhere /opt/java/jboss is the link to the JBOSS installation directory. Nothing else happens and there is no log.I tried the search the error message, but got no hints
As we have planned to implement jboss web server. i am curious gather some information about it.My question is where jboss stores the deployed file. Because jboss server starts with no error.but i cant able to access my application.Its showing 404 error.I just want to know the path where jboss stores the deployed file or the any log files that tells the story.
I have apache ,jboss and jon instances on various linux boxes.I need to create a generic startup script to restart those instances on server reboot.The script requirement is :It should take the name of instances from one text file named active-servers and recycle those instances.1. start-mws-servers (generic script for /etc/rc.d but just create it in ~/bin dir for current testing)It simply searches ~/bin/active-servers for active server recycle scriptsIt executes each recycle script and passes it the 'start' commandIt logs results to /tmp/start-mws-servers.
We are using a webserver and application server for our portal. When my JBoss application is down on the application server, a maintenance page is shown to the user when the user tries to access the portal. When the JBoss application on the application server is up, the webserver redirects the request to the JBoss application server. Now, while the JBoss application is up and I replace the contents of index.html page in apache with the maintenance page contents.
Still the webserver redirects the request to the JBoss application server and the contents of index.html are not shown to the user. I am not able to find out any configurations for this automatic redirection in webserver. By automatic, I mean if the JBoss application is up, then redirect the request to the application server, else show maintenance page. What I want to do is show maintenance page even when my JBoss application is up.
But in this way the command console will keep hang. Now I want to write a script which calls u this command and return back to the command console. Here is what I wrote but it doesn't return back to the command console:
#!/bin/sh MSGBP_HOME="/opt/jboss/MSGBP" case "$1" in start)
I am using SUSE enterprise server 11 SP1. I have jboss server application 4.0.5 GA in the above O.S where I have some problem in running the jboss. How and where to download the latest jboss server for the O.S
I have it so that an Env object contains all the variables in the current scope, and the parent scope. You can also save them to variables like objects, and my idea is to use the "." operator to get values from them.
First, how do I assign to them? I currently have it that only a variable name can be assigned to, but you should be able to assign to an "obj.value" expression, too. How do I keep track of what variable to set and still be able to say it in an expression and have it evaluate to the variable?
Second, these object don't really have a "type", they're just containers that contain any values you want under any name you want. How can I, for example, define a primitive "boolean" object and have things like if statements recognize it?
I have two classes, for argument's sake A and B. A implements the core functionality, B is an encapsulated data structure. If you imagine this situation [code]...
From within B's member functions, I would like to access the public function() in class A. This is not an inheritance issue, they are two discrete classes with radically different functionality. Class A makes an object of B.
I am trying to make a hash of objects in perl (long story.) I have a package containing the main hash and all the subroutines necessary to work with it. My "new" subroutine used to add an object to the hash goes like this: