Re: Intermediate write in JSP

2006-07-19 Thread Abh N
Thanks Michael ...i will try this option. I have one more issue while looping throught the result set we see the memory usage increases contineously and then drops (after looping through ~5k) and then increases again. Is there any memory managemnt we can do from our side to that it

Re: Increase Heapsize

2006-07-19 Thread Suresh babu
Hi It's an option to the JVM, just append this line over there -verbosegc -XX:+PrintGCDetails. To avoid out of memmory errors just make sure minimum and maximum heap space should be same. You can find out still more information with GC details logged on enabling above option in JVM. Check it

RE: Intermediate write in JSP

2006-07-19 Thread Phil \(waex\)
Hi, I had a similar issue in the past that I overcome by having the servlet start a separate thread that was producing the report, And a jsp page refreshing every 10 seconds or so checking for completion. Philippe -Original Message- From: Abh N [mailto:[EMAIL PROTECTED] Sent: 19 July

Re: Intermediate write in JSP

2006-07-19 Thread Nikola Milutinovic
I had a similar issue in the past that I overcome by having the servlet start a separate thread that was producing the report, And a jsp page refreshing every 10 seconds or so checking for completion. That is, of course, the asynchronous application design. Sometimes it is necessary, but it

Re: Increase Heapsize

2006-07-19 Thread Suresh babu
Hi, Use following line in catalina file set JAVA_OPTS=%JAVA_OPTS% -verbosegc -XX:+PrintGCDetails in windows change accordingly to linux. Run stratup.sh from command line: to see all heap information on console. On 7/19/06, Suresh babu [EMAIL PROTECTED] wrote: Hi It's an option to the

SuPHP alternative for JSP and Tomcat

2006-07-19 Thread Vaclav Kaspar
Hello, I am hosting several domains on one server. For security reasons I need JSP scripts to run under different users, to avoid users from one domain rewriting or reading files of another user through JSP scripts . In apache and PHP it's solved by SuPHP module. Is anything similar

New Session Created Randomly in Tomcat 5.0.28

2006-07-19 Thread Nilesh
Problem Description : 1. I have a typical JSP-Servlet web application running on tomcat 5.0.28. 2. After successful login a new session is created. (in login.jsp) and user specific data is kept in session 3. User moves on through the application . Accesses a JSP ( e.g.

Re: Tomcat 5.5 Configure a Host

2006-07-19 Thread Markus Schönhaber
Scott Purcell wrote: I created a war file and deployed it to $CATALINA_HOME/webapps today. When I hit the site I use http://localhost:8080/appname and it pulls up the index.html from appname. All good. Problem begins with some links I have within the application. A lot of the links do not

Re: New Session Created Randomly in Tomcat 5.0.28

2006-07-19 Thread Pid
Nilesh wrote: Problem Description : 1. I have a typical JSP-Servlet web application running on tomcat 5.0.28. 2. After successful login a new session is created. (in login.jsp) and user specific data is kept in session 3. User moves on through the application . Accesses

Re: SuPHP alternative for JSP and Tomcat

2006-07-19 Thread Pid
Do you want to prevent all users from access the file system, or permit individual users access to their own part? Peter Crowther wrote: From: Vaclav Kaspar [mailto:[EMAIL PROTECTED] For security reasons I need JSP scripts to run under different users A single JVM runs as a single user.

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-19 Thread Arunan Kannan
Hi Cosio thank you very much. There is no such suspecious servlet details in web.xml Hi All, My problem seems to be very peculiar and haven't heard this before. The tomcat gets shutdown unexpectedly after 3 hours only on this particular system. the same tomcat with same confgiurations when

Re: SuPHP alternative for JSP and Tomcat

2006-07-19 Thread Vaclav Kaspar
Pid wrote: Do you want to prevent all users from access the file system, or permit individual users access to their own part? Peter Crowther wrote: From: Vaclav Kaspar [mailto:[EMAIL PROTECTED] For security reasons I need JSP scripts to run under different users A single JVM runs

RE: New Session Created Randomly in Tomcat 5.0.28

2006-07-19 Thread Nilesh
-Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 2:52 PM To: Tomcat Users List Subject: Re: New Session Created Randomly in Tomcat 5.0.28 Nilesh wrote: Problem Description : 1. I have a typical JSP-Servlet web application running on tomcat

Re: SuPHP alternative for JSP and Tomcat

2006-07-19 Thread Edmund Urbani
Vaclav Kaspar wrote: I want to prevent these example situations user user1 have in his jsp script something like FileWriter fw = new FileWriter(/home/USER2/somefile); fw.write(blablabla); fw.close(); or File f = new File(/home/USER2/); String[] files =File.list(); FileReader fr =

Don´t work :(

2006-07-19 Thread Bernardo Martin
hi list, I have a rarely problem with jakarta-tomcat 5.5.17. I install jdk1.5.0_07 first, httpd 2.2..0 second and jakarta tomcat 5.5.17at the end in suse 9.0, I had edit /etc/profiles when it was necessary but when i do /usr/local/apache/bin/apachectl start (any error) apache work at

Re: Don´t work :(

2006-07-19 Thread Marcello
Checked your browser proxy settings yet? Hi. Bernardo Martin wrote: hi list, I have a rarely problem with jakarta-tomcat 5.5.17. I install jdk1.5.0_07 first, httpd 2.2..0 second and jakarta tomcat 5.5.17at the end in suse 9.0, I had edit /etc/profiles when it was necessary but when i do

Re: Don´t work :(

2006-07-19 Thread Timothy Collett
Are there any messages in the Tomcat logfiles? They should be in / usr/local/apache-tomcat-5.5.17/logs, and catalina.out is likely to have the most useful stuff... Timothy Collett -- Do what you can, with what you have, where you are. -Teddy Roosevelt

Re: Don´t work :(

2006-07-19 Thread Avi Deitcher
Did you try explicitly setting the protocol, i.e. http://127.0.0.1:8080/ For an odd reason, some browsers don't automatically assume http when going to localhost. Also, did you check the host configuration for Tomcat? Bernardo Martin wrote: i haven´t any proxy settings :( 2006/7/19,

Re: Don´t work :(

2006-07-19 Thread Christopher Schultz
Bernardo, apache work at 127.0.0.1:80 in webbrowser /usr/local//apache-tomcat-5.5.17/bin/startup.sh Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.17 Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.17 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-5.5.17/temp Using JRE_HOME:

RE: Random HTTP 502 errors

2006-07-19 Thread Mark Claassen
I was wondering if this is just caused by Tomcat closing the socket before the proxy finished reading the message. Is there a way to set the LINGER on these sockets? It still seems a big strange to me that the LINGER could be a problem, since there are no problems when not using the proxy.

RE: The requested resource is not available

2006-07-19 Thread Darren Hall
Thanks for the response Hassan. But if the above url-pattern is in a Context with path '/abc', then you're telling it to give everything that looks like 'http://localhost:8080/abc/abc' to your control servlet, which probably isn't what you want... :-) No, you are exactly right. This is

Re: out of memory error

2006-07-19 Thread Jon Wingfield
The process running tomcat can't (read isn't allowed by OS) to create any more threads: java.lang.OutOfMemoryError: unable to create new native thread If you are on unix you can up the number by tinkering with the ulimit command. HTH, Jon MW Janssen wrote: Hi, Can anyone explain and

Re: Don´t work :(

2006-07-19 Thread Martin Gainty
Avi- check to see if your listener is actually listening with the netstat utility i.e. do a netstat -a | grep PortNumber also check to see if the Tomcat process is active ps -ef | grep omcat HTH, Martin-- * This email message

TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
Hi. I'm having some trouble deploying a webapp I have installed on my local hard drive to my Tomcat server. When I try to use some of the features on my app, I get the following errors: javax.servlet.ServletException: Servlet execution threw an exception *root cause*

Re: out of memory error

2006-07-19 Thread Leon Rosenberg
On 7/19/06, Jon Wingfield [EMAIL PROTECTED] wrote: The process running tomcat can't (read isn't allowed by OS) to create any more threads: java.lang.OutOfMemoryError: unable to create new native thread If you are on unix you can up the number by tinkering with the ulimit command. but if you

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
Two solutions, neither are 'apache' solutions: 1. Set sticky bits on the permissions on the folder so new files created under it adopt it's settings. 2. Configure your ftp service to correctly set permissions on upload. Of course, I don't see where any of this has to do with tomcat, hence

Re: [OT] Problems with file permissions

2006-07-19 Thread Michele . A . Shiels
Hi David, Thanks for that and sorry for my ignorance of Apache Tomcat but I have just moved from an old IIS server that didn't care about the file permissions. I am using ftp from Windows (using Dreamweaver) to a Unix box so windows doesn't know about setting file permissions in this

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, Hi. I'm having some trouble deploying a webapp I have installed on my local hard drive to my Tomcat server. When I try to use some of the features on my app, I get the following errors: javax.xml.transform.TransformerFactoryConfigurationError: Provider

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
We answer all kinds of questions here. Just protocol to mark off topic posts as such. In the Unix environment, the ftp service (not to be confused with the ftp client) can depending on vendor be configured to set permissions as it receives files. I know in ProFTPd, it's set using the umask

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
Hm. I did a full computer search for that file and I don't seem to have it. Is there a place I can download it? On 7/19/06, Christopher Schultz [EMAIL PROTECTED] wrote: Ravi, Hi. I'm having some trouble deploying a webapp I have installed on my local hard drive to my Tomcat server. When I

RE: [OT] Problems with file permissions

2006-07-19 Thread Mead, Jennifer L - VSCM
Michelle, I am jumping into the middle of this thread so I apologize. If you set the umask of the owner of the files. So when you do a listing ls -alt in the directory that the files are in and see the owner. Then go into that user's .profile in their home directory you can set the umask. Like

Re: out of memory error

2006-07-19 Thread David Tonhofer
MW Janssen wrote: java.lang.OutOfMemoryError: unable to create new native thread Are you it isn't just the heap and/or stack that's too small? Try starting the Jvm with one of the extended options line -Xss500k -Xmx100m (if it is the Sun JVM)

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, Hm. I did a full computer search for that file and I don't seem to have it. Is there a place I can download it? It might not be called xalan.jar. It might have a version number embedded in it or something like that. Try running this command (or something similar if you're on win32): $

RE: [OT] Problems with file permissions

2006-07-19 Thread Michele . A . Shiels
Thanks for the help - I'll tweak the ftp side. Regards, Michele Mead, Jennifer L - VSCM [EMAIL PROTECTED] No Phone Info Available 19/07/2006 15:35 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject RE: [OT] Problems with

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
I don't really know enough about the command line to know what you mean by that command, but when I tried copying and pasting it told me '$' not recognized. However, I did open up the rt.jar in winzip and I did see some files called XSLT, etc. Is that what you mean? On 7/19/06, Christopher

RE: out of memory error

2006-07-19 Thread MW Janssen
Hi, These are my parameters: I have Xmx1024m and Xms1024m as well for the heap size memory. I dont set Xss so I presume I use the default value. My Operating System: OS Name: Windows 2003 OS Version: 5.2 Total RAM: 2.00Gb Free RAM: 2.00Gb Committed JVM memory: 1.02Gb Total swap: 4.00Gb Free

RE: Problems with file permissions

2006-07-19 Thread Propes, Barry L
don't think you can...you usually have to administer that by some FTP tool. At least typically you do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 8:57 AM To: users@tomcat.apache.org Subject: Problems with file permissions Hi

RE: out of memory error

2006-07-19 Thread Propes, Barry L
possibly like I (incorrectly, because he was on UNIX) told a guy the other day. Go to startup.bat, right click and change (under the Memory tab) properties in the Initial Environment box from Auto to 4096 or higher. -Original Message- From: MW Janssen [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] Problems with file permissions

2006-07-19 Thread Propes, Barry L
Michelle. See if you can create a new folder on the UNIX server while in an FTP program like CoreFTP or WinsockFTP. Then dump everything to THAT folder and see if permissions are kept intact. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19,

RE: out of memory error

2006-07-19 Thread MW Janssen
i dont see a memory tab when i right click.. -Oorspronkelijk bericht- Van: Propes, Barry L [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 17:32 Aan: Tomcat Users List Onderwerp: RE: out of memory error possibly like I (incorrectly, because he was on UNIX) told a guy the

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, I don't really know enough about the command line to know what you mean by that command, but when I tried copying and pasting it told me '$' not recognized. Oh, sorry about that. The $ is a UNIX thing. Your use of Winzip is just as good. However, I did open up the rt.jar in winzip and

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
The TransformerFactoryImpl.class is there, but it's path is com/sun/org/apache/xalan/internal/xsltc/trax/ Do you think this is the problem? On 7/19/06, Christopher Schultz [EMAIL PROTECTED] wrote: Ravi, I don't really know enough about the command line to know what you mean by that

Re: out of memory error

2006-07-19 Thread Christopher Schultz
Barry, possibly like I (incorrectly, because he was on UNIX) told a guy the other day. Go to startup.bat, right click and change (under the Memory tab) properties in the Initial Environment box from Auto to 4096 or higher. This still isn't going to change anything: Modifying the

RE: out of memory error

2006-07-19 Thread Propes, Barry L
look in your windows folder. Yeah, I'm looking at mine and it's not giving me that either. I'm starting to think that was for Win 98 or even 95 where I did that. Let me see if it can be done in the Environmental Variables tab. Although some config instructions I'm reading are saying

RE: out of memory error

2006-07-19 Thread MW Janssen
These are my parameters: I have Xmx1024m and Xms1024m as well for the heap size memory. I dont set Xss so I presume I use the default value. My Operating System: OS Name: Windows 2003 OS Version: 5.2 Total RAM: 2.00Gb Free RAM: 2.00Gb Committed JVM memory: 1.02Gb Total swap: 4.00Gb Free swap:

RE: out of memory error

2006-07-19 Thread Propes, Barry L
wow! That should be plenty of free space and memory. Not at all sure why you're running out upon startup. -Original Message- From: MW Janssen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 11:03 AM To: 'Tomcat Users List' Subject: RE: out of memory error These are my

Re: out of memory error

2006-07-19 Thread Jon Wingfield
This may be of help (emphasis on may): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4765019 Has a bit about tuning Xss for a high number of threads. MW Janssen wrote: Hi, These are my parameters: I have Xmx1024m and Xms1024m as well for the heap size memory. I dont set Xss so I

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, The TransformerFactoryImpl.class is there, but it's path is com/sun/org/apache/xalan/internal/xsltc/trax/ Do you think this is the problem? Probably. There's a system property that dictates which implementations are chosen for SAX and DOM parsers, as well as XSLT processors. It's odd

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, How do you increase heapsize if the suggestion is to keep the Xms and Xmx values the same? When he says the same, he means the same as each other, not the same as they were before. So, use Xms=Xmx: -Xms512 -Xmx512 or -Xms1024 -Xmx1024 or -Xms2048 -Xmx2048 or -Xms4096 -Xmx4096

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
Chris The current values on our system are: -Xms512 -Xmx1024 so if I wished to increase the heapsize, can you give an example what the new figures would be? Thanks, Ibrahim Christopher Schultz [EMAIL PROTECTED] 07/19/2006 09:38 AM Please respond to Tomcat Users List To:

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, The current values on our system are: -Xms512 -Xmx1024 so if I wished to increase the heapsize, can you give an example what the new figures would be? You really need to do more research on your own: -Xms = set initial Java heap size -Xmx = set maximum Java heap size If you

Re: out of memory error

2006-07-19 Thread Martin Gainty
Good Afternoon Jon- set Max Mem and Min Mem within jvm.cfg (-Xmx and -Xms options) to the same value http://java.sun.com/docs/hotspot/PerformanceFAQ.html#8 Exercise caution on playing with stack SS 64k is mightly lean 512k(default for Sparc) and 256k(default for Intel) usually is plenty unless

Where to get Tomcat 5.5.15 source

2006-07-19 Thread Edmon Begoli
I noticed that Tomcat 5.5.15 source is not available for downloads any more. I see 5.0.x versions and 5.5.16, ..17 but not a 5.5.15. Does anyone know where can I download the 5.5.15 source? -- Thank you, Edmon Begoli http://blogs.ittoolbox.com/eai/software

Re: Where to get Tomcat 5.5.15 source

2006-07-19 Thread Markus Schönhaber
Edmon Begoli wrote: Does anyone know where can I download the 5.5.15 source? http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.15/src/ Regards mks - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Intermediate write in JSP

2006-07-19 Thread Martin Gainty
I agree with Nikola- I would run an execution plan on the query in question ..and do so locally (vs a DB 500 miles distant) specifically note the access (do you see any FTS?) and time deltas (more than 30 sec to see results merits tuning( Note -the attenuated time delta and -faster access via

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
I understand. The webapp is a content management site which has been producing out of memory errors. The server has 16GB RAM which is quite significant. Curious:are there any other adantages to setting them the same? I'm assuming that going from: -Xms512 -Xmx1024 to -Xms512 -Xmx2048 is less

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
Sorry, this is going over my head. Is there a way to look at the system properties without having to write a JSP? On 7/19/06, Christopher Schultz [EMAIL PROTECTED] wrote: Ravi, The TransformerFactoryImpl.class is there, but it's path is com/sun/org/apache/xalan/internal/xsltc/trax/ Do you

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] The server has 16GB RAM which is quite significant. - What OS is it running? And is that 32- or 64-bit? Apologies if you've already told us. - Are you running a 64-bit JVM to gain access to all that lovely space? - How much *free* RAM does

Re: Random HTTP 502 errors

2006-07-19 Thread Martin Gainty
Mark- You're in luck http://tomcat.apache.org/tomcat-5.5-doc/config/http.html The Tomcat 5.5. spec supports LINGER attribute on the Connection connectionLinger = NumberOfSecs HTH, Martin -- * This email message and any files

Re: [OT] Problems with file permissions

2006-07-19 Thread Martin Gainty
echo $HOME (this is your users home folder where all FTP access should get files from OR put files to..) HTH Martin -- * This email message and any files transmitted with it contain confidential information intended only for the

RE: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
OS: Solaris 64 bit 16 GB ram ** This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] OS: Solaris OK. 64 bit OK. 16 GB ram Your server only *has* 16 Gbytes of RAM. If it also has 16 Gbytes of *free* RAM, which is what I asked, then you have an unusually slim version of Solaris ;-). Anyway, given that lot you're tinkering

Re: The requested resource is not available

2006-07-19 Thread Martin Gainty
WebApp/MappedClassName.. so if you are referencing WebApp 'Foo' and inside web.xml your servlet-mapping has the entry servlet-name/servlet/Bar/servlet-name the correct url would be http://Server:PortName/Foo/servlet/Bar Make sense?? Martin --

Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Cameron Currie
Hello everyone, Background: I have a newly installed and configured Ubuntu server running Tomcat5.5 and Mysql 5.0. This server was created in an attempt to migrate from a Red Hat server in a similar configuration, running the exact same webapp. Most of the configuration/classpath differences

IIS and Tomcat Redirector.

2006-07-19 Thread sbell
Hello, I am having troubles setting up the Tomcat Redirector (binary version 1.2.15) on Windows 2000 server. Java 1.5_07 is installed, and I am using the base binary installation of Tomcat 5.5.17. After installing the redirector dll, I configured an isapi filter on my web site (not the

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Martin Gainty
You *may* need to specifically GRANT DML access to the DB e.g. GRANT SELECT,INSERT,UPDATE,DELETE ON MYDB.MYTABLE TO 'myuser'@'localhost' IDENTIFIED BY 'password, myuser'@'%' IDENTIFIED BY 'password';HTH Martin --* This email

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, The webapp is a content management site which has been producing out of memory errors. Is this your own code, or are you using something off-the-shelf? If this is someone else's product, you may wish to contact them. The server has 16GB RAM which is quite significant. Curious:are

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, Sorry, this is going over my head. Is there a way to look at the system properties without having to write a JSP? There is: public class Env { public static void main(String[] args) { System.getProperties().list(System.out); } } Unfortunately, you can't run this

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Christopher Schultz
Cameron, When our webapp trys to connect to the database on localhost, an exception 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)' In the past, the Connector/J JDBC client would often use localhost.localdomain as the hostname, even though

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
No Vignette why? are you in a similar situation? if so how did you go about increasing heapsize and what appserver are you using Ibrahim Brian Munroe [EMAIL PROTECTED] 07/19/2006 10:21 AM Please respond to Tomcat Users List To: Tomcat Users List users@tomcat.apache.org

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Ravi Tharakan
So... how do I get it to run with a servlet? On 7/19/06, Christopher Schultz [EMAIL PROTECTED] wrote: Ravi, Sorry, this is going over my head. Is there a way to look at the system properties without having to write a JSP? There is: public class Env { public static void main(String[]

Re: Increase Heapsize

2006-07-19 Thread Brian Munroe
On 7/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No Vignette why? are you in a similar situation? if so how did you go about increasing heapsize and what appserver are you using Well, luckily our system isn't heavily loaded, we bumped it to -Xms1024 -Xmx1024 and everything is working

RE: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-07-19 Thread Leo Donahue - PLANDEVX
Did you create a Web Service Extension in IIS, mapped to the location of the isapi redirector dll, and set it to allowed? Leo D -Original Message- From: sbell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 11:47 AM To: users@tomcat.apache.org Subject: [SPAM:] - IIS and

Re: TransformerFactoryConfigurationError

2006-07-19 Thread Christopher Schultz
Ravi, So... how do I get it to run with a servlet? You would have to create a new class that extends HttpServlet, implement the doGet and/or doPost methods and then put your code into there. It might be easier to just stick a JSP file into your webapp's deploy directory and try to hit that,

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Bob Hall
Cameron, You wrote: I have a newly installed and configured Ubuntu server running Tomcat5.5 and Mysql 5.0. This server was created in an attempt to migrate from a Red Hat server in a similar configuration, running the exact same webapp. Most of the configuration/classpath differences

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
what wouldve happened if you left your heapsize: -Xms256 -Xmx1024 ? ** This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose,

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-19 Thread Luis Rivera
Hi Barry and Tomcat/users/devs, I am hoping an axis/tomcat/dev/user will have a good advise. I am sure more than one user has needed to use axis/tomcat and a JNI interface, so I am sure this has been done. I need classes in the shared context and classes in the webapps context, which cause

Re: The requested resource is not available

2006-07-19 Thread Hassan Schroeder
On 7/19/06, Darren Hall [EMAIL PROTECTED] wrote: When I attempt to go to the above URL I get the error The requested resource (/abc/abc) is not available. I would simplify -- comment out your servlet in web.xml, put a proper welcome file (e.g. index.jsp) in the context -- and make sure that

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Cameron Currie
Thanks for the quick replies. Martin: No luck with your advice. I'm not sure there's a problem with mysql permissions, as I can log in with a mysql client from the local machine and access the database as normal. The original command used to set the permissions was 'GRANT ALL ON DB.* TO

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Christopher Schultz
Cameron, I've tried using the IP address instead, unfortunately that didn't work. :( The entry in the hosts file is defined as you said. :( :( For some reason tomcat can't connect to the database and create a connection pool, even though a normal client can connect just fine. I even wrote

Symbolic link for welcome file???

2006-07-19 Thread Mann, Bradley
I'm experiencing some strange behavior when setting a symbolic link as a welcome file. In my document root, my index.html is a symbolic link to another file. This link changes depending on the status of our server. When I access the file directly through the browser URL, it functions normally.

Tomcat - Joram JMS configuration

2006-07-19 Thread Barrie Selack
I've been using Resin, but I'm switching to Tomcat and am having problems configuring Joram. My old Resin configuration was: jndi-link jndi-namejava:comp/env/jms/jndi-name jndi-factoryfr.dyade.aaa.jndi2.client.NamingContextFactory/jndi- factory init-param

Re: Tomcat - Joram JMS configuration

2006-07-19 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Tomcat - Joram JMS configuration (sent the correct way...)

2006-07-19 Thread Barrie Selack
My apologies for sending the message incorrectly, as a response to another message. Mark pointed out my error, and said many may not see it, so I'm resending it correctly. Again apologies. Barrie Selack I've been using Resin, but I'm switching to Tomcat and am having problems

Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-19 Thread Kim Albee
I'm running Fedora Core 3, Tomcat 5.0.30, in a two server environment, where we have an F5 load balancer and are doing session sharing at the Tomcat level. The box has 4GB of RAM on it, and has experienced a memory failure. We tested the physical RAM on the server, and it failed 2 extended

Yet another try: mod_jk 1.2.18 release candidate ready to test

2006-07-19 Thread Rainer Jung
Hi, thanks to everyone who tested 1.2.17. We had one bug related to special types used in the networking code. Furthermore there was one request for enhancement we included in the next version 1.2.18. Today this version 1.2.18 of the Apache Tomcat mod_jk web server connector has been

Tomcat, Timer and TimerTask question

2006-07-19 Thread Cameron
Hello Just trying to schedule a batch email run using Timer and TimerTask framework on Tomcat 4.1.31 Found the following example from http://www.javapractices.com/Topic54.cjp Trying trying to test this scheduling mechanism first just by printing to System.out first... (see below) It does not

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Bob Hall
Cameron, For some reason tomcat can't connect to the database and create a connection pool, even though a normal client can connect just fine. I even wrote a small java program to connect using JDBC, in case that was the problem. I used the same parameters given to tomcat and again, it

Re: Increase Heapsize

2006-07-19 Thread Suresh babu
Hi, Setting heap size to -Xms256 -Xmx1024 will allocate mammory intially to 256 MB and keeps expanding as allocating more objects up to 1024. My recomendation to you is as mentioned in previos mail set heap size to -Xms1536 -Xmx1536 and verify it. But Do not increase heap size blindly to

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-19 Thread Arunan Kannan
Please help:( Hi All, My problem seems to be very peculiar and haven't heard this before. The tomcat gets shutdown unexpectedly after 3 hours only on this particular system. the same tomcat with same confgiurations when run on a other system, it runs properly and there is no problem. on

Re: out of memory error

2006-07-19 Thread Suresh babu
Hi, please set this and send the verbose out put log file. set JAVA_OPTS=%JAVA_OPTS% -verbosegc -XX:+PrintGCDetails, I will look in to this. On 7/19/06, Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon Jon- set Max Mem and Min Mem within jvm.cfg (-Xmx and -Xms options) to the same

RE: out of memory error

2006-07-19 Thread MW Janssen
thx for the fact that you want to look into it..i set those parameters and restarted tomcat..are GC details printed in stout.log?? Maarten -Oorspronkelijk bericht- Van: Suresh babu [mailto:[EMAIL PROTECTED] Verzonden: donderdag 20 juli 2006 7:32 Aan: Tomcat Users List; Martin Gainty