Sorry, I've been too busy or scatter brained to check here.
I use jdom and invoke this as:
System.setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
trans = new XSLTransformer( new FileInputStream( mytransform ));
I think that you have to request th
Hi,
I'm not an exper at all, but I try to put my 2 cents.
The fact that your app can connect successfully after the server restart,
suggests that you should have your app's context.xml (or whatever it is
called) not in the server.xml but in the correct location inside your app
directories. I seem t
Peter Lin <[EMAIL PROTECTED]> wrote:
>
> honestly, I really doubt logging will produce anything useful beyond
> the VM dump you already posted. My first hand experience, the logs
> won't help at this point. What needs to happen is to step through the
> code and see exactly what is happening.
>
> i
I am executing tomcat manager commands with ant.
I use the following ant build file.
https://192.168.8.225/manager"/>
Tomcat is configured for secure https:// connections only.
When i issue command
ant stop
i get the following exception :
Buildfile: bui
Hi.
When I run the TPCW bookstore application, I found the server behave
erratic.
Experiment enviroment:
Hardware: a client PC, two server PCs. Each PC has two 1.59 GHz AMD
Opteron, 2GB RAM, and a 30 GB disk. One server machine runs theWeb server
and application server software, w
"Frances" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> thank you very much Larry.. oh brother, my boss insists there's a way..
> there HAS to be a way.. how can a servlet container be designed that only
> reloads servlets when you restart it? ok, thanks again...
>
You shoul
Hello,
I have a problem that Tomcat uses ROOT web application context's
log4j-1.2.8.jar and log4j.properties.
I installed Tomcat 5.0.28, Java 1.4.2_09 and deployed root context web
application to $CATALINA_HOME/webapps/ROOT on Solaris 8.
I DO NOT change anything in $CATALIN_HOME/conf/server.xml.
Hello,
We've been working hard to debug networking issues
that we believe we have. No matter what we do,
though, we still seem to get at least SOME errors in
mod_jk.log
The system seems to work fine from a user's
perspective, but we still occasionally get these:
[Wed Mar 01 20:00:42 2006] [erro
Backwards. See http://www.mysql.com/products/connector/j/
Tim
-Original Message-
From: Mike Sabroff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 10:43 PM
To: Tomcat Users List
Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'
Isn't that the old mysq
Isn't that the old mysql driver?? I thought the new one is:
org.gjt.mm.mysql.Driver
or do I have it backwards?
David McMinn wrote:
Tomcat Server 5.5.15 - I searched for solutions and most mention a
Context element in the server.xml.
I only have a DefaultContext tag within with I have my reso
Tomcat Server 5.5.15 - I searched for solutions and most mention a Context
element in the server.xml.
I only have a DefaultContext tag within with I have my resouce tag:
The actual failure is on the connection = ds.getConnection(); line in the jsp
if that helps any.
SEVERE: Servlet.serv
honestly, I really doubt logging will produce anything useful beyond the VM
dump you already posted. My first hand experience, the logs won't help at
this point. What needs to happen is to step through the code and see exactly
what is happening.
if you don't have access to a profiler, the other op
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> This could be completely unrelated, but let me throw something at you,
> maybe it will help
> btw. I prefer to run mod_proxy over mod_jk over http, much simpler,
> and
> in *our* load tests has scaled much better during stress.
>
> >Response a
Hi
I have installed tomcat4 on Debian sarge using 'apt-get install tomcat4
tomcat4-webapp tomcat4-admin'. This installed dependencies also. I have
a valid Java installation with sun j2sdk1.4 (by means of a created
j2sdk1.4_1.4.2-1_i386.deb), and have set JAVA_HOME to /usr/lib/j2sdk1.4.
Initi
Peter Lin <[EMAIL PROTECTED]> wrote:
>
> my advice is dive in and try to debug it, or hire someone with
> experience debugging webapps.
>
> there's no much others can do for you at this point, since it's
> debugging. good luck.
I've just meant configuring the logging system:
> > > So how can I:
SEVERE: Error listenerStart
Feb 27, 2006 12:42:44 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/mywebapp] startup failed due to previous errors
I get this error when trying to start Tomcat. Tomcat starts but the
application context mywebapp is unable to start.
I've been b
I don't know why my post during the day was not getting thru. So let me try
again.
I am going to rephrase my question and hope to get better response. Is it
possible to get the username or simply the IP address of the session running
on the Tomcat server? Currently, on the Tomcat admin page, I can
All,
Where would I find information on how to prevent access to specific
directories within a webapp? Exactly what file has to be edited?
Akin to how Apache uses .htaccess files, I would like to limit access
on a user/IP basis. The files are located within a webapp inside of
other direc
This could be completely unrelated, but let me throw something at you,
maybe it will help
btw. I prefer to run mod_proxy over mod_jk over http, much simpler, and
in *our* load tests has scaled much better during stress.
>Response already committed
This can happen if your servlet/jsp has code
no change - same situation.
Mike Sabroff <[EMAIL PROTECTED]> wrote: When I do this from a program or bean
or servlet, i make the connection
a true url:
url="jdbc:mysql://localhost:3306/everycitizen?username=everyuser&password=%"
I dont know if it is different in the server.xml as I have n
my advice is dive in and try to debug it, or hire someone with experience
debugging webapps.
there's no much others can do for you at this point, since it's debugging.
good luck.
peter
On 3/1/06, Tomasz Nowak <[EMAIL PROTECTED]> wrote:
>
> Tomasz Nowak <[EMAIL PROTECTED]> wrote:
> >
> > Hm. Her
When I do this from a program or bean or servlet, i make the connection
a true url:
url="jdbc:mysql://localhost:3306/everycitizen?username=everyuser&password=%"
I dont know if it is different in the server.xml as I have never tried this,
but why should it be?
I have been fooled by thinkin
Tomasz Nowak <[EMAIL PROTECTED]> wrote:
>
> Hm. Here is my logging.properties:
> http://www.biochip.pl/logging.properties.txt
> The way new vhosts are added is pretty stupid for me but
> lets forget about the semantics now.
>
> I've added swallowOutput attibute to serveral context.
> How should it
Peter Lin <[EMAIL PROTECTED]> wrote:
>
> another potential solution is to try a different JVM like Bea's
> JRockit. JRockit provides some built in profiling capabilities, so
> that is another way to get some profile data quickly.
I've read about jrockit 5.0 SP1. They say it has a new feature that
I'm running Tomcat 5.5 and trying to do a very simple jdbc connection a
single table. I have set up tomcat to run on port 8070 and the mysql database
on the default 3306 port. It's the connection statement in the jsp that is
blowing up - If I take that out, it works fine.
I'm getting pag
Hi All,
Can anyone help me with a standard pre-coded (preferably)
login/logout servlet, which I can use with my MS Access database to
authenticate new
and returning users.
Thanks to all in advance.
Jimmy
sorry, the tomcat version I'm using is 5.0.28
I look for the valve docs for that version
Thanks
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
> > From: Matt Carless [mailto:[EMAIL PROTECTED]
> > Subject: Tomcat Security across context question?
> >
> > Is this possible to login accros
> From: Matt Carless [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Security across context question?
>
> Is this possible to login accross multiple contexts
> after a single sign-on when using the FORM based login
> mechanism?
Have you tried the Single Sign On valve?
http://tomcat.apache.org/tomca
I'm using Tomcat to serve multiple contexts and I want
to add security to allow a single user to access the
multiple contexts after signing in on one of them.
I have managed to successfully do this when using
BASIC authentication login mechanism but this does not
meet my requirements. This is beca
looks like you modified your tomcat configurations, you need to tell us
as much as you can about your environment.
if you download tomcat, run the start script in the bin directory, then
I can't imagine that this would happen.
Instead, my guess is that you have modified the scripts or are running
I am using Tomcat 5.0 and have added the JSPs to the WEB-INF/web.xml
file as follows:
MyJsp
/MyWebApp/MyJsp.jsp
1
While I learned about this feature from BEA's website, it seems to
pre-compile the JSP's in Tomcat as well.
http://edocs.bea.com/wls/docs81/webapp/web_xml.html
abo
Tomcat version 4.1.31-LE-jdk14.
OS: Linux 2.6.8
java version "1.4.2-02"
Java(TM) 2 Runtime Environment, Standard Edition (build
Blackdown-1.4.2-02)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-02, mixed mode)
No, i didnt make a LD_ASSUME_KERNEL setting.
No, the apps dont spawn anot
Hi.
When I run the TPCW bookstore application, I found the server behave
erratic.
Experiment enviroment:
Hardware: a client PC, two server PCs. Each PC has two 1.59 GHz AMD
Opteron, 2GB RAM, and a 30 GB disk. One server machine runs theWeb server
and application server software
> From: Torsten Krah [mailto:[EMAIL PROTECTED]
> Subject: RE: Bootstrap class - Interface bind - Problem there again.
>
> Problem is there again - after few minutes in working state, a new
> process shows up with following call:
What Tomcat level? What OS? If Linux, do you have an LD_ASSUME_KE
I have a process that calls a servlet. This process can send multiple
requests. Something in the neighborhood of maybe 500 at a time to the
Servlet. The Servlet can process the request in about 10 secs or less.
The process that calls the Servlet is located on a different box. I am
working in a T
Problem is there again - after few minutes in working state, a new
process shows up with following call:
/opt/java/bin/java -server -showversion -Xms640M -Xmx640M -verbose:gc
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-Xloggc:/var/logs/gc.log -Djava.awt.headless=true
-Djava.endo
Hello Fellow Users,
My question is relatively simple. It has 3 parts.
1. Database:
* MySQL 4.1
2. Tomcat:
* Apache Tomcat/5.0.28
3. Hibernate:
* 2.1.8
I have my app which uses Hibernate and connects to a MySQL database and uses
Tomcat a
Like i said, i configured the connectors to listen on
address="127.0.0.1", so its not the default one.
But i got the problem.
I've stopped and started tomcat after changing the connectors - but not
all java instances were closed when stopping tomcat.
After Stopping Tomcat again, killing all rema
> From: Torsten Krah [mailto:[EMAIL PROTECTED]
> Subject: Bootstrap class - Interface bind
>
> tomcats connectors are configured to listen on localhost only, which
> works fine.
If you're talking about the default Tomcat configuration, that's not
true. In the absence of an IP address specificat
Hello again :-)
2006/3/1, Serlet Jean-Claude <[EMAIL PROTECTED]>:
>
> Hello
>
> There are 5 instances Tomcat which are stopped every night and start every
> morning
> They were created as "Windows Services" and their start type are
> "automatic"
> That's all i did : not any auditing directives
> A
Hello,
tomcats connectors are configured to listen on localhost only, which
works fine.
But the bootstrap class listens still on all interfaces.
How can i tell tomcat to behave like the connectors and only listen on
addresses i want ( address and port would be nice ).
kind regards
Torsten
--
thank you very much Larry.. oh brother, my boss insists there's a way..
there HAS to be a way.. how can a servlet container be designed that
only reloads servlets when you restart it? ok, thanks again...
Larry Isaacs wrote:
I has been quite a while since I have used Tomcat 3.3.x.
My recol
Hi,
I am having trouble precompiling JSP files with Tomcat 5.5.12 whereas this
went ok with Tomcat 4.1.31. If I remove the jasper jar files from the
common/lib directory and replace them with the ones from the old Tomcat then
it works, but that's not the best solution..
I think my Ant task n
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Were do I need to look to figure out what SQL server
> tomcat/jboss 2.4 is pointing at?
Could be anywhere. A generic approach that will probably get you quite
a long way is to run:
netstat -an | find "1433"
And seeing what the far-en
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Is there anyway to force close the javaservice.exe on
> windows? When I tried to do it under Taskmanager (as
> Administrator) it tells me "could not be completed.. access denied".
If it's running as LocalSystem, not to my knowledge - you don't
I have since removed the older java installed as part of the base system and
put in a symbolic link to 1.5 JDK.
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users List"
Subject: RE: Protocol handler start failed
Date: Wed, 1 Mar 2006 09:51:16 -06
I'm not sure how JavaService works, but perhaps best to shut down any
services from the Control Panel that JavaService is running first?
Glen
Andrew English wrote:
Is there anyway to force close the javaservice.exe on windows? When I tried to do it under Taskmanager (as Administrator) it tells
Hi,
noone has an idea or has experienced similar behaviour?
Recapitulation:
At some stage tomcat starts throwing exception which actually can't
happen, mostly telling me that beans aren't found in session scope,
in jsps which could only be called after a bean has been put into the
session scope.
Is there anyway to force close the javaservice.exe on windows? When I tried to
do it under Taskmanager (as Administrator) it tells me "could not be
completed.. access denied".
Regards,
Andrew
-
To unsubscribe, e-mail: [EMAI
> From: Didier McGillis [mailto:[EMAIL PROTECTED]
> Subject: RE: Protocol handler start failed
>
> Nevermind thats not it I have jdk1.5.0_06 but for some reason
> when I do java -version I get
>
> java version "1.4.2"
> gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8)
So you're denyin
Nevermind thats not it I have jdk1.5.0_06 but for some reason when I do java
-version I get
java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions
I think I see what the problem is
From: "Didier McGillis" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: tomcat-user@jakarta.apache.org
Subject: Protocol handler start failed
Date: Wed, 01 Mar 2006 15:29:31 +
Tried to google, didnt find anything useful. What happens is that at som
try ps -ef | grep tomcat to find and kill other instances of a running
server.
Otherwise you have maybe another application server which is listening
for 8080 port.
Alheim
Didier McGillis a écrit :
Tried to google, didnt find anything useful. What happens is that at
some point the site be
I'm running Tomcat 5.5 - The mysql port is 3306 - I made that change to the
server.xml file
"jdbc:mysql://localhost:3306/everycitizen
Still get the same result - page not found or
"Cannot create JDBC driver of class '' for connect URL 'null' ".
Amila Suriarachchi <[EMAIL PROT
Tried to google, didnt find anything useful. What happens is that at some
point the site becomes unresponsive and so I restart and that is when I get
this error, now I dont know of any other apps running on port 8080 so not
sure why 8080 is already in use. Any thoughts?
SEVERE: Catalina.start
Hi Filip,
After adding bin to my endorsed dirs path that error got disappeared
but some new exception is appearing in the log
Bootstrap: Class loader creation threw exception
java.lang.ExceptionInInitializerError
at
org.apache.catalina.startup.ClassLoaderFactory.(ClassLoaderFacto
ry.jav
Were do I need to look to figure out what SQL server tomcat/jboss 2.4 is
pointing at?
I am trying to figure out what table and server this old POS is looking at when
I am looking at the inactive users list which is a .jsp page.
Thanks!
Regards,
Andrew
--
Thanks Filip ..
It is missing in my endorsed dir path ..
I am adding it now ..
Hope it will work
Thanks a lot ..
Nagendra
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 8:03 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 prob
what script are you using to startup?
This class exists in /bin/commons-logging-api.jar
and should be part of your startup classpath
Filip
Devireddy, Nagendra Reddy (STSD) wrote:
Hi,
I am getting this problem while starting tomcat ..
java.lang.reflect.InvocationTargetException
at su
Hi,
I am getting this problem while starting tomcat ..
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMeth
I has been quite a while since I have used Tomcat 3.3.x.
My recollection is that accessing the changed servlet would
trigger a reload of the webapp. This differs from the newer
Tomcats which have a background thread checking for changes.
Also, with a default configuration, I don't recall anything
Hello
There are 5 instances Tomcat which are stopped every night and start every
morning
They were created as "Windows Services" and their start type are "automatic"
That's all i did : not any auditing directives
And i can see that these 5 services are stopped and started in the
"Application Log"
Assalamoalikum
Dear this is due to the variable which you wants to prints its value but
value is not yet assigned. So check out the variables defined in your jsp
page or servlet.Generally some variables value depends on the request .We
extract the parameter from request object and assigned that val
> From: Cam T [mailto:[EMAIL PROTECTED]
> Subject: Tomcat - out of resources
>
> It doesn't always errors to this it does so
> intermittently. Any clues anyone on how to
> check memory issues in tomcat?
This comes up frequently. Read the FAQ:
http://tomcat.apache.org/faq/memory.html
Search th
Check for nulls parameter at line
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
inWorker.java:2669
Rameez a écrit :
>Does anyone know why the following could occur? It happens not infrequently
>with our software. This happens in Tomcat 4.
>
>Thanks in advance fo
Hello,
2006/3/1, Serlet Jean-Claude <[EMAIL PROTECTED]>:
>
> Hello
>
> Under Windows 2000 i can see in "event viewer ==> Application Log" each
> start and stop of Windows Services corresponding to a Tomcat's instance
>
> Jean-Claude
are you sure in Application Log? I see many Control Service Man
Hello
Under Windows 2000 i can see in "event viewer ==> Application Log" each
start and stop of Windows Services corresponding to a Tomcat's instance
Jean-Claude
-Message d'origine-
De : v1k1ng0 [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 1 mars 2006 12:28
À : users@tomcat.apache.org
Ob
Does anyone know why the following could occur? It happens not infrequently
with our software. This happens in Tomcat 4.
Thanks in advance for any help.
regards,
Rameez
java.lang.NullPointerException
at
org.apache.coyote.tomcat4.CoyoteRequestFacade.setAttribute(CoyoteRequestFaca
de.jav
I changed it to utf-8 and also changed add "useBodyEncoding=true"
-
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
Hi all.
I think that an architecture based on an Apache as front-end and one or
more Tomcat's as back ends is quite common.
Reverse proxying from Apache to Tomcat works, and it still works if we
let Tomcat to provide some authentication and authorization feature
(i.e. via ldap).
Yet I'd li
Hi,
I've apache tomcat like service, it works correctly. But I want know when
the apache tomcat service is restarted ... not only the latest restart. I
can see the last restart in stdout.log, but I want know when the service is
restarted, in for example a week. Apache tomcat doesn't generate nothin
Hi,
I have a 1.3 apache http server connected to a tomcat 5.5 server.
I define a 404 error document in the httpd.conf. This document is a
local jsp page.
The problem is that client receive a 200 http response code instead of 404.
Is there a configuration pattern to "propagate" the error code
Hi Nagendra,
I had the similar problem..its fine now..
You need to change the in web.xml in Tomcat 5.x
Please Follow below
In Tomcat 4.1...the web.xml had the following for
ActionServlet.
ActionServlet
com/NRI/TStar/servlets/ActionServlet
Hi,
I'd tried connecting Apache 2.0 with Tomcat 4.1 for a few times and no
problem occur so far.
I'm using jk2 package though.
Steps involve:
1) Copy the apache mod_jk module into the modules folder.
2) Change the httpd.conf file and add in the module in 'LoadModule' section
3) Paste the workers2
I've tried putting it right before TransformerFactory.newInstance() .
now, when I invoke the transform method I get NPE at
net.sf.saxon.Controller.transform(Controller.java:1319)
Any help?
- Original Message -
From: "Zohar Amir" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ; ""Richard T
75 matches
Mail list logo