Ubuntu Servers :: Java Is Not Running In Server 10.10?

May 13, 2011

I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this

$ java -version
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ javac -version

[code].....

View 7 Replies


ADVERTISEMENT

Ubuntu Servers :: Running Tomcat Using Java VM Option

May 31, 2010

I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)

I install Tomcat:
Code:
sudo apt-get -y install tomcat6

I set up a bit of configuration in /etc/default/tomcat6:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"

I can start Tomcat with no problems:
Code:
sudo /etc/init.d/tomcat6 restart

However, if I add the -server option into the JAVA_OPTS variable, like so:
Code:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"

I get this:
Code:
$ sudo /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
Invalid option -server
Cannot parse command line arguments

How do I set the -server option correctly?

View 1 Replies View Related

Server :: Java Is Not Running In Ubuntu 10.10

May 13, 2011

I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links [URL] and [URL]. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this

$ java -version
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ javac -version
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ javac HelloWorld.java
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ java HelloWorld
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'

View 1 Replies View Related

Server :: Debian Becomes Unresponsive While Running Java?

Mar 13, 2011

Kernel version: 2.6.26-2-686
Java version: 1.6.0_0

I'm going to run a full system update, but I doubt that'll work.

What happens is I turn the computer on, log in, start the application with:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

and it will work fine for a while, but then, while we're playing, it'll become unresponsive and crash. I then go over to the physical computer, wake the monitor up by pressing the down arrow, delete the "[[B" that appears, and try to issue the applications stop command to save and close the application. This doesn't work. The computer registers what I type and registers the return, but nothing happens. I switch over to my second console, log in, find the PID of java, and attempt to kill the java process as root. It accepts the command and gives me another line of prompt, but when I switch back to the first console, nothing has happened.

I then switch back and try to issue a shutdown for right now, and it'll get to "Sending processes the SIGTERM signal", and then it waits for them to be killed, but will not progress further than that. I then have to either force the shutdown with the 3-second hold for the power button, or I have to turn off the power bar it's attached to.

Also, if I'm at the prompt and press backspace, which gives me a system beep, it doesn't stop. Instead of one, short beep, I get a never-ending tone, as opposed to the beep.

The computer does run a little hot; It's in a closet and it's kind of crammed, but it's never so hot that you can't handle the computer.

View 2 Replies View Related

Server :: Css And Java Script Is Broken Zope Running Behind An Apache Reverse Proxy?

Jun 7, 2010

a reverse proxy scenario

Code:

Server A Server B (Zope Application)
Public IP 192.168.1.5

On the first one that is A in Apache vhost file I made

Code:

ProxyPass / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons
ProxyPassReverse / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons

but the CSS and images on internet which people are accessing are broken while it is running perfectly fine if I access on LAN.

Code:

[URL]

I have checked the documentation page and here also but still the problem persists.Also on LAN if the same is accessed like this

Code:

[URL] then CSS and Java script is broken. It is an eduCommons CMS. Which I am trying to access via internet.

View 1 Replies View Related

Ubuntu Servers :: Set Up A Java Gaming Server?

Sep 18, 2010

I intend to develop a game using Java. I will need a dedicated server for running the server side code for clients to connect to.

For ease of development I was hoping to use an old PC sat next to my desktop to run as a server.

I have downloaded the 32 bit server platform (all the CPU will allow on this machine) and put it on a USB stick and can run it and it all works ok. When I get midway through the installation I get to a screen that asks me to 'Choose software to install', I was just wondering if there were some choices that I should make here. For instance I will be using MySQL, Java etc...

I am persisting on with an installation for the moment but I will be able to reinstall everything again if necessary.

View 7 Replies View Related

Ubuntu Servers :: Set Up A FTP Server For Some Quite Some Time And Keep Running?

Oct 26, 2010

I've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.

View 9 Replies View Related

Ubuntu Servers :: Running A Gaming Server With Clouds?

Feb 14, 2010

Will this be a good idea clouding my servers and building a dedicate gaming server provider?

View 2 Replies View Related

Ubuntu Servers :: Add Russian Letters To Running Server

Mar 11, 2010

When I set up Ubuntu 9.10 Server I didn't enabled Russian Letters, and now I need them. The only language is English. So when I type in Russian there are some symbols. So how can I install Russain Letters on the running server.

View 1 Replies View Related

Ubuntu Servers :: Can't Connect To FTP Server Running Vsftpd

May 29, 2010

I just made a Ubuntu Server install in a virtual machine and am having trouble setting up FTP to transfer files. I've installed LAMP and vsftp. The web server works great, but FTP gives a connection refused error locally and remotely from the host machine. 'Connection attempt failed with "ECONNREFUSED - Connection refused by server".' nmap localhost doesn't list FTP as open even though I have vsftpd set to listen. I've tried restarting vsftpd with no luck.

View 9 Replies View Related

Ubuntu Servers :: Running Software Straight From Server?

Nov 5, 2010

whats the type of server/software that colleges/schools/uni's use to have all their software in one place and students connect to that server(s)? and is it available to use for ubuntu server? I'm running a file server using proftpd and a web server using apache2 so i know how to go setting them up basicallyI want to be able to have all my software, for windows machines, mac, linux all available on one or multipul server to connect to from inside or outside of my network.or even, have all my files, docs, ppt, etc on the local computer then access the software through the server.is this possible with linux servers? and can someone give me a heads up.. I'm not sure where to start atmI've tried looking for file servers but I just get ftp, or samba server tutorials.

View 4 Replies View Related

Ubuntu Servers :: Have A Windows Server Running With XAMPP Installed?

Nov 17, 2010

I currently have a windows server running with XAMPP installed.I want to try out ubuntu server, I am a complete linux newbie and was wondering if there was a similar package to XAMPP out there with:ApachePHPMySQLAnd some form of ftp server

View 5 Replies View Related

Ubuntu Servers :: Freezing When Running A Script On A Remote Server

Mar 1, 2011

I discovered in running a script on a remote server. Take this little demonstration script:

[Code]...

This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.

View 2 Replies View Related

Ubuntu Servers :: Running Multiple Websites On Single Server - VirtualHost

Aug 25, 2010

I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:

-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www

I've done some research and found that to run multiple websites I need to setup VirtualHost.

-So I created a folder /var/www/annarrankings.com and moved my site to that folder

-Edited Apache2.conf to add the following line

-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it

-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available

-Next I editied /etc/hosts

-When i went to enable the site using a2ensite annarrankings.com I got the following

I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?

View 8 Replies View Related

Ubuntu Servers :: Get A Samba Server Up And Running To Share With Windows Machines?

Oct 14, 2010

i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.

I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?

View 9 Replies View Related

Fedora Servers :: Installing A DNS Server On 13 Running Bind

Jun 9, 2010

I'm thinking about installing a DNS server on Fedora 13 running bind. I looked around for available bind packages and found only these:

Now the first one contains bind utils the second one is for running DNS in a chroot env and the last one is a bind with some DB backend.

Does this mean that fedora 13 doesn't support/.provide "standard" bind server (I mean the one to run without chroot/without db backend) ? Or am I missing anything in my repolist which is :

View 5 Replies View Related

Server :: Keep Servers Running In Stable And Secure State?

Aug 2, 2010

As far as I know, servers are stable and don't go down easily, but every single server will eventually go down some day, either from hardware/software failure or from hacking.

But as sysadmins, our job is to keep servers running healthy as long as possible.

So I'm conducting another short survey (I might start more survey threads, and thank everyone for kindly replying my previous post):

1. Have you encountered server failures? What's the most common cause for server failure?
2. What is your most important trick in avoiding your server go down?
3. What security rules do you follow to protect your servers?

View 4 Replies View Related

Ubuntu Servers :: Setup SOCKS5 Proxy - Cannot Find A Way To Get A SOCKS Server Up And Running On VPS

Mar 30, 2010

I have an interesting situation. I'd like to use bittorrent for legitimate purposes (mainly linux distro based) but the powers that be have blocked access to bittorrent at my university. I have an ubuntu VPS that I use for odds and ends and was thinking that I could setup a SOCKS5 server on it. That way, I can input the SOCKS5 info directly into the proxy section of my local bittorrent application (Transmission 1.92 running on snow leopard) and be good to go. The problem, however, is that I cannot find a way to get a SOCKS server up and running on my VPS. I've heard that ssh can be used as a simple SOCKS server, but I've also heard that i may need to install a more complete SOCKS server such as dante. Does anyone have any thoughts on this?

View 1 Replies View Related

Ubuntu Servers :: Create A Detailed Guide For A Postfix Server Running On At&t Internet?

Apr 18, 2011

I currently have a personal use server setup in my home and would like to be able to send emails from my domain name.

At&t blocks the standard ports used so some form of forwarding would have to be used. I've looked at other guides and followed them to the key but it appears I'm always missing something.

So my question here is could anyone write a detailed guide from start to finish on how to install a postfix server behind an at&t connection complete with MX record and firewall configuration information?

View 4 Replies View Related

Ubuntu :: How To Get Java Up And Running

Feb 12, 2010

I just did an upgrade from 8.04 to 9.04 and i'm loving it. I just need to get Java working so I can use ..... and stuff like that. I installed OpenJDK and the plugin but I can't figure out how to get it to work in Google Chrome or even Firefox.

View 5 Replies View Related

Ubuntu :: Running SQL Queries Through Java?

Jun 20, 2010

I would like some help to run sql queries in Ubuntu. For a school IT project, we must write a Java program that runs queries. Seeing that I'm going away on holiday and will be away from my Win7 desktop, I will have to work on my Ubuntu laptop. When I run my program, I get these two sql exceptions:

Code:

sun.jdbc.odbc.JdbcOdbcDriver
No suitable driver found for jdbc:odbc:ITPAT2010

Note: it is not my program that is causing the problem, since it works fine on Win7. But here's my code anyway:

Code:

void OpenDB()
{
System.out.println("INTO BRIDGE");
String url = "jdbc:odbc:ITPAT2010"; //JOU BRUG SE NAAM

[code]....

I believe the drivers that handles the connection to the database aren't installed. The format of my database is: *.accdb (was created on Win7 using Office 2010). I can't open this file, probably because I have no database programs installed?

View 1 Replies View Related

Ubuntu :: Sound Not Working When Java Running?

Mar 28, 2011

I have this problem that whenever java is running (eg. Runescape), sound works only in the Java window, and I don't get sound from flash, mp3s or anywhere else.I found several similar threads but most of them were unsolved, and the few solutions didn't work.Note: Earlier, I used to use IcedTea browser plugin for java, which didn't seem to give any sound problems, though was a bit glitchy otherwise. This problem started only after switching to the Java plugin found

View 3 Replies View Related

Ubuntu :: Java Games Running Slow?

Jun 13, 2011

I'm having some trouble with Java based games. I am running 11.04 64x and I downloaded and installed the latest sun-jvm. I know my hardware can run these two games very well (Minecraft and Spiral Knights). I'm wondering if maybe sun isn't my default plugin.

View 5 Replies View Related

Ubuntu :: Having Multiple Versions Of Java Running On The Same Computer

Feb 4, 2010

The main problem is that the software was developed about 15 years ago and is incompatible with the most current version of Java. I would like to know how to install an older version of Java so that I can use it with just this one application, without changing the version of Java that I use for everything else.

View 1 Replies View Related

Ubuntu :: Can't Seem To Be Able To Get Java Working On Computer Which Is Running 9.10 And Firefox 3.6?

Feb 10, 2010

I can't seem to be able to get Java working on my computer which is running Ubuntu 9.10 and firefox 3.6. I have followed instructions to download Java and when I restart firefox there is no Java plugin and it does not appear to be installed.

View 9 Replies View Related

Ubuntu :: Java Applets In Firefox Stay Running?

Jul 12, 2010

All day today, my laptop has been absurdly hot.The core temperatures were exceeding 70.0C even though it was on a cooling pad and I had disabled wireless, lowered the screen brightness, and put the CPU on Powersave. (For comparison, the temp usually stays at 45.0C if I do all this)

Finally, I decided to check htop, and I found IcedTea Plugin at the top with 99% CPU usage. This is used to run embedded Java applets (Java, not Javascript). Curiously, no Java applets were running at that time.Now skip ahead an hour to when I finally discover that the IcedTea Plugin was left over from earlier because it didn't stop running when it was supposed to. Looking online, I see several complaints about Java being very taxing on the CPU in Ubuntu, but I don't see anything about Java applets continuing to run after they're gone.

Can anyone who has Java installed confirm that this happens on their system?

1. Open htop. Search for "icedtea" to make sure it isn't already running. Then click on "CPU%" to sort the list.
2. Open this page in Firefox: www.java.com/en/download/help/testvm.xml
3. Check htop. Is IcedTea climbing to the top? (if you have Java, it likely will, because this is a common issue)
4. Navigate off of the Java.com page by closing the tab or clicking Back.
5. Here's what I want to know. Check htop again. Is IcedTea still there?
6. Restart Firefox to get rid of IcedTea.

View 8 Replies View Related

Ubuntu Installation :: Running Java And Playing Movies?

Oct 15, 2010

I am Dharmendra newbie to Ubuntu 10.04 OS and looking for how to install java (jdk1.6) on Ubuntu and also want to play the video and the problem is that i don't have an internet connect so is there any other way to get pacakages or plugins to install the above software reply me soon am waiting for that.

View 2 Replies View Related

Ubuntu Servers :: Unable LDAP Support For Ubuntu 10.04 LTS Server Running Apache 2?

Jul 27, 2010

I'm wondering how I can enable LDAP support for my Ubuntu 10.04 LTS server running Apache 2 and PHP 5.3.2? What I'm trying to do is allow users on my existing company's LDAP system to login to my Elgg site automatically (and possibly have their details filled automatically).

View 1 Replies View Related

Fedora :: Running Java App As Daemon

Aug 28, 2009

I'm new to Fedora and have just purchased a subscription to a GoDaddy Virtual Dedicated Server, which I'm able to control using SSH.I have a Java application that I want to run as a daemon on this VDS. Some google searching yielded a bunch of different methods of doing this, none of which I'm sure would be guaranteed to work with Fedora, so I was hoping someone here could give it to me straight and fill me in on the simplest way of doing this.What is the best/simplest way to run a Java application as a daemon on Fedora?

View 2 Replies View Related

Fedora :: Running Java As A Service?

Oct 28, 2010

I have a java program where I want to run it every 30 seconds. So what is the best way to run in that form? Is it running as a service or a cron is best? How to do with it

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved