RE: caching applet/jars
Hi, I changed my applet to object and this works, but my jars are not getting downloaded in temporary or permanent cache. Any thing I should be checking. My plugin has enable caching checked. Thanks for your time, Sudha -Original Message- From: ContestAdmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:02 PM To: Tomcat Users List Subject: Re: caching applet/jars [EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: caching applet/jars
One more interesting thing, when I have the cache_option as Plugin, I see the cache in the plugin-cache-view cache files. But this does not speed up the performance. And if I put the Browser, I do not see this in Tools-Ioptions-settings-view fiels. Thanks, Sudha -Original Message- From: Ramanujan, Sudha Sent: Thursday, January 30, 2003 3:46 PM To: [EMAIL PROTECTED] Subject: RE: caching applet/jars Hi, I changed my applet to object and this works, but my jars are not getting downloaded in temporary or permanent cache. Any thing I should be checking. My plugin has enable caching checked. Thanks for your time, Sudha -Original Message- From: ContestAdmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:02 PM To: Tomcat Users List Subject: Re: caching applet/jars [EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat AS400 problem
I have my jt400.jar in common/lib and the following code work for me. import java.sql.*; Connection con; Class.forName(com.ibm.as400.access.AS400JDBCDriver); con = getConnection(jdbc:as400://+getSystemName(),Userid, Password); Thanks. Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -Original Message- From: x x [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 10:45 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Tomcat AS400 problem I am using tomcat 4.1.18 in mandrake linux 8.2. My database is a DB2 on an AS400 machine,but i cant login in the as400. I put the jt400.jar in TOMCAT_HOME=/commom/lib, my aplication to make a test is in /webapps inside the TOMCAT_HOME,i use this driverClassName com.ibm.as400.access.AS400JDBCDriver. But when in run my test it said 'Cant load the class drivers' Thanks Fabian __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Property file not picked up right by servlet
Hello! You were very right. I had the setenv and setclasspath being called from Catalina.bat but somehow the tomcat was not picking this up correctly. Perhaps because of XP? I then went to control panel and set all the environment variables classpath which then picked up my property file now. I got it to work now but am getting the following error message on the Tomcat console: - Netscape security model is no longer supported. Please migrate to the Java 2 security model instead. No idea where is this coming from but my utility works fine. Thanks for your help, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 8:29 AM To: Tomcat Users List Subject: RE: Property file not picked up right by servlet Howdy, Are the environment variables for PATH and CLASSPATH (mainly the latter) different between your NT and XP systems? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:18 PM To: [EMAIL PROTECTED] Subject: RE: Property file not picked up right by servlet Wendy, Right in the beginning, we have a login servlet that loads the properties file entries. The servlet first gets the context and then looks for the prop files under property + file separater. In NT, I had the properties file under c:/Tomcat/bin/property (and it is still working). I tried this in XP as well, then I tried to copy under apache bin! (Just trying anything to get it working.) The error I am getting is on the console, Property file not found, Loading default properties, and gives me wrong system name. I am running Apache 1.3.27 and Tomcat 4.0. Thanks for your help, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:12 PM To: 'Tomcat Users List' Subject: RE: Property file not picked up right by servlet I just moved to XP from NT and setup the apache and Tomcat servers. They work fine for the servlets, jsps and so the setup seem to be fine. But my servlet is not finding the property file that connects me to the right system. What is the code in your Servlet that is not working, and where exactly is the properties file? What is the exact error message you're seeing? I would suspect file permissions, without knowing anything else. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Property file not picked up right by servlet
I just moved to XP from NT and setup the apache and Tomcat servers. They work fine for the servlets, jsps and so the setup seem to be fine. But my servlet is not finding the property file that connects me to the right system. I have exactly the same setup as I had in my NT server prior to the upgrade. Would you know what I should be checking? Thanks, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HTTP 500 - No Context configured- progress
This is a good how to that I worked with. http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html Thanks Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:12 PM To: 'Tomcat Users List' Subject: RE: HTTP 500 - No Context configured- progress OK, we're going around in circles. My advice: install Tomcat, and stick with the defaults, and then analyze how things are set up before changing them. Out of the box, http://localhost:8080/examples works for ALL Tomcat installations. If it doesn't, something isn't setup right (like CATALINA_HOME isn't set), or someone changed something in the default server.xml. You do not need to make ANY changes to server.xml or any other Tomcat config file to get http://localhost:8080/examples working when you install it. Trust me. Tomcat, in server.xml, likes host names. If, in server.xml, you changed Host name=localhost to Host name=something else please change it back, especially if you put an IP address in there (like 192.168.x.x or whatever). If you have 192.168.x.x in there, that is what you need on the URL. If you are typing localhost:8080 into your browser, then you need Host name=localhost in server.xml. Things have to match, it's not magic. Once you have it back to the default installation, and http://localhost:8080/examples works (JSPs and servlets both work), please post back to the list, and explain that 1) you have a default installation, 2) you have a certain Tomcat version, 3) whether you want to use Apache or not, and 4) what URL it is that you want to use to make your web application come up via Tomcat. Even if you want to have multiple webapps or whatever, start with just one and let the folks here step you through setting it up so that you can see what it takes and you don't go in circles. Also, check the docs, all of this stuff is covered in there, and there are several HOWTOs available on the net. John -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:02 PM To: Tomcat Users List Subject: Re: HTTP 500 - No Context configured- progress John, http://localhost:8080/examples/ doesn't work--blank screen Phil - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, January 24, 2003 9:45 AM Subject: RE: HTTP 500 - No Context configured- progress http://localhost:8080/examples/ and the example JSP and servlets run would be proof that Tomcat is up and running, and configured correctly. John -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:41 PM To: Tomcat Users List Subject: Re: HTTP 500 - No Context configured- progress Ed, I am no longer getting the HTTP no context configured error. After installing a fresh Redhat 8.0 and tomcat4-4.1.18 and starting tomcat4, in Mozilla I go to the url http:localhost:8080 and get a blank screen. This is regardless if I replace localhost with the IP address in server.xml. I also changed enableLookups to false in the HTTP/1.1 Connector entry. Does a blank screen at least mean that tomcat is working? What next? Phil - Original Message - From: Ed Robbins [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 6:16 PM Subject: Re: HTTP 500 - No Context configured I've seen this many times. Never mind the rightnous or wrongnous of this statement - If you want to see it work, replace localhost with the actual IP address of the machine. So, if the IP address is 192.168.1.1, then try http://192.168.1.1:8080/ Ed On Thu, 2003-01-23 at 18:52, pcampaigne wrote: The information I gave yesterday was wrong. I was viewing the server.xml file in Mozilla and I should have been viewing it in the xml viewer. The following lines in /etc/tomcat4/server.xml relate to ROOT: !- Tomcat Root Context- !- Context path= docBase=ROOT debug=0/ - The problem is as follows: HTTP Status 500 - No Context configured to process this request.THe server encountered an internal error that prevented it from fulfilling this request The Tomcat running .txt doc says that this should work. Any ideas what went wrong? Thanks, Phil - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 1:47 PM Subject: RE: HTTP 500 - No Context configured That's not even a valid server.xml. Please run the following: find / -name server.xml -print
RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1
Perhaps, a dns entry is missing for the ip address? Can you pink host name? Thanks, Sudha -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:24 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 I thought I will try this: I gave the IP address of my system in ServerName of httpd.conf and host of server.xml and workers.properties file. The connectivity works if I access as http://xxx.xx.xx.x/. Any guesses as to why it doesnt work for the machine name? Thanks --- Turner, John [EMAIL PROTECTED] wrote: Sure, it's worth a try. Somewhere back in this thread there's a link to what a full mod_jk.conf file looks like for a default install, if you want to use that as a reference. John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:35 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 I tried this. It doesnt work. Should I try manual configure instead of using the auto option? Vim --- Turner, John [EMAIL PROTECTED] wrote: Try the IP address instead of the hostname in workers.properties. John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:32 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 Yes. If I give the IP address it works. My problem is calling tomcat from apache. The connectivity works on the same system and not for remote systems. Thanks. --- Ed Robbins [EMAIL PROTECTED] wrote: See my answer to the HTTP 500 - No Context configured. Replace the name localhost with the actual IP address like http://192.168.1.1:8080/examples I'm willing to bet that will work for you. Ed On Thu, 2003-01-23 at 22:16, vim m wrote: If it was a DNS problem, then shouldnt tomcat and apache have problems running as standalones too??? I am assuming here, correct me if I am wrong. Anyway - http://thedomainname:8080/examples works from remote systems and http://thedomainname/ too. Like I told you http://localhost:8080/examples does not work from the same system. This seems strange. Cheers. vim --- Turner, John [EMAIL PROTECTED] wrote: If you can't get responses when checking from a remote machine, you have a name resolution/DNS problem that is preventing thedomainname from resolving to a number. John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:42 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 John: I just checked this out. The connection is working if I access the server from the same machine. Till now, I was checking this from a remote machine. But listen to this - maybe it would help. It works for: http://localhost - I see the default Apache page. But http://localhost:8080/ does not work. When I give http://thedomainname:8080/ it works. and http://thedomainname/examples works and so do all my other applications. All this happens in the same machine. It does not work from remote machines. Would this be a problem with my servername in http.conf and host in server.xml? I have checked them and they point to the same name. This is so frustrating :( --- Turner, John [EMAIL PROTECTED] wrote: Sorry, I'm stumped. Your config files look OK to me. I'm assuming that wherever you have thedomainname in your files, that you have an actual name that can be resolved to an IP address, right? thedomainname is just a placeholder you're using when you post the files to the net for us to see? John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:08 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 Im sorry to have confused you. The error message i mentioned is this: [Thu Jan 23 14:34:27 2003] [warn] Init: Session Cache is not configured [hint: \SSLSessionCache] Is this is to do with SSL?- I am not usind SSL. === message truncated === __ Do you Yahoo!? Yahoo! Mail
RE: Property file not picked up right by servlet
Please help! I am stuck here without this working. Thanks, Sudha -Original Message- From: Ramanujan, Sudha Sent: Friday, January 24, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: Property file not picked up right by servlet I just moved to XP from NT and setup the apache and Tomcat servers. They work fine for the servlets, jsps and so the setup seem to be fine. But my servlet is not finding the property file that connects me to the right system. I have exactly the same setup as I had in my NT server prior to the upgrade. Would you know what I should be checking? Thanks, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Property file not picked up right by servlet
Wendy, Right in the beginning, we have a login servlet that loads the properties file entries. The servlet first gets the context and then looks for the prop files under property + file separater. In NT, I had the properties file under c:/Tomcat/bin/property (and it is still working). I tried this in XP as well, then I tried to copy under apache bin! (Just trying anything to get it working.) The error I am getting is on the console, Property file not found, Loading default properties, and gives me wrong system name. I am running Apache 1.3.27 and Tomcat 4.0. Thanks for your help, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:12 PM To: 'Tomcat Users List' Subject: RE: Property file not picked up right by servlet I just moved to XP from NT and setup the apache and Tomcat servers. They work fine for the servlets, jsps and so the setup seem to be fine. But my servlet is not finding the property file that connects me to the right system. What is the code in your Servlet that is not working, and where exactly is the properties file? What is the exact error message you're seeing? I would suspect file permissions, without knowing anything else. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]