Tomcat 5.0.28 - Randomly gets 404 error

2008-03-25 Thread foo shyn
Hi, I am using Tomcat 5.0.28 on Windows 2003. The problem I face is that, for the same servlet, it work fine most of the time, but it randomly give error of 404 - The requested resource (/bgmProv/provServlet) is not available. Below is the error message in browser:

Re: Using JNDI. java:comp .... not defined?

2007-10-22 Thread foo shyn
Hmm which Tomcat version you are using? For Tomcat 4.1 AFAIK you have to put a link in your application's web.xml to the global resources in order for your application to access it. HTH FooShyn Mark Thomas wrote: Andrei Tchijov wrote: when I am trying to do ... initCtx.list(

Re: Tomcat supported platforms?

2007-10-05 Thread foo shyn
http://tomcat.apache.org/faq/ Hitesh Raghav wrote: Hi, Which platforms are supported by Tomcat? Could you please direct me right URL. Thanks, -Hitesh - To start a new topic, e-mail: users@tomcat.apache.org To

Re-map Axis 2 URL in Tomcat 5.0 - Possible?

2007-10-04 Thread foo shyn
Hi All, Sent this out yesterday but no feed back yet. Perhaps the timing not right, so send again. Sorry for the duplication. I have tried to install and run Axis2 on Tomcat 5.0 and it was working fine. However, i notice that for me to engage my service in tomcat the URL would be something

Re-map Axis2 URL in Tomcat - Possible?

2007-10-03 Thread foo shyn
Hi All, I have tried to install and run Axis2 on Tomcat 5.0 and it was working fine. However, i notice that for me to engage my service in tomcat the URL would be something like http://IP+port/axis2/services/myService Is it possible for me to change that or uses Tomcat filter to map it (i'm

Re: Tomcat hangs, what to do to diagnose the problem?

2007-09-27 Thread foo shyn
Hi, Sorry if i'd hijacked this thread, just wonder is the JMX package bundled together with Tomcat 4.1 as well? or it's only available to Tomcat 5.0 onwards? Thanx FooShyn Caldarale, Charles R wrote: From: Wm.A.Stafford [mailto:[EMAIL PROTECTED] Subject: Tomcat hangs, what to do to

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2007-06-06 Thread Foo Shyn
Hi, Did you add in the ResourceLink to your application? You'll need that if you configure your connection pooling under the GlobalNamingResources tag. Check out the configuration doc from Tomcat below: http://tomcat.apache.org/tomcat-5.0-doc/config/globalresources.html Additionally, you

Re: Track down which app has memory leak.

2007-06-04 Thread Foo Shyn
Hmm i'm not sure whether it can track memory leak or not, since i'm not a frequent user of it, but you can try JMeter from Apache: http://jakarta.apache.org/jmeter/ Its testing and monitoring module helps me a lot though... HTH FooShyn Jacob Rhoden wrote: David Delbecq wrote: Java comes

Re: Track down which app has memory leak.

2007-06-04 Thread Foo Shyn
IC, Thanx for clearing that out :) FooShyn David Delbecq wrote: It tracks performances under workload, not memory leaks. To track and locate memory leak, you need profiling tools or be able to load/unload several time all modules separately. En l'instant précis du 04/06/07 11:49, Foo Shyn

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
the database name, teh in directory catalina_home\webapps\ROOT\. Is this correct? In which directory should I actually put the database name? Please help. I'm running out of time! Thank you so much. Yours Sincerely, TEH Foo Shyn [EMAIL PROTECTED] wrote: Hi, You'll need to get the MySQL

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
not understand the usage of login_table. Does it mean that I should create login_table in database teh? Really need to get this working today. Please help. Thank you. TEH Foo Shyn [EMAIL PROTECTED] wrote: Hi, Is your login name and password correct? It shows 'root' and the password

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
the database name, table and its field using mysql? In which directory should I put the database? Please explain. Hoping for a reply. I really hope this simple program can run today. Thank you. TEH Foo Shyn [EMAIL PROTECTED] wrote: Hi, This is getting more confusing, you mentioned earlier

Re: Using servlet and mysql

2007-05-28 Thread Foo Shyn
Hi, would be ur database port, xxx will be ur database name HTH FooShyn Teh Noranis Mohd Aris wrote: Hi, I would like to access mysql database from a servlet but I'm not sure what to initialize for the String connectionURL marked as jdbc:mysql://localhost:/xxx in the program

Re: Tomcat Native library on java.library.path ?

2007-05-24 Thread Foo Shyn
Hmm i haven't start using Tomcat 6, but i guess that the java.library.path might actually refers to your JDK? Which version of JDK are you using? troy giunipero wrote: Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The

Re: JDBC

2007-05-22 Thread Foo Shyn
Not both of them. It's context.xml if u're using Tomcat 5.0 or above, or server.xml if u're using Tomcat 4.1 or below, which is located in the conf folder in Tomcat root path. check this link out : http://forums.oracle.com/forums/thread.jspa?messageID=1489914 Hope that helps. FooShyn

Re: JDBC

2007-05-22 Thread Foo Shyn
=javax.sql.DataSource % * On 5/22/07, Foo Shyn [EMAIL PROTECTED] wrote: Not both of them. It's context.xml if u're using Tomcat 5.0 or above, or server.xml if u're using Tomcat 4.1 or below, which is located in the conf folder in Tomcat root path. check this link out : http://forums.oracle.com

Re: JDBC

2007-05-22 Thread Foo Shyn
) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) On 5/22/07, Foo Shyn [EMAIL PROTECTED] wrote: The jsp doesn't import the class

Re: DB2 DataSource.

2007-04-13 Thread Foo Shyn
Hi, I'd been using connection pooling setting in Tomcat for MySQL, MSSQL and Derby(or Cloudscape) so i guess DB2 could be setup just as same. Make sure your driver jar file includes the Driver which is packaged as you had declared in the XML. And place it in the Tomcat common lib folder (In

Re: Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Foo Shyn
Thanx. Regards, FooShyn - Original Message - From: Teh Noranis Mohd Aris [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 29, 2007 12:21 PM Subject: Re: Is it possible to have more than one submit button in a JSP file? Dear All, Maybe my

Apache and Tomcat bridging - Servlet enabled?

2007-03-26 Thread Foo Shyn
Hi, This question suddenly struck me when i'm trying to solve my server problem. Here goes: Server settings: Apache 2 as front, Tomcat 4.1 as back, J2SDK 1.4.2 Let say that i'd configure that Apache so that whenever a request for www.abc.com will be redirected to the Tomcat's A context which

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Foo Shyn
Are ur tomcat started manually or by services? if it's started manually then ur path is correct, otherwise u'll need to put the properties file into the system folder. HTH Thanx. Regards, FooShyn - Original Message - From: sputnik [EMAIL PROTECTED] To: users@tomcat.apache.org Sent:

Multiple JAVA_HOME variables

2007-02-12 Thread Foo Shyn
Hi All, I'm facing a situation here whereby a JRE 1.5 is pre-installed on a server, and a JAVA_HOME variables is thus created and pointed to the JRE. However i'll need to have it point to my JDK in order for me to use Tomcat. Any tricks or settings that i can use to make this possible? I can't

Re: Multiple JAVA_HOME variables

2007-02-12 Thread Foo Shyn
, 2007 6:41 PM Subject: RE: Multiple JAVA_HOME variables From: Foo Shyn [mailto:[EMAIL PROTECTED] I'm facing a situation here whereby a JRE 1.5 is pre-installed on a server, and a JAVA_HOME variables is thus created and pointed to the JRE. However i'll need to have it point to my JDK in order

Re: Multiple JAVA_HOME variables

2007-02-12 Thread Foo Shyn
Hi , After re-installed my Tomcat with everything (no custom settings) and using the suggestion by Peter it seems fine now. Hopefully there won't be any problem with it Thanx man. Regards, FooShyn - Original Message - From: Foo Shyn [EMAIL PROTECTED] To: Tomcat Users List users

Re: Connection Pool configuration

2007-02-08 Thread Foo Shyn
Hi, I'm not sure bout Tomcat 4.0, but i think in 4.1 u could do it through the admin page. Just create a Datasource under ur apps context should do the trick. Thanx. Regards, FooShyn - Original Message - From: Propes, Barry L [GCG-NAOT] [EMAIL PROTECTED] To: Tomcat Users List

Re: Session Monitoring tool?

2007-01-17 Thread Foo Shyn
Hmm correct me if i'm wrong, but isn't there's a 'Session' Column in the manager list page where the active session of each web application would be displayed? Thanx. Regards, FooShyn - Original Message - From: Kristian Rink [EMAIL PROTECTED] To: users@tomcat.apache.org Sent:

Tomcat 4.1 Admin Context Error.

2006-08-22 Thread Foo Shyn
Hi guys, I'm using Tomcat 4.1 currently. I'm facing problem to create a datasource for a context that is created by uploading a .war file. It prints out the following error: javax.servlet.ServletException: Exception retrieving attribute 'driverClassName'I think this should be fixed in Tomcat

Re: 404 Error when trying to connect Tomcat Manager

2006-07-21 Thread Foo Shyn
on a desktop or server? -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 2:06 AM To: Tomcat Users List Subject: 404 Error when trying to connect Tomcat Manager Hi guys, Was facing a problem when trying to connect to Tomcat Manager. I manage

404 Error when trying to connect Tomcat Manager

2006-07-20 Thread Foo Shyn
Hi guys, Was facing a problem when trying to connect to Tomcat Manager. I manage to access to the index.jsp page but when i click on the Manager link it gives me a 404 error. I'd check the manager web.xml and application and they look fine to me. Is there any cause that will make this happen??

Share context classes: Possible?

2006-07-17 Thread Foo Shyn
Hi guys, This may sound dumb. Just wanna double check whether Tomcat provide sharing function where an application under a context could use a class that sit inside another context. I understand that for classes that need to be use by all application i'll need to jar it and put inside

Re: How to configure in Tomcat?

2006-03-15 Thread foo shyn
It shouldn't be a problem for application to get system propertiestried that before and it worked fine for me... Is ur path a full path ? i mean is it something like C:\.. or is it just started with a slash like \..? If it's started with a \... u need to put the specific file and the

Re: error in tomcat

2006-03-13 Thread foo shyn
Maybe u could try the this DOCTYPE tag instead !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; hope this helps F.S. - Original Message - From: David Delbecq [EMAIL PROTECTED] To: Tomcat Users List

Reposting: Creating context and datasources using Tomcat Manager and Administrator

2006-03-13 Thread foo shyn
Hi, Reposting my question in case i missed out the crowded session(sent it out on friday night and get no response :p).. Thanx Hi guys, Lately i'd been trying to deploy my apps remotely using the Tomcat Manager and Administrator. I found that if : 1) i upload my war file first, then go to the

Creating context and datasources using Tomcat Manager and Administrator

2006-03-10 Thread foo shyn
Hi guys, Lately i'd been trying to deploy my apps remotely using the Tomcat Manager and Administrator. I found that if : 1) i upload my war file first, then go to the Administrator to create my datasource, the Administrator would give me an error page when i select my context. The error thrown

Re: Tomcat 5.X dies after some time

2006-03-03 Thread foo shyn
Hi, It seems that there're other application that are using 8005 as port on ur server as well. fooshyn - Original Message - From: Devireddy, Nagendra Reddy (STSD) [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, March 03, 2006 5:40 PM Subject: Tomcat 5.X

Re: Apache and Tomcat

2006-03-01 Thread foo shyn
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

Tomcat servlet load handling

2006-02-24 Thread foo shyn
Hi, I face problems when Tomcat is facing heavy load for a particular servlet. I got a servlet which serves a large amount of data to users. When a particular number of users is accessing this servlet, others failed to reach it (receive nothing until the connection timed out). If they access

Re: (newb) Tomcat servlet mapping problem

2006-01-22 Thread foo shyn
Have u checked ur web.xml configuration? The error sounds like Tomcat facing problem finding ur servlet class file... - Original Message - From: Darren Hall [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org; [EMAIL PROTECTED] Sent: Monday, January 23, 2006 9:43 AM