Hi Guys,
May I ask how you guys deploy on a remote tomcat servers? Is there a way
to automate deployment?
Regards,
Richard
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
There are several way to automate it.
One is to install on that remote tomcat, the tomcat manager webapp,
which let you deploy war. There is also a ant task that can be used with
it to submit the compiled war file to that manager.
Another is to install lambdaprobe, which can also do
Hi Guys,
We are trying to introduce Java technology in our workplace (all the staff have
been recently re-trained in Java). As far as I can tell, our System
Administrators are really only resourced to be able to install standard Redhat
packages.
I initially thought we could install a clean
Hi,
I want to authenticate users in my web application using the JDBC realm.
Unfortunately the user tables already exist and don't match the standard
configuration for the realm. Loading the users works fine but I have an
additional user-role-relation table. So I have to modify the following
Richard G. Reyes wrote:
May I ask how you guys deploy on a remote tomcat servers? Is there a
way to automate deployment?
The most common way is to use an ant build file. One task to build the
war, and another task to deploy it. Its quite simple once you know how.
I don't have time to write
Hi,
I am using Tomcat 5.5.23 and I have a webapp which uses a library (more
specifically, Oracle's JDBC) that loads a native library on my system (
libocijdbc10.so ).
Whenever I redeploy my webapp into tomcat, I get the exception
java.lang.UnsatisfiedLinkError, since the native library was
Hi Folks,
I am new to Tomcat WEB applications deployment/development. I have been
facing some problems in getting the application up in Tomcat 5.5. I am
using JDK 1.6.0_03. Somehow, the WEB interface for the application doesn't
show up. NETSTAT -A does show that the server is
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
To: Tomcat Users List
Subject: Tomcat 5.5 and loading of native libraries
Is there anyway to force tomcat to use the same class
loader for all webapps
Put the JDBC driver jar in common/lib, rather than in each webapp's
WEB-INF/lib.
Hi all,
I installed the Tomcat 5.5.17. After I set the java-agent in ther catalina.bat
as follow:
set JAVA_OPTS=%JAVA_OPTS%
-javaagent:%CATALINA_BASE%\server\lib\spring-agent.jar
After that I can't start the Tomcat anymore.
Somebody knows why?
Regards
Thomas
On 10.01.08 13:22 Filipe David Manana wrote:
I am using Tomcat 5.5.23 and I have a webapp which uses a library (more
specifically, Oracle's JDBC) that loads a native library on my system (
libocijdbc10.so ).
Is did you put the library files in your war file?
I experienced similair problems
From: rajendra_sakpal [mailto:[EMAIL PROTECTED]
Subject: Problem with application installation in Tomcat 5.5.
The appBase is outside of the default webapps directory.
Not possible; appBase defines where the default webapps directory. Do
you mean docBase?
The application is bundled as a
From: Thomas Chang [mailto:[EMAIL PROTECTED]
Subject: Problem by starting Tomcat after setting the spring-agent.jar
After that I can't start the Tomcat anymore.
Somebody knows why?
Not without some real information, such as the contents of the various
Tomcat logs.
Watch out for spaces in
Hi Charles,
Thanks for your reply.
We have followed the same procedure to deploy the application in Tomcat 5.5
as we did in Tomcat 4.X. The application worked properly in Tomcat 4.X i.e.
The application jar was in the classpath as set in the
TOMCAT/bin/setclasspath.sh.
Here's the entry in
From: Thomas Chang [mailto:[EMAIL PROTECTED]
Subject: Re: Problem by starting Tomcat after setting the
spring-agent.jar
The problem is: As I double click the startup.bat, the
cmd-console just come out very short a disappear.
Stop trying to debug with a GUI. Start a command prompt, cd
Seems as if you lack the basic knowledge of what a ServletContainer
(aka Tomcat) is about.
I got no idea why you want to deploy a jar-file within Tomcat - are
you trying something like Webstart?
What is you application, anyways.? Is it a Servlet / JSP? If so, then
the your deployment was already
I suspect that there's a change in the way we should be deploying the
application in Tomcat 5.5. What worked for Tomcat 4.X doesn't seem to work
with Tomcat 5.5.
Thanks regards,
Rajendra
-Original Message-
From: rajendra_sakpal [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10,
The problem is: As I double click the startup.bat, the cmd-console just come
out very short a disappear. Even worse, there is nothing wrote into the log. I
am quite stranged. :-(
I copy the spring-agent.jar under the /server/lib.
If I commend out the set JAVA_OPTS=..., Tomcat can be started.
From: rajendra_sakpal [mailto:[EMAIL PROTECTED]
Subject: RE: Problem with application installation in Tomcat 5.5.
We have followed the same procedure to deploy the application
in Tomcat 5.5 as we did in Tomcat 4.X.
Configuration and deployment are somewhat different in 5.5; read the
docs.
I don't understand so much you wrote. I haven't deployed any war but just want
to start the Tomcat. Where to find the /WEB-INF/applicationContext-jpa.xml?
[EMAIL PROTECTED] schrieb: The load time weaver is a property of
entityManagerFactory
http://java.sys-con.com/read/366275_2.htm
Please
I start it in cmd-console but it's the same. :-(
Vinu Varghese [EMAIL PROTECTED] schrieb: Don't double click, type startup
from a console - I mean command prompt,
You'll see some thing in the console :-)
Vinu Varghese
*I use mozilla Thunderbird. Do you ?*
Thomas Chang wrote:
The
I did what you said and here is the message. Can you understand what it is?
C:\Programme\Apache\apache-tomcat-5.5.17\bincatalina.bat run
Using CATALINA_BASE: C:\Programme\Apache\apache-tomcat-5.5.17
Using CATALINA_HOME: C:\Programme\Apache\apache-tomcat-5.5.17
Using CATALINA_TMPDIR:
Check this page
http://apache.mirror.rafal.ca/tomcat/
Actually we have a Suse version 10.1 we managed to install a generic
tomcat(version6.0.14, apache 2.26 and mod_jk1.2.26) So I don't see any
probem doing the same thing in readhat
Jacob Rhoden wrote:
Hi Guys,
We are trying to
Hello,
I am trying to compile a jsp page which contains references to classes
loaded in memory (not on physical location): i.e. I have my classes in my
Thread.currentThread.getContextClassLoader.
I tried to mimic what the JspServlet is doing.
After setting my classloader:
ClassLoader cl =
Hi
I'm attempting to use the Tomcat Wrapper
(http://people.apache.org/~fhanik/wrapper.html) on our elderly set-up -
Tomcat 4.1.18
Java JDK 1.3.1
Since its the only way I can see to ever obtain thread dumps of Tomcat running
as a service.
As far as I can tell, the code in ThreadDumpWrapper
2 situations which would prevent Tomcat from starting properly would be
the engine is being fed parameters it cannot interpret
you are using configuration parameters which cannot be resolved
Most web applications have a WEB-INF for web specific configurations with
libraries located in /LIB and
Hi,
I use JProfiler amongst other tools and this has some useful MBeans which
i'd like to activate at a given point from a scheduled job.
All sounds very simple. However I cannot find a command line tool, perhaps
similar to JConsole which allows me to execute a given MBean.
Surely such a tool
Hi Jacob,
I've been administering Red Hat, Apache, Tomcat setups for about 5 years using
jpackage. http://jpackage.org. It works great for me.
Regards,
Tom
Jacob Rhoden wrote:
Hi Guys,
We are trying to introduce Java technology in our workplace (all the
staff have been recently re-trained
Hi everyone!
David, imagine that you are developing a web application to provide services
like internet banking. What network architecture would you propose? How will
you implement a DMZ? Probably you put a firewall between Web Server and
Database Server!! Or not?
Regards,
Bárbara Vieira
From: Thomas Chang [mailto:[EMAIL PROTECTED]
Subject: RE: Problem by starting Tomcat after setting the
spring-agent.jar
Error opening zip file:
C:\Programme\Apache\apache-tomcat-5.5.17\server\lib\spri
ng-agent.jar -Djava.util.logging.manager
Error occurred during initialization of VM
Thanks.
david delbecq wrote:
There are several way to automate it.
One is to install on that remote tomcat, the tomcat manager webapp,
which let you deploy war. There is also a ant task that can be used with
it to submit the compiled war file to that manager.
Another is to install
Hi Mikolaj!
Thanks for your help. But my question isn't just about design a DMZ. It's
much more. And answering your question: yes, google is not enough. There are
certain questions that google doesn't answer.
Regards,
Bárbara Vieira
-Original Message-
From: Mikolaj Rydzewski
Hi,
I am using tomcat5 installed from FC4 installation CD. It was working fine
with default JVM - jre-1.4.2-gcj.
I have installed new JVM from SUN - jre-1.5.0-sun-update14 following
instructions on
http://fedoranews.org/mediawiki/index.php/JPackage_Java_for_FC4. I have
doing this because deploy
Bárbara Vieira wrote:
David, imagine that you are developing a web application to provide services
like internet banking. What network architecture would you propose? How will
you implement a DMZ? Probably you put a firewall between Web Server and
Database Server!! Or not?
Am I right that
Hi Richard,
Depending on your specific requirements, you may consider NGASI AppServer
Manager.
The website is http://www.ngasi.com
Richard G. Reyes wrote:
Hi Guys,
May I ask how you guys deploy on a remote tomcat servers? Is there a way
to
Just want to document the solution for folks facing the same problem
in the future. Actually, it turned out to be quite nasty, in part
because I wasn't paying much attention to the logs which were giving
warnings that the AJP port was already bound. Being used to Tomcat
failing to start when it
Allways getting this error message while shutting down tomcat. Please use
html tags to format code blocks.
ERROR: transport error 202: bind failed: Address already in use
[transport.c,L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[debugInit.c,L500]
JDWP exit
Hi,
I ran quickly in to a problem with my first JSP page under Tomcat.
I've also been browsing google and java forums and can't seem to find
any solution.
I'm running Tomcat 6, and trying to show an simple Hello World JSP page.
htmlbodyHello world !!/body/html
But it keeps giving me
sounds like you're either missing a jar file or have it in the wrong location.
-Original Message-
From: Fredrik Bonander [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 10:30 AM
To: users@tomcat.apache.org
Subject: First JSP page, Can't get Tomcat to show jsp-pages
Hi,
I ran
Any idea which jar i might be?
In the my web-app I have only the test.jsp and WEB-INF/web.xml.
..fredrik
On Jan 10, 2008, at 5:34 PM, Propes, Barry L wrote:
sounds like you're either missing a jar file or have it in the wrong
location.
-Original Message-
From: Fredrik Bonander
-Original Message-
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 7:30 PM
To: Tomcat Users List
Subject: RE: problem with data input
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wed 1/9/2008 5:02
Here is the catalina.out output when trying tomcat5 start -security
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
That was it.
I had ojdbc14.jar in the WAR archive.
I just moved it into CATALINA_HOME/common/lib/ and it works now :)
By the way, is any of you using plain Oracle JDBC or with an ORM?
On 1/10/08, Wesley Schwengle [EMAIL PROTECTED] wrote:
On 10.01.08 13:22 Filipe David Manana wrote:
I am
I have a Spring based application that is running in Tomcat 5.5.12. Tomcat
is integrated with Apache. Apache host JavaScript client side code that
makes Http asynchronous calls to the Spring based application. I'm getting
an error reported from Apache as follows:
Too many open files: apr_accept:
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Subject: RE: problem with data input
I have checked the WEB-INF/lib for other duplicated .jar
files. I have not seen any.
Good.
What is the next step for troubleshooting the problem?
You'll need to trace what's going on in the webapp and
Hi,
Does anyone know how to get tomcat to interpret %26 as an ampersand
character ()
Thanks,
Vackar
--
View this message in context:
http://www.nabble.com/How-to-get-tomcat-to-decode--26-tp14738575p14738575.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 11:00 AM
To: Tomcat Users List
Subject: RE: problem with data input
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Subject: RE: problem with data input
I have checked
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Subject: RE: problem with data input
If you have the time to walk me through this could you
direct me on where and how I turn on debugging for the
webapp and/or the database?
Sorry, all that depends on the actual webapp and the DB you're
David,
~
sorry for my delay . . .
~
there is nothing to be shown. it is a config issue which you could
reproduce by:
~
1) downloading tc 4.1.36
~
2) giving it a first run to make sure everything is OK
~
2) writing, within the admin.xml or manage.xml conf files, something like
~
Context
Hi Mark,
As Jim mentioned, thanks again for the find! We have tested with the latest
source code and the issue is indeed solved. Do you happen to know when the
new tcnative-1.dll will be available? Or is there a mailer I could track or
an online release schedule?
Stacy
Jim Brikman
Sorry but you're still posting only a partial context.xml file and it
still looks like invalid XML. Get a XML validator and check your
files. I know NetBeans has one built-in. To illustrate the whole valid
vs. invalid point:
Valid xml -- note the invalid xml fragment wrapped in a comment
HI,
use groovy with JMX.
http://groovy.codehaus.org/Groovy+and+JMX
http://jagger.berlios.de/
Regards
Peter
Am 10.01.2008 um 16:08 schrieb Dan:
Hi,
I use JProfiler amongst other tools and this has some useful MBeans
which
i'd like to activate at a given point from a scheduled job.
All
I have tested the stuff below on JETTY, and both GET and POST work fine.
Thanks again, a.m.
On Jan 10, 2008 2:06 PM, Aleksandar Matijaca [EMAIL PROTECTED] wrote:
Hi there,
I am having some issue with submitting foreign language fonts in HTML form
to Tomcat.
If I set up the FORM with
As you might infer, URIEncoding=UTF-8 only work on the Uri part, and
thus affect only GET. The post is decoded using the browser provided
content-encoding. Most borwser don't bother to set that header.
Behaviour of tomcat is to then use some default (ISO-8859-1). Best way
to ensure tomcat will
I will try the filter, and let you know -- I don't think that Struts is too
worried about
the encoding, while debugging, I saw that things go wrong much earlier,
above
struts, in the regular servlet layer on which Struts Action sits...
Thanks for the suggestion.. You know, it is really
[EMAIL PROTECTED] wrote:
Is there eny smart possibility to modify this method or is there even another
solution for my problem?
Use a view for the roles table.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 12:18 PM
To: Tomcat Users List
Subject: RE: problem with data input
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Subject: RE: problem with data input
If you have
varunsuresh wrote:
These are my debug options
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n
How are you setting these? Using JPDA_TRANSPORT etc works for me.
Mark
-
Vackar wrote:
Hi,
Does anyone know how to get tomcat to interpret %26 as an ampersand
character ()
It does.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
stacjohn wrote:
Hi Mark,
As Jim mentioned, thanks again for the find! We have tested with the latest
source code and the issue is indeed solved.
Great.
Do you happen to know when the
new tcnative-1.dll will be available?
Soon...
Or is there a mailer I could track or
an online release
If I start Tomcat and let it run for ~30 seconds (ie, let my webapp load
completely), I can shut it down without any errors. However, if I start
Tomcat and very shortly after try to shut it down again (before my
webapp has finished loading), I get the following error in the logs:
: : Oct 26 2007
The Filter worked -- now it works well with the POST as well as the GET.
David thank you so much...
Here is the filter.. nice and simple.. Maybe somebody else may need this
code
one day...
But you know, from a Philosophical Perspective,
I should not have to create extra code, to get around
Hi Barbara,
Sorry still on holiday, not reading email every day...
Read this articlae by one of the tomcat gurus... nice and academic, has
calcs on load factors etc...
That Secure generic configuration... is how I was thinking but a bank will
genearlly be even more paranoid.
Like for example
Hello,
I would like to specify the following attribute in the server.xml file in
windows:
url=jdbc:derby:net://ip:port/path/to/database;retrieveMessagesFromServerOnGetMessage=true;
But the problem is that I can't figure out the right way to escape the path
to the database in windows.
I found this guide to be very helpful in getting Tomcat to work with UTF-8:
http://cagan327.blogspot.com/2006/05/utf-8-encoding-fix-tomcat-jsp-etc.html .
It includes the filter code as well as other possible gotchas. It is indeed a
bit of a painful process and it would be nice if it could be
---
HARBOR: http://coolharbor.100free.com/index.htm
The best application server on earth
---
- Original Message -
From: Johnny Kewl [EMAIL
hi Tim, ThreadDumpWrapper, you have the source code for that, so you can
modify it any way you want, including compiling it for JDK 1.3.1
but the class Bootstrap is in 4.1, it should be in TC_HOME/bin/bootstrap.jar
Filip
[EMAIL PROTECTED] wrote:
Hi
I'm attempting to use the Tomcat Wrapper
I posted this question along with some others recently. I'm
re-posting it in its own thread with some additional information.
I have a comet client app that works on all the machines I've tested
except one. The failing machine sends a comet request to the server
and then waits indefinitely for
Set a breakpoint in your's servlet init() in Eclipse.
Another thing - show your jsp page how it looks like.
Dmitriy.
On Thu, 2008-01-10 at 17:36 +0100, Fredrik Bonander wrote:
Any idea which jar i might be?
In the my web-app I have only the test.jsp and WEB-INF/web.xml.
..fredrik
Aleksandar Matijaca a écrit :
I will try the filter, and let you know -- I don't think that Struts is too
worried about
the encoding, while debugging, I saw that things go wrong much earlier,
above
struts, in the regular servlet layer on which Struts Action sits...
Well, you saw it using
Tomcat use a localhost binded port to receive SHUTDOWN request. However,
i think it does start listening on that port only after the startup
sequence is finished. What you see is not a message from the running
tomcat, but a message from the shutdown script, that says it can't
connect to tomcat
Hi James,
Maybe the webapp clients exceed the maximun allowed by OS. You have to
increase the number of open files for tomcat launch user.
add
ulimit -n 32000
into tomcat's launch script.
hope this is helpful
James Johnson ha scritto:
I have a Spring based application that is running in
Has anyone had problems with Tomcat losing the HttpSession when Apache
uses mod_jk configured with 2 normal workers connected to *different*
hosts? I have boiled down to the following test case:
worker.list=customers,staff
worker.customers.type=ajp13
Hi
try apache commons package, Stringutils somewhere. It has a lot of encode
decode function already.
2008/1/10, Mark Thomas [EMAIL PROTECTED]:
Vackar wrote:
Hi,
Does anyone know how to get tomcat to interpret %26 as an ampersand
character ()
It does.
Mark
Thanks a lot, Chuck. So I think I can infer from what youre saying is that
for the other 2 context.xml's,
if you want Tomcat to behave a certain way for a particular webapp, you
could edit context.xml files
to get something different from the default behaviour. In what type of
situation might you
From: cuco2772 [mailto:[EMAIL PROTECTED]
Subject: RE: web.xml configured correctly, but
stillgetting'404...resourcenot found'
if you want Tomcat to behave a certain way for a particular
webapp, you could edit context.xml files to get something
different from the default behaviour.
Hi,
I want my webapp to use nice URL for a user's homepage (e.g.
http://server/user;).
Because of that, I need to have an empty path in the session cookie. So
far, I've been using emptySessionPath.
However, emptySessionPath uses the session id from a cookie when
creating a brand new
How would you set an environment up for the following case:
- 20 independent (non related) webapplications with low traffic 200
unique (real) visitors per day per webapplication
- Application architecture: Hibernate, Java 1.5 and Stripes under the
hood.
I've set the system up with 1 tomcat
Case:
I've deployed an application on a Tomcat 6.0 (current release). The
application is a Hibernate / Stripes application.
Almost no memory is allocated due to the deployed application.
Setting:
-Xmx64m -XX:MaxPermSize=128m
Tomcat without application uses: 27,5M (real memory) and 349M
By default, Tomcat and mod_jk leave the Sockets open between them
indefinitely. The usual way to work around this is to configure a
connectionTimeout in the Connector / element, and possibly enable
cping/cpong on the Apache side. In any case, Tomcat doesn't expose the
socket to the webapp,
OK, my conf files were like that:
~
!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 287893 2002-04-08 17:46:08Z craigmcc $
Context
Linux Box:
path=/manager
docBase=/media/sda2/inst/sw/java/TC/tc4.1/apache-tomcat-4.1.36/server/webapps/manager
Windows
On Thu, 2008-01-10 at 22:52 +1100, Jacob Rhoden wrote:
Hi Guys,
We are trying to introduce Java technology in our workplace (all the staff
have been recently re-trained in Java). As far as I can tell, our System
Administrators are really only resourced to be able to install standard
Hi,
This is a bit of documentation from the Load balancing page of the
Apache site.
sticky_session specifies whether requests with SESSION
ID's should be routed back to the same Tomcat worker.
Hi all,
I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the
computer in my office. As I start the Tomcat, I got error as follow. Though I
can open the first page of Tomcat, but as I want to open the Manager link I
got error of HTTP Status 404 - /manager/html
%XX in the url requested by a browser are already converted by tomcat to
their corresponding characters, according to the http specs. You don't
have to do anything special for that.
En l'instant précis du 10/01/08 18:02, Vackar s'exprimait en ces termes:
Hi,
Does anyone know how to get tomcat
Did you actually install the admin webapp? It must be downloaded and
installed separately.
En l'instant précis du 11/01/08 08:15, Thomas Chang s'exprimait en ces
termes:
Hi all,
I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the computer in my
office. As I start
85 matches
Mail list logo