I am working with Tomcat 5.5.x with Struts 1.2 to run a rather large website (large w.r.t. source code). I'm looking to add OpenID to my website, mostly to access attribute exchange to help accelerate the registration process.
Every Java implementation for OpenID I have attempted to use will cause a ServletException. Tracing this has be...
Hi,
I've got a Red Hat box with 6G memory running Tomcat and I'm trying to figure out how much memory I have left on the box. Problem is, top & jconsole is showing one figure (around 200M), and system monitor is showing a different figure (around 2G). Does anybody know what the difference is?
I'm not sure if there is a memory leak happ...
I find myself working in an environment where all I have access to is Tomcat + MySQL. No Apache, no PHP. I'm looking for a web interface to MySQL that will run under Tomcat (can't be a desktop interface, as the mysql port is not accessible).
I'm tried jMyAdmin and javaMyAdmin. I can't get either to work, and both lack documentation and ...
Hi,
I am using sysdeo tomcat plugin 3.2.1 with eclipse 3.5.1 (Galileo) and tomcat 5.5.23 on windows XP.
I can get tomcat plugin working in eclipse, and have extracted devloader.zip into [tomcat]\server\classes.
I have also updated the context and now it has this entry:
<Context path="/myapp1" reloadable="true" docBase="F:\Work\eclipse_...
What's the maximum data size I can send in single HttpURLConnection to Tomcat?Is there any limitation for request size?
...
Do you know how to make it more stable, maybe properties to set, memory to allocate?
It always hangs up when redeploying web apps, thru manager (wars), web interface or maven plugin.
every second time it gives PermGenSpace, no memory errors etc.
on my local machine 3gb ram.
It looks like it should be manually set up to work in a stab...
I've successsfully created ActiveXObject under development on Netbeans.
import org.codehaus.groovy.scriptom.ActiveXObject
def sas = new ActiveXObject("SAS.Application")
however, when I deployed the app to tomcat, i got the following message:
com.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatc...
I have two applications each pointing to a different database. when I deploy these applications to Tomcat at the same time, whichever datasource gets loaded first is the same datasource that gets used for both apps. I am using the latest Tomcat and Grails.
...
I'm trying to deploy a web app located in my home directory using the tomcat manager app (through its web interface) and get the following error:
java.io.FileNotFoundException: /home/rick/projects/my-web-app/build/war (Permission denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Fil...
I occasionally get an IOException from a Servlet I have that writes a byte array to the outputstream in order to provide a file download capability.
This download servlet has a reasonable amount of traffic (100k hits a month) and this exception occurs rarely, around 1-2 times a month.
I have tried recreating the exception by using the ...
I tried starting Tomcat and deploying my webapp from NetBeans after adding and configuring a new servlet. I got the following in the Tomcat error log:
INFO: Marking servlet MyServlet as unavailable
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.c...
Dear Gurus
I am a .net Developer but now a days i want to setup Eclipse to write a sample web services to test the capacity of Java/Axis over WCF/BasicHttpBindings. I found a couple of articles regarding the setup procedures but they are too old or their wording is may be for java or eclipse experts.
Can anyone please give me detailed...
With Struts2 I can't find a way to serve a static CSS :-/ Newbie question but I could not find any answer on the Internet:
The CSS file is static/styles.css in my WAR file.
Tomcat replies with 404 when I request http://server/myapp/static/styles.css
But it works if I put styles.css at the root of the WAR and request http://server/myap...
I have two applications deployed on tomcat. For each application I have defined their own context in $CATALINA_HOME/conf/Catalina/localhost where JDBC datasource is defined. When I undeploy one of the application using ant script context of this application is deleted, so on the next start of the tomcat application cannot be deployed bec...
I am trying to get a website up in tomcat, and while the sample sites have worked, this website is not seeing the images in the content/images folder. Is there some configuration file that needs to be modified for them to be referenced properly?
To see what I am talking about 208.73.99.218:8080/cott/ (using IE will display the page prop...
Hello guys,
I'm making a service that among other has the "photo albums" feature that serve photos to users. User has to be "allowed" to see the photo from the album. So sending the direct link to other person shouldn't allow to view photo.
Photos are stored in the folder outside of the context.
What I need to do is to perform some c...
Hi,
I have setup a dynamic web project in eclipse with JSF in which I trust on code from another project (framework). Therefore, I added the framework project to the build path of the website project.
So far so good, Eclipse recognises every class and the project builds without errors.
Problem is though that when I do "run on server" ...
Hi there.
I'm having major issues with getting Hudson up and running on a gentoo server with Tomcat 6. I'm able to deploy Hudson just fine, and I can browse the web-application, configure it and set up builds etc.
However, when I try to run a build (in example "clean test" on a Maven2 project) I get this error
ERROR: Failed to create...
Is there Apache utility that takes Query String and some encoding and return Map of key,value[] url decoded?
...
In almost all larger Java projects I've been involved with I've noticed that the quality of service of the application degrades with the uptime of the container. This is most probably due to memory leaks in the code.
The correct way to solve this problem is obviously to trace back to the root cause of the problem and fix the leaks in th...