Server :: Can Launch Java Webapp From Rc.local

Jun 30, 2009

I am trying to launch a java web application automatically when the server starts from rc.local. Logged in as root with a console I can call the jar directly "java -jar /apps/web/fitapp.jar &" everything starts no problems. Once I add the same command to rc.local and reboot the webapp fails to start. Re-directing the output shows "Unable to access jarfile fitapp.jar". I've tried setting java environment variables (using in the rc.local, and in root's profile (bash), but that error persists.

View 2 Replies


ADVERTISEMENT

Server :: Tomcat 6 - Avoid Automatic Webapp Startup?

Apr 13, 2011

I know it might seem a stupid question, but i'm gettin' nuts over avoiding webapp auto startup on Tomcat restart.i have a server, used for developing. Its tomcat has a bunch of webapps deployed. MOst of them are old/kept just for the sake of it, and I would like to avoid TC to start them on start / restart. How do I prevent a context to autostart on service start / restart?

I would like to go in the config files and selectively choose the apps to start. When tomcat is started, if anyone needs an app to be started, i would like to do it from the manager. But when I restart TC, i would like my choices to be up and running only.

View 1 Replies View Related

Ubuntu :: How To Launch JAVA Applications

Dec 12, 2010

I tried to launch java files (.jar) by choosing a program Openjdk Java 6 runtime. Then it gives me an error that the file is not marked as executable. I know how to solve problem with wine by making a launcher with a command and path

View 8 Replies View Related

General :: Launch A Local Application Remotely?

Jun 16, 2010

I use TextMate on Mac OS X to develop. The files I need to edit are on a Linux machine, and I have the Linux filesystem mounted on my Mac OS X. Opening the files and saving them in TextMate is not a problem.What I want to do (from my Mac OS X) is be able to...SSH <linux>cd <folder>mate <filename>I want that to open up the file in TextMate on my Mac OS X (thus, shifting focus from my Terminal.app to TextMate.app). How can I achieve this effect?

View 4 Replies View Related

General :: Get Local IP Using Java

Jun 20, 2011

I am trying to do FTP file transferring using java language.Found a code from a site and trying to modify it as I need. It works fine on Windows but I need on Linux (I'm working on CentOS 5.5).When I run it on Linux it doesn't success, as I found because it gets the local IP as 127.0.0.1. (but in Windows it get the real IP)

View 4 Replies View Related

Ubuntu :: Tomcat Webapp Unable To Start?

Jul 10, 2011

I am running Server 11.04 / Tomcat 7.0.16 / Sysaid ( webapp )

I have configured the Java environment, tomcat is up and running and moved the sysaid.war to the webapps folder in tomcat.

I got to http://127.0.0.1:8080 - verify that sysaid is listed as an app, it is. The .war has extracted in the webapps folder but fails to start.

Everytime I try to start it I get:

"FAIL - Application at context path /sysaid can not be started"..

Anyone have thoughts regarding the fail to run the app? I have hit up sysaid forums, but no luck through searching and or replys at this time...

View 1 Replies View Related

Debian Programming :: WebApp Crashing After Upgrading To Mono 3.0

Nov 28, 2013

I have a machine where I dabble a bit with mono and .NET in my spare time. It's running Jessie and upgraded mono to 3.0.6 from 2.x and MonoDevelop to 4.0.

Rebuilt my webapp after upping the target platform to Mono .NET 4.5 and it works fine in the debugger.

When copying the app to the production folder (on the same machine) it will no longer start and apache's error log says:

Code: Select allSystem.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionA
ttribute' from assembly 'System.Web'.
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono
.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
  at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String vhost, Int32 p
ort, System.String path, Boolean defaultToRoot) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer:GetApplication
ForPath (string,int,string,bool)

[Code] ....

I understand from posts like this one: [URL] .....

...that Microsoft moved the ExtensionAttribute from System.Core.dll to mscorlib.dll in .NET 4.5. And that a [TypeForwardedTo] attribute is supposed to make this transparent.

I get this - but have no clue to how to make my webapp work? It does so under the debugger so it obviously does some magic.

View 2 Replies View Related

General :: Launch Java On Debian: "error While Loading Shared Libraries: Libjli.so"

Jul 14, 2011

I'm trying to launch Java: $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

[Code]...

How can I launch Java as a regular user without errors?

View 1 Replies View Related

Ubuntu :: Mldonkey-server Could Not Launch?

May 21, 2010

I found my mldonkey-server curiously could not launch after rebooting To confirm my suspicion, after the following command:

Code:
root@Mldonkey:~# /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnet.
I run
Code:
root@Mldonkey:~# telnet localhost 4000
Trying ::1...
Trying 127.0.0.1...

[Code]...

View 7 Replies View Related

Networking :: Trying To Launch A C-server Using Xinetd

Jun 26, 2011

I have a small stats program that I am using to get some sys stats. I am trying to launch this program on a particular port, using the xinetd system deamon. Here is what I am doing ...

[Code]///

View 1 Replies View Related

Server :: CentOS VPS Looking To Launch Firefox?

Jun 4, 2011

So I recently got a VPS from hostgator and am now looking to get xwindows or xorg installed so that I can launch firefox from my VPS, the issue is that I don't want to install a complete desktop environment. Is there a way to accomplish this? I have enabled X11 forwarding in ssh and in the putty session, but continue to receive errors about displays.

View 1 Replies View Related

Networking :: Launch A Webpage With Vsftpd Ftp Server?

Apr 14, 2011

I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.

So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do

Code:
ftp://my_location.com

a directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be executed running main.html so the address to access the web page would be

Code:
ftp://my_location.com/main.html

My problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com

View 7 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

Server :: Config Apache Server To List Php, C/c++, Java Files As Regular Txt On Website?

Feb 2, 2011

I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,

e.g /var/www/mydomain/pub

i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,

if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,

Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Config Apache Server To List Php / C/c++ / Java Files As Regular Txt On Website?

Feb 23, 2011

config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Programming :: Java Servlets: Setup The Server Side Configuration On Fedora Web Server?

Jan 4, 2010

If you hadn't guessed it from my last 3000(ish) java-related posts, I'm a Java n00b writing a Java Applet for a work project. I got to the part was I was about to write the applet code that would send HTTP requests to my CGI scripts. But I read some paragraphs in a book praising Java servlets as better that CGI because they are easier to use and give much better performance server side. My server load isn't very big, though, and I was wondering if it would be worth taking the time to learn about Java servlets and how to set up the server side configuration on my Fedora web server.

View 3 Replies View Related

Ubuntu Servers :: Flashpolicytwistd Does Not Launch After Upgrading To Server 10.04

May 28, 2010

I was running Ubuntu Server 8.04 LTS and using flashpolicytwistd from Google Code to support flash-based telnet on two websites. After upgrading to 10.04 flashpolicytwistd no longer starts.

If I do the following to manually start flashpolicytwistd:

Code:

I get this response:

Code:

If I then immediately do the following:

Code:

I get this response:

Code:

I also cannot locate the process with ps -e, nor can I confirm that it is listening on its assigned port (default is 843, I changed it to 4005).

No errors show up in the logs. I also tried uninstalling and reinstalling with no change.

This problem has been confirmed on the Google Code issues page for this program on Ubuntu 10.04 LTS: [url]

View 3 Replies View Related

Networking :: Server On Multiple VLANs Server Not Responding To Pings From Non-local Subnets?

Jul 14, 2010

I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.

Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:

Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

[code]...

View 8 Replies View Related

Server :: ERROR 2002 (HY0000): Can't Connect To Local MySQL Server Through Socket

Mar 28, 2010

Im getting this error when i try to run mysql from a shell

Code:
ERROR 2002 (HY0000): can't connect to local MySQL server through socket

I have installed MySQL over yum on fedora.

but the path and file /var/lib/mysql/mysql.sock does not exist on my system?

View 3 Replies View Related

Server :: Collecting Email From Remote POP3 Server And Delivery To Local Users?

Jul 12, 2011

I am having problem to collecting email from remote POP3 (all the emails for a domain is stored here) and distribute it after collecting to several users defined to Linux server. I have install postfix in Linux server for email distribution.

View 3 Replies View Related

Server :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket

Apr 11, 2010

I've tried /etc/init.d/mysql start, and it actually starts, or at least, it doesn't error out. But when I do pgrep mysql I get nothing, and when I try to login with mysql -p as root, I get

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

None of my other logins work, either, but since pgrep mysql didn't work, it's clear that MySQL just isn't running. I tried uninstalling and reinstalling mysql-server via apt-get, but I get the same thing. The logs in /var/log/syslog show this:

Apr 11 14:31:26 /etc/init.d/mysql[9774]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 11 14:31:26 /etc/init.d/mysql[9774]: error: 'Can't connect to local MySQL server

[code].....

View 3 Replies View Related

Server :: Redirect Local DNS Query To Remote DNS Server On Non Standard Port?

Feb 19, 2010

The issue is that my CentOS workstation is in a vlan from where the Intranet's DNS servers are unreachable. For browsing the web there is an ISA proxy server, which I presume resolves DNS for my firefox. However, wget, host, ping and aria2c fail to get any sort of DNS resolution since they're being run from command line.I have exported HTTP_PROXY value, which provides me internet access on console, but,only when I connect using IP address. It fails on name resolution.

My question is:May I redirect the DNS queries to my home PC which would be running a DNS server on a non standard port?I was thinking of putting nameserver 127.0.0.1 in /etc/resolv.conf and then put iptables rule to redirect 127.0.0.1:53 UDP to a.public.ip.address:3535 UDP..I don't know if I am shooting blanks or what, I am not very much aware of this kind of setup.My main need is to provide DNS resolution to console apps.I want to utilize my company's idle bandwidth for bulk downloads, so, using proxy, SSH tunneling through my Home PC is out of question.

View 8 Replies View Related

CentOS 5 Server :: Local Users Cannot Upload Files To VSFTP SERVER

Nov 25, 2010

I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5

I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]

So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error

I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(

Also the root directory where the web pages are served from is called public_html here are the permissions

Here is my vsftp.conf file can someone check it to see if i made any errors in there:

View 14 Replies View Related

Server :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/lib/mysq

Apr 24, 2011

I have an e-mail production server that has been running fine for almost two years.

Notice mail was not serving today and login to a bunch of errors in messages

However, I think they are all from not being able to access MySQL and when I:

mysql -u root -p

I get:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

View 5 Replies View Related

Ubuntu :: Make A Script That Specifies How Much Ram To Launch Minecraft Server

Dec 25, 2010

I want to make a script that specifies how much ram to launch minecraft server with, so far I have:Code:read $ra
java -Xmx$raM -Xms$raM -jar minecraft_server.jar noguibut I knowthat that won't work because there is the M at the end of the variable $ra, is there a way I could make this work? I believe that the M at the end is required to specify the measurement unit.

View 1 Replies View Related

General :: Busybox/Initramfs Prevents Launch Of Ubuntu Server 8.04.3?

Sep 27, 2009

Prior to posting this I entered search arguments, "Busybox," then "initramfs" to attempt to find another user who may have experienced the same thing; if the solution is imbedded in the message threads, I must have missed it. On hand is a Ubuntu Server 8.04.3 installer CD. What works: Installs to a Mac Pro under both Parallels, and then under Fusion both were successful first try.

Install to a newly purchased 2 gig Acer Aspire One seems to have succeeded, but upon launching from Grub, Busybox/initramfs intercepts and halts the launch with an error I don't understand:

Starting up ...
Loading, please wait ...
Check root = bootary cat /proc/cmdline

[code]....

The new Acer-PC Aspire One was partitioned into four 80 gig partitions using the Paragon software to do the partitioning. XP is on the first, and Ubuntu Server on the next 80 gig partition. Install was "successfully" done from a Lite-On external CD/DVD over USB.

During the install I changed the default name from Ubuntu to something else (probably a bad idea), and I naively entered "/" root to answer the mount question (finding nothing to tell me what to do). Ubuntu required a disk driver choice from a long list - finding no reference or guidance as to what to enter, I naively entered IDE Generic, and it took (I guess it "took").

FWIW the Ubuntu installer didn't require me to indentify the mount entry or the disk driver during installs on my Mac (Fusion/Parallels).I did connect the Internet during the install. I did checkoff/install LAMP during the install from CD. Goal: To use Joomla in a mock server environment.

View 3 Replies View Related

Ubuntu Installation :: Setting Up MySql Server (which Is No Server) For Local Use Only

Apr 20, 2010

I like to run a mySql database server on a Ubuntu (which is no server) for local use only. Is there some instruction how to do this? I downloaded several DBMS but they all seem to assume a running server.

View 1 Replies View Related

Server :: OpenVPN And Local Computers \ Cant Make A //server/SHARED?

Jul 6, 2010

i just one to emulate the windows 2003 - windows XP easy VPN deployment, with my ubuntu server.I got my server side (ubuntu) and client side ( openVPN gui) and everything looks okbut now, i cant make a //server/SHARED and get from my house to the office's docs, despite the conection its ok... whats wrong?

View 14 Replies View Related

Server :: Sqid Resolving Old DNS Entries Of My Local Mail Server

Mar 24, 2010

I have change my mail server previous when i open my domain [url] it goes to [url].Now i have change my Mail server from openwebmail to Zimbra Server .so when i again open to it mail.mydomain.com ,proxy server takes to [url].

If i bypass proxy server then it open mail.mydomain.com(My zimbra Page).i have also updated internal DNS addresss But Squid not updating it

How to update Squid DNS Entry ? how to Update Squid Cache records?

View 4 Replies View Related

Server :: Unable To Resolve Domain Name With Local DNS Server / Sort It?

Jan 18, 2011

I have set up DNS server set up on my RH 5.5 system. It is working perfectly as Caching only Server but but when i tried to make it a primary server for a zone it didn't resolved. I am actually a newbie so please correct me if i am wrong somewhere. Here are my configuration files code...

View 10 Replies View Related







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