Re: (newbie) Why tomcat needs network on startup?

2007-04-25 Thread EDMOND KEMOKAI
It doesn't need network connectivity (at least not as far as i know). Most developers use it within a localhost setting. If you're on windows and you're getting a prompt about a process wanting to open a port, that is just a network security issue, it doesn't mean tomcat requires internet access.

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread EDMOND KEMOKAI
You can use mod_jk (Tomcat connector) with apache to do virtual hosting. As for who to pay? Well the mailing list is for technical help not solicitations. On 3/21/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew wrote: ...get an

Re: creating user url...

2007-03-17 Thread EDMOND KEMOKAI
You can create directories using the java.io package. Unless you're going to store a lot of per company info like images and such, using the getPathInfo is the better solution. Even if you want to store per company data, you can store all such files in one directory with ids stored in a database.

Re: creating user url...

2007-03-16 Thread EDMOND KEMOKAI
I have never implemented such a solution but I know a lot of sites have similar setup. There are two ways you could do it, one would be to create a directory for each company and then drop an index.jsp file in there . A second and perhaps better solution would be to get the path info of the

Re: Newbie..localhost works but not IP

2007-03-16 Thread EDMOND KEMOKAI
if you're trying to access tomcat running on your pc via the internet you'll need to open ports on your router. If both PCs are behind the same router then you should be able to type in your IP and get tomcat. In any case, you should try google for help with networking, the mailing list is for

Re: DWR using WAN vs LAN

2007-03-03 Thread EDMOND KEMOKAI
You may want to limit your question to one topic at a time. I've read through your post and it is difficult to tell what your real problem is. The networking issue, I assume you've already been informed, doesn't belong to the mailing list. Tomcat/Apache/PHP can all work together depending on how

Re: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread EDMOND KEMOKAI
80 is a privileged port on *nix systems, you'll need to run tomcat as root (generally not recommended). May I ask why you're still running tomcat circa version 3? On 2/21/07, Frank Nguyen [EMAIL PROTECTED] wrote: Hi, We're still running 3.3.1 – We'd like to get rid of specifying the port

Re: shut out IP-adresses / subnets

2007-01-16 Thread EDMOND KEMOKAI
You can implement a filter to check all request to your app before processing. But if you don't want an IP address to access your app then I assume you don't want that IP address accessing anything on the OS you're running. If you have access to the OS running your app in this case it better to

Re: Garbace Collection executes 1GB but HEAP Size at 1.5GB!

2007-01-10 Thread EDMOND KEMOKAI
use visualGC, you'll see that there are various generations of objects depending on the expected lifetime of those objects. The GC would run on those regularly even if all your allocated memory hasn't been utilized. If you have an app that uses lots of memory or that has a memory leak (which I

Re: How to forcibly close abandoned database connections?

2007-01-10 Thread EDMOND KEMOKAI
It is possible that whatever procedure is responsible for checking for abandoned connections only does so when there is actual need for a connection, similar to how a garbage collector works to reclaim memory. If there is no seeming stress on the connection resources then it would make sense not

Re: Standards Complaint Browser Campaign

2007-01-08 Thread EDMOND KEMOKAI
Web developers aren't suppose to be supporting browsers!! On 1/8/07, Nelson, Tracy M. [EMAIL PROTECTED] wrote: | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Saturday, 06 January, 2007 10:18 | | Does anyone know about Tomcat's generated HTML standards compliance ? In | developpement,

Standards Complaint Browser Campaign

2007-01-05 Thread EDMOND KEMOKAI
Hi Guys Sorry about the off-topic posting but I thought the mailing list consist of the audience for this campaign. A campaign has been launch to try to encourage web developers and webmasters from using IE hacks to obscure the browsers shortcomings. Please read the appeal from the address

Re: Moving Tomcat

2007-01-03 Thread EDMOND KEMOKAI
First I'll suggest you backup your entire server, it is possible for instance if your server is running Linux that the webapps folder only contain the links to the actual webapp folders residing somewhere else on the filesystem..So again BACKUP before doing anything. About a month ago someone on

Re: Moving Tomcat

2007-01-03 Thread EDMOND KEMOKAI
Hmm Interesting, the person was from Oklahoma Court, is that you again? On 1/3/07, EDMOND KEMOKAI [EMAIL PROTECTED] wrote: First I'll suggest you backup your entire server, it is possible for instance if your server is running Linux that the webapps folder only contain the links to the actual

Re: Moving Tomcat

2007-01-03 Thread EDMOND KEMOKAI
If your running fedora/redhat, it usually creates many symlinks and places the actual files into different folders. The only reason this is done I think is for flexibility. For instance with the server running my site now, I have my webapp in a different home directory and created a symlink

Re: Moving Tomcat

2007-01-03 Thread EDMOND KEMOKAI
If you have the second server setup then you can install tomcat and copy the webapps folder over and see what happens. Once you start getting errors from the new server then you can troubleshoot until everything is fixed. It will be difficult to know if everything will work without testing. So

Not quite a tomcat question

2006-12-30 Thread EDMOND KEMOKAI
Happy New Year All. Does anyone use sessions to temporarily hold confirmation codes for user registrations? I have a setup where when the user registers a random confirmation code is generated and appended to a url which is emailed to the user. The user's registration data is stored in a session

Re: Help Me on Servlet in Tomcat 5.0

2006-12-28 Thread EDMOND KEMOKAI
Try this link, they have some good tutorials: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ On 12/28/06, athula bogoda [EMAIL PROTECTED] wrote: Hi All, Can any body give me guidence to run my first servlet on Tomcat 5.0. This is my file... import java.io.*; import javax.servlet.*;

Re: 404 error when a newly created file is requested

2006-12-15 Thread EDMOND KEMOKAI
I ran into a similar problem in trying to serve static content with tomcat, tomcat had trouble retrieving dynamically created content unless it was already in the webapp at start, at least that was my experience. Since you're trying to create a jsp, why don't you create one jsp and pass it your

Re: Servlet with POST Request

2006-12-15 Thread EDMOND KEMOKAI
Assuming a client would be requesting data via your servlet, I don't believe there is a limit. Your sevlet calls PrintWriter.write(..) and that implements buffering that would flush onces the buffer is full. On 12/15/06, Scott Carr [EMAIL PROTECTED] wrote: Does a servlet require the use of a

Re: Host element question

2006-12-13 Thread EDMOND KEMOKAI
How do expect that it will resolve the name dev without DNS? you can try using an IP address if you don't have DNS server. On 12/13/06, Jim Reynolds [EMAIL PROTECTED] wrote: Hello, Every new install of Tomcat always has a Host name of localhost and that is good. If I do not have a DNS entry,

Re: Host element question

2006-12-13 Thread EDMOND KEMOKAI
nice to know that. On 12/13/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 12/13/06, EDMOND KEMOKAI [EMAIL PROTECTED] wrote: How do expect that it will resolve the name dev without DNS? DNS is not the only name resolution mechanism :-) For desktop development use, just put all the alias

Re: Tomcat errors

2006-12-11 Thread EDMOND KEMOKAI
javax.servlet.ServletException: ServletException in '/caser/extension/View.jsp': No getter method for property attributes.datefield of bean oneCol The above error means the bean oneCol doesn't have a getta method. you have to declare a method of the sort getDateFieldif that problem was not

Re: Tomcat errors

2006-12-11 Thread EDMOND KEMOKAI
the damage already done nor how to correct it. Steve Ingraham Director of Information Services Oklahoma Court of Criminal Appeals [EMAIL PROTECTED] 405 522-5343 -Original Message- From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 3:30 PM To: Tomcat Users List

Re: Tomcat errors

2006-12-11 Thread EDMOND KEMOKAI
Message- From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 3:54 PM To: Tomcat Users List Subject: Re: Tomcat errors For one, you playing with tomcat so I'll presume you're familiar with JSP/Java/Servlet, your problem isn't tomcat, you Veiw.jsp is using an object

Re: tomcat w/o commercial crap

2006-12-05 Thread EDMOND KEMOKAI
tomcat is from www.apache.org, I think sun donated it a while back. You need java to run tomcat, java is from sun but I don't see what problem that would pose. Alternately you could use GNU Java. On 12/5/06, Enrico Weigelt [EMAIL PROTECTED] wrote: Hi folks, is there any chance to get tomcat

Re: jsp optimization for db driver load and connection

2006-12-04 Thread EDMOND KEMOKAI
I doubt there is connection pooling when you use the driver directly. There is connection pulling if you use java...DataSource I think. If you store the connection object in session then I suppose you could reuse it. Still using a DataSource implementation that does connection pooling is better.

Re: JSP alternative to ASP.NET

2006-11-28 Thread EDMOND KEMOKAI
You could try Sun's Java Studio Creator, it does have features such drag drop HTML control, I am not sure it has as much control functionality as ASP.NET. I'll personally stay away from that stuff. Java Server Faces I think is also related to that. On 11/28/06, Dima Retov [EMAIL PROTECTED]

Re: :8080 problem

2006-11-28 Thread EDMOND KEMOKAI
probably need to change the server.xml to listen on port 80. On 11/28/06, Janet Ciavarelli [EMAIL PROTECTED] wrote: Hello, I am afraid I don't know much about Tomcat but am trying to get up to speed as quickly as possible. I upgraded the server with ColdFusion MX 7.0.1, and now one of our

Re: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread EDMOND KEMOKAI
I think you need to run the start.bat and stop.bat scripts, they should be somewhere in your install dir. On 11/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have installed Tomcat 5.5 but I do not have any Start or Stop options under Start/Programs Apache Tomcat 5.5 (see screenshot

Re: Tomcat start problem in NetBeans

2006-11-13 Thread EDMOND KEMOKAI
Using CATALINA_BASE: /Users/kanika/.netbeans/5.0/jakarta- tomcat-5.5.9_base Using CATALINA_HOME: /Applications/NetBeans.app/Contents/ Resources/NetBeans/enterprise2/jakarta-tomcat-5.5.9 Using CATALINA_TMPDIR: /Users/kanika/.netbeans/5.0/jakarta- tomcat-5.5.9_base/temp Using JRE_HOME:

Re: Tomcat start problem in NetBeans

2006-11-13 Thread EDMOND KEMOKAI
compile or do incremental builds you might get problems like this.This is a response to the original poster by the way. On 11/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat start problem in NetBeans Using CATALINA_BASE

Re: forced to constantly restart Tomcat

2006-11-02 Thread EDMOND KEMOKAI
If you're getting a connection refused error, it may be that you're using the wrong local host IP address. check the sys/host file, it may have an entry in there that looks like this: your_user_name 127.0.1.1 That would indicate the localhost for your user account is 127.0.1.1 instead of

Re: forced to constantly restart Tomcat

2006-11-02 Thread EDMOND KEMOKAI
Is there a reason you can't use something like netbeans? which comes bundled with tomcat, that way your don't have to fiddle with the settings. Looks like you may be starting multiple instances of tomcat and the port is already in use. On 11/2/06, Tuomas [EMAIL PROTECTED] wrote: The catalina

Re: Very basic web server hosting question

2006-10-30 Thread EDMOND KEMOKAI
CANADAFAST INC. who ever you're, getting obnoxious isn't going to get your issue resolved. As was pointed out by the previous responder, your problem isn't a Tomcat one, this is a Tomcat mailing list. If you know what you're doing you should no trouble accomplishing your task, I have a similar

Re: Web server hosting question using tomcat 5.5

2006-10-28 Thread EDMOND KEMOKAI
Firstly you'll need to configure (open some ports) your router to allow direct access to the tomcat port on your machine. Assuming you know the IP address of your router ( type in google: what's my IP address), user should be able to connect to your app by typing something like

Re: Web server hosting question using tomcat 5.5

2006-10-28 Thread EDMOND KEMOKAI
appreciate. Thank u EDMOND KEMOKAI [EMAIL PROTECTED] wrote: Firstly you'll need to configure (open some ports) your router to allow direct access to the tomcat port on your machine. Assuming you know the IP address of your router ( type in google: what's my IP address), user should be able

Re: Web server hosting question using tomcat 5.5

2006-10-28 Thread EDMOND KEMOKAI
webapp folder is in c: drive in programfiles folder. Or how should I type the webapp context, how would type in ur PC for instance? Maybe I am a newbie so I did not understand what u meant by the context path. If u have time then please send me a breif explanation. Thank you EDMOND KEMOKAI

Re: Problems with tomcat session timeout on linux

2006-10-27 Thread EDMOND KEMOKAI
You may want to look into SessionListener/Session event Listener. I am not sure what the issue is with regards to the timeout, setting timeout to 30 means the session should expire in 30 minutes. The timeout is really all you should need as far as wanting to prevent idle sessions, after all that

Re: Problems with tomcat session timeout on linux

2006-10-27 Thread EDMOND KEMOKAI
EDMOND KEMOKAI wrote: You may want to look into SessionListener/Session event Listener. I am not sure what the issue is with regards to the timeout, setting timeout to 30 means the session should expire in 30 minutes. The timeout is really all you should need as far as wanting to prevent idle

serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
Hi guys I am a newbee so bear with me. I have tomcat deployed on a ubuntu machine, everything works fine except: My app generates static html pages from jsp and writes the html files to a sub-dir of my context path, however when I click on the link for the file, I get a 404 error. When I restart

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
Hi Christopher My directory structure is as follows: context_path/customer/public I make a call to my jsp via something to the effect: URL url = URL(jsp); write the stream i receive to context_path/customer/public/customer_id/index.html The servlet function from within

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
changes to it. On 10/23/06, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: EDMOND KEMOKAI wrote: I make a call to my jsp via something to the effect: URL url = URL(jsp); write the stream i receive to context_path/customer/public/customer_id/index.html The servlet function from within

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
so there is no reason to use jsp for accessing such a page, secondly, I am using lucene which can't search jsp directly. I'll eventually install apache and use it to access html. On 10/23/06, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: EDMOND KEMOKAI wrote: what's crazy about it??, the site I

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
PROTECTED] wrote: EDMOND KEMOKAI wrote: I'll probably end doing that, I understand apache is better for serving static content. However the problem isn't where user data is stored, my user data is stored in a database. Basically my app is similar to a dating site(it is not a dating site) where