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( "java:comp/

Re: Tomcat supported platforms?

2007-10-04 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 unsubscribe,

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 l

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:///axis2/services/ Is it possible for me to change that or uses Tomcat filter to map it (i'm thinking of a UR

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 diagnose

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

2007-06-05 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 can

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

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 wit

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
create 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 m

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
nto login_table values(?,?)"); I do 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 passw

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
hat should be the matter? I put 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]&

Re: Using servlet and mysql

2007-05-28 Thread Foo Shyn
e help. Thank you. Yours Sincerely, TEH Foo Shyn <[EMAIL PROTECTED]> wrote: 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 initializ

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 b

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 Apa

Re: JDBC

2007-05-22 Thread Foo Shyn
rg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) 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)

Re: JDBC

2007-05-22 Thread Foo Shyn
n the jsp file: /jsp/testDBCP.jsp InitialContext cannot be resolved to a type 1: <%@ page import="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

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 Mohammed

Re: DB2 DataSource.

2007-04-12 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" 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 question is not that

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 co

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: Sent: Wednesday, March 21,

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]> T

Re: Multiple JAVA_HOME variables

2007-02-12 Thread Foo Shyn
t: Monday, February 12, 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

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 c

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 Lis

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: Sent: Wednesday, January 17, 2007

Sharing Tomcat DBCP connection

2006-09-14 Thread Foo Shyn
Hi guys, Currently i'm using Tomcat 4.1 and my application uses the Tomcat's DBCP to connect to a Derby database. However, since the Derby database only allow one application to connect to it at a time, is it possible that i could configure the Tomcat's DBCP connection so that other applicatio

Tomcat 4.1 Admin Context Error.

2006-08-21 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 5

Re: 404 Error when trying to connect Tomcat Manager

2006-07-21 Thread Foo Shyn
your directory 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 Mana

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 common\li

Re: how to access the filename direct without giving foldername

2006-07-05 Thread Foo Shyn
think can do it in 2 ways: 1) put ur file in the ROOT folder 2) use ur xml mapper to configure ur tomcat to direct the user to that particular folder where u store ur file HTH Thanx. Regards, FooShyn - Original Message - From: "anandh" <[EMAIL PROTECTED]> To: Sent: Wednesday, July

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 an

Re: How to upload war file

2006-03-13 Thread foo shyn
u can upload it through Tomcat Managerbtw what version of the Tomcat u're using?? - Original Message - From: "Nenad Bosanac" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 2:22 PM Subject: How to upload war file > Hi ! > I'd like to now how to upload war file in Tomcat.

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

Re: error in tomcat

2006-03-13 Thread foo shyn
Maybe u could try the this DOCTYPE tag instead 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" Sent: Monday, March 13, 2006 4:48 PM Subject: Re: error in tomcat > line 43 contai

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 is

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" Sent: Friday, March 03, 2006 5:40 PM Subject: Tomcat 5.X dies after some time

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 workers2

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 other

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'" ; <[EMAIL PROTECTED]> Sent: Monday, January 23, 2006 9:43 AM Subject: RE: (newb) Tom

Re: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread foo shyn
ooppss almost forgot about this.you can run java -version to check your java version too. fooshyn - Original Message - From: "Pete Alvin" <[EMAIL PROTECTED]> To: Sent: Thursday, January 12, 2006 10:33 AM Subject: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2? Is J2SE 5.0 the same as 1

Re: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread foo shyn
Hi, There are a lot of improvement and new classes being introduce in J2SE1.5.0 ... therefore those classes that's being compiled using 1.5.0 might not be running well in 1.4.2. Think you should check out Sun's website for detailed info, it's all there. To check the version of Java installed thin