There is a strut application which throws -519 error sometimes. I would have to restart tomcat whenever this error occures.
You can find te detail of -519 here
It rarely happens. But I am not able to understand the actual cause and its solution.
...
Hi,
In my web project environment i use ivy (with ivyde plugin) to manage all my dependencies (about 40 .jar files). All is ok (dependencies resolve/retrieve - building - final running on my Tomcat server).
But, when at each tomcat publishing operation (from Eclipse in the server view), this step is too long (> 10 seconds) because all...
Hello!
In a web application running in a local tomcat, I am trying to load a folder /folder which is in tomcat/webapps/myproject/WEB-INF/folder
To do it:
InputStream realPath = getClass().getClassLoader().getResourceAsStream("/folder");
Which returns null. This piece of code is supposed to load resources from classpath, which is ...
Hello!
I am a newbie and I want to deploy a Spring project which I get via SVN to my Tomcat application server. I did a checkout in Eclipse (Subclipse) and so the project is located in my workspace.
I downloaded the 6.0.29 Tomcat server and extracted it to a directory. Then I create a new Tomcat server in the Server tab of Eclipse. I c...
I have a Tomcat 6 webserver running my application and I am seeing some very strange redirect behaviour.
I expect to access my application at the internal URL http://appteam.testdomain.co.uk/test and that this will return a 302 redirect to http://appteam.testdomain.co.uk/test/ which then serves up index.html, the front page of the appli...
Hi All,
This kind of question has been asked before, but has not been well supported at StackOverlfow...maybe because some people think its elementary..but beginners like me have spent days on this but to no avail. Kindly help [I'm sure its going to be an ever occurring issue]
I'm trying to make a flex project and want to integrate Spr...
Hi all,
Basically, how long is an instance of a servlet around for? I am kind of guessing it is session scope. However, I suppose it could have some sort of timeout or garbage collection to remove old instances.
Thanks,
Grae
...
I am using Tomcat 6 and would like to be able to retrieve the maxPostSize (defined in the HTTP Connector in server.xml) programmatically from within a JSP so that I can know what the max file upload size is.
Is there a way to get this?
...
Symptoms:
Any JSP pages in the project produce error messages as below:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /check.jspf
Generated servlet error:
*Duplicate local variable usr*
An error occurred at line: 5 in the jsp file: /check.jspf
Generated servlet erro...
We recently changed to the CMS garbage collector on our server (XX:+UseConcMarkSweepGC) which worked fine in tests. When we went to production, things were OK for the first few hours, but then we suddenly began to see the dreaded:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection,
pool error Timeout waiting for idl...
I am trying to deploy a war that i didnt write and i am getting this error in my logs:
java.lang.NoClassDefFoundError: HttpSessionListener
i know that HttpSessionListener lives in servlet-api.jar which is found in the lib dir of tomcat(my app server).
I tried including servlet-api.jar in the war's WEB-INF/lib folder, but the logs yel...
Hi all,
I've searching for this for a while now online (Google, and StackOverflow), but haven't yet come across this question. Maybe my query is not correct (please redirect then!)
I've developed and set up a WebApp on TomCat 6 under Linux. Tomcat isn't running in a virtual host environment yet, I have full control over server. Therefo...
Hello
Having rebuilt my Windows 7 PC, I am trying to get Tomcat running under NetBeans to connect to MySQL.
I believe MySQL is alright because the various tools retrieve data correctly. But when my Java web app is run from NetBeans, Tomcat shows the homepage but then gives a Java null pointer error. The logs tell me this is to do with ...
Greetings,
I have a setup which must be fairly common: I have an H2 db, with a db file. I'm using the db in standalone mode. Hibernate provides access to db, and I've deployed my code into Tomcat.
The problem is: I could not find a nice way of simply putting the db file into the war, and providing a relative path in hibernate config fil...
An answer to a question I read today suggested deploying an application as an exploded WAR. It got me thinking.
Every deployment I've ever done to a JBoss/Tomcat has been with a a WAR/EAR file. At least as far as I can remember.
Have I been making a mistake all these years?
Are there advantages to deploying an app in its expanded form...
I am running my application on a group of unclustered tomcat servers. It serves restlet web-services. As per restful paradigm, each call is stateless.
In this environment, I want the application to periodically review the database for status changes and take action. Since one of the actions is to fire off an email, I want to ensure t...
Hello
I used ant when building my web app from eclipse to deploy to Tomcat 6 and referred to servlet-api.jar and el-api.jar within the Tomcat 6 release tree rather than pulling them in to my deployed library folder.
I am trying to deploy to Glassfish v3. I've pulled the jars from the www.java2s.com website.
Was this the right place ...
Hi all!
I got some issues to deploy my application.
Environment: Ubuntu 10.04, Tomcat 7.02 (Install from archive from tomcat site, not from repositories), server is run and stoped manualy, not using any IDE.
For the first I've created host in $CATALINA_HOME/conf/server.xml
<Host name="java.dev"
appBase="/home/krasilich/java/"...
hi. guys
i have experienced a weird thing today.
i am installing tomcat5 , and it stopped in the middle of progress bar. and i use process explorer to check the processes. i found a process with command line :
C:\TEMP\nse305.tmp\ns306.tmp "C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\tomcat5.exe" //IS//Tomcat5 .....
the w...
i want to invoke /etc/init.d/tomcat6 in subporcess
i have tried bellow code,but it didn't work
cmd="/etc/init.d/tomcat6/ stop"
p=subprocess.Popen(cmd)
stdout, stderr = p.communicate()
print stdout,stderr
anyone could help me,thanks
...