Hello,
I'm looking for options/tools where I can get server performance counters for Linux OS (having Java application on it). For windows based platforms, we have PerfMon that provides this data. I'm looking for a similar tool for Linux platform java apps. Could you please help me in identifying the best options to get the performance related data like Perfmon?
Thanks,
NR
HI,
When I first joined this forum I made a fairly long synopsis of who I am and what I wanted to do with Linux. I thought I posted it but now I can not find it anywhere. No doubt I messed up somehow!
I am developing a Java stand alone application that will require some server side Java Servlets to manage the marking, registration, install and deployment phases. I have a spare Windows 7 PC that I have converted to the Debian Linux system successfully...
I currently use LunarPages as my ISP and host to 3 domains. If I use them to host my Server Side processing they use Resin 3.x for the web server and my contract with them provides me with one 'MySQL' database system...
Next on my own server I will install the Resin version that LunarPages requires along with their required version of the Java EE.
I have 3 ways to eventually deploy my Java stand alone application
1. Use LunarPages to host my Server Side Servlet command...
2. Use the Google AppEngine service...
3. Use my own Linux Server for deployment purposes...
This message is an intro and does not have any specific question yet...
Perhaps someone may offer some suggestions for me or critique my objects...
Regards,
Jim Crowell
Hello,
I am trying to run a java application, but i'm getting an error when running my run.sh
This is my run.sh
Code:
java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar server.Server
Here is the error while running run.sh
Code:
Exception in thread "main" java.lang.UnsupportedClassVersionError: server/Server : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: server.Server. Program will exit.
Thanks
Hy,
I am new to linuxquestion.org, however i am mid-level linux administrator.
As per my scenario, I want to cluster python and java services in two nodes running RHEL 6.4. Till now by watching tutorial I have seen application level clustering of linux for eg: webserver, mysql database and so on. However I haven't found any with python & java clustering.
I am already familiar with windows clustering having clustered ip of the two nodes. In my scenario, we have both the options open either going with active-active or active-passive cluster. So I want to some sort of idea to achieve linux os clustering and hence obtained clustered ip.
Further any idea on how this service will float from one node to another. Further, I cannot get to the fencing mechanism in Linux. Any idea for this will be helpful to understand.
Hope to get positive respond ASAP. Thanks in advance for those who help me with this.
hello everyone
I'm new with Linux,,I tried to install java by using the instructions in the link below
https://www.youtube.com/watch?v=ohmZu3U9DYk
the only problem appeared in the last step "java -version" is:
neaam@neaam-desktop:~$ java -version
bash: /usr/bin/java: cannot execute binary file
can anyone help me?
I am new in java. I executed a java program using eclipse. the program contain two java file. when i try to run it using terminal in Ubuntu.
two files are not linking. it shows error. i am attaching all the data.
It shows the following error
Code:
regex2string.java:83: error: cannot find symbol
str = randomstr.nextString(2000);
^
symbol: variable randomstr
location: class regex2string
1 error
Exception in thread "main" java.lang.NoClassDefFoundError: regex2string
Caused by: java.lang.ClassNotFoundException: regex2string
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: regex2string. Program will exit.
I've been a DOS / Windows user ever since I got my first computer. I've been on Linux for almost two weeks now, and it's still hard for me to get really into it. Mainly because it is a totally different concept.
If Windows has exe, bat, and com files, what does Linux have?
Can you even run an application/program in Linux?
Why is it so damn hard to get up-to-date stuff like flash plugins and java? or up-to-date browsers for that matter.
I love how stable Linux is now that I don't have to worry about viruses, but I am reluctant when it comes to installing and trying things because this one concept is so alien to me.
I'm new to linux but I use linux a little at school and by connecting through a shell at home. Anyways, I just installed linux a little while ago and I opened a shell and tried to compile some java code by going to the directory of the code and typing "javac someCode.java" like I do at school but it says the command is not found.
I previously had installed the java runtime environment and I just went to go and try to install the java development kit but it says it was already installed.
Is there some sort of path I need to set for the shell to look for the java compiler? Thanks in advance.
Edit:
I have added aliases to my .cshrc file at school and I just found a bashrc file and csh.cshrc file in the /etc folder. Sorry, I'm really new to all of this. Anyways, I'm geussing I have to edit the bash file? Can anyone point me to a good tutorial of scripting for these files???
Good day all. I have 2 servers, 1 dev server running 32bit Debian Lenny with Tomcat8.0.15 and Java 1.8.0_25 and Postgres 8.3.4. The other server UAT is running a 64bit Debian Wheezy with Tomcat8.0.15 and Java 1.8.0_25 and Postgres 8.3.9.
My problem is that, the application deployed in the dev server runs properly, but when deployed on the UAT server, we get an error.
[MRS ERR 2015-05-13 16:03:33] com.bdo.clg.mrs.users.dao.UserDAOERROR: operator does not exist: integer = character varying
org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying
Another difference we noticed is in the logs.
Dev logs shows this
[MRS 2015-04-01 13:51:27] resetXPassDay.sql: UPDATE mrs_usr SET x_pass_day = '0'
WHERE login_name = 'GABS'
notice the ' ' in login_name
UAT shows this
MRS 2015-05-13 16:03:33] resetXPassDay.sql: UPDATE mrs_usr SET x_pass_day = '0' WHERE login_name = ARANTGA
no ' ' in login_name.
We already tried redeploying and reinstalling tomcat and java. Need help in pin pointing the cause of the problem.
Thanks!
Hello.
I am not entirely new to Linux and UNIX in general, but I am to Samba.
I have about 100 users roughly and currently have a fileserver that is drastically wasted on a Windows Server 2008 R2 platform, which I would eventually like to migrate to a Linux platform to reduce the amount of programs unnecessary for the purpose of a fileserver, and also set up my server as a primary domain controller as well as user access if possible.
I'm reading and sifting through the forum on the current information, but if anyone has additional thoughts they would like to add, I will probably need something from A to Z if possible that will produce the least pain as possible, as well as reduce maintenance downtime when I actually go to implement this, as I will have to have a means to either backup what is currently on our file server, and then move toward a new fileserver on a simplified platform and perhaps regain my Windows server license for another application down the road.
Sorry so long, and thanks for any advice that would be given. I'm an IT Manager for a small corporation. However, I have worked for Fortune 500 companies, but not in this capacity.
Thanks.
Richard
Hi all
I need to install oracle application on red hat 5 .
What is the best steps for do that.
Kindly note that we need good performance for the application.
We use HP server proliant DL 380 G8
Please advise .
Many thanks