Software :: Unable To Use Tomcat On (ubuntu-11.04)?
Jun 22, 2011
I want to use tomcat on my laptop,I am using ubuntu11.04.I tried so many times but unable to create directory under tomcat.Even though I have already installed tomcat and at the same time I see this at mozilla firefox by t still unable to create directory please tell me how to configure tomcat step by step
View 1 Replies
ADVERTISEMENT
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
May 26, 2010
after executing the commands
1. ./startup.sh
2. tail -f ../logs/catalina.out
the following error comes on the terminal
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1245)
[code]....
View 5 Replies
View Related
Sep 1, 2010
I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]
View 1 Replies
View Related
Jan 18, 2010
I'm trying to access a .jsp page that is located on my apache/tomcat server from the web. I changed the connection port of tomcat to port 80 and changed my doc root from the default "webapps" to my normal web directory. However, whenever I try to visit the page, I only see the code of the page.
If you would like to see what I am talking about, feel free to see it for yourself:
[URL]
View 1 Replies
View Related
Jan 9, 2010
I am trying to run my tomcat 5.5 at startup.. I went to System-->Preferences-->Startup applications and entered the command to launch my script: /bin/sh /home/marco/apache-tomcat-5.5/bin/catalina.sh run
But when i restart ubuntu, my tomcat does not run and i dont know where to find the proper logs to see what happened.
View 2 Replies
View Related
Feb 22, 2010
I want to setup tomcat and apache to run on SSL. I did set up apache to run with ssl and tomcat (wo ssl). Tomcat is on 8081 and apache is on standard HTTP/HTTPS ports. Now I installed JK module and I want to access "host-manager" application on tomcat with ssl, but when I try https://localhost/host-manager/ I get 503 error and when I try [URL]. I get 404 error. Here's my /etc/apache2/sites-available/default conf:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory> .....
Here is /etc/apache2/mods-enabled/jk.load:
Code:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
and here is workers.properties:
Code:
worker.list=worker1
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
View 1 Replies
View Related
Apr 28, 2010
I'm trying to do a coursework at home which is a java web app. I've installed Tomcat and mySQL, both appear to be working fine. I have Netbeans installed already - from the Ubuntu Software Centre ages ago - when creating a new project it doesn't give an option for a web app project.... Is there some extra package(s) I have to install ?
View 1 Replies
View Related
May 24, 2010
On my Ubuntu 10.04 lucid lynx server edition machine I have an Apache http server listening on port 80 and today I installed the Funambol server which added an Apache Tomcat server listening on port 8080. From within my lan I can reach both servers, but from outside the lan I can only reach the http server on port 80 and not the Funambol server on port 8080. I get a time out message instead.
In my router I have setup port forwarding, such that both ports 80 and 8080 get forwarded to my server machine. Must Tomcat be told to listen to external requests? Is my server listening on port 8080 only for requests inside the lan? Or is there some authorization that fails when I try to visit from outside my lan?
Here is some netstat output, I don't know if the differences between the 80 line and the 8080 line are relevant:
Code:
remon@compaq:~$ sudo netstat -nlp | grep 80
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1778/java
[Code]....
View 9 Replies
View Related
Jul 23, 2010
I should have caught this during the upgrade, I saw the potential problem but failed to write it down. All my applications served by Tomcat fail to load. Catalina logs show the following error for each app. Error deploying configuration descriptor msgboard.xml The complete error for an individual application is
[Code]...
Again, during the upgrade a warning popped up that each app would need to be spelled out in some configuration file SOMEWHERE because of a change in security! Would someone be so kind as to direct me as to where and how this would be accomplished. I apologizes for not being able to find this out on my own but have looked and can't find it. I'm pretty sure anyone proficient with Tomcat on Linux will know what and where these changes need to be made. Or if anyone knows if and where there is a log of all communication during the upgrade I might be able to figure this out on my own. Is there such a log kept during an upgrade? Also if this question would be more appropriate in the Server Platforms forum I will do that.
View 4 Replies
View Related
Aug 26, 2010
how I can deploy a WAR file with a Tomcat that happens to be installed on a server. I divided it to different small questions but no strait answer so far.
These are the things I've done:
created a myapps folder inside the tomcat directory, and copied the WAR file there.
These are the questions:
1. I did not touch anything inside the Tomcat folder, anything need to be changed?.
2.How to start the Tomcat so that it can deploy th e WAR file?
View 3 Replies
View Related
Feb 2, 2011
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:
Code:
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]....
did ls -ln workspace I get:
Code:
drwxr-xr-x 4 1000 1000 4096 2011-02-02 16:34 Servers looks has permission right?
View 1 Replies
View Related
Feb 16, 2011
But now I have task of connecting mysql and tomcat. I dont have any idea on this. However I looked some manuals but did not find any luck. how to connect mysql with tomcat. btw I have downloaded mysql connector and copied the .jar file to $CATALINA_HOME/lib
View 4 Replies
View Related
Dec 9, 2010
I have installed tomcat6 on Ubuntu. It starts it automatically at the startup. I do not want it to start automatically, I want to start it manually because I use same 8080 port for different servers. If tomcat is already started on 8080, it becomes problem.
How do I stop Ubuntu from not starting tomcat automatically at startup.
View 2 Replies
View Related
Jan 5, 2011
i tried to install sun-java6-jdk through commandline ; but it failed after posting a license agreement from sun .
dpkg failed to install the package ;
then i tried to install from ubuntu software center
Servlet and JSP engine Tomcat6
but it gave me an error :: An unhandlable error occured
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks. report this error at http://launchpad.net/aptdaemon/+filebug and retry.
Details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
return self._simulate_helper(trans, status_path)
[Code]....
View 5 Replies
View Related
Feb 11, 2010
We need to only allow access to a web page only to some ips. We want to do this via Apache but it seems like the standard way of denying all and allowing some ips doesn't work because we mount a webapp using tomcat.
The sites-enabled file looks like this:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerName web.address.com:443
ErrorLog /var/log/apache2/app_ssl_error.log
[Code]....
View 2 Replies
View Related
May 13, 2010
So researching how to install Tomcat 6, I ran across a guide that specifically states there are issues with the repository version of Tomcat. Doing some more research it seems like this is reported in multiple places including a disussion on the official mailing list that was inconclusive. So my question is, if this is intended for a production server should I use the repository one or manually install it
View 2 Replies
View Related
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
Jul 18, 2010
I have tomcat installed with port forwarding to http port 80. I configure ldap authentication for apache2(/var/www). But I could not configure tomcat for ldap authentication.
View 1 Replies
View Related
Jul 22, 2010
Can any one tell me how to configure Tomcat ldap URL authentication perfectly?
I've tomcat installed with port forwarding to http(80).
I could able to confiure apache ldap authentication. For this i modified the file '/etc/apache2/sites-enabled/000-defaults' with the DocumentRoot /var/www.
But for tomcat '/usr/share/tomcat/webapps' I could not able to configure 'server.xml' file perfectly.
View 1 Replies
View Related
Jul 31, 2010
I'm really new with Ubuntu and have the following problem:I installed successfully sun-java6-jdk using apt-get install sun-java6-jdk Then set up the JAVA_HOME environment variable to "/usr/lib/jvm/java-6-sun-1.6.0.20"
And then installed successfully tomcat6 using apt-get install tomcat6 apt-get install tomcat6-admin tomcat6-examples tomcat6-docs Everything seem to be right, when I try the browser with http://localhost:8080 return a webpage with "It works !" and other text
But, if I try http://localhost:8080/manager/html then returns 404 error, the error is something like "The required resource (manager/html) is not available" (that is my translation from the spanish text "El recurso requerido (/manager/html) no est disponible")
[Code]..
View 1 Replies
View Related
Nov 18, 2010
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
View 7 Replies
View Related
Jan 3, 2011
I am trying out jUDDI. I have to copy the MySQL JDBC driver to {TOMCAT}/common/lib but the thing is I am new to Linux and I cannot find the common/lib folder. I tried to search for apache inside the usr/lib so that i could copy the MySQL JDBC driver inside it but couldn't find the specific folder. 'Locate' and 'which' were not very helpful. I have installed 'servlet and jsp engine' for tomcat 6.
View 1 Replies
View Related
Mar 9, 2016
I've assign to access our tomcat server outside WAN, My problem is I've never used debian or linux distro before sad right? , Here's the situation right now.
1. Tomcat is already running thru local, we can access anytime.
2. Our Dev team is the one who install and configure the Tomcat
3. Tomcat is assigned thru port 8088
4. 8088 is already open (I've tried using this port thru IP camera and we successfully open it)
5. When we switch over to our tomcat we cant open the port 8088
how to access our tomcat from WAN?
View 0 Replies
View Related
Dec 19, 2010
i have changed the permissions of tomcat folder stiill firstly,i did this
[whacko@localhost local]$ /usr/local/tomcat/bin/startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
[code]...
View 14 Replies
View Related
Jan 20, 2011
I am trying to set up an Apache frontend server followed by a Tomcat server. Tomcat needs to run as an https service. I will have two services, both accessible independently, if desired.This login module is a webapp, running inside Tomcat.
Question:
Do I configure the Tomcat on port 8443 (I want to run it as a non-root) and do nothing with Apache or do I run on the standard port 8080 and configure Apache?
If Tomcat, is it server.xml? (connector?)
If Apache, is it httpd.conf?
View 1 Replies
View Related
Dec 21, 2010
I have ubuntu server version 10.04.1 on my machine. I am running tomcat version 6.0.24 wich came bundeled with the system.I have found a newer version here:[URL]As you can see at the bottom, version 6.0.28 is available.However I can't get apt-get to fetch it. Here is a copy of my sources.list. As you can se the repository is there.
Code:
#
# deb cdrom:[Ubuntu-Server 10.04.1 LTS _Lucid Lynx_ - Release amd64 (20100816.2)]/ lucid main restricted
[code]....
View 5 Replies
View Related
Feb 28, 2010
I installed Tomcat6.0.24 on my system(from their site not from repos) and i needed to add a manaager account ,
Code:
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
[code]...
View 3 Replies
View Related
Apr 4, 2010
I am quite new to the slackware world and still discovering its amazing charm..can anyone help me how can I install and configure Tomcat in my slack box.I just want to run simple servlet programs.
View 13 Replies
View Related
Jan 13, 2010
I am up and running. Symptom: webapp/servlet deployed to Tomcat, utilizes JDBC driver for MySQL connectivity. Upon launching application in browser and performing action requiring database interaction, exception thrown, server log:
[Code]...
View 1 Replies
View Related