I have downloaded PSCP from:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
and added it to the PATH in windows 7. I now try to copy a file to a tomcat using the following :
pscp -P 8081 bob.txt mm@http://repository:/var/lib/tomcat5.5/webapps/bob.txt
based on the info from:
http://e-articles.info/e/a/title/Transfer-...
Hi guys,
We're having the classic spring/hibernate/mysql stack running in Tomcat 5.5. Once in a while we're getting a deadlock when the attempt times out to lock a table row. Some kind of deadlock exception is thrown.
The exception is clear and the stack trace indicate what went wrong. But it doesn't show the other thread which is hold...
We are running SOLR 1.4.1 (Lucene 2.9.3) on a 2-CPU Linux host, but it seems that only 1 CPU is ever being used. It almost seems like something is single-threading inside the SOLR application. The CPU utilization is very seldom over 0.9 even under load.
We are running on virtual Linux hosts and but our other apps in the same cluster a...
i've spent the last three days trying to get a jruby/rails/couchdb app deployed to a linux/tomcat environment. i'm ready to shoot something. my current issue is this - there is a specific gem, "simply_stored", that acts at the top level driver for couchdb. whenever i hit code in the app that touches this gem, i get this ruby trace:
IOEr...
hello, when i deploy my war into TomCat i have this error:
14 sept. 2010 11:48:07
org.apache.catalina.core.StandardContext
filterStart GRAVE: Exception au
démarrage du filtre struts2 Unable to
load bean: type:
class:com.opensymphony.xwork2.ObjectFactory
- bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/...
Hello,
subject says it all. What I want is to map each sub domain to a webapp like:
http://root.domain.com:8080 -> http://domain.com:8080/
http://manager.domain.com:8080 -> http://domain.com:8080/manager
http://abc.domain.com:8080 -> http://domain.com:8080/abc
http://def.domain.com:8080 -> http://domain.com:8080/def
on a localhost ma...
My JSF application works in my local tomcat for URL like http://localhost:8080/MyApp/admin, but not on the hosting server, the URL there is http://www.myapp.com/admin
Do I need to do something with 'context.xml'/ put BocBase & AppBase. I got these things googling, but could not understand what exactly I have to do. Can anyone help me wit...
Hi All
Requirement is this ...
One question, The usual place seems to be in your /WEB-INF/classes directory, but I have problems with that.if I ship my application as a WAR file, I can't get at it to edit it, which is a real problem.
We have our 3 WAR, we deployed apps with tomcat 6.0.16. We want to configure log4j.xml in external dir...
Hi,
I am new to opensso(openam). I want to protect my webapplications deployed in tomcat using SSO. I have basic questions to clarify.
What are the basic software components required to get my work done like tomcat,opensso.war etc...
How many policy agents i need to install and in which places.
I have gone through the document and i...
I am trying to implement a sample web application using struts 2 in eclipse.
I have configured everything. But when I am starting tomcat it is displaying below error
Sep 15, 2010 11:59:46 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 15, 2010 11:59:46 AM org.apache.catalina.core.StandardContext s...
I have web application using SpringFramework3.0.3.RELEASE, developed in Eclipse with m2eclipse plugin and deployed into Tomcat6.0.26. I can run it from Eclipse, but when copy target WAR int same tomcat instance ( removing WTP webapp first ) and restart I see following exception:
Sep 14, 2010 5:54:42 PM org.apache.catalina.core.Applicati...
First, I hope this is the right place for this question. Because I believe this to be a server configuration problem, I wasn't sure if this should go on serverfault.
So we have a spring-mvc webapp running on Tomcat servers and connected to an Oracle database. On one of these pages is a form for the user to fill out where they can enter ...
I want to have a web app and then configure it to load static files from a direct path.
This is the webapp configuration:
<Context docBase="E:\webapp1" path="/" reloadable="true"/>
How do I setup the static resources.
...
Hi folks,
When starting Tomcat 5.5.26 instance on RHEL 3.4 AS, I am getting this error message:
2010-09-15 12:34:15,415 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].
[localhost].[/srs].[login-info]] - <Allocate exception for servlet login-info>
org.quartz.SchedulerConfigException: Failure occured during job recovery. [See
n...
Can someone show me a very simple example on implementing LDAP security on Tomcat 6, please? I know not much beyond deploying a war file and bouncing Tomcat server. Thanks in advance!
...
I'm a newbie when it comes to Java for web application stuff, so forgive me if I'm missing something obvious.
I'm building an app that uses the Twitter Streaming API and Jtwitter to listen for various tweets, do some database record-keeping, and send out some tweeted replies. The application has no web component, although there will be...
I have seen some clusters with more than one tomcat running per machine.
The main argument is that the garbage collector is slower on large heaps, so it would better to have 4 tomcats with 1G heap than 1 tomcat with a 4G heap.
Have anyone ever profiled that? what do you think?
...
I have two servlets defined in the web.xml file, namely the default2 and myservlet. The default2 servlet is used to map the static files like the javascript and css. The myservlet is used for getting dynamic content.
<servlet>
<servlet-name>default2</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servl...
I'm trying to implement spring-security to handle authentication and authorization of my web application. I can't get the configuration right. Tomcat trows an error when I deploy the war file.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.ProviderMana...
Hi,
I wrote a custom Tomcat valve. (I'm using Tomcat 6.0.24 and Java 1.6) Here's the XML element where I declare my valve:
<Valve className="mypkg.MyValve" foo="bar"/>
When I put this declaration inside server.xml's Host element. Tomcat calls the setFoo() method on my valve with the value "bar". That's what I want to happen.
Ho...