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
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
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?
Hello All,
I am rookie when it comes to security protocols and I am learning this as part of my job responsibilities.
Recently our Application started implementing TLSv1.2 and here are some questions that I have from my observations.
1st the term ciphers, keys, certs are all very confusing to however I started to get some understanding of these as I am reading a lot of stuff.
Now, my application is running on "X" server and only accepts TLS1.X connections since the i use java 7 where ssl2Hello is disabled
now from Server "A" when I run cmd: openssl s_client -tls1 -host xxx -port yyyy
I get back a response in which I see a line
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-SHA
the openssl version on server A is: 1.0
when I run the same command from another server "B" I get a response in which the line says:
New, TLSv1/SSLv3, Cipher is EDH-RSA-DES-CBC3-SHA
the openssl version on server B is: 0.9
My understanding of cipher was something that is enforced by the application server "X" and not by the client that is making the call. Is that a wrong understanding ?
And how can I find out what type of cipher is being enforced by the server "X" when someone makes a call to it.
Anyone who can help me understand why the difference how this entire stuff operates.
Help much appreciated.
Hi all!! Im new in this forum and also new at linux !!
I am installing an application that includes automatically the instalation of CentOS 6.3.
The server that hosts this application and OS had a power outage and then when i turn on the server again i get the error that you can see in this pictu http://postimg.org/image/7opm0xzel/
I have 2 disks in the system, 1 for the application and SO and other to store call recordings (thats what the application do, record calls!).
If I re-install the system it has no problem!! But i dont want to re-install the system every time i have a power outage because i lost too much and important information.
I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??
Anyone can help me?? Remember im really new in linux !!
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!
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'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???
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.
Hi guys
We are urgently moving Oracle application to a backup server for some patching etc. The backup server is installed with Oracle 6.6 64Bit linux with default partitions. We found that the system has ext4 file system, while our external storage through HBA interface/IBM is formatted with ext3 file system.
Hence, please let us know what kind of performances issues we may come across, or the same could be ignored?
regards