I got jdk, jre, tomcat, eclipse installed correctly (I'm sure about that)I can start tomcat and works fine, and eclipse too.but whenever I try to run server through eclipse (server->run) I got following message:
WARNING: Failed to create work directory [/home/kossel/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/_] for context 
Feb 2, 2011 6:08:23 PM org.apache.jasper.EmbeddedServletOptions <init>[code]....
I'm having some trouble with Tomcat 6 after upgrading to 10.10. During the upgrade process, the installer hung while dealing with Tomcat 6, which required me to kill the upgrade and do some clean up, and then re-run `apt-get upgrade` again to get things going. This left some weirdness (like the MOTD for both 10.10 and 10.04 being shown on login), but otherwise things are OK. The only remaining problem I have is Tomcat; it simply won't start when the server is booted. The information I have:
Tomcat 6 runs normally when started with `sudo /etc/init.d/tomcat6 start`. No errors are thrown, everything works as expected.I used `rcconf` to try removing and reinstalling the rc scripts, this didn't help. I manually deleted all the rc scripts, then used `rcconf` again. The scripts all seem symlinked correctly to `/etc/init.d/tomcat6`, but it's just not coming up on boot. I ran `sudo grep "tomcat" /var/log/*.log` to see if something is appearing in the logs, but nothing of interest is there.
How can I verify that Ubuntu is even trying to start Tomcat? As this is a development box, I am not adverse to a quick + dirty solution if there's some either simple way of getting it started at boot. I'm thinking the next Ubuntu release will see me blow away the server and start it fresh, but right now I'd just like a working box
Trying to start Tomcat6, I get the following in catalina.out
dl failure on line 696Error: failed /usr/lib/jvm/java-1.6.0-openjdk-184.108.40.206/jre/lib/i386/client/libjvm.so, because /usr/lib/jvm/java-1.6.0-openjdk-220.127.116.11/jre/lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied
I have installed Tomcat 5.5 on a server with Centos 5.2. I can start Tomcat from command line with:
/var/lib/tomcat5/bin/catalina.sh start but if I add the command to /etc/rc.local Tomcat don't start on boot, I need to login and manually start. I have add other services to the /etc/rc.local file (mysql and apache) and all start with no problem. Only Tomcat failed to start on boot.
I added the JAVA_HOME to /root/.bashrc: export JAVA_HOME=/usr/lib/jdk export PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME=/var/lib/tomcat5 export CATALINA_BASE=/var/lib/tomcat5
I have tried many different things I found on the net, but nothing worked for me.
I am trying to start remote tomcat server, it's not working as expected. I like to mansion that..I am able to stop tomcat server remotly. Below command i am using
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh start ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/startup.sh
Both are not working..when i run this script locally it's working file
same way when i run tomcat stop command it's working fine. ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh stop ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/shutdown.sh
I check log file also..when i am executing tomcat start there is no log entry in log file
Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29 Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
We have three production websites running on RHEL 3 AS running tomcat 5. After a reboot last night Tomcat will not start and has the following in the catalina.out log:
Mar 20, 2011 4:09:31 PM org.apache.commons.digester.Digester startElement SEVERE: Begin event threw error java.lang.NoClassDefFoundError: org/apache/naming/resources/ProxyDirContext at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) .....
I have spoken with our Java Developers and they seem to think it is something up between httpd and tomcat at an OS level. Since Tomcat is not starting and giving an error that it is all ready running, I think you have a stale lock file. Look for the file /var/run/tomcat5.pid and cat or less it to see what the PID number is. If it matches the error, then delete the file and try to start Tomcat again. It should start this time.
Most common problem with Tomcat5. Try following : 1) Search PID in /tmp, if found delete it or else stop your tomcat. 2) Undeploy your application 3) Check out this link [URL] to know what causing tomcat to generate this error.
If none of them work then check your application configuration settings. [URL]. When I do start tomcat it appears to start:
[root@RPSI-2 san00]# service tomcat5 start Starting tomcat5: Using CATALINA_BASE: /usr/share/tomcat5 Using CATALINA_HOME: /usr/share/tomcat5 Using CATALINA_TMPDIR: /usr/share/tomcat5/temp Using JAVA_HOME: /usr/java/jdk1.6.0 [root@RPSI-2 san00]#
But then I try to find if it is running via ps -ef | grep tomcat5, I only receive my query. I perform the same query on Java and it also only returns my query.
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1245)
have intalled Debian 8 on bi quad cores opteron, also Tomcat 8 and openjdk7 are installed, i have do a mistake about version eclipse because i have installed eclipse Kepler or the lasted version of eclipse is Luna, after douwload Luna, i have deleted eclipse kepler who was installed in /opt directory, i do the command "tar" for luna version, no problems for instaling, but eclipse luna doesn't work.I try many version of luna like 32bits and 64 bits, but nothing to do the IDE doesn't start.
Code: Select allroot@dct-skyned:/opt/eclipse# ls about_files configuration eclipse.ini icon.xpm plugins about.html dropins epl-v10.html notice.html readme artifacts.xml eclipse features p2 root@dct-skyned:/opt/eclipse# ./eclipse bash: ./eclipse: Aucun fichier ou dossier de ce type root@dct-skyned:/opt/eclipse#
I just installed JEE (not openjdk) and tryed to use both eclipse's galileo 32 and 64 bits (im under fedora 11 x64) but none is working i don't even get any message nor a single window, nothing. I'm really lost, what should i do?
Eclipse cannot start and I can see the following in the log: java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 2 0 2011-07-09 15:01:23.881 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: ..... and etc. those files are actually in /usr/lib64/eclipse/plugins/ but system cannot find them as I see.
It happened after I played with Eclipse's software configs and broke some dependencies there. After I tried removing and reinstalingl eclipse I notices that /usr/lib64/eclipse files don't change and I have the same broken sortware install configuration. So I deleted the folder usr/lib64/eclipse and reinstalled Eclipse. It didn't work. I restored usr/lib64/eclipse from eclipse~ and now see that error log. What is the way to fix it or probably remove eclipse completely and reinstall that /usr/lib64/eclipse/ becomes as it was by default.
I recently got the last round of updates, including linux kernel 18.104.22.168. after several programs froze up (i hadn't restarted since the update) i restarted only to find that Gnome starts up into a different look than I had it setup to (normally with a custom theme and without a login prompt). it now starts with a more basic theme and a login prompt which won't accept my password. something similar had happened before and i fixed it by booting into recovery mode and running dpkg, and having to reboot more than once but it returned to normal. I tried running it again and it hasn't worked, so I must ask for advice. I am working from Fedora 10 on the same computer.
I have been using Eclipse to program in Java for a long time, and have been using Jigloo for most of my GUI design. Recently I decided to try out the C/C++ plugin. I tried installing it, but it did not work. After many attempts, I finally gave up. However, after uninstalling it I found that Jigloo had stopped working. Any other plugins I try to install now also don't work. I have tried uninstalling and reinstalling plugins, and reinstalling eclipse, but nothing I have done fixes it. Although eclipse says that the software has been installed, nothing shows up in the features list or the plugins list.
Another problem: When I install eclipse from the repositories, it doesn't install a bunch of libraries and eclipse cannot recognize standard java files.
After a fresh install of Slackware64-current could not get X to start correctly with the nouveau driver. When ever X started display was scrambled. Only kde would partially work with desktop effects enabled, but very slow. Without desktop effects enable kde was also scrambled. After trying several things and googling came up with the following. To get X to work created a nouveau-kms.conf file in /etc/modprobe.d with the following text.
Code: options nouveau noaccel=1 The one draw back to this solution is that Kde will not start with desktop effects enabled. Hopefully this will help someone else with similar problems. Maybe someone else has a better solution. video card: Nvidia Geforce 6150se nForce430
about 5 mount ago, i installed WarZone game on my fedora 12 x86-64 and it's run correctly but when i upgraded my f12 to f13, my desktop won't start correctly after quit warzone. when i quit warzone, my desktop won't start correctly, and i have a black screen with mouse, and nothing else. i asked about this problem, on warzone's forum and they called me:
Quote: Most likely this problem has something to do with your graphics driver. But I would wait for more insight from others if I were you. It is a driver/library problem, so you should report the bug to Fedora.
I recently had to reinstall Eclipse on ubuntu 10.10 and i did it twice, once just removing eclipse package, and the second time removing every package associated with an eclipse install.when i launch eclipse I go into my package view and select a package and then double click on a Java file.
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
I have been writing PHP using Adobe Dreamweaver; I have been looking around for an application that focus more in PHP.I have found:
I know Zend stands behind PHP and that Eclipse is a popular open source IDE. What is the difference tho?Is the PDT Project only a functionality that could be added to Eclipse IDE? Is Zend for Eclipse a stand alone IDE for PHP? if so, Why the Eclipse in the name? I have downloaded Zend Studio for Eclipse, so far it seems very complete (no that have learned how to use all its features).
I recently dist-upgraded from Debian 5 to 6 (squeeze). Since then, the xclock I run from my window manager's start script isn't displaying correctly (it displays only a "0"). The thing is, if I run the same command in my start script in my terminal, it works just fine, as it has always done...
I use this rather "old" X applications because I like my programs simple/not buggy/fast, and it's resulting a rather annoying problem (being that apparently nobody else has it...). All other programs in my start script (gnome-terminal, emacs, xmodmap, etc) are working with no problems whatsoever.
My window manager: sawfish
Command to run xclock in my start script:
Code: xclock -digital -brief -geometry -0+0 Attached picture: Top: xclock initialized by start script Bottom: xclock initialized by terminal
I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....